CrossLock

Verified contract

Active on Ethereum with 2,376 txns
Deployed by via 0x5dca8c6b at 11925333
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.19
0x3257cb756f560b63ee5ee1fa9edc96cf62e35d6c2de8c306dd9abc385f07adb3
0x153b2a43bb614aaa1df9ac49d5ca34958f30d7727e59c38c701d1c1a86e2e315
0xd9f15de1b6dd19e326fca0c7b8139b4838f92f43b214ef4b7d6dba7d74768137
0x6427b7351944291e5012d6b372bd716a323b610611f383986997dc772fda174c
0xe2c4bafb9a9bdab2c9bb7873e3cb471320a539b24bd4a4c14ba9b9951a211946
0x2a59573d81ccc98fd01959b48e39fc2afeaacf4b8a8f2867bc785ca2d14180cc
0x1cd95837c5759b5af38ab812aab46a4dad09410df468e207e8a34fdb26e49f20
0xb026ff01b0bcad6218bbb232e5642b08616219431fe8c053a026c0d9c5873d6a
0xc342ca096748305b3a6b9a739fbd41e3a84a2ef90b0b4bababd0498df99ef0c5
0x4305442f761dd4bcea13e28e964cab87c08bff5d0d13360dd135de47a9305fde

Functions
Getter at block 21178210
CROSSER_ROLE(view returns (bytes32)
0x43524f535345525f524f4c450000000000000000000000000000000000000000
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
feeTo(view returns (address)
0x40dfa4411058b2fff31850dd52094bc7e5c919d5
Read-only
calculateFee(address tokenuint256 amountuint256 crossTypeview returns (uint256 feeAmountuint256 remainAmount)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
lockFeeAmount(addressview returns (uint256)
lockFeeRatio(addressview returns (uint256)
supportToken(addressview returns (address)
txUnlocked(stringview returns (bool)
unlockFeeAmount(addressview returns (uint256)
unlockFeeRatio(addressview returns (uint256)
State-modifying
addSupportToken(address ethTokenAddraddress bscTokenAddr
addSupportTokens(address[] ethTokenAddrsaddress[] bscTokenAddrs
grantRole(bytes32 roleaddress account
lock(address tokenaddress recipientuint256 amount
removeSupportToken(address ethTokenAddr
removeSupportTokens(address[] addrs
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setFee(address tokenuint256 _lockFeeAmountuint256 _lockFeeRatiouint256 _unlockFeeAmountuint256 _unlockFeeRatio
unlock(address tokenaddress fromaddress recipientuint256 amountstring _txid
Events
ChangeAdmin(address oldAdminaddress newAdmin
Lock(address ethTokenaddress bscTokenaddress lockeraddress recipientuint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unlock(address ethTokenaddress bscTokenaddress fromaddress recipientuint256 amountstring txid
Constructor
constructor(address _crosseraddress _feeTo
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.