ButterRouterV3
Verified contract
Active on
Ethereum with 136 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Native
Value
$0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0 | $2,666.18 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20850926 | 3 hours ago | | | 0.02 | 0.0050101599 | |
| 20847584 | 14 hours ago | | | 0 | 0.0012146626 | |
| 20845220 | a day ago | | | 0.1265 | 0.0031399542 | |
| 20844178 | a day ago | | | 0 | 0.0037117901 | |
| 20844139 | a day ago | | | 0 | 0.0044986051 | |
| 20844103 | a day ago | | | 0 | 0.0080540759 | |
| 20844067 | a day ago | | | 0 | 0.0094420971 | |
| 20843988 | a day ago | | | 0 | 0.0033378103 | |
| 20843978 | a day ago | | | 0 | 0.0030447648 | |
| 20843934 | a day ago | | | 0 | 0.0022352113 |
ABI
ABI objects
Getter at block 20851820
bridgeAddress() view returns (address)
0xfeb2b97e4efce787c08086dc16ab69e063911380
feeManager() view returns (address)
0x0000000000000000000000000000000000000000
feeReceiver() view returns (address)
0x51c700e5be790c91f14d42f85ca90aed9f2d142e
gasForReFund() view returns (uint256)
80000
maxFeeRate() view returns (uint256)
2000
maxNativeFee() view returns (uint256)
6000000000000000
owner() view returns (address)
0xdf3f1ee5baf55055980887aad79f6fe6e3302d93
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
routerFeeRate() view returns (uint256)
0
routerFixedFee() view returns (uint256)
0
wToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
approved(address) view returns (bool)
funcBlackList(bytes4) view returns (bool)
getAmountBeforeFee(address _token, uint256 _amountAfterFee, bytes _feeData) view returns (address feeToken, uint256 beforeAmount, uint256 nativeFeeAmount)
getFee(address _inputToken, uint256 _inputAmount, bytes _feeData) view returns (address feeToken, uint256 tokenFee, uint256 nativeFee, uint256 afterFeeAmount)
getFeeDetail(address _inputToken, uint256 _inputAmount, bytes _feeData) view returns (struct IFeeManagerFeeDetail feeDetail)
getInputBeforeFee(address _token, uint256 _amountAfterFee, bytes _feeData) view returns (address _feeToken, uint256 _input, uint256 _fee)
State-modifying
Events acceptOwnership()
editFuncBlackList(bytes4 _func, bool _flag)
onReceived(bytes32 _orderId, address _srcToken, uint256 _amount, uint256 _fromChain, bytes _from, bytes _swapAndCall)
remoteCall(struct SwapCallCallbackParam _callbackParam, address _callToken, uint256 _amount) returns (address target, uint256 callAmount)
remoteSwap(address _srcToken, uint256 _amount, uint256 _initBalance, struct SwapCallSwapParam swapParam) returns (address dstToken, uint256 dstAmount)
renounceOwnership()
rescueFunds(address _token, uint256 _amount)
setAuthorization(address[] _executors, bool _flag)
setBridgeAddress(address _bridgeAddress) returns (bool)
setFee(address _feeReceiver, uint256 _feeRate, uint256 _fixedFee)
setFeeManager(address _feeManager)
setGasForReFund(uint256 _gasForReFund)
setReferrerMaxFee(uint256 _maxFeeRate, uint256 _maxNativeFee)
setWToken(address _wToken)
swapAndBridge(bytes32 _transferId, address _initiator, address _srcToken, uint256 _amount, bytes _swapData, bytes _bridgeData, bytes _permitData, bytes _feeData) payable returns (bytes32 orderId)
swapAndCall(bytes32 _transferId, address _initiator, address _srcToken, uint256 _amount, bytes _swapData, bytes _callbackData, bytes _permitData, bytes _feeData) payable
transferOwnership(address newOwner)
Approve(address indexed executor, bool indexed flag)
CollectFee(address indexed token, address indexed receiver, address indexed integrator, uint256 routerAmount, uint256 integratorAmount, uint256 nativeAmount, uint256 integratorNative, bytes32 transferId)
EditFuncBlackList(bytes4 _func, bool flag)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RemoteSwapAndCall(bytes32 indexed orderId, address indexed receiver, address indexed target, address originToken, address swapToken, uint256 originAmount, uint256 swapAmount, uint256 callAmount, uint256 fromChain, uint256 toChain, bytes from)
SetBridgeAddress(address indexed _bridgeAddress)
SetFee(address indexed receiver, uint256 indexed rate, uint256 indexed fixedf)
SetFeeManager(address indexed _feeManager)
SetGasForReFund(uint256 indexed _gasForReFund)
SetReferrerMaxFee(uint256 indexed _maxFeeRate, uint256 indexed _maxNativeFee)
SetWrappedToken(address indexed _wToken)
SwapAndBridge(address indexed referrer, address indexed initiator, address indexed from, bytes32 transferId, bytes32 orderId, address originToken, address bridgeToken, uint256 originAmount, uint256 bridgeAmount, uint256 toChain, bytes to)
SwapAndCall(address indexed referrer, address indexed initiator, address indexed from, bytes32 transferId, address originToken, address swapToken, uint256 originAmount, uint256 swapAmount, address receiver, address target, uint256 callAmount)
constructor(address _bridgeAddress, address _owner, address _wToken)
receive()
BRIDGE_ONLY()
CALL_BACK_FAIL()
CALL_FUNC_BLACK_LIST()
DATA_EMPTY()
EMPTY()
FEE_MISMATCH()
NATIVE_VALUE_OVERSPEND()
NOT_CONTRACT()
NO_APPROVE()
RECEIVE_LOW()
SELF_ONLY()
SWAP_FAIL()
SWAP_SAME_TOKEN()
UNSUPPORT_DEX_TYPE()
ZERO_ADDRESS()
ZERO_IN()