CoFiXController
Verified contract
Active on
Ethereum with 4 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 "CoFiXController"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11040959 | 4 years ago | | | 0 | 0.0016800750 | |
| 11040205 | 4 years ago | | | 0 | 0.0029737620 | |
| 11040204 | 4 years ago | | | 0 | 0.0029737620 | |
| 11040195 | 4 years ago | | | 0 | 0.011029590 |
ABI
ABI objects
Getter at block 21330351
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)
0xf51d8fdf98286e1ea846c79f1526ecc95b93abb8
kRefreshInterval() view returns (uint256)
300
kTable() view returns (address)
0x75e360be6248bd46030c6818624a09403ef5ec21
nestToken() view returns (address)
0x04abeda201850ac0124161f037efd70c74ddc74c
timespan() view returns (uint256)
14
voteFactory() view returns (address)
0x6cd5698e8854fb6879d6b1c694223b389b465dea
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)
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 activate()
addCaller(address caller)
queryOracle(address token, uint8 op, bytes data) payable returns (uint256 _k, uint256 _ethAmount, uint256 _erc20Amount, uint256 _blockNum, uint256 _theta)
setGamma(int128 _gamma)
setGovernance(address _new)
setKLimit(int128 maxK0)
setKRefreshInterval(uint256 _interval)
setKTable(address _kTable)
setOracleDestructionAmount(uint256 _amount)
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)
NewKLimit(int128 maxK0)
NewKRefreshInterval(uint256 _interval)
NewKTable(address _kTable)
NewOracle(address _priceOracle)
NewTheta(address token, uint32 theta)
NewTimespan(uint256 _timeSpan)
constructor(address _voteFactory, address _nest, address _factory, address _kTable)
receive()
This contract contains no error objects.