_const

package
v0.0.0-...-eeca3e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Passwd = "12345678"

	NetworkType        = "network-type"
	KeystorePath       = "keystore-path"
	ConfigPath         = "config-path"
	Operation          = "operation"
	BEP20ContractAddr  = "bep20-contract-addr"
	BEP20Owner         = "bep20-owner"
	BEP2Symbol         = "bep2-symbol"
	Recipient          = "recipient"
	PeggyAmount        = "peggy-amount"
	LedgerAccountIndex = "ledger-account-index"

	Mainnet = "mainnet"
	TestNet = "testnet"

	BindKeystore = "bind_keystore"

	TestnetRPC     = "https://data-seed-prebsc-1-s1.binance.org:8545"
	TestnetChainID = 97

	MainnnetRPC    = "https://bsc-dataseed1.binance.org:443"
	MainnetChainID = 56

	DefaultGasPrice = 20000000000
	DefaultGasLimit = 4700000

	MainnetExplorerTxUrl = "%s: https://bscscan.com/tx/%s"
	TestnetExplorerTxUrl = "%s: https://testnet.bscscan.com/tx/%s"

	MainnetExplorerAddressUrl = "%s: https://bscscan.com/address/%s"
	TestnetExplorerAddressUrl = "%s: https://testnet.bscscan.com/address/%s"

	BSCAddrLength = 42

	BcMaxSupply        = 9000000000000000000
	BcMainnnetTokenUrl = "https://dex.binance.org/api/v1/tokens?limit=1000"
)
View Source
const CanonicalUpgradeableBEP20 = `` /* 7858-byte string literal not displayed */
View Source
const CanonicalUpgradeableBEP20BytesCode = "" /* 4966-byte string literal not displayed */
View Source
const TokenManagerABI = `` /* 12847-byte string literal not displayed */
View Source
const UpgradeableProxyABI = `` /* 2451-byte string literal not displayed */

Variables

View Source
var (
	TokenHubContractAddr     = common.HexToAddress("0x0000000000000000000000000000000000001004")
	TokenManagerContractAddr = common.HexToAddress("0x0000000000000000000000000000000000001008")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL