EthereumXcm¶
Calls¶
resume_ethereum_xcm_execution¶
See Pallet::resume_ethereum_xcm_execution
.
Attributes¶
No attributes
Python¶
call = substrate.compose_call(
'EthereumXcm', 'resume_ethereum_xcm_execution', {}
)
suspend_ethereum_xcm_execution¶
See Pallet::suspend_ethereum_xcm_execution
.
Attributes¶
No attributes
Python¶
call = substrate.compose_call(
'EthereumXcm', 'suspend_ethereum_xcm_execution', {}
)
transact¶
See Pallet::transact
.
Attributes¶
Name | Type |
---|---|
xcm_transaction | EthereumXcmTransaction |
Python¶
call = substrate.compose_call(
'EthereumXcm', 'transact', {
'xcm_transaction': {
'V1': {
'access_list': (
None,
[
(
'[u8; 20]',
[
'scale_info::12',
],
),
],
),
'action': {
'Call': '[u8; 20]',
'Create': None,
},
'fee_payment': {
'Auto': None,
'Manual': {
'gas_price': (
None,
'scale_info::188',
),
'max_fee_per_gas': (
None,
'scale_info::188',
),
},
},
'gas_limit': 'scale_info::188',
'input': 'Bytes',
'value': 'scale_info::188',
},
'V2': {
'access_list': (
None,
[
(
'[u8; 20]',
[
'scale_info::12',
],
),
],
),
'action': {
'Call': '[u8; 20]',
'Create': None,
},
'gas_limit': 'scale_info::188',
'input': 'Bytes',
'value': 'scale_info::188',
},
},
}
)
transact_through_proxy¶
See Pallet::transact_through_proxy
.
Attributes¶
Name | Type |
---|---|
transact_as | H160 |
xcm_transaction | EthereumXcmTransaction |
Python¶
call = substrate.compose_call(
'EthereumXcm', 'transact_through_proxy', {
'transact_as': '[u8; 20]',
'xcm_transaction': {
'V1': {
'access_list': (
None,
[
(
'[u8; 20]',
[
'scale_info::12',
],
),
],
),
'action': {
'Call': '[u8; 20]',
'Create': None,
},
'fee_payment': {
'Auto': None,
'Manual': {
'gas_price': (
None,
'scale_info::188',
),
'max_fee_per_gas': (
None,
'scale_info::188',
),
},
},
'gas_limit': 'scale_info::188',
'input': 'Bytes',
'value': 'scale_info::188',
},
'V2': {
'access_list': (
None,
[
(
'[u8; 20]',
[
'scale_info::12',
],
),
],
),
'action': {
'Call': '[u8; 20]',
'Create': None,
},
'gas_limit': 'scale_info::188',
'input': 'Bytes',
'value': 'scale_info::188',
},
},
}
)
Storage functions¶
EthereumXcmSuspended¶
Whether or not Ethereum-XCM is suspended from executing
Python¶
result = substrate.query(
'EthereumXcm', 'EthereumXcmSuspended', []
)
Return value¶
'bool'
Nonce¶
Global nonce used for building Ethereum transaction payload.
Python¶
result = substrate.query(
'EthereumXcm', 'Nonce', []
)
Return value¶
'scale_info::188'
Errors¶
EthereumXcmExecutionSuspended¶
Xcm to Ethereum execution is suspended