Stable AMM - DAI/MAI
Verified contract
Proxy
Active on
Base with 244 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 ($36,880.08)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
MAI | ERC-20 | 20.74298K | $0.997486 |
$20,690.83 | |
DAI | ERC-20 | 16.173076K | $1.001 |
$16,189.25 | |
USA | ERC-20 | 1 | $0.000759 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22625997 | 3 days ago | | | 0 | 6.8273219e-7 | |
| 22625754 | 3 days ago | | | 0 | 6.8273219e-7 | |
| 22312268 | 10 days ago | | | 0 | 6.8055956e-7 | |
| 22217358 | 12 days ago | | | 0 | 5.7397860e-7 | |
| 22185680 | 13 days ago | | | 0 | 2.2076100e-7 | |
| 22163808 | 14 days ago | | | 0 | 6.8024706e-7 | |
| 22156025 | 14 days ago | | | 0 | 6.8289919e-7 | |
| 22117178 | 15 days ago | | | 0 | 4.4642780e-7 | |
| 22108033 | 15 days ago | | | 0 | 6.8092529e-7 | |
| 22107915 | 15 days ago | | | 0 | 6.8056520e-7 |
ABI
ABI objects
Getter at block 22753078
DOMAIN_SEPARATOR() view returns (bytes32)
0x645a28cec34beb3a8ff8eb06dad195815e7d41020acf52051108e7ca0234c699
blockTimestampLast() view returns (uint256)
1732295355
currentCumulativePrices() view returns (uint256 reserve0Cumulative, uint256 reserve1Cumulative, uint256 blockTimestamp)
(reserve0Cumulative=74174446466708890215968651564, reserve1Cumulative=70168644817124355453665601046, blockTimestamp=1732295503)
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=0x30a30f266e1173a75985997b2523ecbc19c60ff3, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory() view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves() view returns (uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast)
(_reserve0=16173076120189124238752, _reserve1=20742980036205480061475, _blockTimestampLast=1732295355)
index0() view returns (uint256)
23522671809453165
index1() view returns (uint256)
23565413517355351
lastObservation() view returns (struct IPoolObservation)
(1732295355, 74172052851443102225581316268, 70165574856078997042616502746)
metadata() view returns (uint256 dec0, uint256 dec1, uint256 r0, uint256 r1, bool st, address t0, address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=16173076120189124238752, r1=20742980036205480061475, st=true, t0=0x50c5725949a6f0c72e6c4a641f24049a917db0cb, t1=0xbf1aea8670d2528e08334083616dd9c5f3b087ae)
name() view returns (string)
Stable AMM - DAI/MAI
observationLength() view returns (uint256)
1887
periodSize() view returns (uint256)
1800
poolFees() view returns (address)
0x29be5e85245559a49df13a5e4484d9157182bad7
reserve0() view returns (uint256)
16173076120189124238752
reserve0CumulativeLast() view returns (uint256)
74172052851443102225581316268
reserve1() view returns (uint256)
20742980036205480061475
reserve1CumulativeLast() view returns (uint256)
70165574856078997042616502746
stable() view returns (bool)
true
symbol() view returns (string)
sAMM-DAI/MAI
token0() view returns (address)
0x50c5725949a6f0c72e6c4a641f24049a917db0cb
token1() view returns (address)
0xbf1aea8670d2528e08334083616dd9c5f3b087ae
tokens() view returns (address, address)
(0x50c5725949a6f0c72e6c4a641f24049a917db0cb, 0xbf1aea8670d2528e08334083616dd9c5f3b087ae)
totalSupply() view returns (uint256)
18430259913146998970001
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)