View Source: contracts/interfaces/ICxToken.sol
↗ Extends: IERC20 ↘ Derived Contracts: cxToken
ICxToken
Events
event CoverageStartSet(uint256 policyId, bytes32 coverKey, bytes32 productKey, address account, uint256 effectiveFrom, uint256 amount);
- mint(uint256 policyId, bytes32 coverKey, bytes32 productKey, address to, uint256 amount)
- burn(uint256 amount)
- createdOn()
- expiresOn()
- COVER_KEY()
- PRODUCT_KEY()
- getCoverageStartsFrom(address account, uint256 date)
- getClaimablePolicyOf(address account)
function mint(uint256 policyId, bytes32 coverKey, bytes32 productKey, address to, uint256 amount) external nonpayable
Arguments
Name | Type | Description |
---|---|---|
policyId | uint256 | |
coverKey | bytes32 | |
productKey | bytes32 | |
to | address | |
amount | uint256 |
Source Code
function mint(
uint256 policyId,
bytes32 coverKey,
bytes32 productKey,
address to,
uint256 amount
) external;
function burn(uint256 amount) external nonpayable
Arguments
Name | Type | Description |
---|---|---|
amount | uint256 |
Source Code
function burn(uint256 amount) external;
function createdOn() external view
returns(uint256)
Arguments
Name | Type | Description |
---|
Source Code
function createdOn() external view returns (uint256);
function expiresOn() external view
returns(uint256)
Arguments
Name | Type | Description |
---|
Source Code
function expiresOn() external view returns (uint256);
function COVER_KEY() external view
returns(bytes32)
Arguments
Name | Type | Description |
---|
Source Code
function COVER_KEY() external view returns (bytes32);
function PRODUCT_KEY() external view
returns(bytes32)
Arguments
Name | Type | Description |
---|
Source Code
function PRODUCT_KEY() external view returns (bytes32);
function getCoverageStartsFrom(address account, uint256 date) external view
returns(uint256)
Arguments
Name | Type | Description |
---|---|---|
account | address | |
date | uint256 |
Source Code
function getCoverageStartsFrom(address account, uint256 date) external view returns (uint256);
function getClaimablePolicyOf(address account) external view
returns(uint256)
Arguments
Name | Type | Description |
---|---|---|
account | address |
Source Code
function getClaimablePolicyOf(address account) external view returns (uint256);
- AaveStrategy
- AccessControl
- AccessControlLibV1
- Address
- BaseLibV1
- BokkyPooBahsDateTimeLibrary
- BondPool
- BondPoolBase
- BondPoolLibV1
- CompoundStrategy
- Context
- Cover
- CoverBase
- CoverLibV1
- CoverReassurance
- CoverStake
- CoverUtilV1
- cxToken
- cxTokenFactory
- cxTokenFactoryLibV1
- Delayable
- Destroyable
- ERC165
- ERC20
- FakeAaveLendingPool
- FakeCompoundStablecoinDelegator
- FakePriceOracle
- FakeRecoverable
- FakeStore
- FakeToken
- FakeUniswapPair
- FakeUniswapV2FactoryLike
- FakeUniswapV2PairLike
- FakeUniswapV2RouterLike
- FaultyAaveLendingPool
- FaultyCompoundStablecoinDelegator
- Finalization
- ForceEther
- Governance
- GovernanceUtilV1
- IAaveV2LendingPoolLike
- IAccessControl
- IBondPool
- IClaimsProcessor
- ICompoundERC20DelegatorLike
- ICover
- ICoverReassurance
- ICoverStake
- ICxToken
- ICxTokenFactory
- IERC165
- IERC20
- IERC20Detailed
- IERC20Metadata
- IERC3156FlashBorrower
- IERC3156FlashLender
- IFinalization
- IGovernance
- ILendingStrategy
- ILiquidityEngine
- IMember
- INeptuneRouterV1
- InvalidStrategy
- IPausable
- IPolicy
- IPolicyAdmin
- IPriceOracle
- IProtocol
- IRecoverable
- IReporter
- IResolution
- IResolvable
- IStakingPools
- IStore
- IStoreLike
- IUniswapV2FactoryLike
- IUniswapV2PairLike
- IUniswapV2RouterLike
- IUnstakable
- IVault
- IVaultDelegate
- IVaultFactory
- IWitness
- LiquidityEngine
- MaliciousToken
- MockAccessControlUser
- MockCoverUtilUser
- MockCxToken
- MockCxTokenPolicy
- MockCxTokenStore
- MockFlashBorrower
- MockLiquidityEngineUser
- MockProcessorStore
- MockProcessorStoreLib
- MockProtocol
- MockRegistryClient
- MockStore
- MockStoreKeyUtilUser
- MockValidationLibUser
- MockVault
- MockVaultLibUser
- NeptuneRouterV1
- NPM
- NpmDistributor
- NTransferUtilV2
- NTransferUtilV2Intermediate
- Ownable
- Pausable
- Policy
- PolicyAdmin
- PolicyHelperV1
- PoorMansERC20
- POT
- PriceLibV1
- Processor
- ProtoBase
- Protocol
- ProtoUtilV1
- Recoverable
- ReentrancyGuard
- RegistryLibV1
- Reporter
- Resolution
- Resolvable
- RoutineInvokerLibV1
- SafeERC20
- StakingPoolBase
- StakingPoolCoreLibV1
- StakingPoolInfo
- StakingPoolLibV1
- StakingPoolReward
- StakingPools
- Store
- StoreBase
- StoreKeyUtil
- StrategyLibV1
- Strings
- TimelockController
- Unstakable
- ValidationLibV1
- Vault
- VaultBase
- VaultDelegate
- VaultDelegateBase
- VaultDelegateWithFlashLoan
- VaultFactory
- VaultFactoryLibV1
- VaultLibV1
- VaultLiquidity
- VaultStrategy
- WithFlashLoan
- WithPausability
- WithRecovery
- Witness