AdapterOFTOsak

Verified contract

Active on Ethereum with 1,240 txns
Deployed by via 0x3ee405f1 at 18848216
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $5,590,590.88
ERC-20
--
0x16648d02ddda080ef56947deec738578ec3a27970cd71ee30ae72075f1ba3ffd
0x5869fe1a767a6150cb4d22a96dc172338aefb9366f345c169a0c82f51dfff8eb
0xa25389cf7e428c25c0e79c32942e7d3ba6842d5113b02451458cdcb7028b2df2
0xb0847ed2393b7ba58761c780abb549c4af1a4eb61adcea3fc086049504e45a9e
0x21dc80ef46dcfed832f087eef1bf80e7fd9eaed60dc6101839c5f12c8982b1bc
0xb6a92022511daad0eb5e7cd30504b141b25a3914ec1ee4c4afd9ca20c8eeaf56
0x468d63c3200f7dfc7b63b0973240f46d85df78eaac31709baf9829090e055a56
0x9a1912e9d97d06efb7e0b1e7b19ef0fd3762a1ef7721f3eb09cf4555761133f9
0x62ee78555148051cc43b5643a882a18e1e41f4a381193ae6e79eeb18c0c87184
0x958c0a2e10f4db19642c3425fc016df8242038b855a6565f46b7cf1b31904239

Functions
Getter at block 21223085
BP_DENOMINATOR(view returns (uint256)
10000
DEFAULT_PAYLOAD_SIZE_LIMIT(view returns (uint256)
10000
NO_EXTRA_GAS(view returns (uint256)
0
PT_SEND(view returns (uint8)
0
PT_SEND_AND_CALL(view returns (uint8)
1
circulatingSupply(view returns (uint256)
980175199649967355300000000000000
defaultFeeBp(view returns (uint16)
10
feeOwner(view returns (address)
0x61f7620a747111678c5fe83d822a0afd060ba0f7
lzEndpoint(view returns (address)
0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
outboundAmount(view returns (uint256)
19824790350032644700000000000000
owner(view returns (address)
0xa4fefef4858708c451c6c8210c88bea4f633f0c8
precrime(view returns (address)
0x0000000000000000000000000000000000000000
sharedDecimals(view returns (uint8)
4
token(view returns (address)
0xa21af1050f7b26e0cff45ee51548254c41ed6b5c
Read-only
chainIdToFeeBps(uint16view returns (uint16 feeBPbool enabled)
creditedPackets(uint16bytesuint64view returns (bool)
estimateSendAndCallFee(uint16 _dstChainIdbytes32 _toAddressuint256 _amountbytes _payloaduint64 _dstGasForCallbool _useZrobytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
estimateSendFee(uint16 _dstChainIdbytes32 _toAddressuint256 _amountbool _useZrobytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
failedMessages(uint16bytesuint64view returns (bytes32)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
minDstGasLookup(uint16uint16view returns (uint256)
payloadSizeLimitLookup(uint16view returns (uint256)
quoteOFTFee(uint16 _dstChainIduint256 _amountview returns (uint256 fee)
supportsInterface(bytes4 interfaceIdview returns (bool)
trustedRemoteLookup(uint16view returns (bytes)
State-modifying
callOnOFTReceived(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _fromaddress _touint256 _amountbytes _payloaduint256 _gasForCall
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
nonblockingLzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
renounceOwnership(
retryMessage(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadpayable 
sendAndCall(address _fromuint16 _dstChainIdbytes32 _toAddressuint256 _amountuint256 _minAmountbytes _payloaduint64 _dstGasForCallstruct ICommonOFTLzCallParams _callParamspayable 
sendFrom(address _fromuint16 _dstChainIdbytes32 _toAddressuint256 _amountuint256 _minAmountstruct ICommonOFTLzCallParams _callParamspayable 
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setDefaultFeeBp(uint16 _feeBp
setFeeBp(uint16 _dstChainIdbool _enableduint16 _feeBp
setFeeOwner(address _feeOwner
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setPayloadSizeLimit(uint16 _dstChainIduint256 _size
setPrecrime(address _precrime
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setTrustedRemote(uint16 _remoteChainIdbytes _path
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
transferOwnership(address newOwner
Events
CallOFTReceivedSuccess(uint16 indexed _srcChainIdbytes _srcAddressuint64 _noncebytes32 _hash
MessageFailed(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadbytes _reason
NonContractAddress(address _address
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReceiveFromChain(uint16 indexed _srcChainIdaddress indexed _touint256 _amount
RetryMessageSuccess(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _payloadHash
SendToChain(uint16 indexed _dstChainIdaddress indexed _frombytes32 indexed _toAddressuint256 _amount
SetDefaultFeeBp(uint16 feeBp
SetFeeBp(uint16 dstchainIdbool enableduint16 feeBp
SetFeeOwner(address feeOwner
SetMinDstGas(uint16 _dstChainIduint16 _typeuint256 _minDstGas
SetPrecrime(address precrime
SetTrustedRemote(uint16 _remoteChainIdbytes _path
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
Constructor
constructor(address _tokenuint8 _sharedDecimalsaddress _lzEndpoint
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.