swapContract

Verified contract

Active on Ethereum with 157 txns
Deployed by via 0x1de5a500 at 13327522
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x5ab0287dbcbc139a4bee00020cb7d6c609e82d108a7a8afe7915f4ecf4e2bdd1
0xb4cf2963f13a0666f6af37de48a93eff310e0b956f1c3d0e021ac375f2f36b81
0x2cc462bf95089e4af21a0db76b0ddaf931d59302521d124cc9a2d9b9af45cb8e
0xf2de7a3d535287a3fa11e1838b97fe7f4acc5cf69fa766d4f70175bb9938b126
0x2861f00d61508f968909f886c491db6126843b503c817bdf5a2bc63c2f3f828a
0xaa3f718e15101cdc5df4c34cc8c2d546e48f8766f500c82411f2714140131ce6
0xb0b8d84159014de9029d4f76aa53b8ad15dd485cc1d3ee55b0c0daf2fc70c47b
0xa1699a3657c402b8ad595b119907477d58c956b9cdec8e22d9de5633b802f893
0x924c13609cffb73e0f0d9d5bf70f0d8e38d3ab29f2e1d0055b6d7162eac485a0
0x511638fdc7ab76e3dd7254c17be77f62b53997e2c260a069caac65f27770e78e

Functions
Getter at block 21379730
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
OWNER_ROLE(view returns (bytes32)
0xb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
SIGNATURE_LENGTH(view returns (uint256)
65
VALIDATOR_ROLE(view returns (bytes32)
0x21702c8af46127c7fa207f89d0b0a8441bb32959a0ac7df790e9ab1a25c98926
feeAddress(view returns (address)
0x824b7d38b0b4ae71909b0fbb62f36ce4fc7fd879
maxGasPrice(view returns (uint256)
150000000000
minConfirmationBlocks(view returns (uint256)
5
minConfirmationSignatures(view returns (uint256)
2
minTokenAmount(view returns (uint256)
1000000000000000000000
numOfThisBlockchain(view returns (uint128)
2
paused(view returns (bool)
false
tokenAddress(view returns (address)
0xd7d6ab522fa41caae78f6edeb46a14954ae0c772
Read-only
ecOffsetRecover(bytes32 hashbytes signatureuint256 offsetpure returns (address)
existingOtherBlockchain(uint128view returns (bool)
feeAmountOfBlockchain(uint128view returns (uint128)
getHashPacked(address useruint256 amountWithFeebytes32 originalTxHashpure returns (bytes32)
getOtherBlockchainAvailableByNum(uint128 blockchainview returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isManager(address accountview returns (bool)
isOwner(address accountview returns (bool)
isProcessedTransaction(bytes32 originalTxHashview returns (bool processedbytes32 hashedParams)
isRelayer(address accountview returns (bool)
isValidator(address accountview returns (bool)
processedTransactions(bytes32view returns (bytes32)
supportsInterface(bytes4 interfaceIdview returns (bool)
toEthSignedMessageHash(bytes32 hashpure returns (bytes32)
State-modifying
addOtherBlockchain(uint128 numOfOtherBlockchain
changeFeeAddress(address newFeeAddress
changeOtherBlockchain(uint128 oldNumOfOtherBlockchainuint128 newNumOfOtherBlockchain
continueExecution(
grantRole(bytes32 roleaddress account
pauseExecution(
removeOtherBlockchain(uint128 numOfOtherBlockchain
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setFeeAmountOfBlockchain(uint128 blockchainNumuint128 feeAmount
setMaxGasPrice(uint256 _maxGasPrice
setMinConfirmationBlocks(uint256 _minConfirmationBlocks
setMinConfirmationSignatures(uint256 _minConfirmationSignatures
setMinTokenAmount(uint256 _minTokenAmount
transferOwnerAndSetManager(address newOwneraddress newManager
transferToOtherBlockchain(uint128 blockchainuint256 amountstring newAddress
transferToUserWithFee(address useruint256 amountWithFeebytes32 originalTxHashbytes concatSignatures
Events
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TransferFromOtherBlockchain(address useruint256 amountuint256 amountWithoutFeebytes32 originalTxHash
TransferToOtherBlockchain(uint128 blockchainaddress useruint256 amountstring newAddress
Unpaused(address account
Constructor
constructor(address _tokenAddressaddress _feeAddressuint128 _numOfThisBlockchainuint128[] _numsOfOtherBlockchainsuint128 _minConfirmationSignaturesuint256 _minTokenAmountuint256 _maxGasPriceuint256 _minConfirmationBlocks
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.