Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
-
variable spans 4 additional slots
0xcfa4…ad6e
0x71e7…7f64
0xae69…6ff2
Balances ($0.00)
No balances found for "AMM"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12994637 | 3 years ago | | | 0 | 0.0070662902 | |
| 12658853 | 3 years ago | | | 0 | 0.0022278950 | |
| 12343449 | 4 years ago | | | 0 | 0.0078460650 | |
| 12038315 | 4 years ago | | | 0 | 0.010863825 | |
| 11958203 | 4 years ago | | | 0 | 0.0087945250 | |
| 11958133 | 4 years ago | | | 0 | 0.0093118500 | |
| 11953928 | 4 years ago | | | 0 | 0.063559400 | |
| 11952299 | 4 years ago | | | 0 | 0.066941490 | |
| 11937603 | 4 years ago | | | 0 | 0.077106960 | |
| 11925137 | 4 years ago | | | 0 | 0.13011439 |
ABI
ABI objects
Getter at block 21258926 indexPrice() view returns (uint256 price, uint256 timestamp)
emaAlpha2() view returns (int256)
996672212978369384
emaAlpha2Ln() view returns (int256)
-3333336419758231
getGovernance() view returns (struct LibTypesAMMGovernanceConfig)
(3000000000000000, 0, 3327787021630616, 0, 4500000000000000, 3000000000000000)
globalConfig() view returns (address)
0x71e77ffbbfd4418ed47981927738b5425c187f64
lastFundingRate() view returns (int256)
350928408219039
lastFundingState() view returns (struct LibTypesFundingState)
(1614655570, -3675261522381, 2143345896610, 639627480955092, -510256193249388)
perpetualProxy() view returns (address)
0x05c363d2b9afc36b070fe2c61711280edc214678
positionSize() view returns (uint256)
0
priceFeeder() view returns (address)
0xcfa46e1b666fd91bf39028055d506c1e4ca5ad6e
shareTokenAddress() view returns (address)
0xae694fb9dcd1e6195519c0056b2ab19380b26ff2
Read-only
This contract contains no read-only function objects.
State-modifying
Events addLiquidity(uint256 amount)
buy(uint256 amount, uint256 limitPrice, uint256 deadline) returns (uint256)
buyAndWithdraw(uint256 tradeAmount, uint256 limitPrice, uint256 deadline, uint256 withdrawAmount)
buyFromWhitelisted(address trader, uint256 amount, uint256 limitPrice, uint256 deadline) returns (uint256)
createPool(uint256 amount)
currentAccumulatedFundingPerContract() returns (int256)
currentAvailableMargin() returns (uint256)
currentFairPrice() returns (uint256)
currentFundingRate() returns (int256)
currentFundingState() returns (struct LibTypesFundingState)
currentMarkPrice() returns (uint256)
currentPremium() returns (int256)
currentPremiumRate() returns (int256)
depositAndAddLiquidity(uint256 depositAmount, uint256 amount) payable
depositAndBuy(uint256 depositAmount, uint256 tradeAmount, uint256 limitPrice, uint256 deadline) payable
depositAndSell(uint256 depositAmount, uint256 tradeAmount, uint256 limitPrice, uint256 deadline) payable
removeLiquidity(uint256 shareAmount)
sell(uint256 amount, uint256 limitPrice, uint256 deadline) returns (uint256)
sellAndWithdraw(uint256 tradeAmount, uint256 limitPrice, uint256 deadline, uint256 withdrawAmount)
sellFromWhitelisted(address trader, uint256 amount, uint256 limitPrice, uint256 deadline) returns (uint256)
setGovernanceParameter(bytes32 key, int256 value)
settleShare()
updateIndex()
CreateAMM()
UpdateFundingRate(struct LibTypesFundingState fundingState)
UpdateGovernanceParameter(bytes32 indexed key, int256 value)
constructor(address _globalConfig, address _perpetualProxy, address _priceFeeder, address _shareToken)
This contract contains no fallback and receive objects.
This contract contains no error objects.