CoFiXControllerV2

Verified contract

Active on Ethereum with 4 txns
Deployed by via 0x2661df25 at 11301999
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "CoFiXControllerV2"

0xd30969124d945976925cb814b28394f243ce09587d6ad484193fcd085061b328
0x42db4a9a97759c1d097346dfcfa85a6dce5b473c972a68b7d021a3c04f361d23
0x8d456abef9fff8ce8856254def8563c0b3adf4a809aeb5d3901d0b5f34f3e766
0x3553825c86b71c2f2ec4ff4e84733e81bae31479ff49182ed5fd4b5d3e8a1bd7

Functions
Getter at block 21332953
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 tokenbytes datauint256 ethAmountuint256 erc20Amountview returns (uint256 impactCost)
calcImpactCostFor_SWAP_FOR_EXACT(address tokenbytes datauint256 ethAmountuint256 erc20Amountpure returns (uint256 impactCost)
calcImpactCostFor_SWAP_WITH_EXACT(address tokenbytes datauint256 ethAmountuint256 erc20Amountpure returns (uint256 impactCost)
callerAllowed(addressview returns (bool)
getKInfo(address tokenview returns (uint32 kuint32 updatedAtuint32 theta)
impactCostForBuyInETH(uint256 volpure returns (uint256 impactCost)
impactCostForSellOutETH(uint256 volpure returns (uint256 impactCost)
State-modifying
activate(
addCaller(address caller
queryOracle(address tokenuint8 opbytes datapayable returns (uint256 _kuint256 _ethAmountuint256 _erc20Amountuint256 _blockNumuint256 _theta)
setGovernance(address _new
setK(address tokenuint32 k
setKRefreshInterval(uint256 _interval
setKTable(address _kTable
setOracleDestructionAmount(uint256 _amount
setTLimit(uint256 _T
setTheta(address tokenuint32 theta
setTimespan(uint256 _timeSpan
Events
NewGamma(int128 _gamma
NewGovernance(address _new
NewK(address tokenint128 Kint128 sigmauint256 Tuint256 ethAmountuint256 erc20Amountuint256 blockNumuint256 tIdxuint256 sigmaIdxint128 K0
NewK(address tokenuint32 k
NewKLimit(int128 maxK0
NewKRefreshInterval(uint256 _interval
NewKTable(address _kTable
NewOracle(address _priceOracle
NewTheta(address tokenuint32 theta
NewTimespan(uint256 _timeSpan
Constructor
constructor(address _voteFactoryaddress _nestaddress _factoryaddress _kTable
Fallback and receive
receive(
Errors

This contract contains no error objects.