event-contracts-multivault
Last updated
Last updated
afterSignatureCheck
Returns DAO event in slice format.
Parameters:
Name | Type | Description |
---|---|---|
Return values:
Type | Description |
---|---|
close
When event is confirmed/rejected transfer back gas used for triggering event.
onInit
Initialize alien token.
receiveTokenMeta
Receives meta token.
Parameters:
receiveAlienTokenRoot
Sets token root and loads relayers.
Parameters:
onRelaysLoaded
Updates event data and does the change for status.
afterSignatureCheck
Returns DAO event info in slice format.
Parameters:
Return values:
close
When event is confirmed/rejected transfer back gas used for triggering event.
onInit
Initializes native token.
receiveProxyTokenWallet
Sets token wallet address and loads relayers.
Parameters:
onRelaysLoaded
Updates event data and does the change for status.
afterSignatureCheck
Returns DAO event info in slice format.
Parameters:
Return values:
onInit
Initializes evm alien token by decoding event data, sets recipient address and gets details about ethereum event configuration.
receiveConfigurationDetails
Gets configuration details based on proxy about alien token root.
Parameters:
receiveAlienTokenRoot
Sets token root based on token_ param and loads relayers.
Return values:
onConfirm
Encodes token root, amount and recipient's address to cell format and confirms event.
afterSignatureCheck
Returns DAO event info in slice format.
Parameters:
Return values:
onInit
Initializes native token event and gets details about event configuration.
receiveConfigurationDetails
Retrieves wallet based on proxy.
Parameters:
receiveProxyTokenWallet
Sets token wallet address and loads relayers.
Parameters:
onConfirm
Encodes token wallet, amount and recipient's address to cell format and confirms event.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
body
TvmSlice
Contains data such as functionId
TvmCell
TvmSlice
DAO event represented in slice format
base_chainId_
uint256
EVM network chain ID
base_token_
uint160
EVM token address
name
string
Token name
symbol
string
Token symbol
decimals
uint8
Token decimals
token_
address
The address of the alien token to receive
body
TvmSlice
Contains data such as functionId
TvmCell
TvmSlice
DAO event represented in slice format
tokenWallet_
address
The address of the token wallet
body
TvmSlice
Contains data such as functionId
TvmCell
TvmSlice
DAO event represented in slice format
BasicConfiguration
Basic configuration for event including the event code, event initial balance etc.
_networkConfiguration
EthereumEventConfiguration
The configuration of the ethereum event, including event emitter, chain id, start and end block number etc.
TvmCell
token_
address
The address of the alien token to receive
body
TvmSlice
Contains data such as functionId
TvmCell
TvmSlice
DAO event represented in slice format
BasicConfiguration
Basic configuration for event including the event code, event initial balance etc.
_networkConfiguration
EthereumEventConfiguration
The configuration of the ethereum event, including event emitter, chain id, start and end block number etc.
TvmCell
tokenWallet_
address
The address of the token wallet