Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
0xda9f…1f21
0x1339…d903
-
variable spans 4 additional slots
Balances ($0.00)
No balances found for "AMM"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10461759 | 4 years ago | | | 0 | 0.0038721600 | |
| 10269778 | 4 years ago | | | 0 | 0.0041625720 | |
| 10229799 | 4 years ago | | | 0 | 0.0069218450 | |
| 10229657 | 4 years ago | | | 0.088057615 | 0.018262238 | |
| 10229004 | 4 years ago | | | 0 | 0.020332869 | |
| 10229002 | 4 years ago | | | 0 | 0.0073156770 | |
| 10228397 | 4 years ago | | | 0 | 0.0080616750 | |
| 10228393 | 4 years ago | | | 0 | 0.027050380 | |
| 10228391 | 4 years ago | | | 0 | 0.010408009 | |
| 10228348 | 4 years ago | | | 0 | 0.026347636 |
ABI
ABI objects
Getter at block 21286323 indexPrice() view returns (uint256 price, uint256 timestamp)
emaAlpha2() view returns (int256)
996672212978369384
emaAlpha2Ln() view returns (int256)
-3333336419758231
getGovernance() view returns (struct (uint256, uint256, int256, uint256, int256, int256))
(600000000000000, 150000000000000, 3327787021630616, 0, 5000000000000000, 500000000000000)
lastFundingRate() view returns (int256)
-302203500435550
lastFundingState() view returns (struct (uint256, int256, int256, uint256, int256))
(1591692681, -3189883726453, -3294286611296, 4106547290690444, -4707897967008)
perpetualProxy() view returns (address)
0xda9f6fb1ef188e081cfbea74ec820a3718e91f21
positionSize() view returns (uint256)
0
priceFeeder() view returns (address)
0x133906776302d10a2005ec2ed0c92ab6f2cbd903
shareTokenAddress() view returns (address)
0x6d5b330523017e2d4ec36ff973a49a440ab763ef
Read-only
isWhitelistAdmin(address account) view returns (bool)
isWhitelisted(address account) view returns (bool)
State-modifying
Events addLiquidity(uint256 amount)
addWhitelistAdmin(address account)
addWhitelisted(address account)
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 (uint256, int256, int256, uint256, int256))
currentMarkPrice() returns (uint256)
currentPremium() returns (int256)
currentPremiumRate() returns (int256)
depositAndAddLiquidity(uint256 depositAmount, uint256 amount)
depositAndBuy(uint256 depositAmount, uint256 tradeAmount, uint256 limitPrice, uint256 deadline)
depositAndSell(uint256 depositAmount, uint256 tradeAmount, uint256 limitPrice, uint256 deadline)
depositEtherAndAddLiquidity(uint256 amount) payable
depositEtherAndBuy(uint256 tradeAmount, uint256 limitPrice, uint256 deadline) payable
depositEtherAndSell(uint256 tradeAmount, uint256 limitPrice, uint256 deadline) payable
funding()
removeLiquidity(uint256 shareAmount)
removeWhitelisted(address account)
renounceWhitelistAdmin()
renounceWhitelisted()
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 (uint256, int256, int256, uint256, int256) fundingState)
UpdateGovernanceParameter(bytes32 indexed key, int256 value)
WhitelistAdminAdded(address indexed account)
WhitelistAdminRemoved(address indexed account)
WhitelistedAdded(address indexed account)
WhitelistedRemoved(address indexed account)
constructor(address _perpetualProxy, address _priceFeeder, address _shareToken)
This contract contains no fallback and receive objects.
This contract contains no error objects.