event-contracts-multivault
MultiVaultEverscaleEventAlien
afterSignatureCheck
afterSignatureCheck
Returns DAO event in slice format.
Parameters:
body
TvmSlice
Contains data such as functionId
TvmCell
Return values:
TvmSlice
DAO event represented in slice format
close
close
When event is confirmed/rejected transfer back gas used for triggering event.
onInit
onInit
Initialize alien token.
receiveTokenMeta
receiveTokenMeta
Receives meta token.
Parameters:
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
receiveAlienTokenRoot
receiveAlienTokenRoot
Sets token root and loads relayers.
Parameters:
token_
address
The address of the alien token to receive
onRelaysLoaded
onRelaysLoaded
Updates event data and does the change for status.
MultiVaultEverscaleEventNative
afterSignatureCheck
afterSignatureCheck
Returns DAO event info in slice format.
Parameters:
body
TvmSlice
Contains data such as functionId
TvmCell
Return values:
TvmSlice
DAO event represented in slice format
close
close
When event is confirmed/rejected transfer back gas used for triggering event.
onInit
onInit
Initializes native token.
receiveProxyTokenWallet
receiveProxyTokenWallet
Sets token wallet address and loads relayers.
Parameters:
tokenWallet_
address
The address of the token wallet
onRelaysLoaded
onRelaysLoaded
Updates event data and does the change for status.
MultiVaultEVMEventAlien
afterSignatureCheck
afterSignatureCheck
Returns DAO event info in slice format.
Parameters:
body
TvmSlice
Contains data such as functionId
TvmCell
Return values:
TvmSlice
DAO event represented in slice format
onInit
onInit
Initializes evm alien token by decoding event data, sets recipient address and gets details about ethereum event configuration.
receiveConfigurationDetails
receiveConfigurationDetails
Gets configuration details based on proxy about alien token root.
Parameters:
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
receiveAlienTokenRoot
receiveAlienTokenRoot
Sets token root based on token_ param and loads relayers.
Return values:
token_
address
The address of the alien token to receive
onConfirm
onConfirm
Encodes token root, amount and recipient's address to cell format and confirms event.
MultiVaultEVMEventNative
afterSignatureCheck
afterSignatureCheck
Returns DAO event info in slice format.
Parameters:
body
TvmSlice
Contains data such as functionId
TvmCell
Return values:
TvmSlice
DAO event represented in slice format
onInit
onInit
Initializes native token event and gets details about event configuration.
receiveConfigurationDetails
receiveConfigurationDetails
Retrieves wallet based on proxy.
Parameters:
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
receiveProxyTokenWallet
receiveProxyTokenWallet
Sets token wallet address and loads relayers.
Parameters:
tokenWallet_
address
The address of the token wallet
onConfirm
onConfirm
Encodes token wallet, amount and recipient's address to cell format and confirms event.
Last updated