Documentation ¶
Index ¶
Constants ¶
View Source
const ( StableSwapDeployer = "SPQC38PW542EQJ5M11CR25P7BS1CA6QT4TBXGB3M" XykDeployer = "SM1793C4R5PZ4NS4VQ4WMP7SKKYVH8JZEWSZ9HCCR" )
Variables ¶
View Source
var SwapContracts = [...]SwapContract{ { DeployerAddress: StableSwapDeployer, ContractRegistry: "stableswap-stx-ststx-v-1-2", ContractType: 0, }, { DeployerAddress: StableSwapDeployer, ContractRegistry: "stableswap-usda-susdt-v-1-2", ContractType: 0, }, { DeployerAddress: StableSwapDeployer, ContractRegistry: "stableswap-aeusdc-susdt-v-1-2", ContractType: 0, }, { DeployerAddress: StableSwapDeployer, ContractRegistry: "stableswap-usda-aeusdc-v-1-2", ContractType: 0, }, { DeployerAddress: StableSwapDeployer, ContractRegistry: "stableswap-usda-aeusdc-v-1-4", ContractType: 0, }, { DeployerAddress: StableSwapDeployer, ContractRegistry: "stableswap-abtc-xbtc-v-1-2", ContractType: 0, }, { DeployerAddress: XykDeployer, ContractRegistry: "xyk-core-v-1-2", ContractType: 1, }, }
Functions ¶
This section is empty.
Types ¶
type BitflowClient ¶
type BitflowClient struct {
// contains filtered or unexported fields
}
func NewBitflowClient ¶
func NewBitflowClient(apiHost, apiKey string, logger *logrus.Entry, isDebug bool) *BitflowClient
func (*BitflowClient) GetAllTokens ¶
func (c *BitflowClient) GetAllTokens() ([]TokenMetadata, error)
type GetAllTokensResponse ¶
type GetAllTokensResponse struct {
Tokens []TokenMetadata `json:"tokens"`
}
type SwapContract ¶ added in v1.4.566
type TokenMetadata ¶
Click to show internal directories.
Click to hide internal directories.