StargatePool

Verified contract

Active on Ethereum with 730 txns
Deployed by via 0x85be3f6e at 19963228
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $53.92
ERC-20
Value $9,172,262.69
0x16729a4ca4bc51836d3f3212bd1cd83cf3ef63d582be6e51ef3c5241b34670bc
0x3bfa995c17606d76e57e548283af3ee7b724c3fc12ccf61c345b388a10b286a8
0xd711f391241dd74cad0ce2cd89c244e6291270b30b4d6f245c196aa9c50a6d6b
0xdb03832d6cd7f3ac9f241f5cc3946816c88f5ec2eb093e4c83a276d908fab424
0x80d789791c359dd6a488cecd7d4fc5695f3561117105e969c0e0760ad7fca902
0x78f17867f5568864c19ec3da56b8bfbc1ad26b904cc6d652b3e050413a8c804e
0xaf721af98fbc84f381a003334fc3ce4c603975fa1b405c3a34c4b9b2fde5383f
0xfe471fe6844edca2e6b0e46de001f4f6b58173e0f94ffd408855977902bc7703
0xd3927d147d20e0e07dc475a6b6c0b8a36d629d064d6ea01b0edb67b46c4698cd
0x15473bf15c1edd9472e42c940c284c149eca91acb84d37c4c5357a9cbb8e1ecc

Functions
Getter at block 21076958
approvalRequired(pure returns (bool)
true
deficitOffset(view returns (uint256)
0
endpoint(view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
getAddressConfig(view returns (struct StargateBaseAddressConfig)
(0x6d5521f46b2cba9443fefc09cbac3b15ae0f73eb, 0xe37f7c80ced04c4f243c0fd04a5510d663cb88b5, 0x1041d127b2d4bc700f0f563883bc689502606918, 0x6d6620efa72948c5f68a3c8646d58c00d3f4a980, 0x6b8ad17795d89b283e6d0362a87a403f3544bb9d, 0x0000000000000000000000000000000000000000)
getTransferGasLimit(view returns (uint256)
2300
localEid(view returns (uint32)
30101
lpToken(view returns (address)
0xd646cd9dff77097b454a5a148beae6615e3bc2e2
oftVersion(pure returns (bytes4 interfaceIduint64 version)
(interfaceId=0x02e49c2c, version=0)
owner(view returns (address)
0x65bb797c2b9830d891d87288f029ed8dacc19705
plannerFee(view returns (uint256 available)
20252945708014524
poolBalance(view returns (uint256)
3292639177000000000000
sharedDecimals(view returns (uint8)
6
stargateType(pure returns (uint8)
0
status(view returns (uint8)
1
token(view returns (address)
0xd5f7838f5c461feff7fe49ea5ebaf7728bb0adfa
treasuryFee(view returns (uint64)
753290
tvl(view returns (uint256)
6000203720000000000000
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 
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
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
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(