StargatePoolUSDC

Verified contract

Active on Ethereum with 9,080 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 $715.68
ERC-20
Value $19,901,161.57
0xbeab98a8998f7d61e803b8cd9dd2a7664dbc0ef7bac127d7dddd520d696f2096
0xb052d1701b87131b758d6dd0237e9286c18ad0466178b2e4dafaa3f242e19f56
0xe924dd9e68a9c2d82367f4d010b4b59ad52a1b84df846f3b962fd38153063486
0x994c51f29689322f51d08150f160feaa03620245726e74f868973738e33c48fd
0x72ac70f2cc635ec22d1765714554551b18e664c1e091ba4948d013b43e207459
0x0f4343f513ee854810cdbf19e51e73bb1d6830660a373e6e963915f7b71218f3
0xcc8bad3d98f12863886a873a8689c171d4f51ebe7802aba07a28f7857551e180
0xa2e8c9f73777bfe0791f563f1792b4cf73e6070682fc0010850b7b1df7e6efd6
0x0d38ba60a77bed4510ba902334bc2027af476afe3ffc80626cb7d1903214b1b2
0x837aaf2c13df6368cb850977ac85bf64a39217e8dd571f73f05657686f192f63

Functions
Getter at block 21262525
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)
212156136764601993
poolBalance(view returns (uint256)
19864178174631
sharedDecimals(view returns (uint8)
6
stargateType(pure returns (uint8)
0
status(view returns (uint8)
1
token(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
treasuryFee(view returns (uint64)
36983397032
tvl(view returns (uint256)
21385375719897
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(