BridgeWrapper

Verified contract

Active on Ethereum with 40 txns
Deployed by via 0xe66e9a36 at 18377184
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x19771bf68d166167b3e36830c0922a26aee15ddf1a548e3cb5b5659ffd585ec4
0xb13b89ab1c70bbb2d0637b68f5e352067ed0622b395226eded928fa8f271e0a4
0x2317b1f54dc88c041f24762f01c43ef5643eace9033f94a66c308eccce222de4
0x4811083d86f4e9f1c904d8bf4dafeddc2077588a702d7b3addcc8cc48145dd28
0x10a083243477931b0c55942d113bea481b4a5c3050e466530e9705389c0ec68b
0x3cb9128458521e7e0aafdacd2dbdcf840de5583b7ddab7a02fd3bd5c6bcd701c
0x0849810594fd31676cfd3153b283f67066b7beda79ee772e83246da8749510b8
0x617394d00312eae41e6f2a020504563864e103418288523c9f4972610ce670b1
0xb5346155002f4ca0e95211a39d19a923f3cd75e1a7a27367f02a338e4d333c44
0x9fba21f38145366df6cb69285f72d8e57485c74edfd6d53e264bd478681c025e

Functions
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(addressview returns (address toAssetuint256 createTimeuint256 inAmountuint256 outAmountuint256 feePercentbool statusuint256 pendingAsset)
fees(addressview returns (uint256 amount)
pendings(uint256view returns (address tokenaddress receiveruint256 amountbool statusbool isCOIN)
processedNonces(stringview returns (bool)
State-modifying
createBridge(address fromAssetaddress toAssetuint256 feereturns (bool)
distributePendingAsset(payable returns (bool)
editBridge(address fromAssetaddress toAssetuint256 feebool statusreturns (bool)
extractFee(address tokenbool isCOIN
initialize(bool status
renounceOwnership(
returnAsset(address fromAssetaddress fromaddress toReceiveruint256 amountstring otherChainNoncebool isCOINpayable returns (bool)
safeBridgeToken(address tokenaddress receiveruint256 amountbool isCOINreturns (bool)
setCOINaddress(address chainAddress
setFeeCollector(address collector
setSuperAdmin(address admin
setSwapOption(uint256 minuint256 max
swapAsset(address fromAssetaddress dstuint256 amountbool isCOINpayable returns (bool)
transferOwnership(address newOwner
Events
LogDistributeAsset(address tokenaddress receiveruint256 amount
LogEditBridge(address fromAssetaddress toAssetuint256 feebool status
LogExtractFee(address tokenaddress collectoruint256 amount
LogNewBridge(address fromAssetaddress toAssetuint256 createTime
LogPendingAsset(uint256 nonceaddress tokenaddress receiveruint256 amount
LogReturnAsset(address tokenaddress fromaddress touint256 amountuint256 datestring nonce
LogSwapAsset(address tokenaddress fromaddress touint256 amountuint256 feeuint256 dateuint256 nonce
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address chainAddressaddress collectoraddress _superAdmin
Fallback and receive
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token