Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BaseTOMO = big.NewInt(0).Mul(big.NewInt(10), big.NewInt(100000000000000000)) // 1 TOMO RpcEndpoint = "http://127.0.0.1:8501/" MainKey, _ = crypto.HexToECDSA(os.Getenv("MAIN_ADDRESS_KEY")) MainAddr = crypto.PubkeyToAddress(MainKey.PublicKey) //0x17F2beD710ba50Ed27aEa52fc4bD7Bda5ED4a037 // TRC21 Token MinTRC21Apply = big.NewInt(0).Mul(big.NewInt(10), BaseTOMO) // 10 TOMO TRC21TokenCap = big.NewInt(0).Mul(big.NewInt(1000000000000), BaseTOMO) TRC21TokenFee = big.NewInt(100) // TOMOX MaxRelayers = big.NewInt(200) MaxTokenList = big.NewInt(200) MinDeposit = big.NewInt(0).Mul(big.NewInt(25000), BaseTOMO) // 25000 TOMO TradeFee = uint16(1) RelayerCoinbaseKey, _ = crypto.HexToECDSA(os.Getenv("RELAYER_COINBASE_KEY")) // RelayerCoinbaseAddr = crypto.PubkeyToAddress(RelayerCoinbaseKey.PublicKey) // 0x0D3ab14BBaD3D99F4203bd7a11aCB94882050E7e OwnerRelayerKey, _ = crypto.HexToECDSA(os.Getenv("RELAYER_OWNER_KEY")) OwnerRelayerAddr = crypto.PubkeyToAddress(OwnerRelayerKey.PublicKey) //0x703c4b2bD70c169f5717101CaeE543299Fc946C7 TOMONative = common.HexToAddress("0x0000000000000000000000000000000000000001") TokenNameList = []string{"BTC", "ETH", "XRP", "LTC", "BNB", "ADA", "ETC", "BCH", "EOS"} TeamAddresses = []common.Address{ common.HexToAddress("0x8fB1047e874d2e472cd08980FF8383053dd83102"), common.HexToAddress("0x9ca1514E3Dc4059C29a1608AE3a3E3fd35900888"), common.HexToAddress("0x15e08dE16f534c890828F2a0D935433aF5B3CE0C"), common.HexToAddress("0xb68D825655F2fE14C32558cDf950b45beF18D218"), common.HexToAddress("0xF7349C253FF7747Df661296E0859c44e974fb52E"), common.HexToAddress("0x9f6b8fDD3733B099A91B6D70CDC7963ebBbd2684"), common.HexToAddress("0x06605B28aab9835be75ca242a8aE58f2e15F2F45"), common.HexToAddress("0x33c2E732ae7dce8B05F37B2ba0CFe14c980c4Dbe"), common.HexToAddress("0x16a73f3a64eca79e117258e66dfd7071cc8312a9"), common.HexToAddress("0xac177441ac2237b2f79ecff1b8f6bca39e27ef9f"), common.HexToAddress("0x4215250e55984c75bbce8ae639b86a6cad8ec126"), common.HexToAddress("0x6b70ca959814866dd5c426d63d47dde9cc6c32d2"), common.HexToAddress("0x33df079fe9b9cd7fb23a1085e4eaaa8eb6952cb3"), common.HexToAddress("0x3cab8292137804688714670640d19f9d7a60c472"), common.HexToAddress("0x9415d953d47c5f155cac9de7b24a756f352eafbf"), common.HexToAddress("0xe32d2e7c8e8809e45c8e2332830b48d9e231e3f2"), common.HexToAddress("0xf76ddbda664ea47088937e1cf9ff15036714dee3"), common.HexToAddress("0xc465ee82440dada9509feb235c7cd7d896acf13c"), common.HexToAddress("0xb95bdc136c579dc3fd2b2424a8e925a90228d2c2"), } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.