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
0xa2fe…d3dc
0x71e7…7f64
0xf377…286f
Balances ($0.00)
No balances found for "AMM"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11957835 | 4 years ago | | | 0 | 0.010863825 | |
| 11917205 | 4 years ago | | | 0 | 0.20973179 | |
| 11912931 | 4 years ago | | | 0 | 0.39867936 | |
| 11907755 | 4 years ago | | | 0 | 0.36805680 | |
| 11858596 | 4 years ago | | | 0 | 0.36022370 | |
| 11827203 | 4 years ago | | | 0 | 0.12392835 | |
| 11824418 | 4 years ago | | | 0 | 0.23123403 | |
| 11823668 | 4 years ago | | | 0 | 0.40506245 | |
| 11807201 | 4 years ago | | | 0 | 0.10938715 | |
| 11798798 | 4 years ago | | | 0 | 0.24674183 |
ABI
ABI objects
Getter at block 21330127 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, 14000000000000000, 10000000000000000)
globalConfig() view returns (address)
0x71e77ffbbfd4418ed47981927738b5425c187f64
lastFundingRate() view returns (int256)
4000000000000008
lastFundingState() view returns (struct LibTypesFundingState)
(1614134521, 1497066124921626, 11429556891734344, 51500707200758685, 50104487419047184)
perpetualProxy() view returns (address)
0x298badda419eece0abe86fedc2f0677a7e8e35a2
positionSize() view returns (uint256)
0
priceFeeder() view returns (address)
0xa2fe15e40f5ccc480b545eb8ffabdcdb84a3d3dc
shareTokenAddress() view returns (address)
0xf377810bffc83df177d7f992a8807943ea0a286f
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.