BridgeWrapper
Verified contract
Active on
Ethereum with 40 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
BN | ERC-20 | 4.470669K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18662432 | a year ago | | | 0 | 0.0045711528 | |
| 18560871 | a year ago | | | 0 | 0.0041812792 | |
| 18559879 | a year ago | | | 0 | 0.0049951430 | |
| 18480508 | a year ago | | | 0 | 0.0058701993 | |
| 18478421 | a year ago | | | 0 | 0.0050169819 | |
| 18462053 | a year ago | | | 0 | 0.0016418287 | |
| 18460452 | a year ago | | | 0 | 0.0011777440 | |
| 18446873 | a year ago | | | 0 | 0.00096180480 | |
| 18445439 | a year ago | | | 0 | 0.0020515725 | |
| 18435743 | a year ago | | | 0 | 0.0040419582 |
ABI
ABI objects
Getter at block 21291986
bridgeCreated() view returns (uint256)
1
chainContractAddr() view returns (address)
0xe508364efad1f04572f052d76779d7407dcff3d9
feeCollector() view returns (address)
0x3ac56f57a3f5b3874c35536eb0c041536883f2be
initialized() view returns (bool)
true
maxBridgeToken() view returns (uint256)
10
maxSwap() view returns (uint256)
1000000000000000000000000
minSwap() view returns (uint256)
1
nonce() view returns (uint256)
10
owner() view returns (address)
0x2d4fc8d5e326d80c073f5faf3d227f7bbf175bb9
pendingNonce() view returns (uint256)
0
superAdmin() view returns (address)
0x3ac56f57a3f5b3874c35536eb0c041536883f2be
Read-only
bridges(address) view returns (address toAsset, uint256 createTime, uint256 inAmount, uint256 outAmount, uint256 feePercent, bool status, uint256 pendingAsset)
fees(address) view returns (uint256 amount)
pendings(uint256) view returns (address token, address receiver, uint256 amount, bool status, bool isCOIN)
processedNonces(string) view returns (bool)
State-modifying
Events createBridge(address fromAsset, address toAsset, uint256 fee) returns (bool)
distributePendingAsset() payable returns (bool)
editBridge(address fromAsset, address toAsset, uint256 fee, bool status) returns (bool)
extractFee(address token, bool isCOIN)
initialize(bool status)
renounceOwnership()
returnAsset(address fromAsset, address from, address toReceiver, uint256 amount, string otherChainNonce, bool isCOIN) payable returns (bool)
safeBridgeToken(address token, address receiver, uint256 amount, bool isCOIN) returns (bool)
setCOINaddress(address chainAddress)
setFeeCollector(address collector)
setSuperAdmin(address admin)
setSwapOption(uint256 min, uint256 max)
swapAsset(address fromAsset, address dst, uint256 amount, bool isCOIN) payable returns (bool)
transferOwnership(address newOwner)
LogDistributeAsset(address token, address receiver, uint256 amount)
LogEditBridge(address fromAsset, address toAsset, uint256 fee, bool status)
LogExtractFee(address token, address collector, uint256 amount)
LogNewBridge(address fromAsset, address toAsset, uint256 createTime)
LogPendingAsset(uint256 nonce, address token, address receiver, uint256 amount)
LogReturnAsset(address token, address from, address to, uint256 amount, uint256 date, string nonce)
LogSwapAsset(address token, address from, address to, uint256 amount, uint256 fee, uint256 date, uint256 nonce)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address chainAddress, address collector, address _superAdmin)
receive()
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
FailedInnerCall()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)