ButterRouterV2

Verified contract

Active on Base with 1,002 txns
Deployed by via 0xeb8d9ae1 at 12976292
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0xd77ce8f84a597da2e82f93c4e429737099471800aaa33d7106dd42eb229ae082
0xb3390ccd95bcebb2bfbb979a6ec8bca41c2f3a30f2b72af15021eb8a19794882
0xf2b5b018df55af28b993e3b2cef6a80cfa3623a2e958dd4c7a0db17ad2459e30
0x6bee636f1c435f7e62740abbd0ba8ec770e16698715023419dead0540bf52511
0x647e7abf50fa50d5144ede465a5e1baaa34a1075af1fcfcc16d75104d0a9cfdc
0x8cc75e6ad82b45b08623b434fe01f5d91e634bb68d34f33d98ff4606545ca659
0xe86825f2c3d9589d3f0b3a4ea786b0b8fc5b4a93b89e1173c3628540509f3395
0xf1a2cf12804ccec85129d4eb224278858ddef1605ac4235a3d2d267d27145b3f
0x0240a6ffe92b4cd9cebaa51559f8f17e322c4a1202af111c8a31d01b950d5457
0xb0253d60777ce775ba7827fa97b8b65dc5d80c7ec1d0da0095d00a2197c62ea2

Functions
Getter at block 21866071
feeRate(view returns (uint256)
0
feeReceiver(view returns (address)
0x51c700e5be790c91f14d42f85ca90aed9f2d142e
fixedFee(view returns (uint256)
0
gasForReFund(view returns (uint256)
80000
mosAddress(view returns (address)
0xfeb2b97e4efce787c08086dc16ab69e063911380
owner(view returns (address)
0xdf3f1ee5baf55055980887aad79f6fe6e3302d93
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
approved(addressview returns (bool)
getFee(uint256 _amountaddress _tokenuint8 _feeTypeview returns (address _feeReceiveraddress _feeTokenuint256 _feeuint256 _feeAfter)
getInputBeforeFee(uint256 _amountAfterFeeaddress _tokenuint8 _feeTypeview returns (uint256 _inputaddress _feeReceiveraddress _feeTokenuint256 _fee)
State-modifying
acceptOwnership(
doRemoteCall(struct HelperCallbackParam _callParamaddress _callTokenuint256 _amountreturns (address targetuint256 callAmount)
doRemoteSwap(struct HelperSwapParam _swapaddress _srcTokenuint256 _amountreturns (address targetaddress dstTokenuint256 dstAmount)
onReceived(bytes32 _orderIdaddress _srcTokenuint256 _amountuint256 _fromChainbytes _frombytes _swapAndCall
renounceOwnership(
rescueFunds(address _tokenuint256 _amount
setAuthorization(address[] _executorsbool _flag
setFee(address _feeReceiveruint256 _feeRateuint256 _fixedFee
setGasForReFund(uint256 _gasForReFund
setMosAddress(address _mosAddressreturns (bool)
swapAndBridge(address _srcTokenuint256 _amountbytes _swapDatabytes _bridgeDatabytes _permitDatapayable 
swapAndCall(bytes32 _transferIdaddress _srcTokenuint256 _amountuint8 _feeTypebytes _swapDatabytes _callbackDatabytes _permitDatapayable 
transferOwnership(address newOwner
Events
Approve(address indexed executorbool indexed flag
CollectFee(address indexed tokenaddress indexed receiveruint256 indexed amountbytes32 transferIduint8 feeType
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RemoteSwapAndCall(bytes32 indexed orderIdaddress indexed receiveraddress indexed targetaddress originTokenaddress swapTokenuint256 originAmountuint256 swapAmountuint256 callAmountuint256 fromChainuint256 toChainbytes from
SetFee(address indexed receiveruint256 indexed rateuint256 indexed fixedf
SetGasForReFund(uint256 indexed _gasForReFund
SetMos(address indexed mos
SwapAndBridge(bytes32 indexed orderIdaddress indexed fromaddress indexed originTokenaddress bridgeTokenuint256 originAmountuint256 bridgeAmountuint256 fromChainuint256 toChainbytes to
SwapAndCall(address indexed fromaddress indexed receiveraddress indexed targetbytes32 transferIdaddress originTokenaddress swapTokenuint256 originAmountuint256 swapAmountuint256 callAmount
Constructor
constructor(address _mosAddressaddress _owneraddress _wToken
Fallback and receive
receive(
Errors

This contract contains no error objects.