Skip to main content

Pallet Calls


Add Relayer

add a relayer Namespace:
Type:

Prune Settled Ledger Index (Sudo Only)

Namespace:
Type:

Remove Relayer

remove a relayer Namespace:
Type:

Reset Settled Xrpl Tx Data (Sudo Only)

Namespace:
Type:

Set Door Address (Sudo Only)

Set XRPL door address managed by this pallet Namespace:
Type:

Set Door Tx Fee (Sudo Only)

Set the door tx fee amount Namespace:
Type:

Set Payment Delay (Sudo Only)

Sets the payment delay payment_delay is a tuple of payment_threshold and delay in blocks Namespace:
Type:

Set Ticket Sequence Current Allocation (Sudo Only)

Set the door account current ticket sequence params for current allocation - force set Namespace:
Type:

Set Ticket Sequence Next Allocation

Set the door account ticket sequence params for the next allocation Namespace:
Type:

Set Xrp Source Tag (Sudo Only)

Set the xrp source tag Namespace:
Type:

Submit Challenge

Submit xrp transaction challenge Namespace:
Type:

Submit Transaction

Submit xrp transaction Namespace:
Type:

Withdraw Xrp

Note. Use withdraw instead Withdraw xrp transaction Namespace:
Type:

Withdraw Xrp With Destination Tag

Note. Use withdraw instead Withdraw xrp transaction Namespace:
Type:

Withdraw

Withdraw asset specified by asset_id. This extrinsic replaces withdrawXrp and withdrawXrpWithDestinationTag Namespace:
Type:

Set Xrpl Asset Map (Sudo Only)

Sets the mapping for an asset to an xrpl symbol Sets both XRPLToAssetId and AssetIdToXRPL Namespace:
Type:

Pallet Storage


Challenge XRP Transaction List

Challenge received for a transaction mapped by hash, will be cleared when validator validates Namespace:
Type:

Delayed Payments

Map from DelayedPaymentId to (sender, WithdrawTx) Namespace:
Type:

Delayed Payment Schedule

Map from block number to DelayedPatmentIds scheduled for that block Namespace:
Type:

Door Address

The door address on XRPL Namespace:
Type:

Door Ticket Sequence

The current ticket sequence of the XRPL door account Namespace:
Type:

Door Ticket Sequence Params

The Ticket sequence params of the XRPL door account for the current allocation Namespace:
Type:

Door Ticket Sequence Params Next

The Ticket sequence params of the XRPL door account for the next allocation Namespace:
Type:

Door Tx Fee

The flat fee for XRPL door txs Namespace:
Type:

Highest Pruned Ledger Index

Highest pruned XRPL ledger index Namespace:
Type:

Highest Settled Ledger Index

Highest settled XRPL ledger index Namespace:
Type:

Next Delayed Payment Id

The next available delayedPaymentId Namespace:
Type:

Next Delay Process Block

The highest block number that has had all delayed payments processed Namespace:
Type:

Payment Delay

Payment delay for any withdraw over the specified Balance threshold Namespace:
Type:

Process XRP Transaction

Temporary storage to set the transactions ready to be processed at specified block number Namespace:
Type:

Process XRP Transaction Details

Stores submitted transactions from XRPL waiting to be processed Transactions will be cleared according to the submission window after processing Namespace:
Type:

Relayer

List of all XRP transaction relayers Namespace:
Type:

Settled XRP Transaction Details

Settled xrp transactions stored against XRPL ledger index Namespace:
Type:

Asset Id To XRPL

Map TRN asset Id to XRPL symbol, storage to keep mapping between TRN -> XRPL tokens/assets Namespace:
Type:

XRPL To Asset Id

Map XRPL symbol to TRN asset Id, storage to keep mapping between XRPL -> TRN tokens/assets Namespace:
Type:

Source Tag

Source tag to be used to indicate the transaction is happening from futureverse Namespace:
Type:

Submission Window Width

XRPL transactions submission window width in ledger indexes Namespace:
Type:

