import { IConstants } from 'shared/config/types' ; import { Address } from 'shared/model/types' ; const constants = { AIRDROP : { ADDRESS : BigInt ( '7897332094363171058' ) , STAKE_REWARD_PERCENT : 10 , REFERRAL_PERCENT_PER_LEVEL : [ 5 , 3 , 2 , 2 , 1 , 1 , 1 , 0.9 , 0.8 , 0.7 , 0.6 , 0.5 , 0.5 , 0.5 , 0.5 ] , } , TOTAL_SUPPLY : { ADDRESS : BigInt ( '4995063339468361088' ) , AMOUNT : 4500000000000000 , } , BLOCK_SLOT_WINDOW : 5 , ACTIVE_DELEGATES : new Map < number , number > ( [ [ 0 , 3 ] , ] ) , MAX_VOTES : 11 , MAX_VOTES_PER_TRANSACTION : 3 , MAX_DELEGATE_USERNAME_LENGTH : 20 , EPOCH_TIME : 1451667600000 , FEES : { SEND : 0.01 , VOTE : 0.01 , SECOND_SIGNATURE : 1000000 , DELEGATE : 1000000000 , FROZE : 0.01 , SEND_STAKE : 0.1 , } , MAX_TRANSACTIONS_PER_BLOCK : 250 , REWARDS : { MILESTONES : [ 500000000 , 400000000 , 300000000 , 200000000 , 100000000 ] , DISTANCE : 3000000 , } , SIGNATURE_LENGTH : 65 , FROZE : { VOTE_MILESTONE : 10 , REWARDS : { MILESTONES : [ 10 , 10 , 10 , 10 , 10 , 10 ] , DISTANCE : 30 , } , REWARD_VOTE_COUNT : 2 , UNSTAKE_VOTE_COUNT : 4 } , TRANSFER : { MAX_TRS_RELAY : 4 , MAX_BLOCK_RELAY : 3 , REQUEST_BLOCK_LIMIT : 10 , } , REFERRAL : { MAX_COUNT : 15 , } , FORGING : { SLOT_INTERVAL : 10 , CURRENT_BLOCK_VERSION : 1 , } , TRANSACTION_QUEUE_EXPIRE : 300 , TRANSACTION_TTL : 5 * 24 * 60 * 60 , PRE_ORDER_LAST_MIGRATED_BLOCK : 0 , PRE_ORDER_PUBLIC_KEY : 'd8299cb39f5dd81b6e999228e7ca0b4cf596ac33f7b9d0e36471ac657f0e844b' , PRE_ORDER_SECOND_PUBLIC_KEY : 'a9e121acbf07a8140ed7388fe1e8a4b77bb9c7972bbca32725c6a8f1841db333' , UPDATE_BLOCKCHAIN_INFO_INTERVAL : 60 * 1000 , UPDATE_SYSTEM_INFO_INTERVAL : 1000 , MAX_PEERS_CONNECT_TO : 2 , MAX_PEERS_CONNECTED : 2 , PEERS_DISCOVER : { MAX : 2 , MIN : 1 , } , TIMEOUT_START_SYNC_BLOCKS : 20000 , TIMEOUT_START_PEER_REQUEST : 10000 , PEER_CONNECTION_TIME_INTERVAL_REBOOT : { MIN : 9 * 60 * 1000 , MAX : 12 * 60 * 1000 , } , PEER_PING_PONG_INTERVAL : 15000 , PEERS_COUNT_FOR_DISCOVER : 2 , PRE_MINED_ACCOUNTS : [ BigInt ( '7897332094363171058' ) , BigInt ( '3002421063889966908' ) , BigInt ( '933553974927686133' ) , BigInt ( '4995063339468361088' ) ] , TIMEOUT_START_PEER_CONNECT : 3000 , ADDRESSES_BLACKLIST : new Set ( [ ] ) , THIEVES_ADDRESSES_BLACKLIST : new Set ( [ ] ) , FRAUD_OPERATION_BLACKLIST : new Set ( [ ] ) , START_FEATURE_BLOCK : { ACCOUNT_BLACKLIST : 0 , THIEVES_ACCOUNT_BLACKLIST : 0 , VOTE_WITH_ACTIVE_STAKE : 0 , FIX_TRANSACTION_IN_THE_PAST_BLOCK_HEIGHT : 0 , FRAUD_OPERATION_BLACKLIST_BLOCK_HEIGHT : 0 , VERIFY_STAKE_TRANSACTION_BLOCK_HEIGHT : 0 , } , CORE_REQUEST_TIMEOUT : 10000 , } ; export default constants ;