CreditMessaging

Verified contract

Active on Base with 5,387 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.58
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x5eb10d05d67b32a8ec33d7f4db764cb00bc40c7029225def1861b7d2c2ca1249
0x022a3a7f83e9906ac927a1979e792de2d1c50c37ad7375931a4e25cae69f6412
0xb79892ef30e07a5ce59f6b1ff7c3bf2b25ad3b7235403c85394624d0ae174c8d
0xc3c1a3386afbb94ce78fb36416ff5102704c8652e6e8f18198e43934837fa0fe
0x58f9d50d63842e64546888d36b42bf10d07c4ba822d4bca889a0034041fc0fa3
0x73793eee9e55f6acbe673af0ea8eee0ebbb54ab1977d629921e6c8e92da6e3cb
0x78040ca8fc31b66680164476e484ba3f8171bb8fe466d00498970b4ac5db162a
0xabeb15b6886b9c59a7d2cbd24b240b3b67287471dc21f8acffdd725dd577857f
0xa6562fec8dccbda3c15f83cf8d0985d23f11f606a2e589791b975fe0b29df7bc
0xd7ffdf00c2937b856219de4c3858663d6158de5c7b87b4ebfb5d39543bdde56b

Functions
Getter at block 22023546
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