subscan
Runtime Modules / Payments
Spec Version:
Call Functions
Name
Lookup
Parameters
payc9004
releasec9011
cancelc9021
resolve_paymentc9033
request_refundc9041
dispute_refundc9051
request_paymentc9063
accept_and_payc9071
Events
Name
Lookup
Attributes
PaymentCreatedc900["AccountId","AssetIdOf","BalanceOf","Option<BoundedDataOf>"]
PaymentReleasedc901["AccountId","AccountId"]
PaymentCancelledc902["AccountId","AccountId"]
PaymentResolvedc903["AccountId","AccountId","Percent"]
PaymentCreatorRequestedRefundc904["AccountId","AccountId","BlockNumberFor"]
PaymentRefundDisputedc905["AccountId","AccountId"]
PaymentRequestCreatedc906["AccountId","AccountId"]
PaymentRequestCompletedc907["AccountId","AccountId"]
Storage Functions
Name
Type
Payment{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","AccountId"],"value":"orml_payments:types:PaymentDetail","keys_id":503,"value_id":692}}
ScheduledTasks{"origin":"PlainType","plain_type":"Vec<Tuple:Tuple:AccountIdAccountIdorml_payments:types:ScheduledTask>","PlainTypeValue":694}
Constants
Name
Type
Value
IncentivePercentageU805
MaxRemarkLengthU320a000000
CancelBufferBlockLengthU322c010000
MaxScheduledTaskListLengthU3205000000
Error Types
Name
Docs
InvalidPaymentThe selected payment does not exist
PaymentAlreadyReleasedThe selected payment cannot be released
PaymentAlreadyInProcessThe selected payment already exists and is in process
InvalidActionAction permitted only for whitelisted users
PaymentNeedsReviewPayment is in review state and cannot be modified
MathErrorUnexpeted math error
RefundNotRequestedPayment request has not been created
DisputePeriodNotPassedDispute period has not passed
RefundQueueFullThe automatic cancelation queue cannot accept