Stable AMM - AERO/KLIMA

Unverified contract

Proxy

Active on Base with 2 txns
Deployed by via 0x9dc4d81a at 18071320
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $0
ERC-20
Value $0
0xf3200a501cbb394ff12875bd6071e49dd3a0535c2b35720503e24c5e0b6d4c22
0x9296cc659f3a88b5cf39e2e694a1330c4ed9fb50972bd2c5543fcfe8778e8c11

Functions
Getter at block 21804580
DOMAIN_SEPARATOR(view returns (bytes32)
0xc2a35c22d5305a5ad7d8ca724abc0339cfe0f897709b6dbf1c242544271cd76e
blockTimestampLast(view returns (uint256)
1722932787
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=805792306487266759215052, reserve1Cumulative=84115806232670, blockTimestamp=1730398507)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x918b50f907f4da1e3c76e902ba63b334222ef5eb, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=66246600, _reserve1=1, _blockTimestampLast=1722932787)
index0(view returns (uint256)
17320571509713603883
index1(view returns (uint256)
0
lastObservation(view returns (struct IPoolObservation)
(1722931987, 0, 0)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000, r0=66246600, r1=1, st=true, t0=0x940181a94a35a4569e4529a3cdfb74e38fd98631, t1=0xdcefd8c8fcc492630b943abcab3429f12ea9fea2)
name(view returns (string)
Stable AMM - AERO/KLIMA
observationLength(view returns (uint256)
1
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xc00f174479f51bc269cc4724ed3f0e8b8b48f42f
reserve0(view returns (uint256)
66246600
reserve0CumulativeLast(view returns (uint256)
805792305992688192663052
reserve1(view returns (uint256)
1
reserve1CumulativeLast(view returns (uint256)
84115798766950
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-AERO/KLIMA
token0(view returns (address)
0x940181a94a35a4569e4529a3cdfb74e38fd98631
token1(view returns (address)
0xdcefd8c8fcc492630b943abcab3429f12ea9fea2
tokens(view returns (addressaddress)
(0x940181a94a35a4569e4529a3cdfb74e38fd98631, 0xdcefd8c8fcc492630b943abcab3429f12ea9fea2)
totalSupply(view returns (uint256)
1000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
claimable0(addressview returns (uint256)
claimable1(addressview returns (uint256)
getAmountOut(uint256 amountInaddress tokenInview returns (uint256)
nonces(address ownerview returns (uint256)
observations(uint256view returns (uint256 timestampuint256 reserve0Cumulativeuint256 reserve1Cumulative)
prices(address tokenInuint256 amountInuint256 pointsview returns (uint256[])
quote(address tokenInuint256 amountInuint256 granularityview returns (uint256 amountOut)
sample(address tokenInuint256 amountInuint256 pointsuint256 windowview returns (uint256[])
supplyIndex0(addressview returns (uint256)
supplyIndex1(addressview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
burn(address toreturns (uint256 amount0uint256 amount1)
claimFees(returns (uint256 claimed0uint256 claimed1)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
getK(returns (uint256)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _token0address _token1bool _stable
mint(address toreturns (uint256 liquidity)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
setName(string __name
setSymbol(string __symbol
skim(address to
swap(uint256 amount0Outuint256 amount1Outaddress tobytes data
sync(
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed senderaddress indexed touint256 amount0uint256 amount1
Claim(address indexed senderaddress indexed recipientuint256 amount0uint256 amount1
EIP712DomainChanged(
Fees(address indexed senderuint256 amount0uint256 amount1
Mint(address indexed senderuint256 amount0uint256 amount1
Swap(address indexed senderaddress indexed touint256 amount0Inuint256 amount1Inuint256 amount0Outuint256 amount1Out
Sync(uint256 reserve0uint256 reserve1
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
BelowMinimumK(
DepositsNotEqual(
FactoryAlreadySet(
InsufficientInputAmount(
InsufficientLiquidity(
InsufficientLiquidityBurned(
InsufficientLiquidityMinted(
InsufficientOutputAmount(
InvalidTo(
IsPaused(
K(
NotEmergencyCouncil(
StringTooLong(string str