Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
0xce80…76c4
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) |
---|---|---|---|---|---|---|---|
| 9892202 | 5 years ago | | | 0.065 | 0.00042613600 | |
| 9889316 | 5 years ago | | | 0 | 0.0011184800 | |
| 9889195 | 5 years ago | | | 0 | 0.0029405520 | |
| 9889192 | 5 years ago | | | 0 | 0.0021820440 | |
| 9889076 | 5 years ago | | | 0 | 0.0088708050 | |
| 9889074 | 5 years ago | | | 0 | 0.0017988900 | |
| 9889072 | 5 years ago | | | 0 | 0.0056798400 | |
| 9889069 | 5 years ago | | | 0 | 0.0056402300 | |
| 9889068 | 5 years ago | | | 0 | 0.0043939890 | |
| 9889066 | 5 years ago | | | 0 | 0.0088557150 |
ABI
ABI objects
Getter at block 21400515 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)
3953922278308918
lastFundingState() view returns (struct (uint256, int256, int256, uint256, int256))
(1587117413, 31204636812007, 25884456651911, 5811609416260157, 22913022704486)
perpetualProxy() view returns (address)
0xce80b33cafac377912c5962216659c97555f76c4
positionSize() view returns (uint256)
0
priceFeeder() view returns (address)
0x133906776302d10a2005ec2ed0c92ab6f2cbd903
shareTokenAddress() view returns (address)
0x9758b032adbc3e57c73e3550402c81ebd55b9008
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.