Discover Packages
github.com/fox-one/ftoken
config
package
Version:
v0.1.9
Opens a new window with list of versions in this module.
Published: Mar 27, 2022
License: MIT
Opens a new window with license information.
Imports: 5
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 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.