StargatePoolUSDC

Verified contract

Active on Ethereum with 8,222 txns
Deployed by via 0x62bb563d at 19963230
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $638.49
ERC-20
Value $14,427,622.84
0xb135f0c5ab36d09f48ba1f001e270e2efbe61f25790888555079025e1185f669
0xc9f9e0b0626c8447d7332a2f52ad15d1df33332ac2f2d1de3444edd9f3718ea1
0x52bf8613332632f0f78a7cd238827df347737cff9079434f7d5245a9f966789d
0x485942f62af2e3afb5c178447d0e4a7376bb6635a53bc0708886d3c7d02d410c
0x769bd9b126e291f516a846be5de0f2a6688fed087303770921db85b350a83460
0xa72375f3b28053bf99346118434963653c2c629f06b37e05c21767ed79a47635
0x8f851489e5ac7eed919a039eb8f48a726e8b9e1d30f930f4ccf98ce8916c1b62
0x7cc06d24c583e0e37692b846c3f9304762c4a3e943c2824169fb4c0920dc84d4
0xe1161e41215df9b9a5b27f50f86ee462f1b0b0d2dbb990ab6700472a226a5958
0x638dd88c541726298b3a0e5e809294e337732e5e1a38a123e3d2ab14bf67c602

Functions
Getter at block 21157520
approvalRequired(pure returns (bool)
true
burnAdmin(view returns (address)
0x0000000000000000000000000000000000000000
burnAllowanceSD(view returns (uint64)
0
deficitOffset(view returns (uint256)
0
endpoint(view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
getAddressConfig(view returns (struct StargateBaseAddressConfig)
(0x52b35406cb2fb5e0038edecfc129a152a1f74087, 0xe37f7c80ced04c4f243c0fd04a5510d663cb88b5, 0x1041d127b2d4bc700f0f563883bc689502606918, 0x6d6620efa72948c5f68a3c8646d58c00d3f4a980, 0x6b8ad17795d89b283e6d0362a87a403f3544bb9d, 0x0000000000000000000000000000000000000000)
getTransferGasLimit(view returns (uint256)
2300
localEid(view returns (uint32)
30101
lpToken(view returns (address)
0x5daaee9ef143faff495b581e9863570e83f99d31
oftVersion(pure returns (bytes4 interfaceIduint64 version)
(interfaceId=0x02e49c2c, version=0)
owner(view returns (address)
0x65bb797c2b9830d891d87288f029ed8dacc19705
plannerFee(view returns (uint256 available)
199655672726899661
poolBalance(view returns (uint256)
14408304195675
sharedDecimals(view returns (uint8)
6
stargateType(pure returns (uint8)
0
status(view returns (uint8)
1
token(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
treasuryFee(view returns (uint64)
25077562934
tvl(view returns (uint256)
19681922791347
Read-only
paths(uint32 eidview returns (uint64 credit)
quoteOFT(struct SendParam _sendParamview returns (struct OFTLimit limitstruct OFTFeeDetail[] oftFeeDetailsstruct OFTReceipt receipt)
quoteRedeemSend(struct SendParam _sendParambool _payInLzTokenview returns (struct MessagingFee fee)
quoteSend(struct SendParam _sendParambool _payInLzTokenview returns (struct MessagingFee fee)
redeemable(address _ownerview returns (uint256 amountLD)
unreceivedTokens(bytes32 guiduint8 indexview returns (bytes32 hash)
State-modifying
addTreasuryFee(uint256 _amountLDpayable 
allowBurn(address _burnAdminuint64 _burnAllowanceSD
burnLockedUSDC(
deposit(address _receiveruint256 _amountLDpayable returns (uint256 amountLD)
receiveCredits(uint32 _srcEidstruct Credit[] _credits
receiveTokenBus(struct Origin _originbytes32 _guiduint8 _seatNumberaddress _receiveruint64 _amountSD
receiveTokenTaxi(struct Origin _originbytes32 _guidaddress _receiveruint64 _amountSDbytes _composeMsg
recoverToken(address _tokenaddress _touint256 _amountreturns (uint256)
redeem(uint256 _amountLDaddress _receiverreturns (uint256 amountLD)
redeemSend(struct SendParam _sendParamstruct MessagingFee _feeaddress _refundAddresspayable returns (struct MessagingReceipt msgReceiptstruct OFTReceipt oftReceipt)
renounceOwnership(
retryReceiveToken(bytes32 _guiduint8 _indexuint32 _srcEidaddress _receiveruint256 _amountLDbytes _composeMsg
send(struct SendParam _sendParamstruct MessagingFee _feeaddress _refundAddresspayable returns (struct MessagingReceipt msgReceiptstruct OFTReceipt oftReceipt)
sendCredits(uint32 _dstEidstruct TargetCredit[] _creditsreturns (struct Credit[])
sendToken(struct SendParam _sendParamstruct MessagingFee _feeaddress _refundAddresspayable returns (struct MessagingReceipt msgReceiptstruct OFTReceipt oftReceiptstruct Ticket ticket)
setAddressConfig(struct StargateBaseAddressConfig _config
setDeficitOffset(uint256 _deficitOffsetLD
setOFTPath(uint32 _dstEidbool _oft
setPause(bool _paused
setTransferGasLimit(uint256 _gasLimit
transferOwnership(address newOwner
withdrawPlannerFee(
withdrawTreasuryFee(address _touint64 _amountSD
Events
AddressConfigSet(struct StargateBaseAddressConfig config
CreditsReceived(uint32 srcEidstruct Credit[] credits
CreditsSent(uint32 dstEidstruct Credit[] credits
Deposited(address indexed payeraddress indexed receiveruint256 amountLD
OFTPathSet(uint32 dstEidbool oft
OFTReceived(bytes32 indexed guiduint32 srcEidaddress indexed toAddressuint256 amountReceivedLD
OFTSent(bytes32 indexed guiduint32 dstEidaddress indexed fromAddressuint256 amountSentLDuint256 amountReceivedLD
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Path_CreditBurned(uint64 amountSD
PauseSet(bool paused
PlannerFeeWithdrawn(uint256 amount
Redeemed(address indexed payeraddress indexed receiveruint256 amountLD
TreasuryFeeAdded(uint64 amountSD
TreasuryFeeWithdrawn(address touint64 amountSD
UnreceivedTokenCached(bytes32 guiduint8 indexuint32 srcEidaddress receiveruint256 amountLDbytes composeMsg
Constructor
constructor(string _lpTokenNamestring _lpTokenSymboladdress _tokenuint8 _tokenDecimalsuint8 _sharedDecimalsaddress _endpointaddress _owner
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidLocalDecimals(
Path_AlreadyHasCredit(
Path_InsufficientCredit(
Path_UnlimitedCredit(
SlippageExceeded(uint256 amountLDuint256 minAmountLD
StargatePoolUSDC_BurnAmountExceedsBalance(
Stargate_InsufficientFare(
Stargate_InvalidAmount(
Stargate_InvalidPath(
Stargate_InvalidTokenDecimals(
Stargate_LzTokenUnavailable(
Stargate_OnlyTaxi(
Stargate_OutflowFailed(
Stargate_Paused(
Stargate_RecoverTokenUnsupported(
Stargate_ReentrantCall(
Stargate_SlippageTooHigh(
Stargate_Unauthorized(
Stargate_UnreceivedTokenNotFound(
Transfer_ApproveFailed(
Transfer_TransferFailed(