CreditMessaging

Verified contract

Active on Base with 6,929 txns
Deployed by via 0x1994eab0 at 15023841
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.79
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xeabb6406747205653629b6415dbb78b9af1300d182da2db7a6761b441a6a6507
0xd1525f5aee75a1e8d1a1be1389a31904cfd38a2a205afd9edc23d34ba9c9a17a
0xa593f023db76308742160cf61d1c25e859954bc00f69410e6fa70f38e15ab5bd
0x2ccb3a745ea29f958b61089a2ffb5ff13c9530c0aa42061fbba64efecec87eb1
0x1fef7d2336e301355d934092fc10f071c4fec7abffe03bca4f444a9c088e484c
0xae2032e9f28f4aba7371a022f6098784563dcb2e5bb10feba64774edf2a42b7b
0x8edd4274d058718c1bf13c1b3aa5efb2bd16bc33b43b780aff613a974cd047e4
0x4d0423c4bc7ac6c6e9cdd53a2634eb212f69ee9a187ec2d2febea7dfff64dcce
0x12fe8e7fe024bdfc326cf5356067c59fc8ecf12f52b206fa8293b2364047f8a8
0x86b5240964b60504e8c8eb2e3457554d78854b9a7dc7be3776eeb1f395a6efe6

Functions
Getter at block 22924011
endpoint(view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
maxAssetId(view returns (uint16)
13
oApp(view returns (address)
0x12dc9256acc9895b076f6638d628382881e62cee
oAppVersion(pure returns (uint64 senderVersionuint64 receiverVersion)
(senderVersion=1, receiverVersion=2)
owner(view returns (address)
0x81eab64e630c4a2e3e849268a6b64cb76d1c8109
planner(view returns (address)
0xe37f7c80ced04c4f243c0fd04a5510d663cb88b5
preCrime(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowInitializePath(struct Origin originview returns (bool)
assetIds(address stargateImplview returns (uint16 assetId)
combineOptions(uint32 _eiduint16 _msgTypebytes _extraOptionsview returns (bytes)
enforcedOptions(uint32 eiduint16 msgTypeview returns (bytes enforcedOption)
gasLimits(uint32 eidview returns (uint128 gasLimit)
isComposeMsgSender(struct Originbytesaddress _senderview returns (bool)
isPeer(uint32 _eidbytes32 _peerview returns (bool)
nextNonce(uint32bytes32view returns (uint64 nonce)
peers(uint32 eidview returns (bytes32 peer)
quoteSendCredits(uint32 _dstEidstruct TargetCreditBatch[] _creditBatchesview returns (struct MessagingFee fee)
stargateImpls(uint16 assetIdview returns (address stargateImpl)
State-modifying
lzReceive(struct Origin _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
lzReceiveAndRevert(struct InboundPacket[] _packetspayable 
lzReceiveSimulate(struct Origin _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
renounceOwnership(
sendCredits(uint32 _dstEidstruct TargetCreditBatch[] _creditBatchespayable 
setAssetId(address _stargateImpluint16 _assetId
setDelegate(address _delegate
setEnforcedOptions(struct EnforcedOptionParam[] _enforcedOptions
setGasLimit(uint32 _eiduint128 _gasLimit
setMaxAssetId(uint16 _maxAssetId
setPeer(uint32 _eidbytes32 _peer
setPlanner(address _planner
setPreCrime(address _preCrime
transferOwnership(address newOwner
Events
AssetIdSet(address stargateImpluint16 assetId
EnforcedOptionSet(struct EnforcedOptionParam[] _enforcedOptions
GasLimitSet(uint32 eiduint128 gasLimit
MaxAssetIdSet(uint16 maxAssetId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PeerSet(uint32 eidbytes32 peer
PlannerSet(address planner
PreCrimeSet(address preCrimeAddress
Constructor
constructor(address _endpointaddress _owner
Fallback and receive

This contract contains no fallback and receive objects.

Errors
CreditMsgCodec_InvalidMessage(
InvalidDelegate(
InvalidEndpointCall(
InvalidOptions(bytes options
LzTokenUnavailable(
MessagingOptions_ZeroGasLimit(
Messaging_InvalidAssetId(
Messaging_Unauthorized(
Messaging_Unavailable(
NoPeer(uint32 eid
NotEnoughNative(uint256 msgValue
OnlyEndpoint(address addr
OnlyPeer(uint32 eidbytes32 sender
OnlySelf(
SimulationResult(bytes result