Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedBridge ¶
type ExtendedBridge struct {
UseLocalConfig bool `yaml:"use_local_config" json:"useLocalConfig"`
ConfigTopicId string `yaml:"config_topic_id,omitempty" json:"configTopicId,omitempty"`
PollingInterval time.Duration `yaml:"polling_interval,omitempty" json:"pollingInterval,omitempty"`
TopicId string `yaml:"topic_id,omitempty" json:"topicId,omitempty"`
MonitoredAccounts map[string]string `yaml:"monitored_accounts,omitempty" json:"monitoredAccounts,omitempty"`
Networks map[uint64]*NetworkForDeploy `yaml:"networks,omitempty" json:"networks,omitempty"`
}
func (*ExtendedBridge) ToBridgeParser ¶
func (b *ExtendedBridge) ToBridgeParser() *newBridgeConfig
func (*ExtendedBridge) Validate ¶
func (b *ExtendedBridge) Validate(hederaNetworkId uint64)
type ExtendedConfig ¶
type ExtendedConfig struct {
Bridge ExtendedBridge `yaml:"bridge"`
}
type FungibleTokenForDeploy ¶
type FungibleTokenForDeploy struct {
Fee int64 `yaml:"fee,omitempty" json:"fee,omitempty"`
FeeAmountInUsd string `yaml:"fee_amount_in_usd,omitempty" json:"feeAmountInUsd,omitempty"`
FeePercentage int64 `yaml:"fee_percentage,omitempty" json:"feePercentage,omitempty"`
MinFeeAmountInUsd string `yaml:"min_fee_amount_in_usd,omitempty" json:"minFeeAmountInUsd,omitempty"`
MinAmount *big.Int `yaml:"min_amount,omitempty" json:"minAmount,omitempty"`
Networks map[uint64]string `yaml:"networks,omitempty" json:"networks,omitempty"`
CoinGeckoId string `yaml:"coin_gecko_id,omitempty" json:"coinGeckoId,omitempty"`
CoinMarketCapId string `yaml:"coin_market_cap_id,omitempty" json:"coinMarketCapId,omitempty"`
ReleaseTimestamp uint64 `yaml:"release_timestamp,omitempty" json:"releaseTimestamp,omitempty"`
Name string `yaml:"name,omitempty"`
Symbol string `yaml:"symbol,omitempty"`
Decimals uint `yaml:"decimals,omitempty"`
Supply uint64 `yaml:"supply,omitempty"`
}
func (*FungibleTokenForDeploy) Validate ¶
func (tokenInfo *FungibleTokenForDeploy) Validate(tokenAddress string)
type NetworkForDeploy ¶
type NetworkForDeploy struct {
Name string `yaml:"name,omitempty" json:"name,omitempty"`
BridgeAccount string `yaml:"bridge_account,omitempty" json:"bridgeAccount,omitempty"`
PayerAccount string `yaml:"payer_account,omitempty" json:"payerAccount,omitempty"`
RouterContractAddress string `yaml:"router_contract_address,omitempty" json:"routerContractAddress,omitempty"`
Members []string `yaml:"members,omitempty" json:"members,omitempty"`
Tokens TokensForDeploy `yaml:"tokens,omitempty" json:"tokens,omitempty"`
}
type NonFungibleTokenForDeploy ¶
type NonFungibleTokenForDeploy struct {
Fee int64 `yaml:"fee,omitempty" json:"fee,omitempty"`
FeeAmountInUsd string `yaml:"fee_amount_in_usd,omitempty" json:"feeAmountInUsd,omitempty"`
FeePercentage int64 `yaml:"fee_percentage,omitempty" json:"feePercentage,omitempty"`
MinFeeAmountInUsd string `yaml:"min_fee_amount_in_usd,omitempty" json:"minFeeAmountInUsd,omitempty"`
MinAmount *big.Int `yaml:"min_amount,omitempty" json:"minAmount,omitempty"`
Networks map[uint64]string `yaml:"networks,omitempty" json:"networks,omitempty"`
CoinGeckoId string `yaml:"coin_gecko_id,omitempty" json:"coinGeckoId,omitempty"`
CoinMarketCapId string `yaml:"coin_market_cap_id,omitempty" json:"coinMarketCapId,omitempty"`
ReleaseTimestamp uint64 `yaml:"release_timestamp,omitempty" json:"releaseTimestamp,omitempty"`
Name string `yaml:"name,omitempty"`
Symbol string `yaml:"symbol,omitempty"`
}
func (*NonFungibleTokenForDeploy) Validate ¶
func (tokenInfo *NonFungibleTokenForDeploy) Validate(tokenAddress string)
type TokensForDeploy ¶
type TokensForDeploy struct {
Fungible map[string]*FungibleTokenForDeploy `yaml:"fungible,omitempty" json:"fungible,omitempty"`
Nft map[string]*NonFungibleTokenForDeploy `yaml:"nft,omitempty" json:"nft,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.