Discover Packages
github.com/fox-one/ftoken
config
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jan 4, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
DB db .Config `json:"db"`
Dapp Dapp `json:"dapp,omitempty"`
Eth Eth `json:"eth,omitempty"`
Fees []Fee `json:"fees,omitempty"`
WhiteList []string `json:"white_list,omitempty"`
}
type Dapp struct {
mixin.Keystore
ClientSecret string `json:"client_secret"`
SpendKey mixinnet .Key `json:"spend_key,omitempty"`
}
type Eth struct {
Endpoint string `json:"endpoint,omitempty"`
PrivateKey string `json:"private_key,omitempty"`
FactoryContract string `json:"factory_contract,omitempty"`
MaxGasPrice *big .Int `json:"max_gas_price,omitempty"`
}
type Fee struct {
Platform string `json:"platform"`
FeeAssetID string `json:"fee_asset_id,omitempty"`
FeeAmount decimal .Decimal `json:"fee_amount,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.