LSDSwapWithUniswap
Verified contract
Active on
Ethereum with 108 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "LSDSwapWithUniswap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21269311 | 20 hours ago | | | 0.00006 | 0.0037931081 | |
| 21269016 | 21 hours ago | | | 0.00006 | 0.0051344335 | |
| 21268874 | a day ago | | | 0.00006 | 0.0043977092 | |
| 21264305 | 2 days ago | | | 0.000085038682 | 0.0080960513 | |
| 21263149 | 2 days ago | | | 0.000051 | 0.0053084603 | |
| 21262872 | 2 days ago | | | 0.000051 | 0.0061101286 | |
| 21262744 | 2 days ago | | | 0.00006 | 0.0043991191 | |
| 21262571 | 2 days ago | | | 0.00006 | 0.0039652946 | |
| 21262566 | 2 days ago | | | 0.00006 | 0.0041366177 | |
| 21262560 | 2 days ago | | | 0.00006 | 0.0042764303 |
ABI
ABI objects
Getter at block 21275333
DEPOSIT_ENDPOINT_ID() view returns (uint32)
30101
LZ_ENDPOINT() view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
SWAP_FACTORY() view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
SWAP_QUOTER() view returns (address)
0x61ffe014ba17989e743c5f6cb21bf9697530b21e
SWAP_ROUTER() view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
composeGasLimit() view returns (uint128)
700000
depositMessageFee() view returns (uint256)
50000000000000
depositMessageFeeCap() view returns (uint256)
10000000000000000
owner() view returns (address)
0xfa60c17ccb1b728b68c4b5cf93a7dfd27a666654
paused() view returns (bool)
false
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
refundSetter() view returns (address)
0x20aa06a577d77e23dbe9074e5a17bbe34af4bdf0
Read-only
bridgeTokenToDepositPool(address) view returns (address)
bridgeTokenToStargatePool(address) view returns (address)
depositPoolToBridgeToken(address) view returns (address)
depositPools(address) view returns (bool)
endpointIdToContract(uint32) view returns (address)
getBridgeTokenAddress(address lsdAddr) view returns (address)
lsdAddrToBridgeToken(address) view returns (address)
lsdAddrs(address) view returns (bool)
stargatePools(address) view returns (bool)
swapNeedRefund(bytes32) view returns (bool)
State-modifying
Events acceptOwnership()
crossChainSwap(address recipient, address sourceToken, uint256 amount, uint32 targetEndpointId, address targetToken, struct ILSDSwapBridgeTokenSwapParam sourceSwap, struct ILSDSwapBridgeTokenSwapParam targetSwap, struct ILSDSwapERC20PermitParam permitParam, uint128 nativeDrop, uint128 bridgeGasLimit) payable
lzCompose(address _from, bytes32 _guid, bytes _message, address, bytes) payable
pause()
quoteCrossChainSwap(address recipient, address sourceToken, uint256 amount, uint32 targetEndpointId, address targetToken, uint128 nativeDrop, uint24 sourceFeeTier, uint128 bridgeGasLimit) returns (uint256 messageFee, address bridgeToken, uint256 beforeBridgeAmountOut, uint256 afterBridgeAmountOut, uint160 sqrtPriceX96)
quoteSwap(address sourceToken, uint256 amount, address targetToken, uint24 feeTier) returns (uint256 amountOut, uint160 sqrtPriceX96)
quoteSwapDeposit(address recipient, address sourceToken, uint256 amount, address depositPool, uint24 sourceFeeTier) returns (uint256 messageFee, address bridgeToken, uint256 amountOut, uint160 sqrtPriceX96)
removeDepositPools(address[] addrs)
removeLSDAddrs(address[] addrs)
removeStargatePools(address[] deletePools)
renounceOwnership()
setComposeGasLimit(uint128 _composeGasLimit)
setConfig(struct StargateHelperTokenConfigPair[] tokens, struct LSDSwapEndpointIdAddrPair[] endpointIdAddrs, struct LSDSwapLSDAddrBridgeTokenPair[] lsdAddrBridgeTokens, struct LSDSwapDepositPoolBridgeTokenPair[] depositPoolAddrs, uint256 _depositMessageFee)
setDepositMessageFee(uint256 fee)
setDepositPoolToBridgeToken(struct LSDSwapDepositPoolBridgeTokenPair[] pairs)
setEndpointIdToContract(struct LSDSwapEndpointIdAddrPair[] pairs)
setLSDAddrToBridgeToken(struct LSDSwapLSDAddrBridgeTokenPair[] pairs)
setRefundSetter(address setter)
setSwapToRefund(bytes32 guid)
setTokenConfig(struct StargateHelperTokenConfigPair[] pairs)
swapDeposit(address recipient, address sourceToken, uint256 amount, address depositPool, struct ILSDSwapBridgeTokenSwapParam sourceSwap, struct ILSDSwapERC20PermitParam permitParam) payable
transferOwnership(address newOwner)
unpause()
DepositFail(bytes32 indexed guid, address indexed receipent, address refundToken, uint256 refundAmount)
DepositStart(bytes32 indexed guid, address indexed receipent, uint256 amount, address sourceToken, address depositPool, uint256 bridgeFee, uint256 bridgeTokenMinOut)
DepositStartOnChain(address indexed receipent, uint256 amount, address sourceToken, address depositPool, uint256 amountOut)
DepositSuccess(bytes32 indexed guid, address indexed receipent, address depositPool, uint256 amount)
DeprecatedDepositPool(address depositPool)
DeprecatedLSDAddr(address lsdAddr)
DeprecatedStargatePool(address stargatePool)
NewBridgeTokenStargatePoolMapping(address bridgeToken, address stargatePool)
NewComposeGasLimit(uint128 composeGasLimit)
NewDepositMessageFee(uint256 fee)
NewDepositPoolBridgeTokenMapping(address depositPoolAddr, address bridgeToken)
NewEndpointAddrMapping(uint32 endpointId, address addr)
NewLSDBridgeTokenMapping(address lsdAddr, address bridgeToken)
NewRefundSetter(address setter)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
SwapFail(bytes32 indexed guid, address indexed receipent, address refundToken, uint256 refundAmount)
SwapStart(bytes32 indexed guid, address indexed receipent, uint256 amount, address sourceToken, address targetToken, uint256 targetEndPointId, uint256 bridgeFee, uint256 targetTokenMinOut)
SwapSuccess(bytes32 indexed guid, address indexed receipent, address token, uint256 amount)
Unpaused(address account)
constructor(address _swapRouter, address _swapQuoter, address _swapFactory, address _lzEndpointAddr, address _owner)
receive()
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
AlreadyRefund(bytes32 guid)
DepositMessageFeeExceedCap(uint256 fee, uint256 cap)
EnforcedPause()
ExpectedPause()
FailedInnerCall()
InsufficientValueToSend(uint256 sendValue, uint256 needValue)
InvalidBridgeToken(address bridgeToken)
InvalidComposeFrom(uint32 srcEid, address composeFrom)
InvalidDepositPool(address depositPool)
InvalidEndpoint(address endpoint)
InvalidEndpointId(uint32 endpointId)
InvalidMessageType(uint8 messageType)
InvalidOptionType(uint16 optionType)
InvalidRefundSetter(address refundSetter)
InvalidSender(address sender)
InvalidSwap(address sourceToken, address targetToken)
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReturnToUserError(address user, uint256 valueToReturn)
SafeCastOverflowedUintDowncast(uint8 bits, uint256 value)
SafeERC20FailedOperation(address token)
SendToUserError(address user, uint256 valueToSend)