SwapRouterV1
Verified contract
Active on
Ethereum with 3,517 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x4ad7…3ace
0xdd97…bedd
Balances ($0.00)
No balances found for "SwapRouterV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17157481 | a year ago | | | 0 | 0.0082210316 | |
| 17157466 | a year ago | | | 0 | 0.0091453977 | |
| 17114560 | a year ago | | | 0 | 0.0086359330 | |
| 17017206 | 2 years ago | | | 0 | 0.0044701920 | |
| 17010368 | 2 years ago | | | 0 | 0.0045950580 | |
| 17001752 | 2 years ago | | | 0 | 0.0044700480 | |
| 16995879 | 2 years ago | | | 0 | 0.0045942160 | |
| 16981117 | 2 years ago | | | 0 | 0.0075410205 | |
| 16974533 | 2 years ago | | | 0 | 0.0052238087 | |
| 16961738 | 2 years ago | | | 0 | 0.0048388118 |
ABI
ABI objects
Getter at block 20937284
gpo() view returns (address)
0x4ad7a056191f4c9519facd6d75fa94ca26003ace
gpoReserve() view returns (address)
0xdd97a7993686789accb7277ca7341076c714bedd
maxBuyTradeSize() view returns (uint256)
6584202528
maxSellPerTx() view returns (uint256)
20000000000000000000
maxSellTradeSize() view returns (uint256)
1780000000000000000000
owner() view returns (address)
0xba6c9f18afcae68a6e545291507384252c37ebe8
swapEnabled() view returns (bool)
true
Read-only
calculateGPOOut(uint256 usdc) view returns (uint256 amountOut)
canPerformSwap(bool sell, uint256 amount) view returns (bool)
State-modifying
Events renounceOwnership()
setGPOReserve(address _gpoRes)
setTradeSizeLimitations(uint256 maxBuy, uint256 maxSell, uint256 maxSellTx)
swapFromExactInput(uint256 amountIn, uint256 amountOutMinimum, uint256 deadline) returns (uint256 amountOut)
swapFromExactOutput(uint256 amountInMaximum, uint256 amountOut, uint256 deadline) returns (uint256 amountIn)
swapToExactInput(uint256 amountIn, uint256 amountOutMinimum, uint256 deadline) returns (uint256 amountOut)
swapToExactOutput(uint256 amountInMaximum, uint256 amountOut, uint256 deadline) returns (uint256 amountIn)
toggleSwap()
transferOwnership(address newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SwapStateChanged(bool swapEnabled, address gpoReserve)
constructor(address _gpo)
This contract contains no fallback and receive objects.
T()