Ticket Sequence Threshold Reached Emitted

Keeps track whether the TicketSequenceThresholdReached event is emitted Namespace:
Type:

Pallet Events


Door Address Set

Namespace:
Type:

Door Next Ticket Sequence Param Set

Namespace:
Type:

Door Ticket Sequence Param Set

Namespace:
Type:

Ledger Index Manual Prune

Namespace:
Type:

Not Supported Transaction

Transaction not supported Namespace:
Type:

Payment Delay Removed

The payment delay was removed Namespace:
Type:

Payment Delay Set

The payment delay was set Namespace:
Type:

Processing Failed

Processing an event failed Namespace:
Type:

Processing Ok

Processing an event succeeded Namespace:
Type:

Relayer Added

Namespace:
Type:

Relayer Removed

Namespace:
Type:

Ticket Sequence Threshold Reached

Namespace:
Type:

Transaction Added

Namespace:
Type:

Transaction Challenge

Namespace:
Type:

Withdraw Delayed

A withdrawal was delayed as it was above the min_payment threshold Namespace:
Type:

Withdraw Request

Request to withdraw some XRP amount to XRPL Namespace:
Type:

Xrpl Asset Map Set

A new mapping between asset_id and XRPL currency was set Namespace:
Type:

Pallet Errors


Asset Not Supported

This asset is not supported by the bridge Namespace:

Cannot Process More Transactions At That Block

Cannot process more transactions at that block Namespace:

Cannot Prune Active Ledger Index

This ledger index is within the submission window and can’t be pruned Namespace:

Delay Schedule At Capacity

The scheduled block cannot hold any more delayed payments Namespace:

Door Address Not Set

The door address has not been configured Namespace:

Invalid Highest Pruned Index

highest_pruned_ledger_index must be less than highest_settled_ledger_index - submission_window_width Namespace:

Invalid Signers

The signers are not known by ethy Namespace:

Next Ticket Sequence Params Invalid

The NextTicketSequenceParams is invalid Namespace:

Next Ticket Sequence Params Not Set

The NextTicketSequenceParams has not been set Namespace:

No Available Payment Ids

The paymentIds have been exhausted Namespace:

Not Permitted

Namespace:

No Transaction Details

There is no settledXRPTransactionDetails for this ledger index Namespace:

Outside Submission Window

Transaction submitted is outside the submission window Namespace:

Relayer Does Not Exists

Namespace:

Ticket Sequence Params Invalid

The TicketSequenceParams is invalid Namespace:

Too Many Signers

XRPL does not allow more than 8 signers for door address Namespace:

Invalid Asset Decimals

The asset decimals are too high to bridge to XRPL Namespace:

Invalid Currency Code

The issued amount currency code is invalid Namespace:

Invalid Mantissa Exponent Conversion

Could not convert Balance to Mantissa Exponent Namespace:

Invalid Symbol Mapping

XRPL symbol to TRN asset id mapping is invalid Namespace:

Asset Rounding Too High

The asset rounding due to saturation is too high, reduce the significant digits Namespace:

Too Many Transactions Per Ledger

Too Many transactions per ledger Namespace:

Tx Replay

Submitted a duplicate transaction hash Namespace:

Withdraw Invalid Amount

Withdraw amount must be non-zero and < = u64 Namespace:

Constants


Challenge Period

Challenge Period to wait for a challenge before processing the transaction Namespace:
Type:

Delayed Payment Block Limit

Upper limit to the number of blocks we can check per block for delayed payments Namespace:
Type:

Max Delayed Payments Per Block

Maximum number of delayed transactions that can be processed in a single block Namespace:
Type:

Max Pruned Transactions Per Block

Maximum number of transactions that can be pruned in on_idle Namespace:
Type:

Xrp Asset Id

XRP Asset Id set at runtime Namespace:
Type:

Native Asset Id

ROOT Asset Id set at runtime Namespace:
Type:

Pallet Id

This pallet’s Id, used for deriving a sovereign account ID Namespace:
Type: