Skip to content

Latest commit

 

History

History
321 lines (272 loc) · 8.53 KB

ICxToken.md

File metadata and controls

321 lines (272 loc) · 8.53 KB

ICxToken.sol

View Source: contracts/interfaces/ICxToken.sol

↗ Extends: IERC20 ↘ Derived Contracts: cxToken

ICxToken

Functions

mint

function mint(bytes32 coverKey, address to, uint256 amount) external nonpayable

Arguments

Name Type Description
coverKey bytes32
to address
amount uint256
Source Code
function mint(
    bytes32 coverKey,
    address to,
    uint256 amount
  ) external;

burn

function burn(uint256 amount) external nonpayable

Arguments

Name Type Description
amount uint256
Source Code
function burn(uint256 amount) external;

createdOn

function createdOn() external view
returns(uint256)

Arguments

Name Type Description
Source Code
function createdOn() external view returns (uint256);

expiresOn

function expiresOn() external view
returns(uint256)

Arguments

Name Type Description
Source Code
function expiresOn() external view returns (uint256);

COVER_KEY

function COVER_KEY() external view
returns(bytes32)

Arguments

Name Type Description
Source Code
function COVER_KEY() external view returns (bytes32);

getCoverageStartsFrom

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);

getClaimablePolicyOf

function getClaimablePolicyOf(address account) external view
returns(uint256)

Arguments

Name Type Description
account address
Source Code
function getClaimablePolicyOf(address account) external view returns (uint256);

Contracts