View Source: contracts/FulcrumToken.sol
↗ Extends: TokenBase
FulcrumToken
The FULC is our native settlements token used across our marketplace, and will enable many important functions within the Accept global marketplace including: A medium of exchange (settlements) for Accept.io buyers and sellers A consumptive use (utility) token for marketplace users to access premium features in the Accept.io DApp An incentive for users to help improve the Accept Marketplace and contribute to the long-term development of Accept.io
Constants & Variables
//public members
uint256 public icoEndDate;
uint256 public constant ALLOCATION_FOR_COMMUNITY_REWARDS;
uint256 public constant ALLOCATION_FOR_RESERVE;
uint256 public constant ALLOCATION_FOR_TEAM;
uint256 public constant ALLOCATION_FOR_ADVISORS;
uint256 public constant ALLOCATION_FOR_INITIAL_STRATEGIC_PARTNERSHIPS;
uint256 public constant ALLOCATION_FOR_STRATEGIC_PARTNERSHIPS;
bool public targetReached;
//private members
mapping(bytes32 => bool) private mintingList;
Events
event ICOEndDateSet(uint256 _date);
event TargetReached();
Checks if the minting for the supplied key was already performed.
modifier whenNotMinted(string _key) internal
Arguments
Name | Type | Description |
---|---|---|
_key | string | The key or category name of minting. |
- setSuccess()
- setICOEndDate(uint256 _date)
- mintCommunityRewardTokens()
- mintReserveTokens()
- mintTokensForTeam()
- mintTokensForAdvisors()
- mintTokensForInitialStrategicPartnerships()
- mintTokensForStrategicPartnerships()
- computeHash(string _key)
- mintOnce(string _key, address _to, uint256 _amount)
This function signifies that the minimum fundraising target was met. Please note that this can only be called once.
function setSuccess() external nonpayable onlyAdmin
returns(bool)
Arguments
Name | Type | Description |
---|
This function enables the whitelisted application (internal application) to set the ICO end date and can only be used once.
function setICOEndDate(uint256 _date) external nonpayable onlyAdmin
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
_date | uint256 | The date to set as the ICO end date. |
Mints the below-mentioned amount of tokens allocated to rewarding the community.
function mintCommunityRewardTokens() external nonpayable onlyAdmin
returns(bool)
Arguments
Name | Type | Description |
---|
Mints the below-mentioned amount of tokens allocated to the operational reserves.
function mintReserveTokens() external nonpayable onlyAdmin
returns(bool)
Arguments
Name | Type | Description |
---|
Mints the below-mentioned amount of tokens allocated to the Accept.io founders.
function mintTokensForTeam() external nonpayable onlyAdmin
returns(bool)
Arguments
Name | Type | Description |
---|
Mints the below-mentioned amount of tokens allocated to the Accept.io advisors.
function mintTokensForAdvisors() external nonpayable onlyAdmin
returns(bool)
Arguments
Name | Type | Description |
---|
Mints the below-mentioned amount of tokens allocated to the first Strategic Partnership category.
function mintTokensForInitialStrategicPartnerships() external nonpayable onlyAdmin
returns(bool)
Arguments
Name | Type | Description |
---|
Mints the below-mentioned amount of tokens allocated to the second Strategic Partnership category.
function mintTokensForStrategicPartnerships() external nonpayable onlyAdmin
returns(bool)
Arguments
Name | Type | Description |
---|
Computes keccak256 hash of the supplied value.
function computeHash(string _key) private pure
returns(bytes32)
Arguments
Name | Type | Description |
---|---|---|
_key | string | The string value to compute hash from. |
Mints the tokens only once against the supplied key (category).
function mintOnce(string _key, address _to, uint256 _amount) private nonpayable whenNotPaused whenNotMinted
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
_key | string | The key or the category of the allocation to mint the tokens for. |
_to | address | The address receiving the minted tokens. |
_amount | uint256 | The amount of tokens to mint. |