File size: 3,223 Bytes
78d0e31 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
export const MIN_DONATION_AMOUNT = "0.01"
export enum TransactionStatus {
NONE = "none",
PENDING = "pending",
SUCCESS = "success",
ERROR = "error",
}
export const NETWORKS = {
BNB_CHAIN: {
chainId: 56,
chainIdHex: "0x38",
name: "BNB Smart Chain",
rpcUrl: "https://bsc-dataseed.binance.org/",
blockExplorer: "https://bscscan.com",
nativeCurrency: {
name: "BNB",
symbol: "BNB",
decimals: 18,
},
},
CELO_MAINNET: {
chainId: 42220,
chainIdHex: "0xa4ec",
name: "Celo Mainnet",
rpcUrl: "https://forno.celo.org",
blockExplorer: "https://celoscan.io",
nativeCurrency: {
name: "CELO",
symbol: "CELO",
decimals: 18,
},
},
CELO_ALFAJORES: {
chainId: 44787,
chainIdHex: "0xaef3",
name: "Celo Alfajores Testnet",
rpcUrl: "https://alfajores-forno.celo-testnet.org",
blockExplorer: "https://alfajores.celoscan.io",
nativeCurrency: {
name: "CELO",
symbol: "CELO",
decimals: 18,
},
},
}
// LOCKED CONTRACT ADDRESS - DO NOT CHANGE
export const FLB_TOKEN_ADDRESSES = {
CELO_MAINNET: "0x0000000000000000000000000000000000000000", // Not deployed yet
CELO_ALFAJORES: "0xF72630157FF7136d9DE264ec794A0f876A5FA30a", // FINAL TESTNET CONTRACT - LOCKED
}
// Genesis airdrop addresses
export const GENESIS_VALIDATORS = [
"0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"0x90F79bf6EB2c4f870365E785982E1f101E93b906",
]
// Donation Router Contract Addresses
export const DONATION_ROUTER_ADDRESSES = {
CELO_MAINNET: "0x0000000000000000000000000000000000000000",
CELO_ALFAJORES: "0x0000000000000000000000000000000000000000",
}
// Health Actors Registry Contract Addresses
export const HEALTH_ACTORS_REGISTRY_ADDRESSES = {
CELO_MAINNET: "0x0000000000000000000000000000000000000000",
CELO_ALFAJORES: "0x0000000000000000000000000000000000000000",
}
// Test wallet addresses for airdrop testing
export const TEST_ADDRESSES = [
"0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"0x90F79bf6EB2c4f870365E785982E1f101E93b906",
]
// Contract deployment history
export const CONTRACT_DEPLOYMENT_HISTORY = [
{
address: "0xF72630157FF7136d9DE264ec794A0f876A5FA30a",
network: "alfajores",
deployedAt: "2024-01-XX",
status: "ACTIVE - LOCKED",
note: "Final testnet contract - all flows locked to this address",
},
{
address: "0xa56650bdD45de03032066a046DEb5ae861301752",
network: "alfajores",
status: "deprecated",
},
{
address: "0x729EdEbbeaf38112B13a184976A91C0fc9126c30",
network: "alfajores",
status: "deprecated",
},
]
// Feature flags for testnet activation
export const FEATURES = {
WALLET_CONNECT: true,
TOKEN_TRANSFERS: true,
VALIDATOR_ONBOARDING: true,
GENESIS_AIRDROP: true,
IDENTITY_VERIFICATION: true,
PROVERB_VALIDATION: true,
MOSTAR_AI: true,
LEARN_EARN: true,
}
// Testnet activation constants
export const TESTNET_CONFIG = {
GENESIS_SUPPLY: "1000000000000000000000100", // 1 billion + 100 FLB
MIN_VALIDATOR_STAKE: "100",
AIRDROP_AMOUNT: "100",
PROVERB_REWARD: "25",
LEARN_EARN_REWARD: "50",
}
|