func (c *Config) TopupChaincodes() []string {
	return c.topupChaincodes
}
Get Topup Chaincodes
package config
import (
	"os"
	"strconv"
	"strings"
	"mainstay/clients"
	"mainstay/log"
	"github.com/btcsuite/btcd/chaincfg"
	"github.com/btcsuite/btcd/rpcclient"
)
const (
	ConfPath                     = "/src/mainstay/config/conf.json"
	MainChainName                = "main"
	StaychainName                = "staychain"
	StaychainRegtestName         = "regtest"
	StaychainInitTxName          = "initTx"
	StaychainInitScriptName      = "initScript"
	StaychainInitPkName          = "initPK"
	StaychainInitChaincodesName  = "initChaincodes"
	StaychainTopupAddressName    = "topupAddress"
	StaychainTopupScriptName     = "topupScript"
	StaychainTopupPkName         = "topupPK"
	StayChainTopupChaincodesName = "topupChaincodes"
)
type Config struct {
	mainClient   *rpcclient.Client
	mainChainCfg *chaincfg.Params
	regtest         bool
	initTX          string
	initPK          string
	initScript      string
	initChaincodes  []string
	topupAddress    string
	topupScript     string
	topupPK         string
	topupChaincodes []string
	signerConfig SignerConfig
	dbConfig     DbConfig
	feesConfig   FeesConfig
	timingConfig TimingConfig
}
func (c Config) MainClient() *rpcclient.Client {
	return c.mainClient
}
func (c Config) MainChainCfg() *chaincfg.Params {
	return c.mainChainCfg
}
func (c Config) SignerConfig() SignerConfig {
	return c.signerConfig
}
func (c Config) DbConfig() DbConfig {
	return c.dbConfig
}
func (c Config) FeesConfig() FeesConfig {
	return c.feesConfig
}
func (c Config) TimingConfig() TimingConfig {
	return c.timingConfig
}
func (c *Config) SetTimingConfig(timingConfig TimingConfig) {
	c.timingConfig = timingConfig
}
func (c Config) Regtest() bool {
	return c.regtest
}
func (c *Config) SetRegtest(regtest bool) {
	c.regtest = regtest
}
func (c Config) InitTx() string {
	return c.initTX
}
func (c *Config) SetInitTx(tx string) {
	c.initTX = tx
}
func (c Config) TopupAddress() string {
	return c.topupAddress
}
func (c *Config) SetTopupAddress(addr string) {
	c.topupAddress = addr
}
func (c *Config) InitPK() string {
	return c.initPK
}
func (c *Config) SetInitPK(pk string) {
	c.initPK = pk
}
func (c *Config) InitScript() string {
	return c.initScript
}
func (c *Config) SetInitScript(script string) {
	c.initScript = script
}
func (c *Config) InitChaincodes() []string {
	return c.initChaincodes
}
func (c *Config) SetInitChaincodes(chaincodes []string) {
	c.initChaincodes = chaincodes
}
func (c *Config) TopupScript() string {
	return c.topupScript
}
func (c *Config) SetTopupScript(script string) {
	c.topupScript = script
}