ICON
SCORE SmartContract in ICON
Code
minter.pyCode can be found in HERE
Events
Swap
@eventlog
def Swap(self, hubContract: bytes, fromChain: str, toChain: str, fromAddr: bytes, toAddr: bytes, tokenAddress: bytes, bytes32s: bytes, uints: bytes, data: bytes):
passThis event occurs when a bridge operator performs bridging with ICON Minter through the Orbit Bridge System.
bytes hubContract: Orbit Hub Contract Addressstr fromChain: Chain Symbol requesting bridgingstr toChain: Chain Symbol to execute bridgingbytes fromAddr: Address of the chain requesting bridgingbytes toAddr: Address of chain to execute bridgingbytes tokenAddress: Token Address minted by bridging executionbytes bytes32s: Bytes32 data array used in the bridging consensus processbytes uints: Uint data array used in the bridging consensus processbytes data: Execution data for Bridge Receiver
SwapNFT
This event occurs when a bridge operator performs bridging with ICON Minter through the Orbit Bridge System.
bytes hubContract: Orbit Hub Contract Addressstr fromChain: Chain Symbol requesting bridgingstr toChain: Chain Symbol to execute bridgingbytes fromAddr: Address of the chain requesting bridgingbytes toAddr: Address of chain to execute bridgingbytes tokenAddress: Token Address minted by bridging executionbytes bytes32s: Bytes32 data array used in the bridging consensus processbytes uints: Uint data array used in the bridging consensus processbytes data: Execution data for Bridge Receiver
SwapRequest
Event occurs when a user who uses the Orbit Bridge System requests bridging to ICON Minter
str fromChain: Chain Symbol requesting bridgingstr toChain: Chain Symbol to execute bridgingbytes fromAddr: Address of the chain requesting bridgingbytes toAddr: Address of chain to execute bridgingbytes token: Token Information to be executed bridgingbytes tokenAddress: Token Address requesting bridgingint decimal: Token Decimal requesting bridgingint amount: Token Amount requesting bridgingint depositId: Unique Identifier of bridging requestbytes data: Execution data for Bridge Receiver
Interface
Last updated
Was this helpful?