D. A Smart Contract Platform

1. Token FTXF

The FTXF token is a BEP20-compatible token that includes important functions of the ERC20/BEP20/TRC20 platform standards.

function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

However, the FTXF Token has a fixed maximum total supply of 100,000,000 (one hundred million tokens).

Owners of the FTXF Token will be transferred to another Smart Contract, the Founder, who acts as the administrative Smart Contract (Government) to ensure that the token cannot be actively minted. The token minting will follow the scenario specified by the Smart Contract Founder.

contract FTXFToken is ERC20("FTXFUND", "FTXF"), ERC20Burnable ,
ERC20Capped( 100000000 * (10**uint256(18))), Ownable

FTXF token pre-mining is done as follows: right after deploying the Smart Contract, FTXF will pre-mint a total of 8 million tokens; of which 3 million tokens are for angel investors, partners, bonuses, bounty, etc. and 5 million for IEO sales on MXC.

_mint(exchange, 5000000 * (10**uint256(18)));
_mint(owner, 3000000 * (10**uint256(18)));

2. Smart Contract Founder

The Smart Contract Founder will conduct "mining" FTXF for each block according to the following formula:

Each block of BSC chain will generate an amount of Pool Reward, which is 10 FTXF for 1 Block here. This number of tokens will be evenly distributed to the Pools, which there are 6 Pools here, with the following ratio

const PoolsInfo: { [index: string]: {address:string, share: number} } = 
	    {
	        'freezing & stake': {
	            address: '0x2f03992091909DB03a4c39c1bb36aED9bAEbfC5E', // change these address to real wallet
	            share: 420
	        },
	        'reserve fund': {
	            address: '0x7625812eb52D6B358d48afAd29D2f24fD55C05B3',
	            share: 182
	        },
	        'development team': {
	            address: '0x354DD194403b0795E5be6bF0b841D81B2c0F6f31',
	            share: 150
	        },
	        'marketing': {
	            address: '0x79006B2840Ae368de487061655f25240c0b88C5C',
	            share: 100
	        },
	        'community development': {
	            address: '0x25B4fFEa548EdE74f68e6ccbC864CD8562E48865',
	            share: 15
	        },
	        'advisory & legal board': {
	            address: '0xc856C94E1b92862d348233B3ABEcE020de0A1e2B',
	            share: 18
	        }
	
	    }   

The Stake Pool, in particular, is divided equally among the Stakeholders according to the stake ratio.

For example, if only 2 people stake in the Founder Contract, 1 person stakes 400 FTXF and 1 person stakes 600 FTXF, they will receive 40% and 60% of the tokens mined by the Stake Pool.

In addition, the Smart Contract Founder also carries the responsibility of performing public sales using the buy function as follows:

function buy() external payable onSale returns (uint256 amount) {
        uint256 left = salePoolLeft;
        amount = uint256(msg.value).mul(_salePrice).div(_salePriceDiv);
        uint256 change = 0;
        if (amount > left) {
            change = (amount.sub(left)).mul(_salePriceDiv).div(_salePrice);
            amount = left;
            _onPublicSale = false; }
        _salePoolLeft = left.sub(amount);
        if (change > 0) {msg.sender.transfer(change);}
        _rewardToken.mint(msg.sender, amount);}

3. Security and Auditing

FTX Fund's Smart Contract platform is programmed based on the BSC platform by a technical team with experience in Blockchain technology.

The security of the system of Smart Contracts passed an independent multi-day audit process by: HEACHI AUDIT

Logical audit and anti-vulnerability steps include:

- Analysis of known security vulnerabilities

- Checking operating code

- Analyzing Vulnerabilities with Security Tools

- Dynamic analysis using Unit Test

- Integration testing: Analyzing the behavior of the code in predictable situations

Last updated

Was this helpful?