Echo

Verified contract

Active on Base with 3,263 txns
Deployed by via 0x1c3e514a at 3231452
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
--
ERC-20
--
0xae376f6588e2681a98782a88b57bb2357ba705573bdf9918c73398352249eac9
0x0ba18c30da466f5013adb868d95956e5101b4ddfb784c270c65edca251554abe
0xa7542d2363782bbef77163bf98f6f7b20ba0015fe7903f48434a80c4193627ec
0xf5a7dbdd640c737fc55404110e706b936d685845aae075d428dc3a5c4fa3c24e
0x07d2ac85e55f6dcbfa1cb705ffb49a46aee3671e72a08b7569e7f935f75bbe98
0x71e6af5e73a6a10481f011f13b8e9bd17910f138f2e64d6469944dfe4ec1ec04
0xc64b6da3bd3fd56cdb7962fb7653ac53ff4e1701b36b46342ce75d204a14460e
0xd44e3c6ea1497043884bb89c3ec12ca622ea2a35c7d9247725c757658ba0e8c5
0x6cfb630c28937ace14ae4f6205ed752be9f4eabf17c19cc2a24aa360afa7fe65
0xb952bdc58590c135858d42acc058e41d685578419d7f238635349481c10b7d03

Functions
Getter at block 22489793
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEFAULT_PAYLOAD_SIZE_LIMIT(view returns (uint256)
10000
FUNCTION_TYPE_SEND(view returns (uint16)
1
FUNCTION_TYPE_SEND_BATCH(view returns (uint16)
2
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
NO_EXTRA_GAS(view returns (uint256)
0
getTrustedForwarder(view returns (address forwarder)
0x0000000000000000000000000000000000000000
lzEndpoint(view returns (address)
0xb6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
name(view returns (string)
Echo
owner(view returns (address)
0x02f086dbc384d69b3041bc738f0a8af5e49da181
precrime(view returns (address)
0x0000000000000000000000000000000000000000
prime(view returns (address)
0xfa980ced6895ac314e7de34ef1bfae90a5add21b
symbol(view returns (string)
ECHO
useCustomAdapterParams(view returns (bool)
false
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
estimateSendBatchFee(uint16 _dstChainIdbytes _toAddressuint256[] _tokenIdsuint256[] _amountsbool _useZrobytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
estimateSendFee(uint16 _dstChainIdbytes _toAddressuint256 _tokenIduint256 _amountbool _useZrobytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
failedMessages(uint16bytesuint64view returns (bytes32)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address accountaddress operatorview returns (bool)
isTrustedForwarder(address forwarderview returns (bool)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
minDstGasLookup(uint16uint16view returns (uint256)
payloadSizeLimitLookup(uint16view returns (uint256)
spendGateways(uint256view returns (address echoCardDestinationAddressaddress nativeTokenDestinationAddressaddress primeDestinationAddressaddress invokeSpendHandler)
supportsInterface(bytes4 _interfaceIdview returns (bool)
trustedRemoteLookup(uint16view returns (bytes)
uri(uint256 _tokenIdview returns (string)
State-modifying
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
grantRole(bytes32 roleaddress account
invokeSpend(uint256 _iduint256[] _tokenIdsuint256[] _amountsuint256 _primeValuebytes _datapayable 
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
mintBatchAdmin(address _touint256[] _idsuint256[] _amountsbytes _data
nonblockingLzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
renounceOwnership(
renounceRole(bytes32 roleaddress account
retryMessage(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadpayable 
revokeRole(bytes32 roleaddress account
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
sendBatchFrom(address _fromuint16 _dstChainIdbytes _toAddressuint256[] _tokenIdsuint256[] _amountsaddress _refundAddressaddress _zroPaymentAddressbytes _adapterParamspayable 
sendFrom(address _fromuint16 _dstChainIdbytes _toAddressuint256 _tokenIduint256 _amountaddress _refundAddressaddress _zroPaymentAddressbytes _adapterParamspayable 
setApprovalForAll(address operatorbool approved
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setGateway(uint256 _idaddress _echoCardDestinationAddressaddress _nativeTokenDestinationAddressaddress _primeDestinationAddressaddress _invokeSpendHandler
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setPayloadSizeLimit(uint16 _dstChainIduint256 _size
setPrecrime(address _precrime
setPrime(address _prime
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setTrustedForwarder(address _forwarder
setTrustedRemote(uint16 _srcChainIdbytes _path
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
setURI(string _uri
setUseCustomAdapterParams(bool _useCustomAdapterParams
transferOwnership(address newOwner
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
IsDisabledSet(bool newDisabledState
MessageFailed(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadbytes _reason
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PrimeAddressSet(address indexed newPrimeAddress
ReceiveBatchFromChain(uint16 indexed _srcChainIdbytes indexed _srcAddressaddress indexed _toAddressuint256[] _tokenIdsuint256[] _amounts
ReceiveFromChain(uint16 indexed _srcChainIdbytes indexed _srcAddressaddress indexed _toAddressuint256 _tokenIduint256 _amount
RetryMessageSuccess(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _payloadHash
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SendBatchToChain(uint16 indexed _dstChainIdaddress indexed _frombytes indexed _toAddressuint256[] _tokenIdsuint256[] _amounts
SendToChain(uint16 indexed _dstChainIdaddress indexed _frombytes indexed _toAddressuint256 _tokenIduint256 _amount
SetMinDstGas(uint16 _dstChainIduint16 _typeuint256 _minDstGas
SetPrecrime(address precrime
SetTrustedRemote(uint16 _remoteChainIdbytes _path
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
SetUseCustomAdapterParams(bool _useCustomAdapterParams
SpendGatewayRegistered(uint256 indexed idaddress indexed handleraddress echoCardDestinationAddressaddress nativeTokenDestinationAddressaddress primeDestinationAddress
SpendInvoked(address indexed fromaddress echoCardDestinationaddress nativeDestinationaddress primeDestinationuint256 iduint256[] _tokenIdsuint256[] _amountsuint256 nativeValueuint256 primeValuebytes data
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
TrustedForwarderSet(address forwarder
URI(string valueuint256 indexed id
Constructor
constructor(address _lzEndpointaddress _forwarder
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InsufficientPermissions(address userAddressbytes32 requiredRole
TransferError(
ZeroAddress(string addressType