OFTWrapper

Verified contract

Active on Base with 71,421 txns
Deployed by via 0x7e020222 at 2152680
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,954.56
ERC-20
Value $1,844.39
ERC-20
Value $720.88
ERC-20
Value $221.56
ERC-20
Value $77.11
ERC-20
Value $49.75
ERC-20
Value $10.17
ERC-20
Value $9.08
ERC-20
Value $5.14
ERC-20
Value $0.88
0x0c2dc9c4239921e45e4a0d9474dd7779359d06e0f9ad0fc5da56d42ff8eb5f4f
0x774dc51b607ea54a2deb665f695029925907c7d3fcf8736d28e37e616fc7e75d
0x8dd16a50235abee8f5eddd2319c6c91e6bf1d61133113342aa576f694246b87b
0x6d7973e5f28c79a60fca62fef08d042d02b1a6945bdbcb01ae2fea2a0ef19d40
0x7d51863936b3b3f690bc6cb2a3a6daa2a9cb24ff545bc943cba0a0685680f3cf
0xd050f36d9bdf6548d5b83d7d9c084cfffad704557d4d59280c78f915e64666f1
0x7488d6ce92bb1b389af3ca45c36a09d6eb5574eea24bec12e87409e8a1417efe
0x34264ea556299c205004571994a938e4619da0f991be2e4348e71360fb834d68
0x56218be29ff045e4925c24f9736d902a4d403f30de9d4104478bbdb5a01e65d2
0x847fb5f4ad7f17a9beaf40335e49e96096957ec65936739dcdf1ef64a3099e7f

Functions
Getter at block 22742471
BPS_DENOMINATOR(view returns (uint256)
10000
MAX_UINT(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
defaultBps(view returns (uint256)
2
owner(view returns (address)
0x81eab64e630c4a2e3e849268a6b64cb76d1c8109
Read-only
estimateSendFee(address _oftuint16 _dstChainIdbytes _toAddressuint256 _amountbool _useZrobytes _adapterParamsstruct IOFTWrapperFeeObj _feeObjview returns (uint256 nativeFeeuint256 zroFee)
estimateSendFeeV2(address _oftuint16 _dstChainIdbytes32 _toAddressuint256 _amountbool _useZrobytes _adapterParamsstruct IOFTWrapperFeeObj _feeObjview returns (uint256 nativeFeeuint256 zroFee)
getAmountAndFees(address _tokenuint256 _amountuint256 _callerBpsview returns (uint256 amountuint256 wrapperFeeuint256 callerFee)
oftBps(addressview returns (uint256)
State-modifying
renounceOwnership(
sendNativeOFT(address _nativeOftuint16 _dstChainIdbytes _toAddressuint256 _amountuint256 _minAmountaddress _refundAddressaddress _zroPaymentAddressbytes _adapterParamsstruct IOFTWrapperFeeObj _feeObjpayable 
sendNativeOFTFeeV2(address _nativeOftuint16 _dstChainIdbytes32 _toAddressuint256 _amountuint256 _minAmountstruct ICommonOFTLzCallParams _callParamsstruct IOFTWrapperFeeObj _feeObjpayable 
sendOFT(address _oftuint16 _dstChainIdbytes _toAddressuint256 _amountuint256 _minAmountaddress _refundAddressaddress _zroPaymentAddressbytes _adapterParamsstruct IOFTWrapperFeeObj _feeObjpayable 
sendOFTFeeV2(address _oftuint16 _dstChainIdbytes32 _toAddressuint256 _amountuint256 _minAmountstruct ICommonOFTLzCallParams _callParamsstruct IOFTWrapperFeeObj _feeObjpayable 
sendOFTV2(address _oftuint16 _dstChainIdbytes32 _toAddressuint256 _amountuint256 _minAmountstruct ICommonOFTLzCallParams _callParamsstruct IOFTWrapperFeeObj _feeObjpayable 
sendProxyOFT(address _proxyOftuint16 _dstChainIdbytes _toAddressuint256 _amountuint256 _minAmountaddress _refundAddressaddress _zroPaymentAddressbytes _adapterParamsstruct IOFTWrapperFeeObj _feeObjpayable 
sendProxyOFTFeeV2(address _proxyOftuint16 _dstChainIdbytes32 _toAddressuint256 _amountuint256 _minAmountstruct ICommonOFTLzCallParams _callParamsstruct IOFTWrapperFeeObj _feeObjpayable 
sendProxyOFTV2(address _proxyOftuint16 _dstChainIdbytes32 _toAddressuint256 _amountuint256 _minAmountstruct ICommonOFTLzCallParams _callParamsstruct IOFTWrapperFeeObj _feeObjpayable 
setDefaultBps(uint256 _defaultBps
setOFTBps(address _tokenuint256 _bps
transferOwnership(address newOwner
withdrawFees(address _oftaddress _touint256 _amount
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
WrapperFeeWithdrawn(address indexed oftaddress touint256 amount
WrapperFees(bytes2 indexed partnerIdaddress tokenuint256 wrapperFeeuint256 callerFee
Constructor
constructor(uint256 _defaultBps
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.