CoFiXController03
Verified contract
Active on
Ethereum with 2 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "CoFiXController03"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11696507 | 4 years ago | | | 0 | 0.0036949200 | |
| 11696506 | 4 years ago | | | 0 | 0.0036949200 |
ABI
ABI objects
Getter at block 21332935
AONE() view returns (uint256)
1000000000000000000
DESTRUCTION_AMOUNT() view returns (uint256)
0
GAMMA() view returns (int128)
9223372036854775808
K_BASE() view returns (uint256)
100000000
MAX_K0() view returns (int128)
922337203685477632
NAVPS_BASE() view returns (uint256)
1000000000000000000
factory() view returns (address)
0x66c64ecc3a6014733325a8f2ebee46b4ca3ed550
governance() view returns (address)
0xf02f6a0f347cc664fffd55591a765f403e610d8e
kRefreshInterval() view returns (uint256)
300
kTable() view returns (address)
0x75e360be6248bd46030c6818624a09403ef5ec21
nestToken() view returns (address)
0x04abeda201850ac0124161f037efd70c74ddc74c
oracle() view returns (address)
0x3bf046c114385357838d9cae9509c6fbbfe306d2
timespan() view returns (uint256)
14
Read-only
calcImpactCostFor_BURN(address token, bytes data, uint256 ethAmount, uint256 erc20Amount) view returns (uint256 impactCost)
calcImpactCostFor_SWAP_FOR_EXACT(address token, bytes data, uint256 ethAmount, uint256 erc20Amount) pure returns (uint256 impactCost)
calcImpactCostFor_SWAP_WITH_EXACT(address token, bytes data, uint256 ethAmount, uint256 erc20Amount) pure returns (uint256 impactCost)
calcK(int128 vola, uint256 bn) view returns (uint32 k)
callerAllowed(address) view returns (bool)
getKInfo(address token) view returns (uint32 k, uint32 updatedAt, uint32 theta)
impactCostForBuyInETH(uint256 vol) pure returns (uint256 impactCost)
impactCostForSellOutETH(uint256 vol) pure returns (uint256 impactCost)
State-modifying
Events addCaller(address caller)
queryOracle(address token, uint8 op, bytes data) payable returns (uint256 _k, uint256 _ethAmount, uint256 _erc20Amount, uint256 _blockNum, uint256 _theta)
setGovernance(address _new)
setK(address token, uint32 k)
setKRefreshInterval(uint256 _interval)
setKTable(address _kTable)
setOracleDestructionAmount(uint256 _amount)
setTLimit(uint256 _T)
setTheta(address token, uint32 theta)
setTimespan(uint256 _timeSpan)
NewGamma(int128 _gamma)
NewGovernance(address _new)
NewK(address token, int128 K, int128 sigma, uint256 T, uint256 ethAmount, uint256 erc20Amount, uint256 blockNum, uint256 tIdx, uint256 sigmaIdx, int128 K0)
NewK(address token, uint32 k)
NewKLimit(int128 maxK0)
NewKRefreshInterval(uint256 _interval)
NewKTable(address _kTable)
NewOracle(address _priceOracle)
NewTheta(address token, uint32 theta)
NewTimespan(uint256 _timeSpan)
constructor(address _oracle, address _nest, address _factory, address _kTable)
receive()
This contract contains no error objects.