Stable AMM - USDC/USX

Unverified contract

Proxy

Active on Base with 173 txns
Deployed by via 0xb292e258 at 12109408
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $230,064.52
ERC-20
Value $0.12
ERC-20
Value $0.05
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x46d0925810ec4fef02fef423f81f46c83f587253a02333ec7f902d6e9c886b00
0xa3e91b8e10c00c2471b4f6136fea5fc8640a0985e7cdfcb925115119069256dc
0x4b64235ca1ae7fe586550675daac994431a9808d62ba5bab0ed38a220b3b31e2
0x2fa6ca9bef310055671ab29a545e930c43ac872d754b0ca86cdcf74b14faedd0
0xecd890009538527a9be1d9c3eb81226d949ab109841780d3df5342964d00bed6
0xda02cedf2ad9e6010a2a61c31b08805c385cdd8a52d906346909c28a105dd563
0xa35895d69d0644ab3150083401e3bf9995bc4fa974a127efd1c131387aee8dd1
0xf999d84d4b1042c038689210f3d7abb5bd50bf5e7dc42d47a77c09df1aa0cf57
0x64633adeca404c0417a4aea34d39ac47350709eea9bdf91f94dbb342b05b51dc
0x584701fc38c8ac6ea008b14cdf5e46b7a7723a6e942ca7b0a5de89bc977332b8

Functions
Getter at block 22771019
DOMAIN_SEPARATOR(view returns (bytes32)
0x13195926db0de8fdf9b023499cebccfbd1adf53b056a61d742320e0ae9e60437
blockTimestampLast(view returns (uint256)
1732198747
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=5208222106910574496, reserve1Cumulative=7094037153833691848424197799384, blockTimestamp=1732331385)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x1f019b4420936a800ff6f54c00d9da05445de433, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=230216467633, _reserve1=322952456808767721058235, _blockTimestampLast=1732198747)
index0(view returns (uint256)
2717948219
index1(view returns (uint256)
2852046512488983126264
lastObservation(view returns (struct IPoolObservation)
(1732198747, 5177686655076668642, 7051201385867490515438475625454)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000, dec1=1000000000000000000, r0=230216467633, r1=322952456808767721058235, st=true, t0=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, t1=0xc142171b138db17a1b7cb999c44526094a4dae05)
name(view returns (string)
Stable AMM - USDC/USX
observationLength(view returns (uint256)
906
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x9dfb9533bad96f1e325eeff7ba9df00f039eb88d
reserve0(view returns (uint256)
230216467633
reserve0CumulativeLast(view returns (uint256)
5177686655076668642
reserve1(view returns (uint256)
322952456808767721058235
reserve1CumulativeLast(view returns (uint256)
7051201385867490515438475625454
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-USDC/USX
token0(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
token1(view returns (address)
0xc142171b138db17a1b7cb999c44526094a4dae05
tokens(view returns (addressaddress)
(0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, 0xc142171b138db17a1b7cb999c44526094a4dae05)
totalSupply(view returns (uint256)
276529813210241448
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