OFTWrapper

Verified contract

Active on Ethereum with 14,538 txns
Deployed by via 0x8671c103 at 17167658
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $4,320.93
ERC-20
Value $2,413.81
ERC-20
Value $2,200.04
ERC-20
Value $1,887.16
ERC-20
Value $1,288.71
ERC-20
Value $1,188.38
ERC-20
Value $770.88
ERC-20
Value $564.81
ERC-20
Value $440.33
ERC-20
Value $413.38
0xd95fd196cfb1a7c5b3019099211a2821b32f69fab65fa0d2ae5059f4e159e00c
0x3ad14e7858f5e2c3198bdedda6fcbbdc8b2bb8f1b2eb9dcc37a3143468e73f9f
0x6eb311d550d854ae79e641d99778f3bdd971465c2e152fe71dce91d06559eb17
0x90c444b3869050d96c8c93288bb9364a5a17a4248a773c407fe9ec7f4a46d7d0
0xdc5b9ffcc45b2f7f8db0f37782526aba4ee57eb8b14fd7e3e27162523e429e16
0x8c8b60edc849047f8dbd7a22ac51a3a49af0c9194b628b28a57473f2fb0726b4
0x5c10740589d73b8c891bc70f456bb131dff4d072dbb1d1e355c0beecb46d9899
0x8eadf93e1b614a65ea366eb2fa50f121659585a75ff65a43239ae0187432a61a
0x8ce26f09b8668ee8d29417e79393d69374ddacf16feb7930f4a3b93f9826d9d5
0xe5b320af5b7b74f0c8c86e765118cabd72ba49011b21763bb1b3d3049599aac1

Functions
Getter at block 20859868
BPS_DENOMINATOR(view returns (uint256)
10000
MAX_UINT(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
defaultBps(view returns (uint256)
2
owner(view returns (address)
0x65bb797c2b9830d891d87288f029ed8dacc19705
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(
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.