Stable AMM - ZAI/USDC
Unverified contract
Proxy
Active on
Base with 1 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional
variables
Balances ($3.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 3 | $1.00 |
$3 | |
ZAI | ERC-20 | 3 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22917972 | 4 days ago | | | 0 | 0.0000014642796 |
ABI
ABI objects
Getter at block 23071763
DOMAIN_SEPARATOR() view returns (bytes32)
0x8aab6f6da30e7d0668c88adbcfacdce1e0cf1f3c42cf41cecf81f6d46a3015da
blockTimestampLast() view returns (uint256)
1732624773
currentCumulativePrices() view returns (uint256 reserve0Cumulative, uint256 reserve1Cumulative, uint256 blockTimestamp)
(reserve0Cumulative=924300000000000000000000, reserve1Cumulative=924300000000, blockTimestamp=1732932873)
decimals() view returns (uint8)
18
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x93edc603d7a2ea03518ac55219cad320010a58e4, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory() view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves() view returns (uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast)
(_reserve0=3000000000000000000, _reserve1=3000000, _blockTimestampLast=1732624773)
index0() view returns (uint256)
0
index1() view returns (uint256)
0
lastObservation() view returns (struct IPoolObservation)
(1732624773, 0, 0)
metadata() view returns (uint256 dec0, uint256 dec1, uint256 r0, uint256 r1, bool st, address t0, address t1)
(dec0=1000000000000000000, dec1=1000000, r0=3000000000000000000, r1=3000000, st=true, t0=0x69000dfd5025e82f48eb28325a2b88a241182ced, t1=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
name() view returns (string)
Stable AMM - ZAI/USDC
observationLength() view returns (uint256)
1
periodSize() view returns (uint256)
1800
poolFees() view returns (address)
0x1b2f8d715dcb2e81b9da1d41b53696316632877e
reserve0() view returns (uint256)
3000000000000000000
reserve0CumulativeLast() view returns (uint256)
0
reserve1() view returns (uint256)
3000000
reserve1CumulativeLast() view returns (uint256)
0
stable() view returns (bool)
true
symbol() view returns (string)
sAMM-ZAI/USDC
token0() view returns (address)
0x69000dfd5025e82f48eb28325a2b88a241182ced
token1() view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
tokens() view returns (address, address)
(0x69000dfd5025e82f48eb28325a2b88a241182ced, 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
totalSupply() view returns (uint256)
3000000000000
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
claimable0(address) view returns (uint256)
claimable1(address) view returns (uint256)
getAmountOut(uint256 amountIn, address tokenIn) view returns (uint256)
nonces(address owner) view returns (uint256)
observations(uint256) view returns (uint256 timestamp, uint256 reserve0Cumulative, uint256 reserve1Cumulative)
prices(address tokenIn, uint256 amountIn, uint256 points) view returns (uint256[])
quote(address tokenIn, uint256 amountIn, uint256 granularity) view returns (uint256 amountOut)
sample(address tokenIn, uint256 amountIn, uint256 points, uint256 window) view returns (uint256[])
supplyIndex0(address) view returns (uint256)
supplyIndex1(address) view returns (uint256)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
burn(address to) returns (uint256 amount0, uint256 amount1)
claimFees() returns (uint256 claimed0, uint256 claimed1)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
getK() returns (uint256)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address _token0, address _token1, bool _stable)
mint(address to) returns (uint256 liquidity)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
setName(string __name)
setSymbol(string __symbol)
skim(address to)
swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data)
sync()
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
Approval(address indexed owner, address indexed spender, uint256 value)
Burn(address indexed sender, address indexed to, uint256 amount0, uint256 amount1)
Claim(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1)
EIP712DomainChanged()
Fees(address indexed sender, uint256 amount0, uint256 amount1)
Mint(address indexed sender, uint256 amount0, uint256 amount1)
Swap(address indexed sender, address indexed to, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out)
Sync(uint256 reserve0, uint256 reserve1)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
BelowMinimumK()
DepositsNotEqual()
FactoryAlreadySet()
InsufficientInputAmount()
InsufficientLiquidity()
InsufficientLiquidityBurned()
InsufficientLiquidityMinted()
InsufficientOutputAmount()
InvalidTo()
IsPaused()
K()
NotEmergencyCouncil()
StringTooLong(string str)