Runtime Pallets
Erc20Peg
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
api.tx.erc20Peg.activateDeposits
function activateDeposits(
activate: bool
)
api.tx.erc20Peg.activateWithdrawals
function activateWithdrawals(
activate: bool
)
api.tx.erc20Peg.setErc20AssetMap
function setErc20AssetMap(
asset_id: u32,
eth_address: H160
)
api.tx.erc20Peg.setErc20Meta
function setErc20Meta(
details: Vec<(H160,Bytes,u8)>
)
api.tx.erc20Peg.setErc20PegAddress
function setErc20PegAddress(
eth_address: H160
)
api.tx.erc20Peg.setPaymentDelay
function setPaymentDelay(
asset_id: u32,
min_balance: u128,
delay: u32
)
api.tx.erc20Peg.setRootPegAddress
function setRootPegAddress(
eth_address: H160
)
api.tx.erc20Peg.withdraw
function withdraw(
asset_id: u32,
amount: u128,
beneficiary: H160
)
api.query.erc20Peg.assetIdToErc20
function assetIdToErc20(
u32
): Option<H160>
api.query.erc20Peg.contractAddress
function contractAddress(
): H160
api.query.erc20Peg.delayedPayments
function delayedPayments(
u64
): Option<PalletErc20PegPendingPayment>
api.query.erc20Peg.delayedPaymentSchedule
function delayedPaymentSchedule(
u32
): Vec<u64>
api.query.erc20Peg.depositsActive
function depositsActive(
): bool
api.query.erc20Peg.erc20Meta
function erc20Meta(
H160
): Option<(Bytes,u8)>
api.query.erc20Peg.erc20ToAssetId
function erc20ToAssetId(
H160
): Option<u32>
api.query.erc20Peg.nextDelayedPaymentId
function nextDelayedPaymentId(
): u64
api.query.erc20Peg.paymentDelay
function paymentDelay(
u32
): Option<(u128,u32)>
api.query.erc20Peg.readyBlocks
function readyBlocks(
): Vec<u32>
api.query.erc20Peg.rootPegContractAddress
function rootPegContractAddress(
): H160
api.query.erc20Peg.withdrawalsActive
function withdrawalsActive(
): bool
api.events.erc20Peg.DelayedErc20DepositFailed
type DelayedErc20DepositFailed = {
param0: u64,
param1: SeedPrimitivesSignatureAccountId20
}
api.events.erc20Peg.DelayedErc20WithdrawalFailed
type DelayedErc20WithdrawalFailed = {
param0: u32,
param1: H160
}
api.events.erc20Peg.Erc20Deposit
type Erc20Deposit = {
param0: u32,
param1: u128,
param2: SeedPrimitivesSignatureAccountId20
}
api.events.erc20Peg.Erc20DepositDelayed
type Erc20DepositDelayed = {
param0: u64,
param1: u32,
param2: u128,
param3: SeedPrimitivesSignatureAccountId20
}
api.events.erc20Peg.Erc20DepositFail
type Erc20DepositFail = {
param0: H160,
param1: Bytes
}
api.events.erc20Peg.Erc20Withdraw
type Erc20Withdraw = {
param0: u32,
param1: u128,
param2: H160
}
api.events.erc20Peg.Erc20WithdrawalDelayed
type Erc20WithdrawalDelayed = {
param0: u64,
param1: u32,
param2: u128,
param3: H160
}
api.events.erc20Peg.NoAvailableDelayedPaymentIds
type NoAvailableDelayedPaymentIds = {
}
api.events.erc20Peg.PaymentDelaySet
type PaymentDelaySet = {
param0: u32,
param1: u128,
param2: u32
}
api.events.erc20Peg.SetContractAddress
type SetContractAddress = {
param0: H160
}
api.events.erc20Peg.SetRootPegContract
type SetRootPegContract = {
param0: H160
}
api.errors.erc20Peg.CreateAssetFailed
api.errors.erc20Peg.DepositsPaused
api.errors.erc20Peg.EvmWithdrawalFailed
api.errors.erc20Peg.InvalidAbiEncoding
api.errors.erc20Peg.InvalidAmount
api.errors.erc20Peg.InvalidPalletId
api.errors.erc20Peg.InvalidSourceAddress
api.errors.erc20Peg.UnsupportedAsset
api.errors.erc20Peg.WithdrawalsPaused
Was this page helpful?