swapContract

Verified contract

Active on Ethereum with 453 txns
Deployed by via 0xd059582e at 12478582
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x34e53746a1e172a1889b92e4cae67ccfce6e277677ec60ee0846bd8684c9f682
0x08fe5ddc23a207a961333793d109b06908ee64d72145a32772e405d96c6a3413
0xa765f0b23ec7a936918e503cc92c8842142f38f65a9fbf008cc6b7197b88750b
0x8e956b6144b2a966bf12660caae9f88b3b6014282533994403e5d585d544bec1
0x1c7b6abb8cede7f42ad7817424496edd9e64390b5e7fc6101aafe064766f0655
0x56507f3767cec0bf62f7863edf4ea4c24f95d2e640c2bcced816659897ddf751
0x6bef3785dc74a1ab612d2a249899bbc7dda422bf4444a65f5b4c78a3fd3b6111
0x0c9b3c8a3fd4ee0865413b719b61fcea5321bb9a7614351990a1e7df3505e6d6
0x2ecb00de985e6ab01fbd1f86b83aa4f3cfe2d4a541909cbc790970eb1d70e1b7
0xb44f0d27f03c622be3e5b1032b43f1c2d1e237de1b00b04f2ad34e9fc315676f

Functions
Getter at block 21325047
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
OWNER_ROLE(view returns (bytes32)
0xb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
feeAddress(view returns (address)
0xa0b5c5176a04017be839e729a8b8160dd9e52789
numOfThisBlockchain(view returns (uint128)
2
tokenAddress(view returns (address)
0x62786eeacc9246b4018e0146cb7a3efeacd9459d
Read-only
existingOtherBlockchain(uint128view returns (bool)
feeAmountOfBlockchain(uint128view returns (uint128)
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)
isProcessedTransaction(bytes32 originalTxHashview returns (bool processed)
processedTransactions(bytes32view returns (bool)
State-modifying
addOtherBlockchain(uint128 numOfOtherBlockchain
changeFeeAddress(address newFeeAddress
changeOtherBlockchain(uint128 oldNumOfOtherBlockchainuint128 newNumOfOtherBlockchain
grantRole(bytes32 roleaddress account
removeOtherBlockchain(uint128 numOfOtherBlockchain
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setFeeAmountOfBlockchain(uint128 blockchainNumuint128 feeAmount
transferOwnerAndSetManager(address newOwneraddress newManager
transferToOtherBlockchain(uint128 blockchainuint256 amountstring newAddress
transferToUserWithFee(address useruint256 amountWithFeebytes32 originalTxHash
transferToUserWithoutFee(address useruint256 amount
Events
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
Constructor
constructor(address _tokenAddressaddress _feeAddressuint128 _numOfThisBlockchainuint128[] _numsOfOtherBlockchains
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.