openapi

package
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 22 Imported by: 0

README

Go API client for openapi

Thornode REST API.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AuthApi Account Get /auth/accounts/{address}
BankApi Balances Get /bank/balances/{address}
BlockApi Block Get /thorchain/block
BorrowersApi Borrower Get /thorchain/pool/{asset}/borrower/{address}
BorrowersApi Borrowers Get /thorchain/pool/{asset}/borrowers
CloutApi SwapperClout Get /thorchain/clout/swap/{address}
ExportApi Export Get /thorchain/export
HealthApi Ping Get /thorchain/ping
InvariantsApi Invariant Get /thorchain/invariant/{invariant}
InvariantsApi Invariants Get /thorchain/invariants
LiquidityProvidersApi LiquidityProvider Get /thorchain/pool/{asset}/liquidity_provider/{address}
LiquidityProvidersApi LiquidityProviders Get /thorchain/pool/{asset}/liquidity_providers
MimirApi Mimir Get /thorchain/mimir
MimirApi MimirAdmin Get /thorchain/mimir/admin
MimirApi MimirKey Get /thorchain/mimir/key/{key}
MimirApi MimirNode Get /thorchain/mimir/node/{address}
MimirApi MimirNodes Get /thorchain/mimir/nodes_all
NetworkApi Ban Get /thorchain/ban/{address}
NetworkApi Constants Get /thorchain/constants
NetworkApi InboundAddresses Get /thorchain/inbound_addresses
NetworkApi Lastblock Get /thorchain/lastblock
NetworkApi LastblockChain Get /thorchain/lastblock/{chain}
NetworkApi Network Get /thorchain/network
NetworkApi OutboundFeeAsset Get /thorchain/outbound_fee/{asset}
NetworkApi OutboundFees Get /thorchain/outbound_fees
NetworkApi Ragnarok Get /thorchain/ragnarok
NetworkApi UpgradeProposal Get /thorchain/upgrade_proposal/{name}
NetworkApi UpgradeProposals Get /thorchain/upgrade_proposals
NetworkApi UpgradeVotes Get /thorchain/upgrade_votes/{name}
NetworkApi Version Get /thorchain/version
NodesApi Node Get /thorchain/node/{address}
NodesApi Nodes Get /thorchain/nodes
PoolSlipApi Poolslip Get /thorchain/slip/{asset}
PoolSlipApi Poolslips Get /thorchain/slips
PoolsApi Dpool Get /thorchain/dpool/{asset}
PoolsApi Dpools Get /thorchain/dpools
PoolsApi Pool Get /thorchain/pool/{asset}
PoolsApi Pools Get /thorchain/pools
QueueApi Queue Get /thorchain/queue
QueueApi QueueOutbound Get /thorchain/queue/outbound
QueueApi QueueScheduled Get /thorchain/queue/scheduled
QueueApi QueueSwap Get /thorchain/queue/swap
QuoteApi Quoteloanclose Get /thorchain/quote/loan/close
QuoteApi Quoteloanopen Get /thorchain/quote/loan/open
QuoteApi Quotesaverdeposit Get /thorchain/quote/saver/deposit
QuoteApi Quotesaverwithdraw Get /thorchain/quote/saver/withdraw
QuoteApi Quoteswap Get /thorchain/quote/swap
RUNEPoolApi RunePool Get /thorchain/runepool
RUNEPoolApi RuneProvider Get /thorchain/rune_provider/{address}
RUNEPoolApi RuneProviders Get /thorchain/rune_providers
SaversApi Saver Get /thorchain/pool/{asset}/saver/{address}
SaversApi Savers Get /thorchain/pool/{asset}/savers
SecuredAssetApi SecuredAsset Get /thorchain/securedasset/{asset}
SecuredAssetsApi SecuredAssets Get /thorchain/securedassets
StreamingSwapApi StreamSwap Get /thorchain/swap/streaming/{hash}
StreamingSwapApi StreamSwaps Get /thorchain/swaps/streaming
TSSApi KeygenPubkey Get /thorchain/keygen/{height}/{pubkey}
TSSApi Keysign Get /thorchain/keysign/{height}
TSSApi KeysignPubkey Get /thorchain/keysign/{height}/{pubkey}
TSSApi Metrics Get /thorchain/metrics
TSSApi MetricsKeygen Get /thorchain/metric/keygen/{pubkey}
ThornamesApi Thorname Get /thorchain/thorname/{name}
TradeAccountApi TradeAccount Get /thorchain/trade/account/{address}
TradeAccountsApi TradeAccounts Get /thorchain/trade/accounts/{asset}
TradeUnitApi TradeUnit Get /thorchain/trade/unit/{asset}
TradeUnitsApi TradeUnits Get /thorchain/trade/units
TransactionsApi Tx Get /thorchain/tx/{hash}
TransactionsApi TxSigners Get /thorchain/tx/details/{hash}
TransactionsApi TxSignersOld Get /thorchain/tx/{hash}/signers
TransactionsApi TxStages Get /thorchain/tx/stages/{hash}
TransactionsApi TxStatus Get /thorchain/tx/status/{hash}
VaultsApi Asgard Get /thorchain/vaults/asgard
VaultsApi Vault Get /thorchain/vault/{pubkey}
VaultsApi VaultPubkeys Get /thorchain/vaults/pubkeys
VaultsApi Yggdrasil Get /thorchain/vaults/yggdrasil

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

devs@thorchain.org

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AuthApi *AuthApiService

	BankApi *BankApiService

	BlockApi *BlockApiService

	BorrowersApi *BorrowersApiService

	CloutApi *CloutApiService

	ExportApi *ExportApiService

	HealthApi *HealthApiService

	InvariantsApi *InvariantsApiService

	LiquidityProvidersApi *LiquidityProvidersApiService

	MimirApi *MimirApiService

	NetworkApi *NetworkApiService

	NodesApi *NodesApiService

	PoolSlipApi *PoolSlipApiService

	PoolsApi *PoolsApiService

	QueueApi *QueueApiService

	QuoteApi *QuoteApiService

	RUNEPoolApi *RUNEPoolApiService

	SaversApi *SaversApiService

	SecuredAssetApi *SecuredAssetApiService

	SecuredAssetsApi *SecuredAssetsApiService

	StreamingSwapApi *StreamingSwapApiService

	TSSApi *TSSApiService

	ThornamesApi *ThornamesApiService

	TradeAccountApi *TradeAccountApiService

	TradeAccountsApi *TradeAccountsApiService

	TradeUnitApi *TradeUnitApiService

	TradeUnitsApi *TradeUnitsApiService

	TransactionsApi *TransactionsApiService

	VaultsApi *VaultsApiService
	// contains filtered or unexported fields
}

In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type Account

type Account struct {
	Type          *string `json:"type,omitempty"`
	Address       *string `json:"address,omitempty"`
	Pubkey        *string `json:"pubkey,omitempty"`
	Sequence      *int64  `json:"sequence,omitempty"`
	AccountNumber *int64  `json:"account_number,omitempty"`
}

Account struct for Account

func NewAccount

func NewAccount() *Account

NewAccount instantiates a new Account object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountWithDefaults

func NewAccountWithDefaults() *Account

NewAccountWithDefaults instantiates a new Account object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Account) GetAccountNumber

func (o *Account) GetAccountNumber() int64

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*Account) GetAccountNumberOk

func (o *Account) GetAccountNumberOk() (*int64, bool)

GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetAddress

func (o *Account) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*Account) GetAddressOk

func (o *Account) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetPubkey

func (o *Account) GetPubkey() string

GetPubkey returns the Pubkey field value if set, zero value otherwise.

func (*Account) GetPubkeyOk

func (o *Account) GetPubkeyOk() (*string, bool)

GetPubkeyOk returns a tuple with the Pubkey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetSequence

func (o *Account) GetSequence() int64

GetSequence returns the Sequence field value if set, zero value otherwise.

func (*Account) GetSequenceOk

func (o *Account) GetSequenceOk() (*int64, bool)

GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetType

func (o *Account) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Account) GetTypeOk

func (o *Account) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) HasAccountNumber

func (o *Account) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*Account) HasAddress

func (o *Account) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Account) HasPubkey

func (o *Account) HasPubkey() bool

HasPubkey returns a boolean if a field has been set.

func (*Account) HasSequence

func (o *Account) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*Account) HasType

func (o *Account) HasType() bool

HasType returns a boolean if a field has been set.

func (Account) MarshalJSON_deprecated

func (o Account) MarshalJSON_deprecated() ([]byte, error)

func (*Account) SetAccountNumber

func (o *Account) SetAccountNumber(v int64)

SetAccountNumber gets a reference to the given int64 and assigns it to the AccountNumber field.

func (*Account) SetAddress

func (o *Account) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*Account) SetPubkey

func (o *Account) SetPubkey(v string)

SetPubkey gets a reference to the given string and assigns it to the Pubkey field.

func (*Account) SetSequence

func (o *Account) SetSequence(v int64)

SetSequence gets a reference to the given int64 and assigns it to the Sequence field.

func (*Account) SetType

func (o *Account) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type AccountResponse

type AccountResponse struct {
	Result *AccountResponseResult `json:"result,omitempty"`
}

AccountResponse struct for AccountResponse

func NewAccountResponse

func NewAccountResponse() *AccountResponse

NewAccountResponse instantiates a new AccountResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountResponseWithDefaults

func NewAccountResponseWithDefaults() *AccountResponse

NewAccountResponseWithDefaults instantiates a new AccountResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountResponse) GetResult

func (o *AccountResponse) GetResult() AccountResponseResult

GetResult returns the Result field value if set, zero value otherwise.

func (*AccountResponse) GetResultOk

func (o *AccountResponse) GetResultOk() (*AccountResponseResult, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountResponse) HasResult

func (o *AccountResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (AccountResponse) MarshalJSON_deprecated

func (o AccountResponse) MarshalJSON_deprecated() ([]byte, error)

func (*AccountResponse) SetResult

func (o *AccountResponse) SetResult(v AccountResponseResult)

SetResult gets a reference to the given AccountResponseResult and assigns it to the Result field.

type AccountResponseResult

type AccountResponseResult struct {
	Value *Account `json:"value,omitempty"`
}

AccountResponseResult struct for AccountResponseResult

func NewAccountResponseResult

func NewAccountResponseResult() *AccountResponseResult

NewAccountResponseResult instantiates a new AccountResponseResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountResponseResultWithDefaults

func NewAccountResponseResultWithDefaults() *AccountResponseResult

NewAccountResponseResultWithDefaults instantiates a new AccountResponseResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountResponseResult) GetValue

func (o *AccountResponseResult) GetValue() Account

GetValue returns the Value field value if set, zero value otherwise.

func (*AccountResponseResult) GetValueOk

func (o *AccountResponseResult) GetValueOk() (*Account, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountResponseResult) HasValue

func (o *AccountResponseResult) HasValue() bool

HasValue returns a boolean if a field has been set.

func (AccountResponseResult) MarshalJSON_deprecated

func (o AccountResponseResult) MarshalJSON_deprecated() ([]byte, error)

func (*AccountResponseResult) SetValue

func (o *AccountResponseResult) SetValue(v Account)

SetValue gets a reference to the given Account and assigns it to the Value field.

type Amount

type Amount struct {
	Denom  string `json:"denom"`
	Amount string `json:"amount"`
}

Amount struct for Amount

func NewAmount

func NewAmount(denom string, amount string) *Amount

NewAmount instantiates a new Amount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAmountWithDefaults

func NewAmountWithDefaults() *Amount

NewAmountWithDefaults instantiates a new Amount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Amount) GetAmount

func (o *Amount) GetAmount() string

GetAmount returns the Amount field value

func (*Amount) GetAmountOk

func (o *Amount) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*Amount) GetDenom

func (o *Amount) GetDenom() string

GetDenom returns the Denom field value

func (*Amount) GetDenomOk

func (o *Amount) GetDenomOk() (*string, bool)

GetDenomOk returns a tuple with the Denom field value and a boolean to check if the value has been set.

func (Amount) MarshalJSON_deprecated

func (o Amount) MarshalJSON_deprecated() ([]byte, error)

func (*Amount) SetAmount

func (o *Amount) SetAmount(v string)

SetAmount sets field value

func (*Amount) SetDenom

func (o *Amount) SetDenom(v string)

SetDenom sets field value

type ApiAccountRequest

type ApiAccountRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiAccountRequest) Execute

func (ApiAccountRequest) Height

func (r ApiAccountRequest) Height(height int64) ApiAccountRequest

optional block height, defaults to current tip

type ApiAsgardRequest

type ApiAsgardRequest struct {
	ApiService *VaultsApiService
	// contains filtered or unexported fields
}

func (ApiAsgardRequest) Execute

func (r ApiAsgardRequest) Execute() ([]Vault, *http.Response, error)

func (ApiAsgardRequest) Height

func (r ApiAsgardRequest) Height(height int64) ApiAsgardRequest

optional block height, defaults to current tip

type ApiBalancesRequest

type ApiBalancesRequest struct {
	ApiService *BankApiService
	// contains filtered or unexported fields
}

func (ApiBalancesRequest) Execute

func (ApiBalancesRequest) Height

func (r ApiBalancesRequest) Height(height int64) ApiBalancesRequest

optional block height, defaults to current tip

type ApiBanRequest

type ApiBanRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiBanRequest) Execute

func (r ApiBanRequest) Execute() (*BanResponse, *http.Response, error)

func (ApiBanRequest) Height

func (r ApiBanRequest) Height(height int64) ApiBanRequest

optional block height, defaults to current tip

type ApiBlockRequest

type ApiBlockRequest struct {
	ApiService *BlockApiService
	// contains filtered or unexported fields
}

func (ApiBlockRequest) Execute

func (r ApiBlockRequest) Execute() (*BlockResponse, *http.Response, error)

func (ApiBlockRequest) Height

func (r ApiBlockRequest) Height(height int64) ApiBlockRequest

optional block height, defaults to current tip

type ApiBorrowerRequest

type ApiBorrowerRequest struct {
	ApiService *BorrowersApiService
	// contains filtered or unexported fields
}

func (ApiBorrowerRequest) Execute

func (r ApiBorrowerRequest) Execute() (*Borrower, *http.Response, error)

func (ApiBorrowerRequest) Height

func (r ApiBorrowerRequest) Height(height int64) ApiBorrowerRequest

optional block height, defaults to current tip

type ApiBorrowersRequest

type ApiBorrowersRequest struct {
	ApiService *BorrowersApiService
	// contains filtered or unexported fields
}

func (ApiBorrowersRequest) Execute

func (r ApiBorrowersRequest) Execute() ([]Borrower, *http.Response, error)

func (ApiBorrowersRequest) Height

optional block height, defaults to current tip

type ApiConstantsRequest

type ApiConstantsRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiConstantsRequest) Execute

func (ApiConstantsRequest) Height

optional block height, defaults to current tip

type ApiDpoolRequest

type ApiDpoolRequest struct {
	ApiService *PoolsApiService
	// contains filtered or unexported fields
}

func (ApiDpoolRequest) Execute

func (r ApiDpoolRequest) Execute() (*DerivedPool, *http.Response, error)

func (ApiDpoolRequest) Height

func (r ApiDpoolRequest) Height(height int64) ApiDpoolRequest

optional block height, defaults to current tip

type ApiDpoolsRequest

type ApiDpoolsRequest struct {
	ApiService *PoolsApiService
	// contains filtered or unexported fields
}

func (ApiDpoolsRequest) Execute

func (r ApiDpoolsRequest) Execute() ([]DerivedPool, *http.Response, error)

func (ApiDpoolsRequest) Height

func (r ApiDpoolsRequest) Height(height int64) ApiDpoolsRequest

optional block height, defaults to current tip

type ApiExportRequest

type ApiExportRequest struct {
	ApiService *ExportApiService
	// contains filtered or unexported fields
}

func (ApiExportRequest) Execute

func (r ApiExportRequest) Execute() (map[string]interface{}, *http.Response, error)

type ApiInboundAddressesRequest

type ApiInboundAddressesRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiInboundAddressesRequest) Execute

func (ApiInboundAddressesRequest) Height

optional block height, defaults to current tip

type ApiInvariantRequest

type ApiInvariantRequest struct {
	ApiService *InvariantsApiService
	// contains filtered or unexported fields
}

func (ApiInvariantRequest) Execute

func (ApiInvariantRequest) Height

optional block height, defaults to current tip

type ApiInvariantsRequest

type ApiInvariantsRequest struct {
	ApiService *InvariantsApiService
	// contains filtered or unexported fields
}

func (ApiInvariantsRequest) Execute

func (ApiInvariantsRequest) Height

optional block height, defaults to current tip

type ApiKeygenPubkeyRequest

type ApiKeygenPubkeyRequest struct {
	ApiService *TSSApiService
	// contains filtered or unexported fields
}

func (ApiKeygenPubkeyRequest) Execute

type ApiKeysignPubkeyRequest

type ApiKeysignPubkeyRequest struct {
	ApiService *TSSApiService
	// contains filtered or unexported fields
}

func (ApiKeysignPubkeyRequest) Execute

type ApiKeysignRequest

type ApiKeysignRequest struct {
	ApiService *TSSApiService
	// contains filtered or unexported fields
}

func (ApiKeysignRequest) Execute

type ApiLastblockChainRequest

type ApiLastblockChainRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiLastblockChainRequest) Execute

func (ApiLastblockChainRequest) Height

optional block height, defaults to current tip

type ApiLastblockRequest

type ApiLastblockRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiLastblockRequest) Execute

func (r ApiLastblockRequest) Execute() ([]LastBlock, *http.Response, error)

func (ApiLastblockRequest) Height

optional block height, defaults to current tip

type ApiLiquidityProviderRequest

type ApiLiquidityProviderRequest struct {
	ApiService *LiquidityProvidersApiService
	// contains filtered or unexported fields
}

func (ApiLiquidityProviderRequest) Execute

func (ApiLiquidityProviderRequest) Height

optional block height, defaults to current tip

type ApiLiquidityProvidersRequest

type ApiLiquidityProvidersRequest struct {
	ApiService *LiquidityProvidersApiService
	// contains filtered or unexported fields
}

func (ApiLiquidityProvidersRequest) Execute

func (ApiLiquidityProvidersRequest) Height

optional block height, defaults to current tip

type ApiMetricsKeygenRequest

type ApiMetricsKeygenRequest struct {
	ApiService *TSSApiService
	// contains filtered or unexported fields
}

func (ApiMetricsKeygenRequest) Execute

func (ApiMetricsKeygenRequest) Height

optional block height, defaults to current tip

type ApiMetricsRequest

type ApiMetricsRequest struct {
	ApiService *TSSApiService
	// contains filtered or unexported fields
}

func (ApiMetricsRequest) Execute

func (ApiMetricsRequest) Height

func (r ApiMetricsRequest) Height(height int64) ApiMetricsRequest

optional block height, defaults to current tip

type ApiMimirAdminRequest

type ApiMimirAdminRequest struct {
	ApiService *MimirApiService
	// contains filtered or unexported fields
}

func (ApiMimirAdminRequest) Execute

func (r ApiMimirAdminRequest) Execute() (map[string]string, *http.Response, error)

func (ApiMimirAdminRequest) Height

optional block height, defaults to current tip

type ApiMimirKeyRequest

type ApiMimirKeyRequest struct {
	ApiService *MimirApiService
	// contains filtered or unexported fields
}

func (ApiMimirKeyRequest) Execute

func (r ApiMimirKeyRequest) Execute() (int64, *http.Response, error)

func (ApiMimirKeyRequest) Height

func (r ApiMimirKeyRequest) Height(height int64) ApiMimirKeyRequest

optional block height, defaults to current tip

type ApiMimirNodeRequest

type ApiMimirNodeRequest struct {
	ApiService *MimirApiService
	// contains filtered or unexported fields
}

func (ApiMimirNodeRequest) Execute

func (r ApiMimirNodeRequest) Execute() (map[string]string, *http.Response, error)

func (ApiMimirNodeRequest) Height

optional block height, defaults to current tip

type ApiMimirNodesRequest

type ApiMimirNodesRequest struct {
	ApiService *MimirApiService
	// contains filtered or unexported fields
}

func (ApiMimirNodesRequest) Execute

func (ApiMimirNodesRequest) Height

optional block height, defaults to current tip

type ApiMimirRequest

type ApiMimirRequest struct {
	ApiService *MimirApiService
	// contains filtered or unexported fields
}

func (ApiMimirRequest) Execute

func (r ApiMimirRequest) Execute() (map[string]string, *http.Response, error)

func (ApiMimirRequest) Height

func (r ApiMimirRequest) Height(height int64) ApiMimirRequest

optional block height, defaults to current tip

type ApiNetworkRequest

type ApiNetworkRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiNetworkRequest) Execute

func (ApiNetworkRequest) Height

func (r ApiNetworkRequest) Height(height int64) ApiNetworkRequest

optional block height, defaults to current tip

type ApiNodeRequest

type ApiNodeRequest struct {
	ApiService *NodesApiService
	// contains filtered or unexported fields
}

func (ApiNodeRequest) Execute

func (r ApiNodeRequest) Execute() (*Node, *http.Response, error)

func (ApiNodeRequest) Height

func (r ApiNodeRequest) Height(height int64) ApiNodeRequest

optional block height, defaults to current tip

type ApiNodesRequest

type ApiNodesRequest struct {
	ApiService *NodesApiService
	// contains filtered or unexported fields
}

func (ApiNodesRequest) Execute

func (r ApiNodesRequest) Execute() ([]Node, *http.Response, error)

func (ApiNodesRequest) Height

func (r ApiNodesRequest) Height(height int64) ApiNodesRequest

optional block height, defaults to current tip

type ApiOutboundFeeAssetRequest

type ApiOutboundFeeAssetRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiOutboundFeeAssetRequest) Execute

func (ApiOutboundFeeAssetRequest) Height

optional block height, defaults to current tip

type ApiOutboundFeesRequest

type ApiOutboundFeesRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiOutboundFeesRequest) Execute

func (ApiOutboundFeesRequest) Height

optional block height, defaults to current tip

type ApiPingRequest

type ApiPingRequest struct {
	ApiService *HealthApiService
	// contains filtered or unexported fields
}

func (ApiPingRequest) Execute

func (r ApiPingRequest) Execute() (*Ping, *http.Response, error)

type ApiPoolRequest

type ApiPoolRequest struct {
	ApiService *PoolsApiService
	// contains filtered or unexported fields
}

func (ApiPoolRequest) Execute

func (r ApiPoolRequest) Execute() (*Pool, *http.Response, error)

func (ApiPoolRequest) Height

func (r ApiPoolRequest) Height(height int64) ApiPoolRequest

optional block height, defaults to current tip

type ApiPoolsRequest

type ApiPoolsRequest struct {
	ApiService *PoolsApiService
	// contains filtered or unexported fields
}

func (ApiPoolsRequest) Execute

func (r ApiPoolsRequest) Execute() ([]Pool, *http.Response, error)

func (ApiPoolsRequest) Height

func (r ApiPoolsRequest) Height(height int64) ApiPoolsRequest

optional block height, defaults to current tip

type ApiPoolslipRequest

type ApiPoolslipRequest struct {
	ApiService *PoolSlipApiService
	// contains filtered or unexported fields
}

func (ApiPoolslipRequest) Execute

func (ApiPoolslipRequest) Height

func (r ApiPoolslipRequest) Height(height int64) ApiPoolslipRequest

optional block height, defaults to current tip

type ApiPoolslipsRequest

type ApiPoolslipsRequest struct {
	ApiService *PoolSlipApiService
	// contains filtered or unexported fields
}

func (ApiPoolslipsRequest) Execute

func (ApiPoolslipsRequest) Height

optional block height, defaults to current tip

type ApiQueueOutboundRequest

type ApiQueueOutboundRequest struct {
	ApiService *QueueApiService
	// contains filtered or unexported fields
}

func (ApiQueueOutboundRequest) Execute

func (ApiQueueOutboundRequest) Height

optional block height, defaults to current tip

type ApiQueueRequest

type ApiQueueRequest struct {
	ApiService *QueueApiService
	// contains filtered or unexported fields
}

func (ApiQueueRequest) Execute

func (r ApiQueueRequest) Execute() (*QueueResponse, *http.Response, error)

func (ApiQueueRequest) Height

func (r ApiQueueRequest) Height(height int64) ApiQueueRequest

optional block height, defaults to current tip

type ApiQueueScheduledRequest

type ApiQueueScheduledRequest struct {
	ApiService *QueueApiService
	// contains filtered or unexported fields
}

func (ApiQueueScheduledRequest) Execute

func (ApiQueueScheduledRequest) Height

optional block height, defaults to current tip

type ApiQueueSwapRequest

type ApiQueueSwapRequest struct {
	ApiService *QueueApiService
	// contains filtered or unexported fields
}

func (ApiQueueSwapRequest) Execute

func (r ApiQueueSwapRequest) Execute() ([]MsgSwap, *http.Response, error)

func (ApiQueueSwapRequest) Height

optional block height, defaults to current tip

type ApiQuoteloancloseRequest

type ApiQuoteloancloseRequest struct {
	ApiService *QuoteApiService
	// contains filtered or unexported fields
}

func (ApiQuoteloancloseRequest) Execute

func (ApiQuoteloancloseRequest) FromAsset

the asset used to repay the loan

func (ApiQuoteloancloseRequest) Height

optional block height, defaults to current tip

func (ApiQuoteloancloseRequest) LoanOwner

the owner of the loan collateral

func (ApiQuoteloancloseRequest) MinOut

the minimum amount of the target asset to accept

func (ApiQuoteloancloseRequest) RepayBps

the basis points of the existing position to repay

func (ApiQuoteloancloseRequest) ToAsset

the collateral asset of the loan

type ApiQuoteloanopenRequest

type ApiQuoteloanopenRequest struct {
	ApiService *QuoteApiService
	// contains filtered or unexported fields
}

func (ApiQuoteloanopenRequest) Affiliate

the affiliate (address or thorname)

func (ApiQuoteloanopenRequest) AffiliateBps

func (r ApiQuoteloanopenRequest) AffiliateBps(affiliateBps int64) ApiQuoteloanopenRequest

the affiliate fee in basis points

func (ApiQuoteloanopenRequest) Amount

the collateral asset amount in 1e8 decimals

func (ApiQuoteloanopenRequest) Destination

func (r ApiQuoteloanopenRequest) Destination(destination string) ApiQuoteloanopenRequest

the destination address, required to generate memo

func (ApiQuoteloanopenRequest) Execute

func (ApiQuoteloanopenRequest) FromAsset

the collateral asset

func (ApiQuoteloanopenRequest) Height

optional block height, defaults to current tip

func (ApiQuoteloanopenRequest) MinOut

the minimum amount of the target asset to accept

func (ApiQuoteloanopenRequest) ToAsset

the target asset to receive (loan denominated in TOR regardless)

type ApiQuotesaverdepositRequest

type ApiQuotesaverdepositRequest struct {
	ApiService *QuoteApiService
	// contains filtered or unexported fields
}

func (ApiQuotesaverdepositRequest) Amount

the source asset amount in 1e8 decimals

func (ApiQuotesaverdepositRequest) Asset

the asset to deposit

func (ApiQuotesaverdepositRequest) Execute

func (ApiQuotesaverdepositRequest) Height

optional block height, defaults to current tip

type ApiQuotesaverwithdrawRequest

type ApiQuotesaverwithdrawRequest struct {
	ApiService *QuoteApiService
	// contains filtered or unexported fields
}

func (ApiQuotesaverwithdrawRequest) Address

the address for the position

func (ApiQuotesaverwithdrawRequest) Asset

the asset to withdraw

func (ApiQuotesaverwithdrawRequest) Execute

func (ApiQuotesaverwithdrawRequest) Height

optional block height, defaults to current tip

func (ApiQuotesaverwithdrawRequest) WithdrawBps

the basis points of the existing position to withdraw

type ApiQuoteswapRequest

type ApiQuoteswapRequest struct {
	ApiService *QuoteApiService
	// contains filtered or unexported fields
}

func (ApiQuoteswapRequest) Affiliate

func (r ApiQuoteswapRequest) Affiliate(affiliate string) ApiQuoteswapRequest

the affiliate (address or thorname)

func (ApiQuoteswapRequest) AffiliateBps

func (r ApiQuoteswapRequest) AffiliateBps(affiliateBps int64) ApiQuoteswapRequest

the affiliate fee in basis points

func (ApiQuoteswapRequest) Amount

the source asset amount in 1e8 decimals

func (ApiQuoteswapRequest) Destination

func (r ApiQuoteswapRequest) Destination(destination string) ApiQuoteswapRequest

the destination address, required to generate memo

func (ApiQuoteswapRequest) Execute

func (ApiQuoteswapRequest) FromAsset

func (r ApiQuoteswapRequest) FromAsset(fromAsset string) ApiQuoteswapRequest

the source asset

func (ApiQuoteswapRequest) Height

optional block height, defaults to current tip

func (ApiQuoteswapRequest) RefundAddress

func (r ApiQuoteswapRequest) RefundAddress(refundAddress string) ApiQuoteswapRequest

the refund address, refunds will be sent here if the swap fails

func (ApiQuoteswapRequest) StreamingInterval

func (r ApiQuoteswapRequest) StreamingInterval(streamingInterval int64) ApiQuoteswapRequest

the interval in which streaming swaps are swapped

func (ApiQuoteswapRequest) StreamingQuantity

func (r ApiQuoteswapRequest) StreamingQuantity(streamingQuantity int64) ApiQuoteswapRequest

the quantity of swaps within a streaming swap

func (ApiQuoteswapRequest) ToAsset

func (r ApiQuoteswapRequest) ToAsset(toAsset string) ApiQuoteswapRequest

the target asset

func (ApiQuoteswapRequest) ToleranceBps

func (r ApiQuoteswapRequest) ToleranceBps(toleranceBps int64) ApiQuoteswapRequest

the maximum basis points from the current feeless swap price to set the limit in the generated memo

type ApiRagnarokRequest

type ApiRagnarokRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiRagnarokRequest) Execute

func (r ApiRagnarokRequest) Execute() (bool, *http.Response, error)

func (ApiRagnarokRequest) Height

func (r ApiRagnarokRequest) Height(height int64) ApiRagnarokRequest

optional block height, defaults to current tip

type ApiRunePoolRequest

type ApiRunePoolRequest struct {
	ApiService *RUNEPoolApiService
	// contains filtered or unexported fields
}

func (ApiRunePoolRequest) Execute

func (ApiRunePoolRequest) Height

func (r ApiRunePoolRequest) Height(height int64) ApiRunePoolRequest

optional block height, defaults to current tip

type ApiRuneProviderRequest

type ApiRuneProviderRequest struct {
	ApiService *RUNEPoolApiService
	// contains filtered or unexported fields
}

func (ApiRuneProviderRequest) Execute

func (ApiRuneProviderRequest) Height

optional block height, defaults to current tip

type ApiRuneProvidersRequest

type ApiRuneProvidersRequest struct {
	ApiService *RUNEPoolApiService
	// contains filtered or unexported fields
}

func (ApiRuneProvidersRequest) Execute

func (ApiRuneProvidersRequest) Height

optional block height, defaults to current tip

type ApiSaverRequest

type ApiSaverRequest struct {
	ApiService *SaversApiService
	// contains filtered or unexported fields
}

func (ApiSaverRequest) Execute

func (r ApiSaverRequest) Execute() (*Saver, *http.Response, error)

func (ApiSaverRequest) Height

func (r ApiSaverRequest) Height(height int64) ApiSaverRequest

optional block height, defaults to current tip

type ApiSaversRequest

type ApiSaversRequest struct {
	ApiService *SaversApiService
	// contains filtered or unexported fields
}

func (ApiSaversRequest) Execute

func (r ApiSaversRequest) Execute() ([]Saver, *http.Response, error)

func (ApiSaversRequest) Height

func (r ApiSaversRequest) Height(height int64) ApiSaversRequest

optional block height, defaults to current tip

type ApiSecuredAssetRequest

type ApiSecuredAssetRequest struct {
	ApiService *SecuredAssetApiService
	// contains filtered or unexported fields
}

func (ApiSecuredAssetRequest) Execute

func (ApiSecuredAssetRequest) Height

optional block height, defaults to current tip

type ApiSecuredAssetsRequest

type ApiSecuredAssetsRequest struct {
	ApiService *SecuredAssetsApiService
	// contains filtered or unexported fields
}

func (ApiSecuredAssetsRequest) Execute

func (ApiSecuredAssetsRequest) Height

optional block height, defaults to current tip

type ApiStreamSwapRequest

type ApiStreamSwapRequest struct {
	ApiService *StreamingSwapApiService
	// contains filtered or unexported fields
}

func (ApiStreamSwapRequest) Execute

func (ApiStreamSwapRequest) Height

optional block height, defaults to current tip

type ApiStreamSwapsRequest

type ApiStreamSwapsRequest struct {
	ApiService *StreamingSwapApiService
	// contains filtered or unexported fields
}

func (ApiStreamSwapsRequest) Execute

func (ApiStreamSwapsRequest) Height

optional block height, defaults to current tip

type ApiSwapperCloutRequest

type ApiSwapperCloutRequest struct {
	ApiService *CloutApiService
	// contains filtered or unexported fields
}

func (ApiSwapperCloutRequest) Execute

func (ApiSwapperCloutRequest) Height

optional block height, defaults to current tip

type ApiThornameRequest

type ApiThornameRequest struct {
	ApiService *ThornamesApiService
	// contains filtered or unexported fields
}

func (ApiThornameRequest) Execute

func (r ApiThornameRequest) Execute() (*Thorname, *http.Response, error)

func (ApiThornameRequest) Height

func (r ApiThornameRequest) Height(height int64) ApiThornameRequest

optional block height, defaults to current tip

type ApiTradeAccountRequest

type ApiTradeAccountRequest struct {
	ApiService *TradeAccountApiService
	// contains filtered or unexported fields
}

func (ApiTradeAccountRequest) Execute

func (ApiTradeAccountRequest) Height

optional block height, defaults to current tip

type ApiTradeAccountsRequest

type ApiTradeAccountsRequest struct {
	ApiService *TradeAccountsApiService
	// contains filtered or unexported fields
}

func (ApiTradeAccountsRequest) Execute

func (ApiTradeAccountsRequest) Height

optional block height, defaults to current tip

type ApiTradeUnitRequest

type ApiTradeUnitRequest struct {
	ApiService *TradeUnitApiService
	// contains filtered or unexported fields
}

func (ApiTradeUnitRequest) Execute

func (ApiTradeUnitRequest) Height

optional block height, defaults to current tip

type ApiTradeUnitsRequest

type ApiTradeUnitsRequest struct {
	ApiService *TradeUnitsApiService
	// contains filtered or unexported fields
}

func (ApiTradeUnitsRequest) Execute

func (ApiTradeUnitsRequest) Height

optional block height, defaults to current tip

type ApiTxRequest

type ApiTxRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiTxRequest) Execute

func (r ApiTxRequest) Execute() (*TxResponse, *http.Response, error)

func (ApiTxRequest) Height

func (r ApiTxRequest) Height(height int64) ApiTxRequest

optional block height, defaults to current tip

type ApiTxSignersOldRequest

type ApiTxSignersOldRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiTxSignersOldRequest) Execute

func (ApiTxSignersOldRequest) Height

optional block height, defaults to current tip

type ApiTxSignersRequest

type ApiTxSignersRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiTxSignersRequest) Execute

func (ApiTxSignersRequest) Height

optional block height, defaults to current tip

type ApiTxStagesRequest

type ApiTxStagesRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiTxStagesRequest) Execute

func (ApiTxStagesRequest) Height

func (r ApiTxStagesRequest) Height(height int64) ApiTxStagesRequest

optional block height, defaults to current tip

type ApiTxStatusRequest

type ApiTxStatusRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiTxStatusRequest) Execute

func (ApiTxStatusRequest) Height

func (r ApiTxStatusRequest) Height(height int64) ApiTxStatusRequest

optional block height, defaults to current tip

type ApiUpgradeProposalRequest

type ApiUpgradeProposalRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiUpgradeProposalRequest) Execute

func (ApiUpgradeProposalRequest) Height

optional block height, defaults to current tip

type ApiUpgradeProposalsRequest

type ApiUpgradeProposalsRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiUpgradeProposalsRequest) Execute

func (ApiUpgradeProposalsRequest) Height

optional block height, defaults to current tip

type ApiUpgradeVotesRequest

type ApiUpgradeVotesRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiUpgradeVotesRequest) Execute

func (ApiUpgradeVotesRequest) Height

optional block height, defaults to current tip

type ApiVaultPubkeysRequest

type ApiVaultPubkeysRequest struct {
	ApiService *VaultsApiService
	// contains filtered or unexported fields
}

func (ApiVaultPubkeysRequest) Execute

func (ApiVaultPubkeysRequest) Height

optional block height, defaults to current tip

type ApiVaultRequest

type ApiVaultRequest struct {
	ApiService *VaultsApiService
	// contains filtered or unexported fields
}

func (ApiVaultRequest) Execute

func (r ApiVaultRequest) Execute() (*Vault, *http.Response, error)

func (ApiVaultRequest) Height

func (r ApiVaultRequest) Height(height int64) ApiVaultRequest

optional block height, defaults to current tip

type ApiVersionRequest

type ApiVersionRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiVersionRequest) Execute

func (ApiVersionRequest) Height

func (r ApiVersionRequest) Height(height int64) ApiVersionRequest

optional block height, defaults to current tip

type ApiYggdrasilRequest

type ApiYggdrasilRequest struct {
	ApiService *VaultsApiService
	// contains filtered or unexported fields
}

func (ApiYggdrasilRequest) Execute

func (ApiYggdrasilRequest) Height

optional block height, defaults to current tip

type AuthApiService

type AuthApiService service

AuthApiService AuthApi service

func (*AuthApiService) Account

func (a *AuthApiService) Account(ctx context.Context, address string) ApiAccountRequest

Account Method for Account

Returns account information for the provided address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address
@return ApiAccountRequest

func (*AuthApiService) AccountExecute

Execute executes the request

@return AccountResponse

type BalancesResponse

type BalancesResponse struct {
	Result []Amount `json:"result,omitempty"`
}

BalancesResponse struct for BalancesResponse

func NewBalancesResponse

func NewBalancesResponse() *BalancesResponse

NewBalancesResponse instantiates a new BalancesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBalancesResponseWithDefaults

func NewBalancesResponseWithDefaults() *BalancesResponse

NewBalancesResponseWithDefaults instantiates a new BalancesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BalancesResponse) GetResult

func (o *BalancesResponse) GetResult() []Amount

GetResult returns the Result field value if set, zero value otherwise.

func (*BalancesResponse) GetResultOk

func (o *BalancesResponse) GetResultOk() ([]Amount, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BalancesResponse) HasResult

func (o *BalancesResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (BalancesResponse) MarshalJSON_deprecated

func (o BalancesResponse) MarshalJSON_deprecated() ([]byte, error)

func (*BalancesResponse) SetResult

func (o *BalancesResponse) SetResult(v []Amount)

SetResult gets a reference to the given []Amount and assigns it to the Result field.

type BanResponse

type BanResponse struct {
	NodeAddress *string  `json:"node_address,omitempty"`
	BlockHeight *int64   `json:"block_height,omitempty"`
	Signers     []string `json:"signers,omitempty"`
}

BanResponse struct for BanResponse

func NewBanResponse

func NewBanResponse() *BanResponse

NewBanResponse instantiates a new BanResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBanResponseWithDefaults

func NewBanResponseWithDefaults() *BanResponse

NewBanResponseWithDefaults instantiates a new BanResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BanResponse) GetBlockHeight

func (o *BanResponse) GetBlockHeight() int64

GetBlockHeight returns the BlockHeight field value if set, zero value otherwise.

func (*BanResponse) GetBlockHeightOk

func (o *BanResponse) GetBlockHeightOk() (*int64, bool)

GetBlockHeightOk returns a tuple with the BlockHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BanResponse) GetNodeAddress

func (o *BanResponse) GetNodeAddress() string

GetNodeAddress returns the NodeAddress field value if set, zero value otherwise.

func (*BanResponse) GetNodeAddressOk

func (o *BanResponse) GetNodeAddressOk() (*string, bool)

GetNodeAddressOk returns a tuple with the NodeAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BanResponse) GetSigners

func (o *BanResponse) GetSigners() []string

GetSigners returns the Signers field value if set, zero value otherwise.

func (*BanResponse) GetSignersOk

func (o *BanResponse) GetSignersOk() ([]string, bool)

GetSignersOk returns a tuple with the Signers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BanResponse) HasBlockHeight

func (o *BanResponse) HasBlockHeight() bool

HasBlockHeight returns a boolean if a field has been set.

func (*BanResponse) HasNodeAddress

func (o *BanResponse) HasNodeAddress() bool

HasNodeAddress returns a boolean if a field has been set.

func (*BanResponse) HasSigners

func (o *BanResponse) HasSigners() bool

HasSigners returns a boolean if a field has been set.

func (BanResponse) MarshalJSON_deprecated

func (o BanResponse) MarshalJSON_deprecated() ([]byte, error)

func (*BanResponse) SetBlockHeight

func (o *BanResponse) SetBlockHeight(v int64)

SetBlockHeight gets a reference to the given int64 and assigns it to the BlockHeight field.

func (*BanResponse) SetNodeAddress

func (o *BanResponse) SetNodeAddress(v string)

SetNodeAddress gets a reference to the given string and assigns it to the NodeAddress field.

func (*BanResponse) SetSigners

func (o *BanResponse) SetSigners(v []string)

SetSigners gets a reference to the given []string and assigns it to the Signers field.

type BankApiService

type BankApiService service

BankApiService BankApi service

func (*BankApiService) Balances

func (a *BankApiService) Balances(ctx context.Context, address string) ApiBalancesRequest

Balances Method for Balances

Returns balances for the provided address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address
@return ApiBalancesRequest

func (*BankApiService) BalancesExecute

Execute executes the request

@return BalancesResponse

type BaseQuoteResponse

type BaseQuoteResponse struct {
	// the inbound address for the transaction on the source chain
	InboundAddress *string `json:"inbound_address,omitempty"`
	// the approximate number of source chain blocks required before processing
	InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"`
	// the approximate seconds for block confirmations required before processing
	InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"`
	// the number of thorchain blocks the outbound will be delayed
	OutboundDelayBlocks *int64 `json:"outbound_delay_blocks,omitempty"`
	// the approximate seconds for the outbound delay before it will be sent
	OutboundDelaySeconds *int64     `json:"outbound_delay_seconds,omitempty"`
	Fees                 *QuoteFees `json:"fees,omitempty"`
	// the EVM chain router contract address
	Router *string `json:"router,omitempty"`
	// expiration timestamp in unix seconds
	Expiry *int64 `json:"expiry,omitempty"`
	// static warning message
	Warning *string `json:"warning,omitempty"`
	// chain specific quote notes
	Notes *string `json:"notes,omitempty"`
	// Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.
	DustThreshold *string `json:"dust_threshold,omitempty"`
	// The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
	RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"`
	// the recommended gas rate to use for the inbound to ensure timely confirmation
	RecommendedGasRate *string `json:"recommended_gas_rate,omitempty"`
	// the units of the recommended gas rate
	GasRateUnits *string `json:"gas_rate_units,omitempty"`
}

BaseQuoteResponse struct for BaseQuoteResponse

func NewBaseQuoteResponse

func NewBaseQuoteResponse() *BaseQuoteResponse

NewBaseQuoteResponse instantiates a new BaseQuoteResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBaseQuoteResponseWithDefaults

func NewBaseQuoteResponseWithDefaults() *BaseQuoteResponse

NewBaseQuoteResponseWithDefaults instantiates a new BaseQuoteResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BaseQuoteResponse) GetDustThreshold

func (o *BaseQuoteResponse) GetDustThreshold() string

GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetDustThresholdOk

func (o *BaseQuoteResponse) GetDustThresholdOk() (*string, bool)

GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetExpiry

func (o *BaseQuoteResponse) GetExpiry() int64

GetExpiry returns the Expiry field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetExpiryOk

func (o *BaseQuoteResponse) GetExpiryOk() (*int64, bool)

GetExpiryOk returns a tuple with the Expiry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetFees

func (o *BaseQuoteResponse) GetFees() QuoteFees

GetFees returns the Fees field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetFeesOk

func (o *BaseQuoteResponse) GetFeesOk() (*QuoteFees, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetGasRateUnits

func (o *BaseQuoteResponse) GetGasRateUnits() string

GetGasRateUnits returns the GasRateUnits field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetGasRateUnitsOk

func (o *BaseQuoteResponse) GetGasRateUnitsOk() (*string, bool)

GetGasRateUnitsOk returns a tuple with the GasRateUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetInboundAddress

func (o *BaseQuoteResponse) GetInboundAddress() string

GetInboundAddress returns the InboundAddress field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetInboundAddressOk

func (o *BaseQuoteResponse) GetInboundAddressOk() (*string, bool)

GetInboundAddressOk returns a tuple with the InboundAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetInboundConfirmationBlocks

func (o *BaseQuoteResponse) GetInboundConfirmationBlocks() int64

GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetInboundConfirmationBlocksOk

func (o *BaseQuoteResponse) GetInboundConfirmationBlocksOk() (*int64, bool)

GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetInboundConfirmationSeconds

func (o *BaseQuoteResponse) GetInboundConfirmationSeconds() int64

GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetInboundConfirmationSecondsOk

func (o *BaseQuoteResponse) GetInboundConfirmationSecondsOk() (*int64, bool)

GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetNotes

func (o *BaseQuoteResponse) GetNotes() string

GetNotes returns the Notes field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetNotesOk

func (o *BaseQuoteResponse) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetOutboundDelayBlocks

func (o *BaseQuoteResponse) GetOutboundDelayBlocks() int64

GetOutboundDelayBlocks returns the OutboundDelayBlocks field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetOutboundDelayBlocksOk

func (o *BaseQuoteResponse) GetOutboundDelayBlocksOk() (*int64, bool)

GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetOutboundDelaySeconds

func (o *BaseQuoteResponse) GetOutboundDelaySeconds() int64

GetOutboundDelaySeconds returns the OutboundDelaySeconds field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetOutboundDelaySecondsOk

func (o *BaseQuoteResponse) GetOutboundDelaySecondsOk() (*int64, bool)

GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetRecommendedGasRate

func (o *BaseQuoteResponse) GetRecommendedGasRate() string

GetRecommendedGasRate returns the RecommendedGasRate field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetRecommendedGasRateOk

func (o *BaseQuoteResponse) GetRecommendedGasRateOk() (*string, bool)

GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetRecommendedMinAmountIn

func (o *BaseQuoteResponse) GetRecommendedMinAmountIn() string

GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetRecommendedMinAmountInOk

func (o *BaseQuoteResponse) GetRecommendedMinAmountInOk() (*string, bool)

GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetRouter

func (o *BaseQuoteResponse) GetRouter() string

GetRouter returns the Router field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetRouterOk

func (o *BaseQuoteResponse) GetRouterOk() (*string, bool)

GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) GetWarning

func (o *BaseQuoteResponse) GetWarning() string

GetWarning returns the Warning field value if set, zero value otherwise.

func (*BaseQuoteResponse) GetWarningOk

func (o *BaseQuoteResponse) GetWarningOk() (*string, bool)

GetWarningOk returns a tuple with the Warning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseQuoteResponse) HasDustThreshold

func (o *BaseQuoteResponse) HasDustThreshold() bool

HasDustThreshold returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasExpiry

func (o *BaseQuoteResponse) HasExpiry() bool

HasExpiry returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasFees

func (o *BaseQuoteResponse) HasFees() bool

HasFees returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasGasRateUnits

func (o *BaseQuoteResponse) HasGasRateUnits() bool

HasGasRateUnits returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasInboundAddress

func (o *BaseQuoteResponse) HasInboundAddress() bool

HasInboundAddress returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasInboundConfirmationBlocks

func (o *BaseQuoteResponse) HasInboundConfirmationBlocks() bool

HasInboundConfirmationBlocks returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasInboundConfirmationSeconds

func (o *BaseQuoteResponse) HasInboundConfirmationSeconds() bool

HasInboundConfirmationSeconds returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasNotes

func (o *BaseQuoteResponse) HasNotes() bool

HasNotes returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasOutboundDelayBlocks

func (o *BaseQuoteResponse) HasOutboundDelayBlocks() bool

HasOutboundDelayBlocks returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasOutboundDelaySeconds

func (o *BaseQuoteResponse) HasOutboundDelaySeconds() bool

HasOutboundDelaySeconds returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasRecommendedGasRate

func (o *BaseQuoteResponse) HasRecommendedGasRate() bool

HasRecommendedGasRate returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasRecommendedMinAmountIn

func (o *BaseQuoteResponse) HasRecommendedMinAmountIn() bool

HasRecommendedMinAmountIn returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasRouter

func (o *BaseQuoteResponse) HasRouter() bool

HasRouter returns a boolean if a field has been set.

func (*BaseQuoteResponse) HasWarning

func (o *BaseQuoteResponse) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (BaseQuoteResponse) MarshalJSON_deprecated

func (o BaseQuoteResponse) MarshalJSON_deprecated() ([]byte, error)

func (*BaseQuoteResponse) SetDustThreshold

func (o *BaseQuoteResponse) SetDustThreshold(v string)

SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.

func (*BaseQuoteResponse) SetExpiry

func (o *BaseQuoteResponse) SetExpiry(v int64)

SetExpiry gets a reference to the given int64 and assigns it to the Expiry field.

func (*BaseQuoteResponse) SetFees

func (o *BaseQuoteResponse) SetFees(v QuoteFees)

SetFees gets a reference to the given QuoteFees and assigns it to the Fees field.

func (*BaseQuoteResponse) SetGasRateUnits

func (o *BaseQuoteResponse) SetGasRateUnits(v string)

SetGasRateUnits gets a reference to the given string and assigns it to the GasRateUnits field.

func (*BaseQuoteResponse) SetInboundAddress

func (o *BaseQuoteResponse) SetInboundAddress(v string)

SetInboundAddress gets a reference to the given string and assigns it to the InboundAddress field.

func (*BaseQuoteResponse) SetInboundConfirmationBlocks

func (o *BaseQuoteResponse) SetInboundConfirmationBlocks(v int64)

SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.

func (*BaseQuoteResponse) SetInboundConfirmationSeconds

func (o *BaseQuoteResponse) SetInboundConfirmationSeconds(v int64)

SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.

func (*BaseQuoteResponse) SetNotes

func (o *BaseQuoteResponse) SetNotes(v string)

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (*BaseQuoteResponse) SetOutboundDelayBlocks

func (o *BaseQuoteResponse) SetOutboundDelayBlocks(v int64)

SetOutboundDelayBlocks gets a reference to the given int64 and assigns it to the OutboundDelayBlocks field.

func (*BaseQuoteResponse) SetOutboundDelaySeconds

func (o *BaseQuoteResponse) SetOutboundDelaySeconds(v int64)

SetOutboundDelaySeconds gets a reference to the given int64 and assigns it to the OutboundDelaySeconds field.

func (*BaseQuoteResponse) SetRecommendedGasRate

func (o *BaseQuoteResponse) SetRecommendedGasRate(v string)

SetRecommendedGasRate gets a reference to the given string and assigns it to the RecommendedGasRate field.

func (*BaseQuoteResponse) SetRecommendedMinAmountIn

func (o *BaseQuoteResponse) SetRecommendedMinAmountIn(v string)

SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.

func (*BaseQuoteResponse) SetRouter

func (o *BaseQuoteResponse) SetRouter(v string)

SetRouter gets a reference to the given string and assigns it to the Router field.

func (*BaseQuoteResponse) SetWarning

func (o *BaseQuoteResponse) SetWarning(v string)

SetWarning gets a reference to the given string and assigns it to the Warning field.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BlockApiService

type BlockApiService service

BlockApiService BlockApi service

func (*BlockApiService) Block

Block Method for Block

Returns verbose details of the block.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBlockRequest

func (*BlockApiService) BlockExecute

Execute executes the request

@return BlockResponse

type BlockResponse

type BlockResponse struct {
	Id               BlockResponseId     `json:"id"`
	Header           BlockResponseHeader `json:"header"`
	BeginBlockEvents []map[string]string `json:"begin_block_events"`
	EndBlockEvents   []map[string]string `json:"end_block_events"`
	Txs              []BlockTx           `json:"txs"`
}

BlockResponse struct for BlockResponse

func NewBlockResponse

func NewBlockResponse(id BlockResponseId, header BlockResponseHeader, beginBlockEvents []map[string]string, endBlockEvents []map[string]string, txs []BlockTx) *BlockResponse

NewBlockResponse instantiates a new BlockResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBlockResponseWithDefaults

func NewBlockResponseWithDefaults() *BlockResponse

NewBlockResponseWithDefaults instantiates a new BlockResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BlockResponse) GetBeginBlockEvents

func (o *BlockResponse) GetBeginBlockEvents() []map[string]string

GetBeginBlockEvents returns the BeginBlockEvents field value

func (*BlockResponse) GetBeginBlockEventsOk

func (o *BlockResponse) GetBeginBlockEventsOk() ([]map[string]string, bool)

GetBeginBlockEventsOk returns a tuple with the BeginBlockEvents field value and a boolean to check if the value has been set.

func (*BlockResponse) GetEndBlockEvents

func (o *BlockResponse) GetEndBlockEvents() []map[string]string

GetEndBlockEvents returns the EndBlockEvents field value

func (*BlockResponse) GetEndBlockEventsOk

func (o *BlockResponse) GetEndBlockEventsOk() ([]map[string]string, bool)

GetEndBlockEventsOk returns a tuple with the EndBlockEvents field value and a boolean to check if the value has been set.

func (*BlockResponse) GetHeader

func (o *BlockResponse) GetHeader() BlockResponseHeader

GetHeader returns the Header field value

func (*BlockResponse) GetHeaderOk

func (o *BlockResponse) GetHeaderOk() (*BlockResponseHeader, bool)

GetHeaderOk returns a tuple with the Header field value and a boolean to check if the value has been set.

func (*BlockResponse) GetId

func (o *BlockResponse) GetId() BlockResponseId

GetId returns the Id field value

func (*BlockResponse) GetIdOk

func (o *BlockResponse) GetIdOk() (*BlockResponseId, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*BlockResponse) GetTxs

func (o *BlockResponse) GetTxs() []BlockTx

GetTxs returns the Txs field value If the value is explicit nil, the zero value for []BlockTx will be returned

func (*BlockResponse) GetTxsOk

func (o *BlockResponse) GetTxsOk() ([]BlockTx, bool)

GetTxsOk returns a tuple with the Txs field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (BlockResponse) MarshalJSON_deprecated

func (o BlockResponse) MarshalJSON_deprecated() ([]byte, error)

func (*BlockResponse) SetBeginBlockEvents

func (o *BlockResponse) SetBeginBlockEvents(v []map[string]string)

SetBeginBlockEvents sets field value

func (*BlockResponse) SetEndBlockEvents

func (o *BlockResponse) SetEndBlockEvents(v []map[string]string)

SetEndBlockEvents sets field value

func (*BlockResponse) SetHeader

func (o *BlockResponse) SetHeader(v BlockResponseHeader)

SetHeader sets field value

func (*BlockResponse) SetId

func (o *BlockResponse) SetId(v BlockResponseId)

SetId sets field value

func (*BlockResponse) SetTxs

func (o *BlockResponse) SetTxs(v []BlockTx)

SetTxs sets field value

type BlockResponseHeader

type BlockResponseHeader struct {
	Version            BlockResponseHeaderVersion `json:"version"`
	ChainId            string                     `json:"chain_id"`
	Height             int64                      `json:"height"`
	Time               string                     `json:"time"`
	LastBlockId        BlockResponseId            `json:"last_block_id"`
	LastCommitHash     string                     `json:"last_commit_hash"`
	DataHash           string                     `json:"data_hash"`
	ValidatorsHash     string                     `json:"validators_hash"`
	NextValidatorsHash string                     `json:"next_validators_hash"`
	ConsensusHash      string                     `json:"consensus_hash"`
	AppHash            string                     `json:"app_hash"`
	LastResultsHash    string                     `json:"last_results_hash"`
	EvidenceHash       string                     `json:"evidence_hash"`
	ProposerAddress    string                     `json:"proposer_address"`
}

BlockResponseHeader struct for BlockResponseHeader

func NewBlockResponseHeader

func NewBlockResponseHeader(version BlockResponseHeaderVersion, chainId string, height int64, time string, lastBlockId BlockResponseId, lastCommitHash string, dataHash string, validatorsHash string, nextValidatorsHash string, consensusHash string, appHash string, lastResultsHash string, evidenceHash string, proposerAddress string) *BlockResponseHeader

NewBlockResponseHeader instantiates a new BlockResponseHeader object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBlockResponseHeaderWithDefaults

func NewBlockResponseHeaderWithDefaults() *BlockResponseHeader

NewBlockResponseHeaderWithDefaults instantiates a new BlockResponseHeader object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BlockResponseHeader) GetAppHash

func (o *BlockResponseHeader) GetAppHash() string

GetAppHash returns the AppHash field value

func (*BlockResponseHeader) GetAppHashOk

func (o *BlockResponseHeader) GetAppHashOk() (*string, bool)

GetAppHashOk returns a tuple with the AppHash field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetChainId

func (o *BlockResponseHeader) GetChainId() string

GetChainId returns the ChainId field value

func (*BlockResponseHeader) GetChainIdOk

func (o *BlockResponseHeader) GetChainIdOk() (*string, bool)

GetChainIdOk returns a tuple with the ChainId field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetConsensusHash

func (o *BlockResponseHeader) GetConsensusHash() string

GetConsensusHash returns the ConsensusHash field value

func (*BlockResponseHeader) GetConsensusHashOk

func (o *BlockResponseHeader) GetConsensusHashOk() (*string, bool)

GetConsensusHashOk returns a tuple with the ConsensusHash field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetDataHash

func (o *BlockResponseHeader) GetDataHash() string

GetDataHash returns the DataHash field value

func (*BlockResponseHeader) GetDataHashOk

func (o *BlockResponseHeader) GetDataHashOk() (*string, bool)

GetDataHashOk returns a tuple with the DataHash field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetEvidenceHash

func (o *BlockResponseHeader) GetEvidenceHash() string

GetEvidenceHash returns the EvidenceHash field value

func (*BlockResponseHeader) GetEvidenceHashOk

func (o *BlockResponseHeader) GetEvidenceHashOk() (*string, bool)

GetEvidenceHashOk returns a tuple with the EvidenceHash field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetHeight

func (o *BlockResponseHeader) GetHeight() int64

GetHeight returns the Height field value

func (*BlockResponseHeader) GetHeightOk

func (o *BlockResponseHeader) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetLastBlockId

func (o *BlockResponseHeader) GetLastBlockId() BlockResponseId

GetLastBlockId returns the LastBlockId field value

func (*BlockResponseHeader) GetLastBlockIdOk

func (o *BlockResponseHeader) GetLastBlockIdOk() (*BlockResponseId, bool)

GetLastBlockIdOk returns a tuple with the LastBlockId field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetLastCommitHash

func (o *BlockResponseHeader) GetLastCommitHash() string

GetLastCommitHash returns the LastCommitHash field value

func (*BlockResponseHeader) GetLastCommitHashOk

func (o *BlockResponseHeader) GetLastCommitHashOk() (*string, bool)

GetLastCommitHashOk returns a tuple with the LastCommitHash field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetLastResultsHash

func (o *BlockResponseHeader) GetLastResultsHash() string

GetLastResultsHash returns the LastResultsHash field value

func (*BlockResponseHeader) GetLastResultsHashOk

func (o *BlockResponseHeader) GetLastResultsHashOk() (*string, bool)

GetLastResultsHashOk returns a tuple with the LastResultsHash field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetNextValidatorsHash

func (o *BlockResponseHeader) GetNextValidatorsHash() string

GetNextValidatorsHash returns the NextValidatorsHash field value

func (*BlockResponseHeader) GetNextValidatorsHashOk

func (o *BlockResponseHeader) GetNextValidatorsHashOk() (*string, bool)

GetNextValidatorsHashOk returns a tuple with the NextValidatorsHash field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetProposerAddress

func (o *BlockResponseHeader) GetProposerAddress() string

GetProposerAddress returns the ProposerAddress field value

func (*BlockResponseHeader) GetProposerAddressOk

func (o *BlockResponseHeader) GetProposerAddressOk() (*string, bool)

GetProposerAddressOk returns a tuple with the ProposerAddress field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetTime

func (o *BlockResponseHeader) GetTime() string

GetTime returns the Time field value

func (*BlockResponseHeader) GetTimeOk

func (o *BlockResponseHeader) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetValidatorsHash

func (o *BlockResponseHeader) GetValidatorsHash() string

GetValidatorsHash returns the ValidatorsHash field value

func (*BlockResponseHeader) GetValidatorsHashOk

func (o *BlockResponseHeader) GetValidatorsHashOk() (*string, bool)

GetValidatorsHashOk returns a tuple with the ValidatorsHash field value and a boolean to check if the value has been set.

func (*BlockResponseHeader) GetVersion

GetVersion returns the Version field value

func (*BlockResponseHeader) GetVersionOk

func (o *BlockResponseHeader) GetVersionOk() (*BlockResponseHeaderVersion, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (BlockResponseHeader) MarshalJSON_deprecated

func (o BlockResponseHeader) MarshalJSON_deprecated() ([]byte, error)

func (*BlockResponseHeader) SetAppHash

func (o *BlockResponseHeader) SetAppHash(v string)

SetAppHash sets field value

func (*BlockResponseHeader) SetChainId

func (o *BlockResponseHeader) SetChainId(v string)

SetChainId sets field value

func (*BlockResponseHeader) SetConsensusHash

func (o *BlockResponseHeader) SetConsensusHash(v string)

SetConsensusHash sets field value

func (*BlockResponseHeader) SetDataHash

func (o *BlockResponseHeader) SetDataHash(v string)

SetDataHash sets field value

func (*BlockResponseHeader) SetEvidenceHash

func (o *BlockResponseHeader) SetEvidenceHash(v string)

SetEvidenceHash sets field value

func (*BlockResponseHeader) SetHeight

func (o *BlockResponseHeader) SetHeight(v int64)

SetHeight sets field value

func (*BlockResponseHeader) SetLastBlockId

func (o *BlockResponseHeader) SetLastBlockId(v BlockResponseId)

SetLastBlockId sets field value

func (*BlockResponseHeader) SetLastCommitHash

func (o *BlockResponseHeader) SetLastCommitHash(v string)

SetLastCommitHash sets field value

func (*BlockResponseHeader) SetLastResultsHash

func (o *BlockResponseHeader) SetLastResultsHash(v string)

SetLastResultsHash sets field value

func (*BlockResponseHeader) SetNextValidatorsHash

func (o *BlockResponseHeader) SetNextValidatorsHash(v string)

SetNextValidatorsHash sets field value

func (*BlockResponseHeader) SetProposerAddress

func (o *BlockResponseHeader) SetProposerAddress(v string)

SetProposerAddress sets field value

func (*BlockResponseHeader) SetTime

func (o *BlockResponseHeader) SetTime(v string)

SetTime sets field value

func (*BlockResponseHeader) SetValidatorsHash

func (o *BlockResponseHeader) SetValidatorsHash(v string)

SetValidatorsHash sets field value

func (*BlockResponseHeader) SetVersion

SetVersion sets field value

type BlockResponseHeaderVersion

type BlockResponseHeaderVersion struct {
	Block string `json:"block"`
	App   string `json:"app"`
}

BlockResponseHeaderVersion struct for BlockResponseHeaderVersion

func NewBlockResponseHeaderVersion

func NewBlockResponseHeaderVersion(block string, app string) *BlockResponseHeaderVersion

NewBlockResponseHeaderVersion instantiates a new BlockResponseHeaderVersion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBlockResponseHeaderVersionWithDefaults

func NewBlockResponseHeaderVersionWithDefaults() *BlockResponseHeaderVersion

NewBlockResponseHeaderVersionWithDefaults instantiates a new BlockResponseHeaderVersion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BlockResponseHeaderVersion) GetApp

func (o *BlockResponseHeaderVersion) GetApp() string

GetApp returns the App field value

func (*BlockResponseHeaderVersion) GetAppOk

func (o *BlockResponseHeaderVersion) GetAppOk() (*string, bool)

GetAppOk returns a tuple with the App field value and a boolean to check if the value has been set.

func (*BlockResponseHeaderVersion) GetBlock

func (o *BlockResponseHeaderVersion) GetBlock() string

GetBlock returns the Block field value

func (*BlockResponseHeaderVersion) GetBlockOk

func (o *BlockResponseHeaderVersion) GetBlockOk() (*string, bool)

GetBlockOk returns a tuple with the Block field value and a boolean to check if the value has been set.

func (BlockResponseHeaderVersion) MarshalJSON_deprecated

func (o BlockResponseHeaderVersion) MarshalJSON_deprecated() ([]byte, error)

func (*BlockResponseHeaderVersion) SetApp

func (o *BlockResponseHeaderVersion) SetApp(v string)

SetApp sets field value

func (*BlockResponseHeaderVersion) SetBlock

func (o *BlockResponseHeaderVersion) SetBlock(v string)

SetBlock sets field value

type BlockResponseId

type BlockResponseId struct {
	Hash  string               `json:"hash"`
	Parts BlockResponseIdParts `json:"parts"`
}

BlockResponseId struct for BlockResponseId

func NewBlockResponseId

func NewBlockResponseId(hash string, parts BlockResponseIdParts) *BlockResponseId

NewBlockResponseId instantiates a new BlockResponseId object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBlockResponseIdWithDefaults

func NewBlockResponseIdWithDefaults() *BlockResponseId

NewBlockResponseIdWithDefaults instantiates a new BlockResponseId object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BlockResponseId) GetHash

func (o *BlockResponseId) GetHash() string

GetHash returns the Hash field value

func (*BlockResponseId) GetHashOk

func (o *BlockResponseId) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (*BlockResponseId) GetParts

func (o *BlockResponseId) GetParts() BlockResponseIdParts

GetParts returns the Parts field value

func (*BlockResponseId) GetPartsOk

func (o *BlockResponseId) GetPartsOk() (*BlockResponseIdParts, bool)

GetPartsOk returns a tuple with the Parts field value and a boolean to check if the value has been set.

func (BlockResponseId) MarshalJSON_deprecated

func (o BlockResponseId) MarshalJSON_deprecated() ([]byte, error)

func (*BlockResponseId) SetHash

func (o *BlockResponseId) SetHash(v string)

SetHash sets field value

func (*BlockResponseId) SetParts

func (o *BlockResponseId) SetParts(v BlockResponseIdParts)

SetParts sets field value

type BlockResponseIdParts

type BlockResponseIdParts struct {
	Total int64  `json:"total"`
	Hash  string `json:"hash"`
}

BlockResponseIdParts struct for BlockResponseIdParts

func NewBlockResponseIdParts

func NewBlockResponseIdParts(total int64, hash string) *BlockResponseIdParts

NewBlockResponseIdParts instantiates a new BlockResponseIdParts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBlockResponseIdPartsWithDefaults

func NewBlockResponseIdPartsWithDefaults() *BlockResponseIdParts

NewBlockResponseIdPartsWithDefaults instantiates a new BlockResponseIdParts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BlockResponseIdParts) GetHash

func (o *BlockResponseIdParts) GetHash() string

GetHash returns the Hash field value

func (*BlockResponseIdParts) GetHashOk

func (o *BlockResponseIdParts) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (*BlockResponseIdParts) GetTotal

func (o *BlockResponseIdParts) GetTotal() int64

GetTotal returns the Total field value

func (*BlockResponseIdParts) GetTotalOk

func (o *BlockResponseIdParts) GetTotalOk() (*int64, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (BlockResponseIdParts) MarshalJSON_deprecated

func (o BlockResponseIdParts) MarshalJSON_deprecated() ([]byte, error)

func (*BlockResponseIdParts) SetHash

func (o *BlockResponseIdParts) SetHash(v string)

SetHash sets field value

func (*BlockResponseIdParts) SetTotal

func (o *BlockResponseIdParts) SetTotal(v int64)

SetTotal sets field value

type BlockTx

type BlockTx struct {
	Hash   string                 `json:"hash"`
	Tx     map[string]interface{} `json:"tx"`
	Result BlockTxResult          `json:"result"`
}

BlockTx struct for BlockTx

func NewBlockTx

func NewBlockTx(hash string, tx map[string]interface{}, result BlockTxResult) *BlockTx

NewBlockTx instantiates a new BlockTx object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBlockTxWithDefaults

func NewBlockTxWithDefaults() *BlockTx

NewBlockTxWithDefaults instantiates a new BlockTx object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BlockTx) GetHash

func (o *BlockTx) GetHash() string

GetHash returns the Hash field value

func (*BlockTx) GetHashOk

func (o *BlockTx) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (*BlockTx) GetResult

func (o *BlockTx) GetResult() BlockTxResult

GetResult returns the Result field value

func (*BlockTx) GetResultOk

func (o *BlockTx) GetResultOk() (*BlockTxResult, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (*BlockTx) GetTx

func (o *BlockTx) GetTx() map[string]interface{}

GetTx returns the Tx field value

func (*BlockTx) GetTxOk

func (o *BlockTx) GetTxOk() (map[string]interface{}, bool)

GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.

func (BlockTx) MarshalJSON_deprecated

func (o BlockTx) MarshalJSON_deprecated() ([]byte, error)

func (*BlockTx) SetHash

func (o *BlockTx) SetHash(v string)

SetHash sets field value

func (*BlockTx) SetResult

func (o *BlockTx) SetResult(v BlockTxResult)

SetResult sets field value

func (*BlockTx) SetTx

func (o *BlockTx) SetTx(v map[string]interface{})

SetTx sets field value

type BlockTxResult

type BlockTxResult struct {
	Code      *int64              `json:"code,omitempty"`
	Data      *string             `json:"data,omitempty"`
	Log       *string             `json:"log,omitempty"`
	Info      *string             `json:"info,omitempty"`
	GasWanted *string             `json:"gas_wanted,omitempty"`
	GasUsed   *string             `json:"gas_used,omitempty"`
	Events    []map[string]string `json:"events,omitempty"`
	Codespace *string             `json:"codespace,omitempty"`
}

BlockTxResult struct for BlockTxResult

func NewBlockTxResult

func NewBlockTxResult() *BlockTxResult

NewBlockTxResult instantiates a new BlockTxResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBlockTxResultWithDefaults

func NewBlockTxResultWithDefaults() *BlockTxResult

NewBlockTxResultWithDefaults instantiates a new BlockTxResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BlockTxResult) GetCode

func (o *BlockTxResult) GetCode() int64

GetCode returns the Code field value if set, zero value otherwise.

func (*BlockTxResult) GetCodeOk

func (o *BlockTxResult) GetCodeOk() (*int64, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlockTxResult) GetCodespace

func (o *BlockTxResult) GetCodespace() string

GetCodespace returns the Codespace field value if set, zero value otherwise.

func (*BlockTxResult) GetCodespaceOk

func (o *BlockTxResult) GetCodespaceOk() (*string, bool)

GetCodespaceOk returns a tuple with the Codespace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlockTxResult) GetData

func (o *BlockTxResult) GetData() string

GetData returns the Data field value if set, zero value otherwise.

func (*BlockTxResult) GetDataOk

func (o *BlockTxResult) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlockTxResult) GetEvents

func (o *BlockTxResult) GetEvents() []map[string]string

GetEvents returns the Events field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BlockTxResult) GetEventsOk

func (o *BlockTxResult) GetEventsOk() ([]map[string]string, bool)

GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockTxResult) GetGasUsed

func (o *BlockTxResult) GetGasUsed() string

GetGasUsed returns the GasUsed field value if set, zero value otherwise.

func (*BlockTxResult) GetGasUsedOk

func (o *BlockTxResult) GetGasUsedOk() (*string, bool)

GetGasUsedOk returns a tuple with the GasUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlockTxResult) GetGasWanted

func (o *BlockTxResult) GetGasWanted() string

GetGasWanted returns the GasWanted field value if set, zero value otherwise.

func (*BlockTxResult) GetGasWantedOk

func (o *BlockTxResult) GetGasWantedOk() (*string, bool)

GetGasWantedOk returns a tuple with the GasWanted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlockTxResult) GetInfo

func (o *BlockTxResult) GetInfo() string

GetInfo returns the Info field value if set, zero value otherwise.

func (*BlockTxResult) GetInfoOk

func (o *BlockTxResult) GetInfoOk() (*string, bool)

GetInfoOk returns a tuple with the Info field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlockTxResult) GetLog

func (o *BlockTxResult) GetLog() string

GetLog returns the Log field value if set, zero value otherwise.

func (*BlockTxResult) GetLogOk

func (o *BlockTxResult) GetLogOk() (*string, bool)

GetLogOk returns a tuple with the Log field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlockTxResult) HasCode

func (o *BlockTxResult) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*BlockTxResult) HasCodespace

func (o *BlockTxResult) HasCodespace() bool

HasCodespace returns a boolean if a field has been set.

func (*BlockTxResult) HasData

func (o *BlockTxResult) HasData() bool

HasData returns a boolean if a field has been set.

func (*BlockTxResult) HasEvents

func (o *BlockTxResult) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*BlockTxResult) HasGasUsed

func (o *BlockTxResult) HasGasUsed() bool

HasGasUsed returns a boolean if a field has been set.

func (*BlockTxResult) HasGasWanted

func (o *BlockTxResult) HasGasWanted() bool

HasGasWanted returns a boolean if a field has been set.

func (*BlockTxResult) HasInfo

func (o *BlockTxResult) HasInfo() bool

HasInfo returns a boolean if a field has been set.

func (*BlockTxResult) HasLog

func (o *BlockTxResult) HasLog() bool

HasLog returns a boolean if a field has been set.

func (BlockTxResult) MarshalJSON_deprecated

func (o BlockTxResult) MarshalJSON_deprecated() ([]byte, error)

func (*BlockTxResult) SetCode

func (o *BlockTxResult) SetCode(v int64)

SetCode gets a reference to the given int64 and assigns it to the Code field.

func (*BlockTxResult) SetCodespace

func (o *BlockTxResult) SetCodespace(v string)

SetCodespace gets a reference to the given string and assigns it to the Codespace field.

func (*BlockTxResult) SetData

func (o *BlockTxResult) SetData(v string)

SetData gets a reference to the given string and assigns it to the Data field.

func (*BlockTxResult) SetEvents

func (o *BlockTxResult) SetEvents(v []map[string]string)

SetEvents gets a reference to the given []map[string]string and assigns it to the Events field.

func (*BlockTxResult) SetGasUsed

func (o *BlockTxResult) SetGasUsed(v string)

SetGasUsed gets a reference to the given string and assigns it to the GasUsed field.

func (*BlockTxResult) SetGasWanted

func (o *BlockTxResult) SetGasWanted(v string)

SetGasWanted gets a reference to the given string and assigns it to the GasWanted field.

func (*BlockTxResult) SetInfo

func (o *BlockTxResult) SetInfo(v string)

SetInfo gets a reference to the given string and assigns it to the Info field.

func (*BlockTxResult) SetLog

func (o *BlockTxResult) SetLog(v string)

SetLog gets a reference to the given string and assigns it to the Log field.

type Borrower

type Borrower struct {
	Owner               string `json:"owner"`
	Asset               string `json:"asset"`
	DebtIssued          string `json:"debt_issued"`
	DebtRepaid          string `json:"debt_repaid"`
	DebtCurrent         string `json:"debt_current"`
	CollateralDeposited string `json:"collateral_deposited"`
	CollateralWithdrawn string `json:"collateral_withdrawn"`
	CollateralCurrent   string `json:"collateral_current"`
	LastOpenHeight      int64  `json:"last_open_height"`
	LastRepayHeight     int64  `json:"last_repay_height"`
}

Borrower struct for Borrower

func NewBorrower

func NewBorrower(owner string, asset string, debtIssued string, debtRepaid string, debtCurrent string, collateralDeposited string, collateralWithdrawn string, collateralCurrent string, lastOpenHeight int64, lastRepayHeight int64) *Borrower

NewBorrower instantiates a new Borrower object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBorrowerWithDefaults

func NewBorrowerWithDefaults() *Borrower

NewBorrowerWithDefaults instantiates a new Borrower object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Borrower) GetAsset

func (o *Borrower) GetAsset() string

GetAsset returns the Asset field value

func (*Borrower) GetAssetOk

func (o *Borrower) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*Borrower) GetCollateralCurrent

func (o *Borrower) GetCollateralCurrent() string

GetCollateralCurrent returns the CollateralCurrent field value

func (*Borrower) GetCollateralCurrentOk

func (o *Borrower) GetCollateralCurrentOk() (*string, bool)

GetCollateralCurrentOk returns a tuple with the CollateralCurrent field value and a boolean to check if the value has been set.

func (*Borrower) GetCollateralDeposited

func (o *Borrower) GetCollateralDeposited() string

GetCollateralDeposited returns the CollateralDeposited field value

func (*Borrower) GetCollateralDepositedOk

func (o *Borrower) GetCollateralDepositedOk() (*string, bool)

GetCollateralDepositedOk returns a tuple with the CollateralDeposited field value and a boolean to check if the value has been set.

func (*Borrower) GetCollateralWithdrawn

func (o *Borrower) GetCollateralWithdrawn() string

GetCollateralWithdrawn returns the CollateralWithdrawn field value

func (*Borrower) GetCollateralWithdrawnOk

func (o *Borrower) GetCollateralWithdrawnOk() (*string, bool)

GetCollateralWithdrawnOk returns a tuple with the CollateralWithdrawn field value and a boolean to check if the value has been set.

func (*Borrower) GetDebtCurrent

func (o *Borrower) GetDebtCurrent() string

GetDebtCurrent returns the DebtCurrent field value

func (*Borrower) GetDebtCurrentOk

func (o *Borrower) GetDebtCurrentOk() (*string, bool)

GetDebtCurrentOk returns a tuple with the DebtCurrent field value and a boolean to check if the value has been set.

func (*Borrower) GetDebtIssued

func (o *Borrower) GetDebtIssued() string

GetDebtIssued returns the DebtIssued field value

func (*Borrower) GetDebtIssuedOk

func (o *Borrower) GetDebtIssuedOk() (*string, bool)

GetDebtIssuedOk returns a tuple with the DebtIssued field value and a boolean to check if the value has been set.

func (*Borrower) GetDebtRepaid

func (o *Borrower) GetDebtRepaid() string

GetDebtRepaid returns the DebtRepaid field value

func (*Borrower) GetDebtRepaidOk

func (o *Borrower) GetDebtRepaidOk() (*string, bool)

GetDebtRepaidOk returns a tuple with the DebtRepaid field value and a boolean to check if the value has been set.

func (*Borrower) GetLastOpenHeight

func (o *Borrower) GetLastOpenHeight() int64

GetLastOpenHeight returns the LastOpenHeight field value

func (*Borrower) GetLastOpenHeightOk

func (o *Borrower) GetLastOpenHeightOk() (*int64, bool)

GetLastOpenHeightOk returns a tuple with the LastOpenHeight field value and a boolean to check if the value has been set.

func (*Borrower) GetLastRepayHeight

func (o *Borrower) GetLastRepayHeight() int64

GetLastRepayHeight returns the LastRepayHeight field value

func (*Borrower) GetLastRepayHeightOk

func (o *Borrower) GetLastRepayHeightOk() (*int64, bool)

GetLastRepayHeightOk returns a tuple with the LastRepayHeight field value and a boolean to check if the value has been set.

func (*Borrower) GetOwner

func (o *Borrower) GetOwner() string

GetOwner returns the Owner field value

func (*Borrower) GetOwnerOk

func (o *Borrower) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.

func (Borrower) MarshalJSON_deprecated

func (o Borrower) MarshalJSON_deprecated() ([]byte, error)

func (*Borrower) SetAsset

func (o *Borrower) SetAsset(v string)

SetAsset sets field value

func (*Borrower) SetCollateralCurrent

func (o *Borrower) SetCollateralCurrent(v string)

SetCollateralCurrent sets field value

func (*Borrower) SetCollateralDeposited

func (o *Borrower) SetCollateralDeposited(v string)

SetCollateralDeposited sets field value

func (*Borrower) SetCollateralWithdrawn

func (o *Borrower) SetCollateralWithdrawn(v string)

SetCollateralWithdrawn sets field value

func (*Borrower) SetDebtCurrent

func (o *Borrower) SetDebtCurrent(v string)

SetDebtCurrent sets field value

func (*Borrower) SetDebtIssued

func (o *Borrower) SetDebtIssued(v string)

SetDebtIssued sets field value

func (*Borrower) SetDebtRepaid

func (o *Borrower) SetDebtRepaid(v string)

SetDebtRepaid sets field value

func (*Borrower) SetLastOpenHeight

func (o *Borrower) SetLastOpenHeight(v int64)

SetLastOpenHeight sets field value

func (*Borrower) SetLastRepayHeight

func (o *Borrower) SetLastRepayHeight(v int64)

SetLastRepayHeight sets field value

func (*Borrower) SetOwner

func (o *Borrower) SetOwner(v string)

SetOwner sets field value

type BorrowersApiService

type BorrowersApiService service

BorrowersApiService BorrowersApi service

func (*BorrowersApiService) Borrower

func (a *BorrowersApiService) Borrower(ctx context.Context, asset string, address string) ApiBorrowerRequest

Borrower Method for Borrower

Returns the borrower position given the pool and address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@param address
@return ApiBorrowerRequest

func (*BorrowersApiService) BorrowerExecute

func (a *BorrowersApiService) BorrowerExecute(r ApiBorrowerRequest) (*Borrower, *http.Response, error)

Execute executes the request

@return Borrower

func (*BorrowersApiService) Borrowers

Borrowers Method for Borrowers

Returns all borrowers for the given pool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiBorrowersRequest

func (*BorrowersApiService) BorrowersExecute

func (a *BorrowersApiService) BorrowersExecute(r ApiBorrowersRequest) ([]Borrower, *http.Response, error)

Execute executes the request

@return []Borrower

type ChainHeight

type ChainHeight struct {
	Chain  string `json:"chain"`
	Height int64  `json:"height"`
}

ChainHeight struct for ChainHeight

func NewChainHeight

func NewChainHeight(chain string, height int64) *ChainHeight

NewChainHeight instantiates a new ChainHeight object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewChainHeightWithDefaults

func NewChainHeightWithDefaults() *ChainHeight

NewChainHeightWithDefaults instantiates a new ChainHeight object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ChainHeight) GetChain

func (o *ChainHeight) GetChain() string

GetChain returns the Chain field value

func (*ChainHeight) GetChainOk

func (o *ChainHeight) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value and a boolean to check if the value has been set.

func (*ChainHeight) GetHeight

func (o *ChainHeight) GetHeight() int64

GetHeight returns the Height field value

func (*ChainHeight) GetHeightOk

func (o *ChainHeight) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.

func (ChainHeight) MarshalJSON_deprecated

func (o ChainHeight) MarshalJSON_deprecated() ([]byte, error)

func (*ChainHeight) SetChain

func (o *ChainHeight) SetChain(v string)

SetChain sets field value

func (*ChainHeight) SetHeight

func (o *ChainHeight) SetHeight(v int64)

SetHeight sets field value

type CloutApiService

type CloutApiService service

CloutApiService CloutApi service

func (*CloutApiService) SwapperClout

func (a *CloutApiService) SwapperClout(ctx context.Context, address string) ApiSwapperCloutRequest

SwapperClout Method for SwapperClout

Returns the clout score of an address

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address
@return ApiSwapperCloutRequest

func (*CloutApiService) SwapperCloutExecute

Execute executes the request

@return SwapperCloutResponse

type Coin

type Coin struct {
	Asset    string `json:"asset"`
	Amount   string `json:"amount"`
	Decimals *int64 `json:"decimals,omitempty"`
}

Coin struct for Coin

func NewCoin

func NewCoin(asset string, amount string) *Coin

NewCoin instantiates a new Coin object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCoinWithDefaults

func NewCoinWithDefaults() *Coin

NewCoinWithDefaults instantiates a new Coin object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Coin) GetAmount

func (o *Coin) GetAmount() string

GetAmount returns the Amount field value

func (*Coin) GetAmountOk

func (o *Coin) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*Coin) GetAsset

func (o *Coin) GetAsset() string

GetAsset returns the Asset field value

func (*Coin) GetAssetOk

func (o *Coin) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*Coin) GetDecimals

func (o *Coin) GetDecimals() int64

GetDecimals returns the Decimals field value if set, zero value otherwise.

func (*Coin) GetDecimalsOk

func (o *Coin) GetDecimalsOk() (*int64, bool)

GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Coin) HasDecimals

func (o *Coin) HasDecimals() bool

HasDecimals returns a boolean if a field has been set.

func (Coin) MarshalJSON_deprecated

func (o Coin) MarshalJSON_deprecated() ([]byte, error)

func (*Coin) SetAmount

func (o *Coin) SetAmount(v string)

SetAmount sets field value

func (*Coin) SetAsset

func (o *Coin) SetAsset(v string)

SetAsset sets field value

func (*Coin) SetDecimals

func (o *Coin) SetDecimals(v int64)

SetDecimals gets a reference to the given int64 and assigns it to the Decimals field.

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ConstantsResponse

type ConstantsResponse struct {
	Int64Values  *map[string]string `json:"int_64_values,omitempty"`
	BoolValues   *map[string]string `json:"bool_values,omitempty"`
	StringValues *map[string]string `json:"string_values,omitempty"`
}

ConstantsResponse struct for ConstantsResponse

func NewConstantsResponse

func NewConstantsResponse() *ConstantsResponse

NewConstantsResponse instantiates a new ConstantsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConstantsResponseWithDefaults

func NewConstantsResponseWithDefaults() *ConstantsResponse

NewConstantsResponseWithDefaults instantiates a new ConstantsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConstantsResponse) GetBoolValues

func (o *ConstantsResponse) GetBoolValues() map[string]string

GetBoolValues returns the BoolValues field value if set, zero value otherwise.

func (*ConstantsResponse) GetBoolValuesOk

func (o *ConstantsResponse) GetBoolValuesOk() (*map[string]string, bool)

GetBoolValuesOk returns a tuple with the BoolValues field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConstantsResponse) GetInt64Values

func (o *ConstantsResponse) GetInt64Values() map[string]string

GetInt64Values returns the Int64Values field value if set, zero value otherwise.

func (*ConstantsResponse) GetInt64ValuesOk

func (o *ConstantsResponse) GetInt64ValuesOk() (*map[string]string, bool)

GetInt64ValuesOk returns a tuple with the Int64Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConstantsResponse) GetStringValues

func (o *ConstantsResponse) GetStringValues() map[string]string

GetStringValues returns the StringValues field value if set, zero value otherwise.

func (*ConstantsResponse) GetStringValuesOk

func (o *ConstantsResponse) GetStringValuesOk() (*map[string]string, bool)

GetStringValuesOk returns a tuple with the StringValues field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConstantsResponse) HasBoolValues

func (o *ConstantsResponse) HasBoolValues() bool

HasBoolValues returns a boolean if a field has been set.

func (*ConstantsResponse) HasInt64Values

func (o *ConstantsResponse) HasInt64Values() bool

HasInt64Values returns a boolean if a field has been set.

func (*ConstantsResponse) HasStringValues

func (o *ConstantsResponse) HasStringValues() bool

HasStringValues returns a boolean if a field has been set.

func (ConstantsResponse) MarshalJSON_deprecated

func (o ConstantsResponse) MarshalJSON_deprecated() ([]byte, error)

func (*ConstantsResponse) SetBoolValues

func (o *ConstantsResponse) SetBoolValues(v map[string]string)

SetBoolValues gets a reference to the given map[string]string and assigns it to the BoolValues field.

func (*ConstantsResponse) SetInt64Values

func (o *ConstantsResponse) SetInt64Values(v map[string]string)

SetInt64Values gets a reference to the given map[string]string and assigns it to the Int64Values field.

func (*ConstantsResponse) SetStringValues

func (o *ConstantsResponse) SetStringValues(v map[string]string)

SetStringValues gets a reference to the given map[string]string and assigns it to the StringValues field.

type DerivedPool

type DerivedPool struct {
	Asset        string `json:"asset"`
	Status       string `json:"status"`
	Decimals     *int64 `json:"decimals,omitempty"`
	BalanceAsset string `json:"balance_asset"`
	BalanceRune  string `json:"balance_rune"`
	// the depth of the derived virtual pool relative to L1 pool (in basis points)
	DerivedDepthBps string `json:"derived_depth_bps"`
}

DerivedPool struct for DerivedPool

func NewDerivedPool

func NewDerivedPool(asset string, status string, balanceAsset string, balanceRune string, derivedDepthBps string) *DerivedPool

NewDerivedPool instantiates a new DerivedPool object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDerivedPoolWithDefaults

func NewDerivedPoolWithDefaults() *DerivedPool

NewDerivedPoolWithDefaults instantiates a new DerivedPool object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DerivedPool) GetAsset

func (o *DerivedPool) GetAsset() string

GetAsset returns the Asset field value

func (*DerivedPool) GetAssetOk

func (o *DerivedPool) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*DerivedPool) GetBalanceAsset

func (o *DerivedPool) GetBalanceAsset() string

GetBalanceAsset returns the BalanceAsset field value

func (*DerivedPool) GetBalanceAssetOk

func (o *DerivedPool) GetBalanceAssetOk() (*string, bool)

GetBalanceAssetOk returns a tuple with the BalanceAsset field value and a boolean to check if the value has been set.

func (*DerivedPool) GetBalanceRune

func (o *DerivedPool) GetBalanceRune() string

GetBalanceRune returns the BalanceRune field value

func (*DerivedPool) GetBalanceRuneOk

func (o *DerivedPool) GetBalanceRuneOk() (*string, bool)

GetBalanceRuneOk returns a tuple with the BalanceRune field value and a boolean to check if the value has been set.

func (*DerivedPool) GetDecimals

func (o *DerivedPool) GetDecimals() int64

GetDecimals returns the Decimals field value if set, zero value otherwise.

func (*DerivedPool) GetDecimalsOk

func (o *DerivedPool) GetDecimalsOk() (*int64, bool)

GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DerivedPool) GetDerivedDepthBps

func (o *DerivedPool) GetDerivedDepthBps() string

GetDerivedDepthBps returns the DerivedDepthBps field value

func (*DerivedPool) GetDerivedDepthBpsOk

func (o *DerivedPool) GetDerivedDepthBpsOk() (*string, bool)

GetDerivedDepthBpsOk returns a tuple with the DerivedDepthBps field value and a boolean to check if the value has been set.

func (*DerivedPool) GetStatus

func (o *DerivedPool) GetStatus() string

GetStatus returns the Status field value

func (*DerivedPool) GetStatusOk

func (o *DerivedPool) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*DerivedPool) HasDecimals

func (o *DerivedPool) HasDecimals() bool

HasDecimals returns a boolean if a field has been set.

func (DerivedPool) MarshalJSON_deprecated

func (o DerivedPool) MarshalJSON_deprecated() ([]byte, error)

func (*DerivedPool) SetAsset

func (o *DerivedPool) SetAsset(v string)

SetAsset sets field value

func (*DerivedPool) SetBalanceAsset

func (o *DerivedPool) SetBalanceAsset(v string)

SetBalanceAsset sets field value

func (*DerivedPool) SetBalanceRune

func (o *DerivedPool) SetBalanceRune(v string)

SetBalanceRune sets field value

func (*DerivedPool) SetDecimals

func (o *DerivedPool) SetDecimals(v int64)

SetDecimals gets a reference to the given int64 and assigns it to the Decimals field.

func (*DerivedPool) SetDerivedDepthBps

func (o *DerivedPool) SetDerivedDepthBps(v string)

SetDerivedDepthBps sets field value

func (*DerivedPool) SetStatus

func (o *DerivedPool) SetStatus(v string)

SetStatus sets field value

type ExportApiService

type ExportApiService service

ExportApiService ExportApi service

func (*ExportApiService) Export

Export Method for Export

Returns genesis export

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiExportRequest

func (*ExportApiService) ExportExecute

func (a *ExportApiService) ExportExecute(r ApiExportRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

type ExportResponse

type ExportResponse struct {
	Content *string `json:"content,omitempty"`
}

ExportResponse struct for ExportResponse

func NewExportResponse

func NewExportResponse() *ExportResponse

NewExportResponse instantiates a new ExportResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExportResponseWithDefaults

func NewExportResponseWithDefaults() *ExportResponse

NewExportResponseWithDefaults instantiates a new ExportResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExportResponse) GetContent

func (o *ExportResponse) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*ExportResponse) GetContentOk

func (o *ExportResponse) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportResponse) HasContent

func (o *ExportResponse) HasContent() bool

HasContent returns a boolean if a field has been set.

func (ExportResponse) MarshalJSON_deprecated

func (o ExportResponse) MarshalJSON_deprecated() ([]byte, error)

func (*ExportResponse) SetContent

func (o *ExportResponse) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HealthApiService

type HealthApiService service

HealthApiService HealthApi service

func (*HealthApiService) Ping

Ping Method for Ping

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPingRequest

func (*HealthApiService) PingExecute

func (a *HealthApiService) PingExecute(r ApiPingRequest) (*Ping, *http.Response, error)

Execute executes the request

@return Ping

type InboundAddress

type InboundAddress struct {
	Chain   *string `json:"chain,omitempty"`
	PubKey  *string `json:"pub_key,omitempty"`
	Address *string `json:"address,omitempty"`
	Router  *string `json:"router,omitempty"`
	// Returns true if trading is unavailable for this chain, either because trading is halted globally or specifically for this chain
	Halted bool `json:"halted"`
	// Returns true if trading is paused globally
	GlobalTradingPaused *bool `json:"global_trading_paused,omitempty"`
	// Returns true if trading is paused for this chain
	ChainTradingPaused *bool `json:"chain_trading_paused,omitempty"`
	// Returns true if LP actions are paused for this chain
	ChainLpActionsPaused *bool `json:"chain_lp_actions_paused,omitempty"`
	// The minimum fee rate used by vaults to send outbound TXs. The actual fee rate may be higher. For EVM chains this is returned in gwei (1e9).
	GasRate *string `json:"gas_rate,omitempty"`
	// Units of the gas_rate.
	GasRateUnits *string `json:"gas_rate_units,omitempty"`
	// Avg size of outbound TXs on each chain. For UTXO chains it may be larger than average, as it takes into account vault consolidation txs, which can have many vouts
	OutboundTxSize *string `json:"outbound_tx_size,omitempty"`
	// The total outbound fee charged to the user for outbound txs in the gas asset of the chain.
	OutboundFee *string `json:"outbound_fee,omitempty"`
	// Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.
	DustThreshold *string `json:"dust_threshold,omitempty"`
}

InboundAddress struct for InboundAddress

func NewInboundAddress

func NewInboundAddress(halted bool) *InboundAddress

NewInboundAddress instantiates a new InboundAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInboundAddressWithDefaults

func NewInboundAddressWithDefaults() *InboundAddress

NewInboundAddressWithDefaults instantiates a new InboundAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InboundAddress) GetAddress

func (o *InboundAddress) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*InboundAddress) GetAddressOk

func (o *InboundAddress) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetChain

func (o *InboundAddress) GetChain() string

GetChain returns the Chain field value if set, zero value otherwise.

func (*InboundAddress) GetChainLpActionsPaused

func (o *InboundAddress) GetChainLpActionsPaused() bool

GetChainLpActionsPaused returns the ChainLpActionsPaused field value if set, zero value otherwise.

func (*InboundAddress) GetChainLpActionsPausedOk

func (o *InboundAddress) GetChainLpActionsPausedOk() (*bool, bool)

GetChainLpActionsPausedOk returns a tuple with the ChainLpActionsPaused field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetChainOk

func (o *InboundAddress) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetChainTradingPaused

func (o *InboundAddress) GetChainTradingPaused() bool

GetChainTradingPaused returns the ChainTradingPaused field value if set, zero value otherwise.

func (*InboundAddress) GetChainTradingPausedOk

func (o *InboundAddress) GetChainTradingPausedOk() (*bool, bool)

GetChainTradingPausedOk returns a tuple with the ChainTradingPaused field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetDustThreshold

func (o *InboundAddress) GetDustThreshold() string

GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.

func (*InboundAddress) GetDustThresholdOk

func (o *InboundAddress) GetDustThresholdOk() (*string, bool)

GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetGasRate

func (o *InboundAddress) GetGasRate() string

GetGasRate returns the GasRate field value if set, zero value otherwise.

func (*InboundAddress) GetGasRateOk

func (o *InboundAddress) GetGasRateOk() (*string, bool)

GetGasRateOk returns a tuple with the GasRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetGasRateUnits

func (o *InboundAddress) GetGasRateUnits() string

GetGasRateUnits returns the GasRateUnits field value if set, zero value otherwise.

func (*InboundAddress) GetGasRateUnitsOk

func (o *InboundAddress) GetGasRateUnitsOk() (*string, bool)

GetGasRateUnitsOk returns a tuple with the GasRateUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetGlobalTradingPaused

func (o *InboundAddress) GetGlobalTradingPaused() bool

GetGlobalTradingPaused returns the GlobalTradingPaused field value if set, zero value otherwise.

func (*InboundAddress) GetGlobalTradingPausedOk

func (o *InboundAddress) GetGlobalTradingPausedOk() (*bool, bool)

GetGlobalTradingPausedOk returns a tuple with the GlobalTradingPaused field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetHalted

func (o *InboundAddress) GetHalted() bool

GetHalted returns the Halted field value

func (*InboundAddress) GetHaltedOk

func (o *InboundAddress) GetHaltedOk() (*bool, bool)

GetHaltedOk returns a tuple with the Halted field value and a boolean to check if the value has been set.

func (*InboundAddress) GetOutboundFee

func (o *InboundAddress) GetOutboundFee() string

GetOutboundFee returns the OutboundFee field value if set, zero value otherwise.

func (*InboundAddress) GetOutboundFeeOk

func (o *InboundAddress) GetOutboundFeeOk() (*string, bool)

GetOutboundFeeOk returns a tuple with the OutboundFee field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetOutboundTxSize

func (o *InboundAddress) GetOutboundTxSize() string

GetOutboundTxSize returns the OutboundTxSize field value if set, zero value otherwise.

func (*InboundAddress) GetOutboundTxSizeOk

func (o *InboundAddress) GetOutboundTxSizeOk() (*string, bool)

GetOutboundTxSizeOk returns a tuple with the OutboundTxSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetPubKey

func (o *InboundAddress) GetPubKey() string

GetPubKey returns the PubKey field value if set, zero value otherwise.

func (*InboundAddress) GetPubKeyOk

func (o *InboundAddress) GetPubKeyOk() (*string, bool)

GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) GetRouter

func (o *InboundAddress) GetRouter() string

GetRouter returns the Router field value if set, zero value otherwise.

func (*InboundAddress) GetRouterOk

func (o *InboundAddress) GetRouterOk() (*string, bool)

GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundAddress) HasAddress

func (o *InboundAddress) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*InboundAddress) HasChain

func (o *InboundAddress) HasChain() bool

HasChain returns a boolean if a field has been set.

func (*InboundAddress) HasChainLpActionsPaused

func (o *InboundAddress) HasChainLpActionsPaused() bool

HasChainLpActionsPaused returns a boolean if a field has been set.

func (*InboundAddress) HasChainTradingPaused

func (o *InboundAddress) HasChainTradingPaused() bool

HasChainTradingPaused returns a boolean if a field has been set.

func (*InboundAddress) HasDustThreshold

func (o *InboundAddress) HasDustThreshold() bool

HasDustThreshold returns a boolean if a field has been set.

func (*InboundAddress) HasGasRate

func (o *InboundAddress) HasGasRate() bool

HasGasRate returns a boolean if a field has been set.

func (*InboundAddress) HasGasRateUnits

func (o *InboundAddress) HasGasRateUnits() bool

HasGasRateUnits returns a boolean if a field has been set.

func (*InboundAddress) HasGlobalTradingPaused

func (o *InboundAddress) HasGlobalTradingPaused() bool

HasGlobalTradingPaused returns a boolean if a field has been set.

func (*InboundAddress) HasOutboundFee

func (o *InboundAddress) HasOutboundFee() bool

HasOutboundFee returns a boolean if a field has been set.

func (*InboundAddress) HasOutboundTxSize

func (o *InboundAddress) HasOutboundTxSize() bool

HasOutboundTxSize returns a boolean if a field has been set.

func (*InboundAddress) HasPubKey

func (o *InboundAddress) HasPubKey() bool

HasPubKey returns a boolean if a field has been set.

func (*InboundAddress) HasRouter

func (o *InboundAddress) HasRouter() bool

HasRouter returns a boolean if a field has been set.

func (InboundAddress) MarshalJSON_deprecated

func (o InboundAddress) MarshalJSON_deprecated() ([]byte, error)

func (*InboundAddress) SetAddress

func (o *InboundAddress) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*InboundAddress) SetChain

func (o *InboundAddress) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

func (*InboundAddress) SetChainLpActionsPaused

func (o *InboundAddress) SetChainLpActionsPaused(v bool)

SetChainLpActionsPaused gets a reference to the given bool and assigns it to the ChainLpActionsPaused field.

func (*InboundAddress) SetChainTradingPaused

func (o *InboundAddress) SetChainTradingPaused(v bool)

SetChainTradingPaused gets a reference to the given bool and assigns it to the ChainTradingPaused field.

func (*InboundAddress) SetDustThreshold

func (o *InboundAddress) SetDustThreshold(v string)

SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.

func (*InboundAddress) SetGasRate

func (o *InboundAddress) SetGasRate(v string)

SetGasRate gets a reference to the given string and assigns it to the GasRate field.

func (*InboundAddress) SetGasRateUnits

func (o *InboundAddress) SetGasRateUnits(v string)

SetGasRateUnits gets a reference to the given string and assigns it to the GasRateUnits field.

func (*InboundAddress) SetGlobalTradingPaused

func (o *InboundAddress) SetGlobalTradingPaused(v bool)

SetGlobalTradingPaused gets a reference to the given bool and assigns it to the GlobalTradingPaused field.

func (*InboundAddress) SetHalted

func (o *InboundAddress) SetHalted(v bool)

SetHalted sets field value

func (*InboundAddress) SetOutboundFee

func (o *InboundAddress) SetOutboundFee(v string)

SetOutboundFee gets a reference to the given string and assigns it to the OutboundFee field.

func (*InboundAddress) SetOutboundTxSize

func (o *InboundAddress) SetOutboundTxSize(v string)

SetOutboundTxSize gets a reference to the given string and assigns it to the OutboundTxSize field.

func (*InboundAddress) SetPubKey

func (o *InboundAddress) SetPubKey(v string)

SetPubKey gets a reference to the given string and assigns it to the PubKey field.

func (*InboundAddress) SetRouter

func (o *InboundAddress) SetRouter(v string)

SetRouter gets a reference to the given string and assigns it to the Router field.

type InboundConfirmationCountedStage

type InboundConfirmationCountedStage struct {
	// the THORChain block height when confirmation counting began
	CountingStartHeight *int64 `json:"counting_start_height,omitempty"`
	// the external source chain for which confirmation counting takes place
	Chain *string `json:"chain,omitempty"`
	// the block height on the external source chain when the transaction was observed
	ExternalObservedHeight *int64 `json:"external_observed_height,omitempty"`
	// the block height on the external source chain when confirmation counting will be complete
	ExternalConfirmationDelayHeight *int64 `json:"external_confirmation_delay_height,omitempty"`
	// the estimated remaining seconds before confirmation counting completes
	RemainingConfirmationSeconds *int64 `json:"remaining_confirmation_seconds,omitempty"`
	// returns true if no transaction confirmation counting remains to be done
	Completed bool `json:"completed"`
}

InboundConfirmationCountedStage struct for InboundConfirmationCountedStage

func NewInboundConfirmationCountedStage

func NewInboundConfirmationCountedStage(completed bool) *InboundConfirmationCountedStage

NewInboundConfirmationCountedStage instantiates a new InboundConfirmationCountedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInboundConfirmationCountedStageWithDefaults

func NewInboundConfirmationCountedStageWithDefaults() *InboundConfirmationCountedStage

NewInboundConfirmationCountedStageWithDefaults instantiates a new InboundConfirmationCountedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InboundConfirmationCountedStage) GetChain

GetChain returns the Chain field value if set, zero value otherwise.

func (*InboundConfirmationCountedStage) GetChainOk

func (o *InboundConfirmationCountedStage) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundConfirmationCountedStage) GetCompleted

func (o *InboundConfirmationCountedStage) GetCompleted() bool

GetCompleted returns the Completed field value

func (*InboundConfirmationCountedStage) GetCompletedOk

func (o *InboundConfirmationCountedStage) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.

func (*InboundConfirmationCountedStage) GetCountingStartHeight

func (o *InboundConfirmationCountedStage) GetCountingStartHeight() int64

GetCountingStartHeight returns the CountingStartHeight field value if set, zero value otherwise.

func (*InboundConfirmationCountedStage) GetCountingStartHeightOk

func (o *InboundConfirmationCountedStage) GetCountingStartHeightOk() (*int64, bool)

GetCountingStartHeightOk returns a tuple with the CountingStartHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundConfirmationCountedStage) GetExternalConfirmationDelayHeight

func (o *InboundConfirmationCountedStage) GetExternalConfirmationDelayHeight() int64

GetExternalConfirmationDelayHeight returns the ExternalConfirmationDelayHeight field value if set, zero value otherwise.

func (*InboundConfirmationCountedStage) GetExternalConfirmationDelayHeightOk

func (o *InboundConfirmationCountedStage) GetExternalConfirmationDelayHeightOk() (*int64, bool)

GetExternalConfirmationDelayHeightOk returns a tuple with the ExternalConfirmationDelayHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundConfirmationCountedStage) GetExternalObservedHeight

func (o *InboundConfirmationCountedStage) GetExternalObservedHeight() int64

GetExternalObservedHeight returns the ExternalObservedHeight field value if set, zero value otherwise.

func (*InboundConfirmationCountedStage) GetExternalObservedHeightOk

func (o *InboundConfirmationCountedStage) GetExternalObservedHeightOk() (*int64, bool)

GetExternalObservedHeightOk returns a tuple with the ExternalObservedHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundConfirmationCountedStage) GetRemainingConfirmationSeconds

func (o *InboundConfirmationCountedStage) GetRemainingConfirmationSeconds() int64

GetRemainingConfirmationSeconds returns the RemainingConfirmationSeconds field value if set, zero value otherwise.

func (*InboundConfirmationCountedStage) GetRemainingConfirmationSecondsOk

func (o *InboundConfirmationCountedStage) GetRemainingConfirmationSecondsOk() (*int64, bool)

GetRemainingConfirmationSecondsOk returns a tuple with the RemainingConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundConfirmationCountedStage) HasChain

func (o *InboundConfirmationCountedStage) HasChain() bool

HasChain returns a boolean if a field has been set.

func (*InboundConfirmationCountedStage) HasCountingStartHeight

func (o *InboundConfirmationCountedStage) HasCountingStartHeight() bool

HasCountingStartHeight returns a boolean if a field has been set.

func (*InboundConfirmationCountedStage) HasExternalConfirmationDelayHeight

func (o *InboundConfirmationCountedStage) HasExternalConfirmationDelayHeight() bool

HasExternalConfirmationDelayHeight returns a boolean if a field has been set.

func (*InboundConfirmationCountedStage) HasExternalObservedHeight

func (o *InboundConfirmationCountedStage) HasExternalObservedHeight() bool

HasExternalObservedHeight returns a boolean if a field has been set.

func (*InboundConfirmationCountedStage) HasRemainingConfirmationSeconds

func (o *InboundConfirmationCountedStage) HasRemainingConfirmationSeconds() bool

HasRemainingConfirmationSeconds returns a boolean if a field has been set.

func (InboundConfirmationCountedStage) MarshalJSON_deprecated

func (o InboundConfirmationCountedStage) MarshalJSON_deprecated() ([]byte, error)

func (*InboundConfirmationCountedStage) SetChain

func (o *InboundConfirmationCountedStage) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

func (*InboundConfirmationCountedStage) SetCompleted

func (o *InboundConfirmationCountedStage) SetCompleted(v bool)

SetCompleted sets field value

func (*InboundConfirmationCountedStage) SetCountingStartHeight

func (o *InboundConfirmationCountedStage) SetCountingStartHeight(v int64)

SetCountingStartHeight gets a reference to the given int64 and assigns it to the CountingStartHeight field.

func (*InboundConfirmationCountedStage) SetExternalConfirmationDelayHeight

func (o *InboundConfirmationCountedStage) SetExternalConfirmationDelayHeight(v int64)

SetExternalConfirmationDelayHeight gets a reference to the given int64 and assigns it to the ExternalConfirmationDelayHeight field.

func (*InboundConfirmationCountedStage) SetExternalObservedHeight

func (o *InboundConfirmationCountedStage) SetExternalObservedHeight(v int64)

SetExternalObservedHeight gets a reference to the given int64 and assigns it to the ExternalObservedHeight field.

func (*InboundConfirmationCountedStage) SetRemainingConfirmationSeconds

func (o *InboundConfirmationCountedStage) SetRemainingConfirmationSeconds(v int64)

SetRemainingConfirmationSeconds gets a reference to the given int64 and assigns it to the RemainingConfirmationSeconds field.

type InboundFinalisedStage

type InboundFinalisedStage struct {
	// returns true if the inbound transaction has been finalised (THORChain agreeing it exists)
	Completed bool `json:"completed"`
}

InboundFinalisedStage struct for InboundFinalisedStage

func NewInboundFinalisedStage

func NewInboundFinalisedStage(completed bool) *InboundFinalisedStage

NewInboundFinalisedStage instantiates a new InboundFinalisedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInboundFinalisedStageWithDefaults

func NewInboundFinalisedStageWithDefaults() *InboundFinalisedStage

NewInboundFinalisedStageWithDefaults instantiates a new InboundFinalisedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InboundFinalisedStage) GetCompleted

func (o *InboundFinalisedStage) GetCompleted() bool

GetCompleted returns the Completed field value

func (*InboundFinalisedStage) GetCompletedOk

func (o *InboundFinalisedStage) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.

func (InboundFinalisedStage) MarshalJSON_deprecated

func (o InboundFinalisedStage) MarshalJSON_deprecated() ([]byte, error)

func (*InboundFinalisedStage) SetCompleted

func (o *InboundFinalisedStage) SetCompleted(v bool)

SetCompleted sets field value

type InboundObservedStage

type InboundObservedStage struct {
	// returns true if any nodes have observed the transaction (to be deprecated in favour of counts)
	Started *bool `json:"started,omitempty"`
	// number of signers for pre-confirmation-counting observations
	PreConfirmationCount *int64 `json:"pre_confirmation_count,omitempty"`
	// number of signers for final observations, after any confirmation counting complete
	FinalCount int64 `json:"final_count"`
	// returns true if no transaction observation remains to be done
	Completed bool `json:"completed"`
}

InboundObservedStage struct for InboundObservedStage

func NewInboundObservedStage

func NewInboundObservedStage(finalCount int64, completed bool) *InboundObservedStage

NewInboundObservedStage instantiates a new InboundObservedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInboundObservedStageWithDefaults

func NewInboundObservedStageWithDefaults() *InboundObservedStage

NewInboundObservedStageWithDefaults instantiates a new InboundObservedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InboundObservedStage) GetCompleted

func (o *InboundObservedStage) GetCompleted() bool

GetCompleted returns the Completed field value

func (*InboundObservedStage) GetCompletedOk

func (o *InboundObservedStage) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.

func (*InboundObservedStage) GetFinalCount

func (o *InboundObservedStage) GetFinalCount() int64

GetFinalCount returns the FinalCount field value

func (*InboundObservedStage) GetFinalCountOk

func (o *InboundObservedStage) GetFinalCountOk() (*int64, bool)

GetFinalCountOk returns a tuple with the FinalCount field value and a boolean to check if the value has been set.

func (*InboundObservedStage) GetPreConfirmationCount

func (o *InboundObservedStage) GetPreConfirmationCount() int64

GetPreConfirmationCount returns the PreConfirmationCount field value if set, zero value otherwise.

func (*InboundObservedStage) GetPreConfirmationCountOk

func (o *InboundObservedStage) GetPreConfirmationCountOk() (*int64, bool)

GetPreConfirmationCountOk returns a tuple with the PreConfirmationCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundObservedStage) GetStarted

func (o *InboundObservedStage) GetStarted() bool

GetStarted returns the Started field value if set, zero value otherwise.

func (*InboundObservedStage) GetStartedOk

func (o *InboundObservedStage) GetStartedOk() (*bool, bool)

GetStartedOk returns a tuple with the Started field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InboundObservedStage) HasPreConfirmationCount

func (o *InboundObservedStage) HasPreConfirmationCount() bool

HasPreConfirmationCount returns a boolean if a field has been set.

func (*InboundObservedStage) HasStarted

func (o *InboundObservedStage) HasStarted() bool

HasStarted returns a boolean if a field has been set.

func (InboundObservedStage) MarshalJSON_deprecated

func (o InboundObservedStage) MarshalJSON_deprecated() ([]byte, error)

func (*InboundObservedStage) SetCompleted

func (o *InboundObservedStage) SetCompleted(v bool)

SetCompleted sets field value

func (*InboundObservedStage) SetFinalCount

func (o *InboundObservedStage) SetFinalCount(v int64)

SetFinalCount sets field value

func (*InboundObservedStage) SetPreConfirmationCount

func (o *InboundObservedStage) SetPreConfirmationCount(v int64)

SetPreConfirmationCount gets a reference to the given int64 and assigns it to the PreConfirmationCount field.

func (*InboundObservedStage) SetStarted

func (o *InboundObservedStage) SetStarted(v bool)

SetStarted gets a reference to the given bool and assigns it to the Started field.

type InvariantResponse

type InvariantResponse struct {
	// The name of the invariant.
	Invariant string `json:"invariant"`
	// Returns true if the invariant is broken.
	Broken bool `json:"broken"`
	// Informative message about the invariant result.
	Msg []string `json:"msg"`
}

InvariantResponse struct for InvariantResponse

func NewInvariantResponse

func NewInvariantResponse(invariant string, broken bool, msg []string) *InvariantResponse

NewInvariantResponse instantiates a new InvariantResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvariantResponseWithDefaults

func NewInvariantResponseWithDefaults() *InvariantResponse

NewInvariantResponseWithDefaults instantiates a new InvariantResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InvariantResponse) GetBroken

func (o *InvariantResponse) GetBroken() bool

GetBroken returns the Broken field value

func (*InvariantResponse) GetBrokenOk

func (o *InvariantResponse) GetBrokenOk() (*bool, bool)

GetBrokenOk returns a tuple with the Broken field value and a boolean to check if the value has been set.

func (*InvariantResponse) GetInvariant

func (o *InvariantResponse) GetInvariant() string

GetInvariant returns the Invariant field value

func (*InvariantResponse) GetInvariantOk

func (o *InvariantResponse) GetInvariantOk() (*string, bool)

GetInvariantOk returns a tuple with the Invariant field value and a boolean to check if the value has been set.

func (*InvariantResponse) GetMsg

func (o *InvariantResponse) GetMsg() []string

GetMsg returns the Msg field value

func (*InvariantResponse) GetMsgOk

func (o *InvariantResponse) GetMsgOk() ([]string, bool)

GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.

func (InvariantResponse) MarshalJSON_deprecated

func (o InvariantResponse) MarshalJSON_deprecated() ([]byte, error)

func (*InvariantResponse) SetBroken

func (o *InvariantResponse) SetBroken(v bool)

SetBroken sets field value

func (*InvariantResponse) SetInvariant

func (o *InvariantResponse) SetInvariant(v string)

SetInvariant sets field value

func (*InvariantResponse) SetMsg

func (o *InvariantResponse) SetMsg(v []string)

SetMsg sets field value

type InvariantsApiService

type InvariantsApiService service

InvariantsApiService InvariantsApi service

func (*InvariantsApiService) Invariant

func (a *InvariantsApiService) Invariant(ctx context.Context, invariant string) ApiInvariantRequest

Invariant Method for Invariant

Returns result of running the given invariant.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param invariant
@return ApiInvariantRequest

func (*InvariantsApiService) InvariantExecute

Execute executes the request

@return InvariantResponse

func (*InvariantsApiService) Invariants

Invariants Method for Invariants

Returns a list of available invariants.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiInvariantsRequest

func (*InvariantsApiService) InvariantsExecute

Execute executes the request

@return InvariantsResponse

type InvariantsResponse

type InvariantsResponse struct {
	Invariants []string `json:"invariants,omitempty"`
}

InvariantsResponse struct for InvariantsResponse

func NewInvariantsResponse

func NewInvariantsResponse() *InvariantsResponse

NewInvariantsResponse instantiates a new InvariantsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvariantsResponseWithDefaults

func NewInvariantsResponseWithDefaults() *InvariantsResponse

NewInvariantsResponseWithDefaults instantiates a new InvariantsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InvariantsResponse) GetInvariants

func (o *InvariantsResponse) GetInvariants() []string

GetInvariants returns the Invariants field value if set, zero value otherwise.

func (*InvariantsResponse) GetInvariantsOk

func (o *InvariantsResponse) GetInvariantsOk() ([]string, bool)

GetInvariantsOk returns a tuple with the Invariants field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvariantsResponse) HasInvariants

func (o *InvariantsResponse) HasInvariants() bool

HasInvariants returns a boolean if a field has been set.

func (InvariantsResponse) MarshalJSON_deprecated

func (o InvariantsResponse) MarshalJSON_deprecated() ([]byte, error)

func (*InvariantsResponse) SetInvariants

func (o *InvariantsResponse) SetInvariants(v []string)

SetInvariants gets a reference to the given []string and assigns it to the Invariants field.

type Keygen

type Keygen struct {
	Id      *string  `json:"id,omitempty"`
	Type    *string  `json:"type,omitempty"`
	Members []string `json:"members,omitempty"`
}

Keygen struct for Keygen

func NewKeygen

func NewKeygen() *Keygen

NewKeygen instantiates a new Keygen object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeygenWithDefaults

func NewKeygenWithDefaults() *Keygen

NewKeygenWithDefaults instantiates a new Keygen object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Keygen) GetId

func (o *Keygen) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Keygen) GetIdOk

func (o *Keygen) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Keygen) GetMembers

func (o *Keygen) GetMembers() []string

GetMembers returns the Members field value if set, zero value otherwise.

func (*Keygen) GetMembersOk

func (o *Keygen) GetMembersOk() ([]string, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Keygen) GetType

func (o *Keygen) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Keygen) GetTypeOk

func (o *Keygen) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Keygen) HasId

func (o *Keygen) HasId() bool

HasId returns a boolean if a field has been set.

func (*Keygen) HasMembers

func (o *Keygen) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*Keygen) HasType

func (o *Keygen) HasType() bool

HasType returns a boolean if a field has been set.

func (Keygen) MarshalJSON_deprecated

func (o Keygen) MarshalJSON_deprecated() ([]byte, error)

func (*Keygen) SetId

func (o *Keygen) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Keygen) SetMembers

func (o *Keygen) SetMembers(v []string)

SetMembers gets a reference to the given []string and assigns it to the Members field.

func (*Keygen) SetType

func (o *Keygen) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type KeygenBlock

type KeygenBlock struct {
	// the height of the keygen block
	Height  *int64   `json:"height,omitempty"`
	Keygens []Keygen `json:"keygens"`
}

KeygenBlock struct for KeygenBlock

func NewKeygenBlock

func NewKeygenBlock(keygens []Keygen) *KeygenBlock

NewKeygenBlock instantiates a new KeygenBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeygenBlockWithDefaults

func NewKeygenBlockWithDefaults() *KeygenBlock

NewKeygenBlockWithDefaults instantiates a new KeygenBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeygenBlock) GetHeight

func (o *KeygenBlock) GetHeight() int64

GetHeight returns the Height field value if set, zero value otherwise.

func (*KeygenBlock) GetHeightOk

func (o *KeygenBlock) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KeygenBlock) GetKeygens

func (o *KeygenBlock) GetKeygens() []Keygen

GetKeygens returns the Keygens field value

func (*KeygenBlock) GetKeygensOk

func (o *KeygenBlock) GetKeygensOk() ([]Keygen, bool)

GetKeygensOk returns a tuple with the Keygens field value and a boolean to check if the value has been set.

func (*KeygenBlock) HasHeight

func (o *KeygenBlock) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (KeygenBlock) MarshalJSON_deprecated

func (o KeygenBlock) MarshalJSON_deprecated() ([]byte, error)

func (*KeygenBlock) SetHeight

func (o *KeygenBlock) SetHeight(v int64)

SetHeight gets a reference to the given int64 and assigns it to the Height field.

func (*KeygenBlock) SetKeygens

func (o *KeygenBlock) SetKeygens(v []Keygen)

SetKeygens sets field value

type KeygenMetric

type KeygenMetric struct {
	PubKey       *string            `json:"pub_key,omitempty"`
	NodeTssTimes []NodeKeygenMetric `json:"node_tss_times"`
}

KeygenMetric struct for KeygenMetric

func NewKeygenMetric

func NewKeygenMetric(nodeTssTimes []NodeKeygenMetric) *KeygenMetric

NewKeygenMetric instantiates a new KeygenMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeygenMetricWithDefaults

func NewKeygenMetricWithDefaults() *KeygenMetric

NewKeygenMetricWithDefaults instantiates a new KeygenMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeygenMetric) GetNodeTssTimes

func (o *KeygenMetric) GetNodeTssTimes() []NodeKeygenMetric

GetNodeTssTimes returns the NodeTssTimes field value

func (*KeygenMetric) GetNodeTssTimesOk

func (o *KeygenMetric) GetNodeTssTimesOk() ([]NodeKeygenMetric, bool)

GetNodeTssTimesOk returns a tuple with the NodeTssTimes field value and a boolean to check if the value has been set.

func (*KeygenMetric) GetPubKey

func (o *KeygenMetric) GetPubKey() string

GetPubKey returns the PubKey field value if set, zero value otherwise.

func (*KeygenMetric) GetPubKeyOk

func (o *KeygenMetric) GetPubKeyOk() (*string, bool)

GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KeygenMetric) HasPubKey

func (o *KeygenMetric) HasPubKey() bool

HasPubKey returns a boolean if a field has been set.

func (KeygenMetric) MarshalJSON_deprecated

func (o KeygenMetric) MarshalJSON_deprecated() ([]byte, error)

func (*KeygenMetric) SetNodeTssTimes

func (o *KeygenMetric) SetNodeTssTimes(v []NodeKeygenMetric)

SetNodeTssTimes sets field value

func (*KeygenMetric) SetPubKey

func (o *KeygenMetric) SetPubKey(v string)

SetPubKey gets a reference to the given string and assigns it to the PubKey field.

type KeygenResponse

type KeygenResponse struct {
	KeygenBlock KeygenBlock `json:"keygen_block"`
	Signature   string      `json:"signature"`
}

KeygenResponse struct for KeygenResponse

func NewKeygenResponse

func NewKeygenResponse(keygenBlock KeygenBlock, signature string) *KeygenResponse

NewKeygenResponse instantiates a new KeygenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeygenResponseWithDefaults

func NewKeygenResponseWithDefaults() *KeygenResponse

NewKeygenResponseWithDefaults instantiates a new KeygenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeygenResponse) GetKeygenBlock

func (o *KeygenResponse) GetKeygenBlock() KeygenBlock

GetKeygenBlock returns the KeygenBlock field value

func (*KeygenResponse) GetKeygenBlockOk

func (o *KeygenResponse) GetKeygenBlockOk() (*KeygenBlock, bool)

GetKeygenBlockOk returns a tuple with the KeygenBlock field value and a boolean to check if the value has been set.

func (*KeygenResponse) GetSignature

func (o *KeygenResponse) GetSignature() string

GetSignature returns the Signature field value

func (*KeygenResponse) GetSignatureOk

func (o *KeygenResponse) GetSignatureOk() (*string, bool)

GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.

func (KeygenResponse) MarshalJSON_deprecated

func (o KeygenResponse) MarshalJSON_deprecated() ([]byte, error)

func (*KeygenResponse) SetKeygenBlock

func (o *KeygenResponse) SetKeygenBlock(v KeygenBlock)

SetKeygenBlock sets field value

func (*KeygenResponse) SetSignature

func (o *KeygenResponse) SetSignature(v string)

SetSignature sets field value

type KeysignInfo

type KeysignInfo struct {
	// the block(s) in which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue
	Height  *int64      `json:"height,omitempty"`
	TxArray []TxOutItem `json:"tx_array"`
}

KeysignInfo struct for KeysignInfo

func NewKeysignInfo

func NewKeysignInfo(txArray []TxOutItem) *KeysignInfo

NewKeysignInfo instantiates a new KeysignInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeysignInfoWithDefaults

func NewKeysignInfoWithDefaults() *KeysignInfo

NewKeysignInfoWithDefaults instantiates a new KeysignInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeysignInfo) GetHeight

func (o *KeysignInfo) GetHeight() int64

GetHeight returns the Height field value if set, zero value otherwise.

func (*KeysignInfo) GetHeightOk

func (o *KeysignInfo) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KeysignInfo) GetTxArray

func (o *KeysignInfo) GetTxArray() []TxOutItem

GetTxArray returns the TxArray field value

func (*KeysignInfo) GetTxArrayOk

func (o *KeysignInfo) GetTxArrayOk() ([]TxOutItem, bool)

GetTxArrayOk returns a tuple with the TxArray field value and a boolean to check if the value has been set.

func (*KeysignInfo) HasHeight

func (o *KeysignInfo) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (KeysignInfo) MarshalJSON_deprecated

func (o KeysignInfo) MarshalJSON_deprecated() ([]byte, error)

func (*KeysignInfo) SetHeight

func (o *KeysignInfo) SetHeight(v int64)

SetHeight gets a reference to the given int64 and assigns it to the Height field.

func (*KeysignInfo) SetTxArray

func (o *KeysignInfo) SetTxArray(v []TxOutItem)

SetTxArray sets field value

type KeysignMetrics

type KeysignMetrics struct {
	TxId         *string     `json:"tx_id,omitempty"`
	NodeTssTimes []TssMetric `json:"node_tss_times,omitempty"`
}

KeysignMetrics struct for KeysignMetrics

func NewKeysignMetrics

func NewKeysignMetrics() *KeysignMetrics

NewKeysignMetrics instantiates a new KeysignMetrics object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeysignMetricsWithDefaults

func NewKeysignMetricsWithDefaults() *KeysignMetrics

NewKeysignMetricsWithDefaults instantiates a new KeysignMetrics object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeysignMetrics) GetNodeTssTimes

func (o *KeysignMetrics) GetNodeTssTimes() []TssMetric

GetNodeTssTimes returns the NodeTssTimes field value if set, zero value otherwise.

func (*KeysignMetrics) GetNodeTssTimesOk

func (o *KeysignMetrics) GetNodeTssTimesOk() ([]TssMetric, bool)

GetNodeTssTimesOk returns a tuple with the NodeTssTimes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KeysignMetrics) GetTxId

func (o *KeysignMetrics) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*KeysignMetrics) GetTxIdOk

func (o *KeysignMetrics) GetTxIdOk() (*string, bool)

GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KeysignMetrics) HasNodeTssTimes

func (o *KeysignMetrics) HasNodeTssTimes() bool

HasNodeTssTimes returns a boolean if a field has been set.

func (*KeysignMetrics) HasTxId

func (o *KeysignMetrics) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (KeysignMetrics) MarshalJSON_deprecated

func (o KeysignMetrics) MarshalJSON_deprecated() ([]byte, error)

func (*KeysignMetrics) SetNodeTssTimes

func (o *KeysignMetrics) SetNodeTssTimes(v []TssMetric)

SetNodeTssTimes gets a reference to the given []TssMetric and assigns it to the NodeTssTimes field.

func (*KeysignMetrics) SetTxId

func (o *KeysignMetrics) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

type KeysignResponse

type KeysignResponse struct {
	Keysign   KeysignInfo `json:"keysign"`
	Signature string      `json:"signature"`
}

KeysignResponse struct for KeysignResponse

func NewKeysignResponse

func NewKeysignResponse(keysign KeysignInfo, signature string) *KeysignResponse

NewKeysignResponse instantiates a new KeysignResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKeysignResponseWithDefaults

func NewKeysignResponseWithDefaults() *KeysignResponse

NewKeysignResponseWithDefaults instantiates a new KeysignResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KeysignResponse) GetKeysign

func (o *KeysignResponse) GetKeysign() KeysignInfo

GetKeysign returns the Keysign field value

func (*KeysignResponse) GetKeysignOk

func (o *KeysignResponse) GetKeysignOk() (*KeysignInfo, bool)

GetKeysignOk returns a tuple with the Keysign field value and a boolean to check if the value has been set.

func (*KeysignResponse) GetSignature

func (o *KeysignResponse) GetSignature() string

GetSignature returns the Signature field value

func (*KeysignResponse) GetSignatureOk

func (o *KeysignResponse) GetSignatureOk() (*string, bool)

GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.

func (KeysignResponse) MarshalJSON_deprecated

func (o KeysignResponse) MarshalJSON_deprecated() ([]byte, error)

func (*KeysignResponse) SetKeysign

func (o *KeysignResponse) SetKeysign(v KeysignInfo)

SetKeysign sets field value

func (*KeysignResponse) SetSignature

func (o *KeysignResponse) SetSignature(v string)

SetSignature sets field value

type LastBlock

type LastBlock struct {
	Chain          string `json:"chain"`
	LastObservedIn int64  `json:"last_observed_in"`
	LastSignedOut  int64  `json:"last_signed_out"`
	Thorchain      int64  `json:"thorchain"`
}

LastBlock struct for LastBlock

func NewLastBlock

func NewLastBlock(chain string, lastObservedIn int64, lastSignedOut int64, thorchain int64) *LastBlock

NewLastBlock instantiates a new LastBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLastBlockWithDefaults

func NewLastBlockWithDefaults() *LastBlock

NewLastBlockWithDefaults instantiates a new LastBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LastBlock) GetChain

func (o *LastBlock) GetChain() string

GetChain returns the Chain field value

func (*LastBlock) GetChainOk

func (o *LastBlock) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value and a boolean to check if the value has been set.

func (*LastBlock) GetLastObservedIn

func (o *LastBlock) GetLastObservedIn() int64

GetLastObservedIn returns the LastObservedIn field value

func (*LastBlock) GetLastObservedInOk

func (o *LastBlock) GetLastObservedInOk() (*int64, bool)

GetLastObservedInOk returns a tuple with the LastObservedIn field value and a boolean to check if the value has been set.

func (*LastBlock) GetLastSignedOut

func (o *LastBlock) GetLastSignedOut() int64

GetLastSignedOut returns the LastSignedOut field value

func (*LastBlock) GetLastSignedOutOk

func (o *LastBlock) GetLastSignedOutOk() (*int64, bool)

GetLastSignedOutOk returns a tuple with the LastSignedOut field value and a boolean to check if the value has been set.

func (*LastBlock) GetThorchain

func (o *LastBlock) GetThorchain() int64

GetThorchain returns the Thorchain field value

func (*LastBlock) GetThorchainOk

func (o *LastBlock) GetThorchainOk() (*int64, bool)

GetThorchainOk returns a tuple with the Thorchain field value and a boolean to check if the value has been set.

func (LastBlock) MarshalJSON_deprecated

func (o LastBlock) MarshalJSON_deprecated() ([]byte, error)

func (*LastBlock) SetChain

func (o *LastBlock) SetChain(v string)

SetChain sets field value

func (*LastBlock) SetLastObservedIn

func (o *LastBlock) SetLastObservedIn(v int64)

SetLastObservedIn sets field value

func (*LastBlock) SetLastSignedOut

func (o *LastBlock) SetLastSignedOut(v int64)

SetLastSignedOut sets field value

func (*LastBlock) SetThorchain

func (o *LastBlock) SetThorchain(v int64)

SetThorchain sets field value

type LiquidityProvider

type LiquidityProvider struct {
	Asset              string  `json:"asset"`
	RuneAddress        *string `json:"rune_address,omitempty"`
	AssetAddress       *string `json:"asset_address,omitempty"`
	LastAddHeight      *int64  `json:"last_add_height,omitempty"`
	LastWithdrawHeight *int64  `json:"last_withdraw_height,omitempty"`
	Units              string  `json:"units"`
	PendingRune        string  `json:"pending_rune"`
	PendingAsset       string  `json:"pending_asset"`
	PendingTxId        *string `json:"pending_tx_id,omitempty"`
	RuneDepositValue   string  `json:"rune_deposit_value"`
	AssetDepositValue  string  `json:"asset_deposit_value"`
	RuneRedeemValue    *string `json:"rune_redeem_value,omitempty"`
	AssetRedeemValue   *string `json:"asset_redeem_value,omitempty"`
	LuviDepositValue   *string `json:"luvi_deposit_value,omitempty"`
	LuviRedeemValue    *string `json:"luvi_redeem_value,omitempty"`
	LuviGrowthPct      *string `json:"luvi_growth_pct,omitempty"`
}

LiquidityProvider struct for LiquidityProvider

func NewLiquidityProvider

func NewLiquidityProvider(asset string, units string, pendingRune string, pendingAsset string, runeDepositValue string, assetDepositValue string) *LiquidityProvider

NewLiquidityProvider instantiates a new LiquidityProvider object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiquidityProviderWithDefaults

func NewLiquidityProviderWithDefaults() *LiquidityProvider

NewLiquidityProviderWithDefaults instantiates a new LiquidityProvider object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiquidityProvider) GetAsset

func (o *LiquidityProvider) GetAsset() string

GetAsset returns the Asset field value

func (*LiquidityProvider) GetAssetAddress

func (o *LiquidityProvider) GetAssetAddress() string

GetAssetAddress returns the AssetAddress field value if set, zero value otherwise.

func (*LiquidityProvider) GetAssetAddressOk

func (o *LiquidityProvider) GetAssetAddressOk() (*string, bool)

GetAssetAddressOk returns a tuple with the AssetAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetAssetDepositValue

func (o *LiquidityProvider) GetAssetDepositValue() string

GetAssetDepositValue returns the AssetDepositValue field value

func (*LiquidityProvider) GetAssetDepositValueOk

func (o *LiquidityProvider) GetAssetDepositValueOk() (*string, bool)

GetAssetDepositValueOk returns a tuple with the AssetDepositValue field value and a boolean to check if the value has been set.

func (*LiquidityProvider) GetAssetOk

func (o *LiquidityProvider) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*LiquidityProvider) GetAssetRedeemValue

func (o *LiquidityProvider) GetAssetRedeemValue() string

GetAssetRedeemValue returns the AssetRedeemValue field value if set, zero value otherwise.

func (*LiquidityProvider) GetAssetRedeemValueOk

func (o *LiquidityProvider) GetAssetRedeemValueOk() (*string, bool)

GetAssetRedeemValueOk returns a tuple with the AssetRedeemValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetLastAddHeight

func (o *LiquidityProvider) GetLastAddHeight() int64

GetLastAddHeight returns the LastAddHeight field value if set, zero value otherwise.

func (*LiquidityProvider) GetLastAddHeightOk

func (o *LiquidityProvider) GetLastAddHeightOk() (*int64, bool)

GetLastAddHeightOk returns a tuple with the LastAddHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetLastWithdrawHeight

func (o *LiquidityProvider) GetLastWithdrawHeight() int64

GetLastWithdrawHeight returns the LastWithdrawHeight field value if set, zero value otherwise.

func (*LiquidityProvider) GetLastWithdrawHeightOk

func (o *LiquidityProvider) GetLastWithdrawHeightOk() (*int64, bool)

GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetLuviDepositValue

func (o *LiquidityProvider) GetLuviDepositValue() string

GetLuviDepositValue returns the LuviDepositValue field value if set, zero value otherwise.

func (*LiquidityProvider) GetLuviDepositValueOk

func (o *LiquidityProvider) GetLuviDepositValueOk() (*string, bool)

GetLuviDepositValueOk returns a tuple with the LuviDepositValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetLuviGrowthPct

func (o *LiquidityProvider) GetLuviGrowthPct() string

GetLuviGrowthPct returns the LuviGrowthPct field value if set, zero value otherwise.

func (*LiquidityProvider) GetLuviGrowthPctOk

func (o *LiquidityProvider) GetLuviGrowthPctOk() (*string, bool)

GetLuviGrowthPctOk returns a tuple with the LuviGrowthPct field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetLuviRedeemValue

func (o *LiquidityProvider) GetLuviRedeemValue() string

GetLuviRedeemValue returns the LuviRedeemValue field value if set, zero value otherwise.

func (*LiquidityProvider) GetLuviRedeemValueOk

func (o *LiquidityProvider) GetLuviRedeemValueOk() (*string, bool)

GetLuviRedeemValueOk returns a tuple with the LuviRedeemValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetPendingAsset

func (o *LiquidityProvider) GetPendingAsset() string

GetPendingAsset returns the PendingAsset field value

func (*LiquidityProvider) GetPendingAssetOk

func (o *LiquidityProvider) GetPendingAssetOk() (*string, bool)

GetPendingAssetOk returns a tuple with the PendingAsset field value and a boolean to check if the value has been set.

func (*LiquidityProvider) GetPendingRune

func (o *LiquidityProvider) GetPendingRune() string

GetPendingRune returns the PendingRune field value

func (*LiquidityProvider) GetPendingRuneOk

func (o *LiquidityProvider) GetPendingRuneOk() (*string, bool)

GetPendingRuneOk returns a tuple with the PendingRune field value and a boolean to check if the value has been set.

func (*LiquidityProvider) GetPendingTxId

func (o *LiquidityProvider) GetPendingTxId() string

GetPendingTxId returns the PendingTxId field value if set, zero value otherwise.

func (*LiquidityProvider) GetPendingTxIdOk

func (o *LiquidityProvider) GetPendingTxIdOk() (*string, bool)

GetPendingTxIdOk returns a tuple with the PendingTxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetRuneAddress

func (o *LiquidityProvider) GetRuneAddress() string

GetRuneAddress returns the RuneAddress field value if set, zero value otherwise.

func (*LiquidityProvider) GetRuneAddressOk

func (o *LiquidityProvider) GetRuneAddressOk() (*string, bool)

GetRuneAddressOk returns a tuple with the RuneAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetRuneDepositValue

func (o *LiquidityProvider) GetRuneDepositValue() string

GetRuneDepositValue returns the RuneDepositValue field value

func (*LiquidityProvider) GetRuneDepositValueOk

func (o *LiquidityProvider) GetRuneDepositValueOk() (*string, bool)

GetRuneDepositValueOk returns a tuple with the RuneDepositValue field value and a boolean to check if the value has been set.

func (*LiquidityProvider) GetRuneRedeemValue

func (o *LiquidityProvider) GetRuneRedeemValue() string

GetRuneRedeemValue returns the RuneRedeemValue field value if set, zero value otherwise.

func (*LiquidityProvider) GetRuneRedeemValueOk

func (o *LiquidityProvider) GetRuneRedeemValueOk() (*string, bool)

GetRuneRedeemValueOk returns a tuple with the RuneRedeemValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProvider) GetUnits

func (o *LiquidityProvider) GetUnits() string

GetUnits returns the Units field value

func (*LiquidityProvider) GetUnitsOk

func (o *LiquidityProvider) GetUnitsOk() (*string, bool)

GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.

func (*LiquidityProvider) HasAssetAddress

func (o *LiquidityProvider) HasAssetAddress() bool

HasAssetAddress returns a boolean if a field has been set.

func (*LiquidityProvider) HasAssetRedeemValue

func (o *LiquidityProvider) HasAssetRedeemValue() bool

HasAssetRedeemValue returns a boolean if a field has been set.

func (*LiquidityProvider) HasLastAddHeight

func (o *LiquidityProvider) HasLastAddHeight() bool

HasLastAddHeight returns a boolean if a field has been set.

func (*LiquidityProvider) HasLastWithdrawHeight

func (o *LiquidityProvider) HasLastWithdrawHeight() bool

HasLastWithdrawHeight returns a boolean if a field has been set.

func (*LiquidityProvider) HasLuviDepositValue

func (o *LiquidityProvider) HasLuviDepositValue() bool

HasLuviDepositValue returns a boolean if a field has been set.

func (*LiquidityProvider) HasLuviGrowthPct

func (o *LiquidityProvider) HasLuviGrowthPct() bool

HasLuviGrowthPct returns a boolean if a field has been set.

func (*LiquidityProvider) HasLuviRedeemValue

func (o *LiquidityProvider) HasLuviRedeemValue() bool

HasLuviRedeemValue returns a boolean if a field has been set.

func (*LiquidityProvider) HasPendingTxId

func (o *LiquidityProvider) HasPendingTxId() bool

HasPendingTxId returns a boolean if a field has been set.

func (*LiquidityProvider) HasRuneAddress

func (o *LiquidityProvider) HasRuneAddress() bool

HasRuneAddress returns a boolean if a field has been set.

func (*LiquidityProvider) HasRuneRedeemValue

func (o *LiquidityProvider) HasRuneRedeemValue() bool

HasRuneRedeemValue returns a boolean if a field has been set.

func (LiquidityProvider) MarshalJSON_deprecated

func (o LiquidityProvider) MarshalJSON_deprecated() ([]byte, error)

func (*LiquidityProvider) SetAsset

func (o *LiquidityProvider) SetAsset(v string)

SetAsset sets field value

func (*LiquidityProvider) SetAssetAddress

func (o *LiquidityProvider) SetAssetAddress(v string)

SetAssetAddress gets a reference to the given string and assigns it to the AssetAddress field.

func (*LiquidityProvider) SetAssetDepositValue

func (o *LiquidityProvider) SetAssetDepositValue(v string)

SetAssetDepositValue sets field value

func (*LiquidityProvider) SetAssetRedeemValue

func (o *LiquidityProvider) SetAssetRedeemValue(v string)

SetAssetRedeemValue gets a reference to the given string and assigns it to the AssetRedeemValue field.

func (*LiquidityProvider) SetLastAddHeight

func (o *LiquidityProvider) SetLastAddHeight(v int64)

SetLastAddHeight gets a reference to the given int64 and assigns it to the LastAddHeight field.

func (*LiquidityProvider) SetLastWithdrawHeight

func (o *LiquidityProvider) SetLastWithdrawHeight(v int64)

SetLastWithdrawHeight gets a reference to the given int64 and assigns it to the LastWithdrawHeight field.

func (*LiquidityProvider) SetLuviDepositValue

func (o *LiquidityProvider) SetLuviDepositValue(v string)

SetLuviDepositValue gets a reference to the given string and assigns it to the LuviDepositValue field.

func (*LiquidityProvider) SetLuviGrowthPct

func (o *LiquidityProvider) SetLuviGrowthPct(v string)

SetLuviGrowthPct gets a reference to the given string and assigns it to the LuviGrowthPct field.

func (*LiquidityProvider) SetLuviRedeemValue

func (o *LiquidityProvider) SetLuviRedeemValue(v string)

SetLuviRedeemValue gets a reference to the given string and assigns it to the LuviRedeemValue field.

func (*LiquidityProvider) SetPendingAsset

func (o *LiquidityProvider) SetPendingAsset(v string)

SetPendingAsset sets field value

func (*LiquidityProvider) SetPendingRune

func (o *LiquidityProvider) SetPendingRune(v string)

SetPendingRune sets field value

func (*LiquidityProvider) SetPendingTxId

func (o *LiquidityProvider) SetPendingTxId(v string)

SetPendingTxId gets a reference to the given string and assigns it to the PendingTxId field.

func (*LiquidityProvider) SetRuneAddress

func (o *LiquidityProvider) SetRuneAddress(v string)

SetRuneAddress gets a reference to the given string and assigns it to the RuneAddress field.

func (*LiquidityProvider) SetRuneDepositValue

func (o *LiquidityProvider) SetRuneDepositValue(v string)

SetRuneDepositValue sets field value

func (*LiquidityProvider) SetRuneRedeemValue

func (o *LiquidityProvider) SetRuneRedeemValue(v string)

SetRuneRedeemValue gets a reference to the given string and assigns it to the RuneRedeemValue field.

func (*LiquidityProvider) SetUnits

func (o *LiquidityProvider) SetUnits(v string)

SetUnits sets field value

type LiquidityProviderSummary

type LiquidityProviderSummary struct {
	Asset              string  `json:"asset"`
	RuneAddress        *string `json:"rune_address,omitempty"`
	AssetAddress       *string `json:"asset_address,omitempty"`
	LastAddHeight      *int64  `json:"last_add_height,omitempty"`
	LastWithdrawHeight *int64  `json:"last_withdraw_height,omitempty"`
	Units              string  `json:"units"`
	PendingRune        string  `json:"pending_rune"`
	PendingAsset       string  `json:"pending_asset"`
	PendingTxId        *string `json:"pending_tx_id,omitempty"`
	RuneDepositValue   string  `json:"rune_deposit_value"`
	AssetDepositValue  string  `json:"asset_deposit_value"`
}

LiquidityProviderSummary struct for LiquidityProviderSummary

func NewLiquidityProviderSummary

func NewLiquidityProviderSummary(asset string, units string, pendingRune string, pendingAsset string, runeDepositValue string, assetDepositValue string) *LiquidityProviderSummary

NewLiquidityProviderSummary instantiates a new LiquidityProviderSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiquidityProviderSummaryWithDefaults

func NewLiquidityProviderSummaryWithDefaults() *LiquidityProviderSummary

NewLiquidityProviderSummaryWithDefaults instantiates a new LiquidityProviderSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiquidityProviderSummary) GetAsset

func (o *LiquidityProviderSummary) GetAsset() string

GetAsset returns the Asset field value

func (*LiquidityProviderSummary) GetAssetAddress

func (o *LiquidityProviderSummary) GetAssetAddress() string

GetAssetAddress returns the AssetAddress field value if set, zero value otherwise.

func (*LiquidityProviderSummary) GetAssetAddressOk

func (o *LiquidityProviderSummary) GetAssetAddressOk() (*string, bool)

GetAssetAddressOk returns a tuple with the AssetAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetAssetDepositValue

func (o *LiquidityProviderSummary) GetAssetDepositValue() string

GetAssetDepositValue returns the AssetDepositValue field value

func (*LiquidityProviderSummary) GetAssetDepositValueOk

func (o *LiquidityProviderSummary) GetAssetDepositValueOk() (*string, bool)

GetAssetDepositValueOk returns a tuple with the AssetDepositValue field value and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetAssetOk

func (o *LiquidityProviderSummary) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetLastAddHeight

func (o *LiquidityProviderSummary) GetLastAddHeight() int64

GetLastAddHeight returns the LastAddHeight field value if set, zero value otherwise.

func (*LiquidityProviderSummary) GetLastAddHeightOk

func (o *LiquidityProviderSummary) GetLastAddHeightOk() (*int64, bool)

GetLastAddHeightOk returns a tuple with the LastAddHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetLastWithdrawHeight

func (o *LiquidityProviderSummary) GetLastWithdrawHeight() int64

GetLastWithdrawHeight returns the LastWithdrawHeight field value if set, zero value otherwise.

func (*LiquidityProviderSummary) GetLastWithdrawHeightOk

func (o *LiquidityProviderSummary) GetLastWithdrawHeightOk() (*int64, bool)

GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetPendingAsset

func (o *LiquidityProviderSummary) GetPendingAsset() string

GetPendingAsset returns the PendingAsset field value

func (*LiquidityProviderSummary) GetPendingAssetOk

func (o *LiquidityProviderSummary) GetPendingAssetOk() (*string, bool)

GetPendingAssetOk returns a tuple with the PendingAsset field value and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetPendingRune

func (o *LiquidityProviderSummary) GetPendingRune() string

GetPendingRune returns the PendingRune field value

func (*LiquidityProviderSummary) GetPendingRuneOk

func (o *LiquidityProviderSummary) GetPendingRuneOk() (*string, bool)

GetPendingRuneOk returns a tuple with the PendingRune field value and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetPendingTxId

func (o *LiquidityProviderSummary) GetPendingTxId() string

GetPendingTxId returns the PendingTxId field value if set, zero value otherwise.

func (*LiquidityProviderSummary) GetPendingTxIdOk

func (o *LiquidityProviderSummary) GetPendingTxIdOk() (*string, bool)

GetPendingTxIdOk returns a tuple with the PendingTxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetRuneAddress

func (o *LiquidityProviderSummary) GetRuneAddress() string

GetRuneAddress returns the RuneAddress field value if set, zero value otherwise.

func (*LiquidityProviderSummary) GetRuneAddressOk

func (o *LiquidityProviderSummary) GetRuneAddressOk() (*string, bool)

GetRuneAddressOk returns a tuple with the RuneAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetRuneDepositValue

func (o *LiquidityProviderSummary) GetRuneDepositValue() string

GetRuneDepositValue returns the RuneDepositValue field value

func (*LiquidityProviderSummary) GetRuneDepositValueOk

func (o *LiquidityProviderSummary) GetRuneDepositValueOk() (*string, bool)

GetRuneDepositValueOk returns a tuple with the RuneDepositValue field value and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) GetUnits

func (o *LiquidityProviderSummary) GetUnits() string

GetUnits returns the Units field value

func (*LiquidityProviderSummary) GetUnitsOk

func (o *LiquidityProviderSummary) GetUnitsOk() (*string, bool)

GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.

func (*LiquidityProviderSummary) HasAssetAddress

func (o *LiquidityProviderSummary) HasAssetAddress() bool

HasAssetAddress returns a boolean if a field has been set.

func (*LiquidityProviderSummary) HasLastAddHeight

func (o *LiquidityProviderSummary) HasLastAddHeight() bool

HasLastAddHeight returns a boolean if a field has been set.

func (*LiquidityProviderSummary) HasLastWithdrawHeight

func (o *LiquidityProviderSummary) HasLastWithdrawHeight() bool

HasLastWithdrawHeight returns a boolean if a field has been set.

func (*LiquidityProviderSummary) HasPendingTxId

func (o *LiquidityProviderSummary) HasPendingTxId() bool

HasPendingTxId returns a boolean if a field has been set.

func (*LiquidityProviderSummary) HasRuneAddress

func (o *LiquidityProviderSummary) HasRuneAddress() bool

HasRuneAddress returns a boolean if a field has been set.

func (LiquidityProviderSummary) MarshalJSON_deprecated

func (o LiquidityProviderSummary) MarshalJSON_deprecated() ([]byte, error)

func (*LiquidityProviderSummary) SetAsset

func (o *LiquidityProviderSummary) SetAsset(v string)

SetAsset sets field value

func (*LiquidityProviderSummary) SetAssetAddress

func (o *LiquidityProviderSummary) SetAssetAddress(v string)

SetAssetAddress gets a reference to the given string and assigns it to the AssetAddress field.

func (*LiquidityProviderSummary) SetAssetDepositValue

func (o *LiquidityProviderSummary) SetAssetDepositValue(v string)

SetAssetDepositValue sets field value

func (*LiquidityProviderSummary) SetLastAddHeight

func (o *LiquidityProviderSummary) SetLastAddHeight(v int64)

SetLastAddHeight gets a reference to the given int64 and assigns it to the LastAddHeight field.

func (*LiquidityProviderSummary) SetLastWithdrawHeight

func (o *LiquidityProviderSummary) SetLastWithdrawHeight(v int64)

SetLastWithdrawHeight gets a reference to the given int64 and assigns it to the LastWithdrawHeight field.

func (*LiquidityProviderSummary) SetPendingAsset

func (o *LiquidityProviderSummary) SetPendingAsset(v string)

SetPendingAsset sets field value

func (*LiquidityProviderSummary) SetPendingRune

func (o *LiquidityProviderSummary) SetPendingRune(v string)

SetPendingRune sets field value

func (*LiquidityProviderSummary) SetPendingTxId

func (o *LiquidityProviderSummary) SetPendingTxId(v string)

SetPendingTxId gets a reference to the given string and assigns it to the PendingTxId field.

func (*LiquidityProviderSummary) SetRuneAddress

func (o *LiquidityProviderSummary) SetRuneAddress(v string)

SetRuneAddress gets a reference to the given string and assigns it to the RuneAddress field.

func (*LiquidityProviderSummary) SetRuneDepositValue

func (o *LiquidityProviderSummary) SetRuneDepositValue(v string)

SetRuneDepositValue sets field value

func (*LiquidityProviderSummary) SetUnits

func (o *LiquidityProviderSummary) SetUnits(v string)

SetUnits sets field value

type LiquidityProvidersApiService

type LiquidityProvidersApiService service

LiquidityProvidersApiService LiquidityProvidersApi service

func (*LiquidityProvidersApiService) LiquidityProvider

func (a *LiquidityProvidersApiService) LiquidityProvider(ctx context.Context, asset string, address string) ApiLiquidityProviderRequest

LiquidityProvider Method for LiquidityProvider

Returns the liquidity provider information for an address and asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@param address
@return ApiLiquidityProviderRequest

func (*LiquidityProvidersApiService) LiquidityProviderExecute

Execute executes the request

@return LiquidityProvider

func (*LiquidityProvidersApiService) LiquidityProviders

LiquidityProviders Method for LiquidityProviders

Returns all liquidity provider information for an asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiLiquidityProvidersRequest

func (*LiquidityProvidersApiService) LiquidityProvidersExecute

Execute executes the request

@return []LiquidityProviderSummary

type MetricsResponse

type MetricsResponse struct {
	Keygen  []KeygenMetric  `json:"keygen,omitempty"`
	Keysign *KeysignMetrics `json:"keysign,omitempty"`
}

MetricsResponse struct for MetricsResponse

func NewMetricsResponse

func NewMetricsResponse() *MetricsResponse

NewMetricsResponse instantiates a new MetricsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricsResponseWithDefaults

func NewMetricsResponseWithDefaults() *MetricsResponse

NewMetricsResponseWithDefaults instantiates a new MetricsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricsResponse) GetKeygen

func (o *MetricsResponse) GetKeygen() []KeygenMetric

GetKeygen returns the Keygen field value if set, zero value otherwise.

func (*MetricsResponse) GetKeygenOk

func (o *MetricsResponse) GetKeygenOk() ([]KeygenMetric, bool)

GetKeygenOk returns a tuple with the Keygen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsResponse) GetKeysign

func (o *MetricsResponse) GetKeysign() KeysignMetrics

GetKeysign returns the Keysign field value if set, zero value otherwise.

func (*MetricsResponse) GetKeysignOk

func (o *MetricsResponse) GetKeysignOk() (*KeysignMetrics, bool)

GetKeysignOk returns a tuple with the Keysign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsResponse) HasKeygen

func (o *MetricsResponse) HasKeygen() bool

HasKeygen returns a boolean if a field has been set.

func (*MetricsResponse) HasKeysign

func (o *MetricsResponse) HasKeysign() bool

HasKeysign returns a boolean if a field has been set.

func (MetricsResponse) MarshalJSON_deprecated

func (o MetricsResponse) MarshalJSON_deprecated() ([]byte, error)

func (*MetricsResponse) SetKeygen

func (o *MetricsResponse) SetKeygen(v []KeygenMetric)

SetKeygen gets a reference to the given []KeygenMetric and assigns it to the Keygen field.

func (*MetricsResponse) SetKeysign

func (o *MetricsResponse) SetKeysign(v KeysignMetrics)

SetKeysign gets a reference to the given KeysignMetrics and assigns it to the Keysign field.

type MimirApiService

type MimirApiService service

MimirApiService MimirApi service

func (*MimirApiService) Mimir

Mimir Method for Mimir

Returns current active mimir configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMimirRequest

func (*MimirApiService) MimirAdmin

MimirAdmin Method for MimirAdmin

Returns current admin mimir configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMimirAdminRequest

func (*MimirApiService) MimirAdminExecute

func (a *MimirApiService) MimirAdminExecute(r ApiMimirAdminRequest) (map[string]string, *http.Response, error)

Execute executes the request

@return map[string]string

func (*MimirApiService) MimirExecute

func (a *MimirApiService) MimirExecute(r ApiMimirRequest) (map[string]string, *http.Response, error)

Execute executes the request

@return map[string]string

func (*MimirApiService) MimirKey

MimirKey Method for MimirKey

Returns current active mimir configuration for the provided key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param key the mimir key to lookup
@return ApiMimirKeyRequest

func (*MimirApiService) MimirKeyExecute

func (a *MimirApiService) MimirKeyExecute(r ApiMimirKeyRequest) (int64, *http.Response, error)

Execute executes the request

@return int64

func (*MimirApiService) MimirNode

func (a *MimirApiService) MimirNode(ctx context.Context, address string) ApiMimirNodeRequest

MimirNode Method for MimirNode

Returns current node mimir configuration for the provided node address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address
@return ApiMimirNodeRequest

func (*MimirApiService) MimirNodeExecute

func (a *MimirApiService) MimirNodeExecute(r ApiMimirNodeRequest) (map[string]string, *http.Response, error)

Execute executes the request

@return map[string]string

func (*MimirApiService) MimirNodes

MimirNodes Method for MimirNodes

Returns current node mimir votes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMimirNodesRequest

func (*MimirApiService) MimirNodesExecute

Execute executes the request

@return MimirNodesResponse

type MimirNodesResponse

type MimirNodesResponse struct {
	Mimirs []MimirVote `json:"mimirs,omitempty"`
}

MimirNodesResponse struct for MimirNodesResponse

func NewMimirNodesResponse

func NewMimirNodesResponse() *MimirNodesResponse

NewMimirNodesResponse instantiates a new MimirNodesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMimirNodesResponseWithDefaults

func NewMimirNodesResponseWithDefaults() *MimirNodesResponse

NewMimirNodesResponseWithDefaults instantiates a new MimirNodesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MimirNodesResponse) GetMimirs

func (o *MimirNodesResponse) GetMimirs() []MimirVote

GetMimirs returns the Mimirs field value if set, zero value otherwise.

func (*MimirNodesResponse) GetMimirsOk

func (o *MimirNodesResponse) GetMimirsOk() ([]MimirVote, bool)

GetMimirsOk returns a tuple with the Mimirs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MimirNodesResponse) HasMimirs

func (o *MimirNodesResponse) HasMimirs() bool

HasMimirs returns a boolean if a field has been set.

func (MimirNodesResponse) MarshalJSON_deprecated

func (o MimirNodesResponse) MarshalJSON_deprecated() ([]byte, error)

func (*MimirNodesResponse) SetMimirs

func (o *MimirNodesResponse) SetMimirs(v []MimirVote)

SetMimirs gets a reference to the given []MimirVote and assigns it to the Mimirs field.

type MimirVote

type MimirVote struct {
	Key    *string `json:"key,omitempty"`
	Value  *int64  `json:"value,omitempty"`
	Signer *string `json:"signer,omitempty"`
}

MimirVote struct for MimirVote

func NewMimirVote

func NewMimirVote() *MimirVote

NewMimirVote instantiates a new MimirVote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMimirVoteWithDefaults

func NewMimirVoteWithDefaults() *MimirVote

NewMimirVoteWithDefaults instantiates a new MimirVote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MimirVote) GetKey

func (o *MimirVote) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*MimirVote) GetKeyOk

func (o *MimirVote) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MimirVote) GetSigner

func (o *MimirVote) GetSigner() string

GetSigner returns the Signer field value if set, zero value otherwise.

func (*MimirVote) GetSignerOk

func (o *MimirVote) GetSignerOk() (*string, bool)

GetSignerOk returns a tuple with the Signer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MimirVote) GetValue

func (o *MimirVote) GetValue() int64

GetValue returns the Value field value if set, zero value otherwise.

func (*MimirVote) GetValueOk

func (o *MimirVote) GetValueOk() (*int64, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MimirVote) HasKey

func (o *MimirVote) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*MimirVote) HasSigner

func (o *MimirVote) HasSigner() bool

HasSigner returns a boolean if a field has been set.

func (*MimirVote) HasValue

func (o *MimirVote) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MimirVote) MarshalJSON_deprecated

func (o MimirVote) MarshalJSON_deprecated() ([]byte, error)

func (*MimirVote) SetKey

func (o *MimirVote) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*MimirVote) SetSigner

func (o *MimirVote) SetSigner(v string)

SetSigner gets a reference to the given string and assigns it to the Signer field.

func (*MimirVote) SetValue

func (o *MimirVote) SetValue(v int64)

SetValue gets a reference to the given int64 and assigns it to the Value field.

type MsgSwap

type MsgSwap struct {
	Tx Tx `json:"tx"`
	// the asset to be swapped to
	TargetAsset string `json:"target_asset"`
	// the destination address to receive the swap output
	Destination *string `json:"destination,omitempty"`
	// the minimum amount of output asset to receive (else cancelling and refunding the swap)
	TradeTarget string `json:"trade_target"`
	// the affiliate address which will receive any affiliate fee
	AffiliateAddress *string `json:"affiliate_address,omitempty"`
	// the affiliate fee in basis points
	AffiliateBasisPoints string `json:"affiliate_basis_points"`
	// the signer (sender) of the transaction
	Signer *string `json:"signer,omitempty"`
	// the contract address if an aggregator is specified for a non-THORChain SwapOut
	Aggregator *string `json:"aggregator,omitempty"`
	// the desired output asset of the aggregator SwapOut
	AggregatorTargetAddress *string `json:"aggregator_target_address,omitempty"`
	// the minimum amount of SwapOut asset to receive (else cancelling the SwapOut and receiving THORChain's output)
	AggregatorTargetLimit *string `json:"aggregator_target_limit,omitempty"`
	// market if immediately completed or refunded, limit if held until fulfillable
	OrderType *string `json:"order_type,omitempty"`
	// number of swaps to execute in a streaming swap
	StreamQuantity *int64 `json:"stream_quantity,omitempty"`
	// the interval (in blocks) to execute the streaming swap
	StreamInterval *int64 `json:"stream_interval,omitempty"`
}

MsgSwap struct for MsgSwap

func NewMsgSwap

func NewMsgSwap(tx Tx, targetAsset string, tradeTarget string, affiliateBasisPoints string) *MsgSwap

NewMsgSwap instantiates a new MsgSwap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMsgSwapWithDefaults

func NewMsgSwapWithDefaults() *MsgSwap

NewMsgSwapWithDefaults instantiates a new MsgSwap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MsgSwap) GetAffiliateAddress

func (o *MsgSwap) GetAffiliateAddress() string

GetAffiliateAddress returns the AffiliateAddress field value if set, zero value otherwise.

func (*MsgSwap) GetAffiliateAddressOk

func (o *MsgSwap) GetAffiliateAddressOk() (*string, bool)

GetAffiliateAddressOk returns a tuple with the AffiliateAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetAffiliateBasisPoints

func (o *MsgSwap) GetAffiliateBasisPoints() string

GetAffiliateBasisPoints returns the AffiliateBasisPoints field value

func (*MsgSwap) GetAffiliateBasisPointsOk

func (o *MsgSwap) GetAffiliateBasisPointsOk() (*string, bool)

GetAffiliateBasisPointsOk returns a tuple with the AffiliateBasisPoints field value and a boolean to check if the value has been set.

func (*MsgSwap) GetAggregator

func (o *MsgSwap) GetAggregator() string

GetAggregator returns the Aggregator field value if set, zero value otherwise.

func (*MsgSwap) GetAggregatorOk

func (o *MsgSwap) GetAggregatorOk() (*string, bool)

GetAggregatorOk returns a tuple with the Aggregator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetAggregatorTargetAddress

func (o *MsgSwap) GetAggregatorTargetAddress() string

GetAggregatorTargetAddress returns the AggregatorTargetAddress field value if set, zero value otherwise.

func (*MsgSwap) GetAggregatorTargetAddressOk

func (o *MsgSwap) GetAggregatorTargetAddressOk() (*string, bool)

GetAggregatorTargetAddressOk returns a tuple with the AggregatorTargetAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetAggregatorTargetLimit

func (o *MsgSwap) GetAggregatorTargetLimit() string

GetAggregatorTargetLimit returns the AggregatorTargetLimit field value if set, zero value otherwise.

func (*MsgSwap) GetAggregatorTargetLimitOk

func (o *MsgSwap) GetAggregatorTargetLimitOk() (*string, bool)

GetAggregatorTargetLimitOk returns a tuple with the AggregatorTargetLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetDestination

func (o *MsgSwap) GetDestination() string

GetDestination returns the Destination field value if set, zero value otherwise.

func (*MsgSwap) GetDestinationOk

func (o *MsgSwap) GetDestinationOk() (*string, bool)

GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetOrderType

func (o *MsgSwap) GetOrderType() string

GetOrderType returns the OrderType field value if set, zero value otherwise.

func (*MsgSwap) GetOrderTypeOk

func (o *MsgSwap) GetOrderTypeOk() (*string, bool)

GetOrderTypeOk returns a tuple with the OrderType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetSigner

func (o *MsgSwap) GetSigner() string

GetSigner returns the Signer field value if set, zero value otherwise.

func (*MsgSwap) GetSignerOk

func (o *MsgSwap) GetSignerOk() (*string, bool)

GetSignerOk returns a tuple with the Signer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetStreamInterval

func (o *MsgSwap) GetStreamInterval() int64

GetStreamInterval returns the StreamInterval field value if set, zero value otherwise.

func (*MsgSwap) GetStreamIntervalOk

func (o *MsgSwap) GetStreamIntervalOk() (*int64, bool)

GetStreamIntervalOk returns a tuple with the StreamInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetStreamQuantity

func (o *MsgSwap) GetStreamQuantity() int64

GetStreamQuantity returns the StreamQuantity field value if set, zero value otherwise.

func (*MsgSwap) GetStreamQuantityOk

func (o *MsgSwap) GetStreamQuantityOk() (*int64, bool)

GetStreamQuantityOk returns a tuple with the StreamQuantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MsgSwap) GetTargetAsset

func (o *MsgSwap) GetTargetAsset() string

GetTargetAsset returns the TargetAsset field value

func (*MsgSwap) GetTargetAssetOk

func (o *MsgSwap) GetTargetAssetOk() (*string, bool)

GetTargetAssetOk returns a tuple with the TargetAsset field value and a boolean to check if the value has been set.

func (*MsgSwap) GetTradeTarget

func (o *MsgSwap) GetTradeTarget() string

GetTradeTarget returns the TradeTarget field value

func (*MsgSwap) GetTradeTargetOk

func (o *MsgSwap) GetTradeTargetOk() (*string, bool)

GetTradeTargetOk returns a tuple with the TradeTarget field value and a boolean to check if the value has been set.

func (*MsgSwap) GetTx

func (o *MsgSwap) GetTx() Tx

GetTx returns the Tx field value

func (*MsgSwap) GetTxOk

func (o *MsgSwap) GetTxOk() (*Tx, bool)

GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.

func (*MsgSwap) HasAffiliateAddress

func (o *MsgSwap) HasAffiliateAddress() bool

HasAffiliateAddress returns a boolean if a field has been set.

func (*MsgSwap) HasAggregator

func (o *MsgSwap) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*MsgSwap) HasAggregatorTargetAddress

func (o *MsgSwap) HasAggregatorTargetAddress() bool

HasAggregatorTargetAddress returns a boolean if a field has been set.

func (*MsgSwap) HasAggregatorTargetLimit

func (o *MsgSwap) HasAggregatorTargetLimit() bool

HasAggregatorTargetLimit returns a boolean if a field has been set.

func (*MsgSwap) HasDestination

func (o *MsgSwap) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*MsgSwap) HasOrderType

func (o *MsgSwap) HasOrderType() bool

HasOrderType returns a boolean if a field has been set.

func (*MsgSwap) HasSigner

func (o *MsgSwap) HasSigner() bool

HasSigner returns a boolean if a field has been set.

func (*MsgSwap) HasStreamInterval

func (o *MsgSwap) HasStreamInterval() bool

HasStreamInterval returns a boolean if a field has been set.

func (*MsgSwap) HasStreamQuantity

func (o *MsgSwap) HasStreamQuantity() bool

HasStreamQuantity returns a boolean if a field has been set.

func (MsgSwap) MarshalJSON_deprecated

func (o MsgSwap) MarshalJSON_deprecated() ([]byte, error)

func (*MsgSwap) SetAffiliateAddress

func (o *MsgSwap) SetAffiliateAddress(v string)

SetAffiliateAddress gets a reference to the given string and assigns it to the AffiliateAddress field.

func (*MsgSwap) SetAffiliateBasisPoints

func (o *MsgSwap) SetAffiliateBasisPoints(v string)

SetAffiliateBasisPoints sets field value

func (*MsgSwap) SetAggregator

func (o *MsgSwap) SetAggregator(v string)

SetAggregator gets a reference to the given string and assigns it to the Aggregator field.

func (*MsgSwap) SetAggregatorTargetAddress

func (o *MsgSwap) SetAggregatorTargetAddress(v string)

SetAggregatorTargetAddress gets a reference to the given string and assigns it to the AggregatorTargetAddress field.

func (*MsgSwap) SetAggregatorTargetLimit

func (o *MsgSwap) SetAggregatorTargetLimit(v string)

SetAggregatorTargetLimit gets a reference to the given string and assigns it to the AggregatorTargetLimit field.

func (*MsgSwap) SetDestination

func (o *MsgSwap) SetDestination(v string)

SetDestination gets a reference to the given string and assigns it to the Destination field.

func (*MsgSwap) SetOrderType

func (o *MsgSwap) SetOrderType(v string)

SetOrderType gets a reference to the given string and assigns it to the OrderType field.

func (*MsgSwap) SetSigner

func (o *MsgSwap) SetSigner(v string)

SetSigner gets a reference to the given string and assigns it to the Signer field.

func (*MsgSwap) SetStreamInterval

func (o *MsgSwap) SetStreamInterval(v int64)

SetStreamInterval gets a reference to the given int64 and assigns it to the StreamInterval field.

func (*MsgSwap) SetStreamQuantity

func (o *MsgSwap) SetStreamQuantity(v int64)

SetStreamQuantity gets a reference to the given int64 and assigns it to the StreamQuantity field.

func (*MsgSwap) SetTargetAsset

func (o *MsgSwap) SetTargetAsset(v string)

SetTargetAsset sets field value

func (*MsgSwap) SetTradeTarget

func (o *MsgSwap) SetTradeTarget(v string)

SetTradeTarget sets field value

func (*MsgSwap) SetTx

func (o *MsgSwap) SetTx(v Tx)

SetTx sets field value

type NetworkApiService

type NetworkApiService service

NetworkApiService NetworkApi service

func (*NetworkApiService) Ban

func (a *NetworkApiService) Ban(ctx context.Context, address string) ApiBanRequest

Ban Method for Ban

Returns the ban status for the provided node address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address
@return ApiBanRequest

func (*NetworkApiService) BanExecute

Execute executes the request

@return BanResponse

func (*NetworkApiService) Constants

Constants Method for Constants

Returns constant configuration, can be overridden by mimir.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiConstantsRequest

func (*NetworkApiService) ConstantsExecute

Execute executes the request

@return ConstantsResponse

func (*NetworkApiService) InboundAddresses

InboundAddresses Method for InboundAddresses

Returns the set of asgard addresses that should be used for inbound transactions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiInboundAddressesRequest

func (*NetworkApiService) InboundAddressesExecute

func (a *NetworkApiService) InboundAddressesExecute(r ApiInboundAddressesRequest) ([]InboundAddress, *http.Response, error)

Execute executes the request

@return []InboundAddress

func (*NetworkApiService) Lastblock

Lastblock Method for Lastblock

Returns the last block information for all chains.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLastblockRequest

func (*NetworkApiService) LastblockChain

func (a *NetworkApiService) LastblockChain(ctx context.Context, chain string) ApiLastblockChainRequest

LastblockChain Method for LastblockChain

Returns the last block information for the provided chain.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chain
@return ApiLastblockChainRequest

func (*NetworkApiService) LastblockChainExecute

func (a *NetworkApiService) LastblockChainExecute(r ApiLastblockChainRequest) ([]LastBlock, *http.Response, error)

Execute executes the request

@return []LastBlock

func (*NetworkApiService) LastblockExecute

func (a *NetworkApiService) LastblockExecute(r ApiLastblockRequest) ([]LastBlock, *http.Response, error)

Execute executes the request

@return []LastBlock

func (*NetworkApiService) Network

Network Method for Network

Returns network overview statistics.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiNetworkRequest

func (*NetworkApiService) NetworkExecute

Execute executes the request

@return NetworkResponse

func (*NetworkApiService) OutboundFeeAsset

func (a *NetworkApiService) OutboundFeeAsset(ctx context.Context, asset string) ApiOutboundFeeAssetRequest

OutboundFeeAsset Method for OutboundFeeAsset

Returns the outbound fee information for the provided asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiOutboundFeeAssetRequest

func (*NetworkApiService) OutboundFeeAssetExecute

func (a *NetworkApiService) OutboundFeeAssetExecute(r ApiOutboundFeeAssetRequest) ([]OutboundFee, *http.Response, error)

Execute executes the request

@return []OutboundFee

func (*NetworkApiService) OutboundFees

OutboundFees Method for OutboundFees

Returns the last block information for all chains.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiOutboundFeesRequest

func (*NetworkApiService) OutboundFeesExecute

func (a *NetworkApiService) OutboundFeesExecute(r ApiOutboundFeesRequest) ([]OutboundFee, *http.Response, error)

Execute executes the request

@return []OutboundFee

func (*NetworkApiService) Ragnarok

Ragnarok Method for Ragnarok

Returns a boolean indicating whether the chain is in ragnarok.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRagnarokRequest

func (*NetworkApiService) RagnarokExecute

func (a *NetworkApiService) RagnarokExecute(r ApiRagnarokRequest) (bool, *http.Response, error)

Execute executes the request

@return bool

func (*NetworkApiService) UpgradeProposal

func (a *NetworkApiService) UpgradeProposal(ctx context.Context, name string) ApiUpgradeProposalRequest

UpgradeProposal Method for UpgradeProposal

Returns the upgrade proposal for the provided name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiUpgradeProposalRequest

func (*NetworkApiService) UpgradeProposalExecute

Execute executes the request

@return UpgradeProposal

func (*NetworkApiService) UpgradeProposals

UpgradeProposals Method for UpgradeProposals

Returns the current upgrade proposals.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpgradeProposalsRequest

func (*NetworkApiService) UpgradeProposalsExecute

func (a *NetworkApiService) UpgradeProposalsExecute(r ApiUpgradeProposalsRequest) ([]UpgradeProposal, *http.Response, error)

Execute executes the request

@return []UpgradeProposal

func (*NetworkApiService) UpgradeVotes

func (a *NetworkApiService) UpgradeVotes(ctx context.Context, name string) ApiUpgradeVotesRequest

UpgradeVotes Method for UpgradeVotes

Returns the upgrade votes for the provided name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiUpgradeVotesRequest

func (*NetworkApiService) UpgradeVotesExecute

func (a *NetworkApiService) UpgradeVotesExecute(r ApiUpgradeVotesRequest) ([]UpgradeVote, *http.Response, error)

Execute executes the request

@return []UpgradeVote

func (*NetworkApiService) Version

Version Method for Version

Returns the network's current THORNode version, the network's next THORNode version, and the querier's THORNode version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiVersionRequest

func (*NetworkApiService) VersionExecute

Execute executes the request

@return VersionResponse

type NetworkResponse

type NetworkResponse struct {
	// total amount of RUNE awarded to node operators
	BondRewardRune string `json:"bond_reward_rune"`
	// total bonded RUNE
	TotalBondUnits string `json:"total_bond_units"`
	// effective security bond used to determine maximum pooled RUNE
	EffectiveSecurityBond string `json:"effective_security_bond"`
	// total reserve RUNE
	TotalReserve string `json:"total_reserve"`
	// Returns true if there exist RetiringVaults which have not finished migrating funds to new ActiveVaults
	VaultsMigrating bool `json:"vaults_migrating"`
	// Sum of the gas the network has spent to send outbounds
	GasSpentRune string `json:"gas_spent_rune"`
	// Sum of the gas withheld from users to cover outbound gas
	GasWithheldRune string `json:"gas_withheld_rune"`
	// Current outbound fee multiplier, in basis points
	OutboundFeeMultiplier *string `json:"outbound_fee_multiplier,omitempty"`
	// the outbound transaction fee in rune, converted from the NativeOutboundFeeUSD mimir (after USD fees are enabled)
	NativeOutboundFeeRune string `json:"native_outbound_fee_rune"`
	// the native transaction fee in rune, converted from the NativeTransactionFeeUSD mimir (after USD fees are enabled)
	NativeTxFeeRune string `json:"native_tx_fee_rune"`
	// the thorname register fee in rune, converted from the TNSRegisterFeeUSD mimir (after USD fees are enabled)
	TnsRegisterFeeRune string `json:"tns_register_fee_rune"`
	// the thorname fee per block in rune, converted from the TNSFeePerBlockUSD mimir (after USD fees are enabled)
	TnsFeePerBlockRune string `json:"tns_fee_per_block_rune"`
	// the rune price in tor
	RunePriceInTor string `json:"rune_price_in_tor"`
	// the tor price in rune
	TorPriceInRune string `json:"tor_price_in_rune"`
}

NetworkResponse struct for NetworkResponse

func NewNetworkResponse

func NewNetworkResponse(bondRewardRune string, totalBondUnits string, effectiveSecurityBond string, totalReserve string, vaultsMigrating bool, gasSpentRune string, gasWithheldRune string, nativeOutboundFeeRune string, nativeTxFeeRune string, tnsRegisterFeeRune string, tnsFeePerBlockRune string, runePriceInTor string, torPriceInRune string) *NetworkResponse

NewNetworkResponse instantiates a new NetworkResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkResponseWithDefaults

func NewNetworkResponseWithDefaults() *NetworkResponse

NewNetworkResponseWithDefaults instantiates a new NetworkResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkResponse) GetBondRewardRune

func (o *NetworkResponse) GetBondRewardRune() string

GetBondRewardRune returns the BondRewardRune field value

func (*NetworkResponse) GetBondRewardRuneOk

func (o *NetworkResponse) GetBondRewardRuneOk() (*string, bool)

GetBondRewardRuneOk returns a tuple with the BondRewardRune field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetEffectiveSecurityBond

func (o *NetworkResponse) GetEffectiveSecurityBond() string

GetEffectiveSecurityBond returns the EffectiveSecurityBond field value

func (*NetworkResponse) GetEffectiveSecurityBondOk

func (o *NetworkResponse) GetEffectiveSecurityBondOk() (*string, bool)

GetEffectiveSecurityBondOk returns a tuple with the EffectiveSecurityBond field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetGasSpentRune

func (o *NetworkResponse) GetGasSpentRune() string

GetGasSpentRune returns the GasSpentRune field value

func (*NetworkResponse) GetGasSpentRuneOk

func (o *NetworkResponse) GetGasSpentRuneOk() (*string, bool)

GetGasSpentRuneOk returns a tuple with the GasSpentRune field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetGasWithheldRune

func (o *NetworkResponse) GetGasWithheldRune() string

GetGasWithheldRune returns the GasWithheldRune field value

func (*NetworkResponse) GetGasWithheldRuneOk

func (o *NetworkResponse) GetGasWithheldRuneOk() (*string, bool)

GetGasWithheldRuneOk returns a tuple with the GasWithheldRune field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetNativeOutboundFeeRune

func (o *NetworkResponse) GetNativeOutboundFeeRune() string

GetNativeOutboundFeeRune returns the NativeOutboundFeeRune field value

func (*NetworkResponse) GetNativeOutboundFeeRuneOk

func (o *NetworkResponse) GetNativeOutboundFeeRuneOk() (*string, bool)

GetNativeOutboundFeeRuneOk returns a tuple with the NativeOutboundFeeRune field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetNativeTxFeeRune

func (o *NetworkResponse) GetNativeTxFeeRune() string

GetNativeTxFeeRune returns the NativeTxFeeRune field value

func (*NetworkResponse) GetNativeTxFeeRuneOk

func (o *NetworkResponse) GetNativeTxFeeRuneOk() (*string, bool)

GetNativeTxFeeRuneOk returns a tuple with the NativeTxFeeRune field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetOutboundFeeMultiplier

func (o *NetworkResponse) GetOutboundFeeMultiplier() string

GetOutboundFeeMultiplier returns the OutboundFeeMultiplier field value if set, zero value otherwise.

func (*NetworkResponse) GetOutboundFeeMultiplierOk

func (o *NetworkResponse) GetOutboundFeeMultiplierOk() (*string, bool)

GetOutboundFeeMultiplierOk returns a tuple with the OutboundFeeMultiplier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkResponse) GetRunePriceInTor

func (o *NetworkResponse) GetRunePriceInTor() string

GetRunePriceInTor returns the RunePriceInTor field value

func (*NetworkResponse) GetRunePriceInTorOk

func (o *NetworkResponse) GetRunePriceInTorOk() (*string, bool)

GetRunePriceInTorOk returns a tuple with the RunePriceInTor field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetTnsFeePerBlockRune

func (o *NetworkResponse) GetTnsFeePerBlockRune() string

GetTnsFeePerBlockRune returns the TnsFeePerBlockRune field value

func (*NetworkResponse) GetTnsFeePerBlockRuneOk

func (o *NetworkResponse) GetTnsFeePerBlockRuneOk() (*string, bool)

GetTnsFeePerBlockRuneOk returns a tuple with the TnsFeePerBlockRune field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetTnsRegisterFeeRune

func (o *NetworkResponse) GetTnsRegisterFeeRune() string

GetTnsRegisterFeeRune returns the TnsRegisterFeeRune field value

func (*NetworkResponse) GetTnsRegisterFeeRuneOk

func (o *NetworkResponse) GetTnsRegisterFeeRuneOk() (*string, bool)

GetTnsRegisterFeeRuneOk returns a tuple with the TnsRegisterFeeRune field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetTorPriceInRune

func (o *NetworkResponse) GetTorPriceInRune() string

GetTorPriceInRune returns the TorPriceInRune field value

func (*NetworkResponse) GetTorPriceInRuneOk

func (o *NetworkResponse) GetTorPriceInRuneOk() (*string, bool)

GetTorPriceInRuneOk returns a tuple with the TorPriceInRune field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetTotalBondUnits

func (o *NetworkResponse) GetTotalBondUnits() string

GetTotalBondUnits returns the TotalBondUnits field value

func (*NetworkResponse) GetTotalBondUnitsOk

func (o *NetworkResponse) GetTotalBondUnitsOk() (*string, bool)

GetTotalBondUnitsOk returns a tuple with the TotalBondUnits field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetTotalReserve

func (o *NetworkResponse) GetTotalReserve() string

GetTotalReserve returns the TotalReserve field value

func (*NetworkResponse) GetTotalReserveOk

func (o *NetworkResponse) GetTotalReserveOk() (*string, bool)

GetTotalReserveOk returns a tuple with the TotalReserve field value and a boolean to check if the value has been set.

func (*NetworkResponse) GetVaultsMigrating

func (o *NetworkResponse) GetVaultsMigrating() bool

GetVaultsMigrating returns the VaultsMigrating field value

func (*NetworkResponse) GetVaultsMigratingOk

func (o *NetworkResponse) GetVaultsMigratingOk() (*bool, bool)

GetVaultsMigratingOk returns a tuple with the VaultsMigrating field value and a boolean to check if the value has been set.

func (*NetworkResponse) HasOutboundFeeMultiplier

func (o *NetworkResponse) HasOutboundFeeMultiplier() bool

HasOutboundFeeMultiplier returns a boolean if a field has been set.

func (NetworkResponse) MarshalJSON_deprecated

func (o NetworkResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NetworkResponse) SetBondRewardRune

func (o *NetworkResponse) SetBondRewardRune(v string)

SetBondRewardRune sets field value

func (*NetworkResponse) SetEffectiveSecurityBond

func (o *NetworkResponse) SetEffectiveSecurityBond(v string)

SetEffectiveSecurityBond sets field value

func (*NetworkResponse) SetGasSpentRune

func (o *NetworkResponse) SetGasSpentRune(v string)

SetGasSpentRune sets field value

func (*NetworkResponse) SetGasWithheldRune

func (o *NetworkResponse) SetGasWithheldRune(v string)

SetGasWithheldRune sets field value

func (*NetworkResponse) SetNativeOutboundFeeRune

func (o *NetworkResponse) SetNativeOutboundFeeRune(v string)

SetNativeOutboundFeeRune sets field value

func (*NetworkResponse) SetNativeTxFeeRune

func (o *NetworkResponse) SetNativeTxFeeRune(v string)

SetNativeTxFeeRune sets field value

func (*NetworkResponse) SetOutboundFeeMultiplier

func (o *NetworkResponse) SetOutboundFeeMultiplier(v string)

SetOutboundFeeMultiplier gets a reference to the given string and assigns it to the OutboundFeeMultiplier field.

func (*NetworkResponse) SetRunePriceInTor

func (o *NetworkResponse) SetRunePriceInTor(v string)

SetRunePriceInTor sets field value

func (*NetworkResponse) SetTnsFeePerBlockRune

func (o *NetworkResponse) SetTnsFeePerBlockRune(v string)

SetTnsFeePerBlockRune sets field value

func (*NetworkResponse) SetTnsRegisterFeeRune

func (o *NetworkResponse) SetTnsRegisterFeeRune(v string)

SetTnsRegisterFeeRune sets field value

func (*NetworkResponse) SetTorPriceInRune

func (o *NetworkResponse) SetTorPriceInRune(v string)

SetTorPriceInRune sets field value

func (*NetworkResponse) SetTotalBondUnits

func (o *NetworkResponse) SetTotalBondUnits(v string)

SetTotalBondUnits sets field value

func (*NetworkResponse) SetTotalReserve

func (o *NetworkResponse) SetTotalReserve(v string)

SetTotalReserve sets field value

func (*NetworkResponse) SetVaultsMigrating

func (o *NetworkResponse) SetVaultsMigrating(v bool)

SetVaultsMigrating sets field value

type Node

type Node struct {
	NodeAddress string        `json:"node_address"`
	Status      string        `json:"status"`
	PubKeySet   NodePubKeySet `json:"pub_key_set"`
	// the consensus pub key for the node
	ValidatorConsPubKey string `json:"validator_cons_pub_key"`
	// the P2PID (:6040/p2pid endpoint) of the node
	PeerId string `json:"peer_id"`
	// the block height at which the node became active
	ActiveBlockHeight int64 `json:"active_block_height"`
	// the block height of the current provided information for the node
	StatusSince         int64  `json:"status_since"`
	NodeOperatorAddress string `json:"node_operator_address"`
	// current node bond
	TotalBond     string            `json:"total_bond"`
	BondProviders NodeBondProviders `json:"bond_providers"`
	// the set of vault public keys of which the node is a member
	SignerMembership []string `json:"signer_membership"`
	RequestedToLeave bool     `json:"requested_to_leave"`
	// indicates whether the node has been forced to leave by the network, typically via ban
	ForcedToLeave bool   `json:"forced_to_leave"`
	LeaveHeight   int64  `json:"leave_height"`
	IpAddress     string `json:"ip_address"`
	// the currently set version of the node
	Version string `json:"version"`
	// the accumulated slash points, reset at churn but excessive slash points may carry over
	SlashPoints  int64    `json:"slash_points"`
	Jail         NodeJail `json:"jail"`
	CurrentAward string   `json:"current_award"`
	// the last observed heights for all chain by the node
	ObserveChains   []ChainHeight       `json:"observe_chains"`
	PreflightStatus NodePreflightStatus `json:"preflight_status"`
}

Node struct for Node

func NewNode

func NewNode(nodeAddress string, status string, pubKeySet NodePubKeySet, validatorConsPubKey string, peerId string, activeBlockHeight int64, statusSince int64, nodeOperatorAddress string, totalBond string, bondProviders NodeBondProviders, signerMembership []string, requestedToLeave bool, forcedToLeave bool, leaveHeight int64, ipAddress string, version string, slashPoints int64, jail NodeJail, currentAward string, observeChains []ChainHeight, preflightStatus NodePreflightStatus) *Node

NewNode instantiates a new Node object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNodeWithDefaults

func NewNodeWithDefaults() *Node

NewNodeWithDefaults instantiates a new Node object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Node) GetActiveBlockHeight

func (o *Node) GetActiveBlockHeight() int64

GetActiveBlockHeight returns the ActiveBlockHeight field value

func (*Node) GetActiveBlockHeightOk

func (o *Node) GetActiveBlockHeightOk() (*int64, bool)

GetActiveBlockHeightOk returns a tuple with the ActiveBlockHeight field value and a boolean to check if the value has been set.

func (*Node) GetBondProviders

func (o *Node) GetBondProviders() NodeBondProviders

GetBondProviders returns the BondProviders field value

func (*Node) GetBondProvidersOk

func (o *Node) GetBondProvidersOk() (*NodeBondProviders, bool)

GetBondProvidersOk returns a tuple with the BondProviders field value and a boolean to check if the value has been set.

func (*Node) GetCurrentAward

func (o *Node) GetCurrentAward() string

GetCurrentAward returns the CurrentAward field value

func (*Node) GetCurrentAwardOk

func (o *Node) GetCurrentAwardOk() (*string, bool)

GetCurrentAwardOk returns a tuple with the CurrentAward field value and a boolean to check if the value has been set.

func (*Node) GetForcedToLeave

func (o *Node) GetForcedToLeave() bool

GetForcedToLeave returns the ForcedToLeave field value

func (*Node) GetForcedToLeaveOk

func (o *Node) GetForcedToLeaveOk() (*bool, bool)

GetForcedToLeaveOk returns a tuple with the ForcedToLeave field value and a boolean to check if the value has been set.

func (*Node) GetIpAddress

func (o *Node) GetIpAddress() string

GetIpAddress returns the IpAddress field value

func (*Node) GetIpAddressOk

func (o *Node) GetIpAddressOk() (*string, bool)

GetIpAddressOk returns a tuple with the IpAddress field value and a boolean to check if the value has been set.

func (*Node) GetJail

func (o *Node) GetJail() NodeJail

GetJail returns the Jail field value

func (*Node) GetJailOk

func (o *Node) GetJailOk() (*NodeJail, bool)

GetJailOk returns a tuple with the Jail field value and a boolean to check if the value has been set.

func (*Node) GetLeaveHeight

func (o *Node) GetLeaveHeight() int64

GetLeaveHeight returns the LeaveHeight field value

func (*Node) GetLeaveHeightOk

func (o *Node) GetLeaveHeightOk() (*int64, bool)

GetLeaveHeightOk returns a tuple with the LeaveHeight field value and a boolean to check if the value has been set.

func (*Node) GetNodeAddress

func (o *Node) GetNodeAddress() string

GetNodeAddress returns the NodeAddress field value

func (*Node) GetNodeAddressOk

func (o *Node) GetNodeAddressOk() (*string, bool)

GetNodeAddressOk returns a tuple with the NodeAddress field value and a boolean to check if the value has been set.

func (*Node) GetNodeOperatorAddress

func (o *Node) GetNodeOperatorAddress() string

GetNodeOperatorAddress returns the NodeOperatorAddress field value

func (*Node) GetNodeOperatorAddressOk

func (o *Node) GetNodeOperatorAddressOk() (*string, bool)

GetNodeOperatorAddressOk returns a tuple with the NodeOperatorAddress field value and a boolean to check if the value has been set.

func (*Node) GetObserveChains

func (o *Node) GetObserveChains() []ChainHeight

GetObserveChains returns the ObserveChains field value

func (*Node) GetObserveChainsOk

func (o *Node) GetObserveChainsOk() ([]ChainHeight, bool)

GetObserveChainsOk returns a tuple with the ObserveChains field value and a boolean to check if the value has been set.

func (*Node) GetPeerId

func (o *Node) GetPeerId() string

GetPeerId returns the PeerId field value

func (*Node) GetPeerIdOk

func (o *Node) GetPeerIdOk() (*string, bool)

GetPeerIdOk returns a tuple with the PeerId field value and a boolean to check if the value has been set.

func (*Node) GetPreflightStatus

func (o *Node) GetPreflightStatus() NodePreflightStatus

GetPreflightStatus returns the PreflightStatus field value

func (*Node) GetPreflightStatusOk

func (o *Node) GetPreflightStatusOk() (*NodePreflightStatus, bool)

GetPreflightStatusOk returns a tuple with the PreflightStatus field value and a boolean to check if the value has been set.

func (*Node) GetPubKeySet

func (o *Node) GetPubKeySet() NodePubKeySet

GetPubKeySet returns the PubKeySet field value

func (*Node) GetPubKeySetOk

func (o *Node) GetPubKeySetOk() (*NodePubKeySet, bool)

GetPubKeySetOk returns a tuple with the PubKeySet field value and a boolean to check if the value has been set.

func (*Node) GetRequestedToLeave

func (o *Node) GetRequestedToLeave() bool

GetRequestedToLeave returns the RequestedToLeave field value

func (*Node) GetRequestedToLeaveOk

func (o *Node) GetRequestedToLeaveOk() (*bool, bool)

GetRequestedToLeaveOk returns a tuple with the RequestedToLeave field value and a boolean to check if the value has been set.

func (*Node) GetSignerMembership

func (o *Node) GetSignerMembership() []string

GetSignerMembership returns the SignerMembership field value

func (*Node) GetSignerMembershipOk

func (o *Node) GetSignerMembershipOk() ([]string, bool)

GetSignerMembershipOk returns a tuple with the SignerMembership field value and a boolean to check if the value has been set.

func (*Node) GetSlashPoints

func (o *Node) GetSlashPoints() int64

GetSlashPoints returns the SlashPoints field value

func (*Node) GetSlashPointsOk

func (o *Node) GetSlashPointsOk() (*int64, bool)

GetSlashPointsOk returns a tuple with the SlashPoints field value and a boolean to check if the value has been set.

func (*Node) GetStatus

func (o *Node) GetStatus() string

GetStatus returns the Status field value

func (*Node) GetStatusOk

func (o *Node) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Node) GetStatusSince

func (o *Node) GetStatusSince() int64

GetStatusSince returns the StatusSince field value

func (*Node) GetStatusSinceOk

func (o *Node) GetStatusSinceOk() (*int64, bool)

GetStatusSinceOk returns a tuple with the StatusSince field value and a boolean to check if the value has been set.

func (*Node) GetTotalBond

func (o *Node) GetTotalBond() string

GetTotalBond returns the TotalBond field value

func (*Node) GetTotalBondOk

func (o *Node) GetTotalBondOk() (*string, bool)

GetTotalBondOk returns a tuple with the TotalBond field value and a boolean to check if the value has been set.

func (*Node) GetValidatorConsPubKey

func (o *Node) GetValidatorConsPubKey() string

GetValidatorConsPubKey returns the ValidatorConsPubKey field value

func (*Node) GetValidatorConsPubKeyOk

func (o *Node) GetValidatorConsPubKeyOk() (*string, bool)

GetValidatorConsPubKeyOk returns a tuple with the ValidatorConsPubKey field value and a boolean to check if the value has been set.

func (*Node) GetVersion

func (o *Node) GetVersion() string

GetVersion returns the Version field value

func (*Node) GetVersionOk

func (o *Node) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (Node) MarshalJSON_deprecated

func (o Node) MarshalJSON_deprecated() ([]byte, error)

func (*Node) SetActiveBlockHeight

func (o *Node) SetActiveBlockHeight(v int64)

SetActiveBlockHeight sets field value

func (*Node) SetBondProviders

func (o *Node) SetBondProviders(v NodeBondProviders)

SetBondProviders sets field value

func (*Node) SetCurrentAward

func (o *Node) SetCurrentAward(v string)

SetCurrentAward sets field value

func (*Node) SetForcedToLeave

func (o *Node) SetForcedToLeave(v bool)

SetForcedToLeave sets field value

func (*Node) SetIpAddress

func (o *Node) SetIpAddress(v string)

SetIpAddress sets field value

func (*Node) SetJail

func (o *Node) SetJail(v NodeJail)

SetJail sets field value

func (*Node) SetLeaveHeight

func (o *Node) SetLeaveHeight(v int64)

SetLeaveHeight sets field value

func (*Node) SetNodeAddress

func (o *Node) SetNodeAddress(v string)

SetNodeAddress sets field value

func (*Node) SetNodeOperatorAddress

func (o *Node) SetNodeOperatorAddress(v string)

SetNodeOperatorAddress sets field value

func (*Node) SetObserveChains

func (o *Node) SetObserveChains(v []ChainHeight)

SetObserveChains sets field value

func (*Node) SetPeerId

func (o *Node) SetPeerId(v string)

SetPeerId sets field value

func (*Node) SetPreflightStatus

func (o *Node) SetPreflightStatus(v NodePreflightStatus)

SetPreflightStatus sets field value

func (*Node) SetPubKeySet

func (o *Node) SetPubKeySet(v NodePubKeySet)

SetPubKeySet sets field value

func (*Node) SetRequestedToLeave

func (o *Node) SetRequestedToLeave(v bool)

SetRequestedToLeave sets field value

func (*Node) SetSignerMembership

func (o *Node) SetSignerMembership(v []string)

SetSignerMembership sets field value

func (*Node) SetSlashPoints

func (o *Node) SetSlashPoints(v int64)

SetSlashPoints sets field value

func (*Node) SetStatus

func (o *Node) SetStatus(v string)

SetStatus sets field value

func (*Node) SetStatusSince

func (o *Node) SetStatusSince(v int64)

SetStatusSince sets field value

func (*Node) SetTotalBond

func (o *Node) SetTotalBond(v string)

SetTotalBond sets field value

func (*Node) SetValidatorConsPubKey

func (o *Node) SetValidatorConsPubKey(v string)

SetValidatorConsPubKey sets field value

func (*Node) SetVersion

func (o *Node) SetVersion(v string)

SetVersion sets field value

type NodeBondProvider

type NodeBondProvider struct {
	BondAddress *string `json:"bond_address,omitempty"`
	Bond        *string `json:"bond,omitempty"`
}

NodeBondProvider struct for NodeBondProvider

func NewNodeBondProvider

func NewNodeBondProvider() *NodeBondProvider

NewNodeBondProvider instantiates a new NodeBondProvider object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNodeBondProviderWithDefaults

func NewNodeBondProviderWithDefaults() *NodeBondProvider

NewNodeBondProviderWithDefaults instantiates a new NodeBondProvider object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NodeBondProvider) GetBond

func (o *NodeBondProvider) GetBond() string

GetBond returns the Bond field value if set, zero value otherwise.

func (*NodeBondProvider) GetBondAddress

func (o *NodeBondProvider) GetBondAddress() string

GetBondAddress returns the BondAddress field value if set, zero value otherwise.

func (*NodeBondProvider) GetBondAddressOk

func (o *NodeBondProvider) GetBondAddressOk() (*string, bool)

GetBondAddressOk returns a tuple with the BondAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NodeBondProvider) GetBondOk

func (o *NodeBondProvider) GetBondOk() (*string, bool)

GetBondOk returns a tuple with the Bond field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NodeBondProvider) HasBond

func (o *NodeBondProvider) HasBond() bool

HasBond returns a boolean if a field has been set.

func (*NodeBondProvider) HasBondAddress

func (o *NodeBondProvider) HasBondAddress() bool

HasBondAddress returns a boolean if a field has been set.

func (NodeBondProvider) MarshalJSON_deprecated

func (o NodeBondProvider) MarshalJSON_deprecated() ([]byte, error)

func (*NodeBondProvider) SetBond

func (o *NodeBondProvider) SetBond(v string)

SetBond gets a reference to the given string and assigns it to the Bond field.

func (*NodeBondProvider) SetBondAddress

func (o *NodeBondProvider) SetBondAddress(v string)

SetBondAddress gets a reference to the given string and assigns it to the BondAddress field.

type NodeBondProviders

type NodeBondProviders struct {
	// node operator fee in basis points
	NodeOperatorFee string `json:"node_operator_fee"`
	// all the bond providers for the node
	Providers []NodeBondProvider `json:"providers"`
}

NodeBondProviders struct for NodeBondProviders

func NewNodeBondProviders

func NewNodeBondProviders(nodeOperatorFee string, providers []NodeBondProvider) *NodeBondProviders

NewNodeBondProviders instantiates a new NodeBondProviders object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNodeBondProvidersWithDefaults

func NewNodeBondProvidersWithDefaults() *NodeBondProviders

NewNodeBondProvidersWithDefaults instantiates a new NodeBondProviders object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NodeBondProviders) GetNodeOperatorFee

func (o *NodeBondProviders) GetNodeOperatorFee() string

GetNodeOperatorFee returns the NodeOperatorFee field value

func (*NodeBondProviders) GetNodeOperatorFeeOk

func (o *NodeBondProviders) GetNodeOperatorFeeOk() (*string, bool)

GetNodeOperatorFeeOk returns a tuple with the NodeOperatorFee field value and a boolean to check if the value has been set.

func (*NodeBondProviders) GetProviders

func (o *NodeBondProviders) GetProviders() []NodeBondProvider

GetProviders returns the Providers field value

func (*NodeBondProviders) GetProvidersOk

func (o *NodeBondProviders) GetProvidersOk() ([]NodeBondProvider, bool)

GetProvidersOk returns a tuple with the Providers field value and a boolean to check if the value has been set.

func (NodeBondProviders) MarshalJSON_deprecated

func (o NodeBondProviders) MarshalJSON_deprecated() ([]byte, error)

func (*NodeBondProviders) SetNodeOperatorFee

func (o *NodeBondProviders) SetNodeOperatorFee(v string)

SetNodeOperatorFee sets field value

func (*NodeBondProviders) SetProviders

func (o *NodeBondProviders) SetProviders(v []NodeBondProvider)

SetProviders sets field value

type NodeJail

type NodeJail struct {
	ReleaseHeight *int64  `json:"release_height,omitempty"`
	Reason        *string `json:"reason,omitempty"`
}

NodeJail struct for NodeJail

func NewNodeJail

func NewNodeJail() *NodeJail

NewNodeJail instantiates a new NodeJail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNodeJailWithDefaults

func NewNodeJailWithDefaults() *NodeJail

NewNodeJailWithDefaults instantiates a new NodeJail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NodeJail) GetReason

func (o *NodeJail) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*NodeJail) GetReasonOk

func (o *NodeJail) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NodeJail) GetReleaseHeight

func (o *NodeJail) GetReleaseHeight() int64

GetReleaseHeight returns the ReleaseHeight field value if set, zero value otherwise.

func (*NodeJail) GetReleaseHeightOk

func (o *NodeJail) GetReleaseHeightOk() (*int64, bool)

GetReleaseHeightOk returns a tuple with the ReleaseHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NodeJail) HasReason

func (o *NodeJail) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*NodeJail) HasReleaseHeight

func (o *NodeJail) HasReleaseHeight() bool

HasReleaseHeight returns a boolean if a field has been set.

func (NodeJail) MarshalJSON_deprecated

func (o NodeJail) MarshalJSON_deprecated() ([]byte, error)

func (*NodeJail) SetReason

func (o *NodeJail) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*NodeJail) SetReleaseHeight

func (o *NodeJail) SetReleaseHeight(v int64)

SetReleaseHeight gets a reference to the given int64 and assigns it to the ReleaseHeight field.

type NodeKeygenMetric

type NodeKeygenMetric struct {
	Address *string `json:"address,omitempty"`
	TssTime *string `json:"tss_time,omitempty"`
}

NodeKeygenMetric struct for NodeKeygenMetric

func NewNodeKeygenMetric

func NewNodeKeygenMetric() *NodeKeygenMetric

NewNodeKeygenMetric instantiates a new NodeKeygenMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNodeKeygenMetricWithDefaults

func NewNodeKeygenMetricWithDefaults() *NodeKeygenMetric

NewNodeKeygenMetricWithDefaults instantiates a new NodeKeygenMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NodeKeygenMetric) GetAddress

func (o *NodeKeygenMetric) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*NodeKeygenMetric) GetAddressOk

func (o *NodeKeygenMetric) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NodeKeygenMetric) GetTssTime

func (o *NodeKeygenMetric) GetTssTime() string

GetTssTime returns the TssTime field value if set, zero value otherwise.

func (*NodeKeygenMetric) GetTssTimeOk

func (o *NodeKeygenMetric) GetTssTimeOk() (*string, bool)

GetTssTimeOk returns a tuple with the TssTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NodeKeygenMetric) HasAddress

func (o *NodeKeygenMetric) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*NodeKeygenMetric) HasTssTime

func (o *NodeKeygenMetric) HasTssTime() bool

HasTssTime returns a boolean if a field has been set.

func (NodeKeygenMetric) MarshalJSON_deprecated

func (o NodeKeygenMetric) MarshalJSON_deprecated() ([]byte, error)

func (*NodeKeygenMetric) SetAddress

func (o *NodeKeygenMetric) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*NodeKeygenMetric) SetTssTime

func (o *NodeKeygenMetric) SetTssTime(v string)

SetTssTime gets a reference to the given string and assigns it to the TssTime field.

type NodePreflightStatus

type NodePreflightStatus struct {
	// the next status of the node
	Status string `json:"status"`
	// the reason for the transition to the next status
	Reason string `json:"reason"`
	Code   int64  `json:"code"`
}

NodePreflightStatus struct for NodePreflightStatus

func NewNodePreflightStatus

func NewNodePreflightStatus(status string, reason string, code int64) *NodePreflightStatus

NewNodePreflightStatus instantiates a new NodePreflightStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNodePreflightStatusWithDefaults

func NewNodePreflightStatusWithDefaults() *NodePreflightStatus

NewNodePreflightStatusWithDefaults instantiates a new NodePreflightStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NodePreflightStatus) GetCode

func (o *NodePreflightStatus) GetCode() int64

GetCode returns the Code field value

func (*NodePreflightStatus) GetCodeOk

func (o *NodePreflightStatus) GetCodeOk() (*int64, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*NodePreflightStatus) GetReason

func (o *NodePreflightStatus) GetReason() string

GetReason returns the Reason field value

func (*NodePreflightStatus) GetReasonOk

func (o *NodePreflightStatus) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.

func (*NodePreflightStatus) GetStatus

func (o *NodePreflightStatus) GetStatus() string

GetStatus returns the Status field value

func (*NodePreflightStatus) GetStatusOk

func (o *NodePreflightStatus) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (NodePreflightStatus) MarshalJSON_deprecated

func (o NodePreflightStatus) MarshalJSON_deprecated() ([]byte, error)

func (*NodePreflightStatus) SetCode

func (o *NodePreflightStatus) SetCode(v int64)

SetCode sets field value

func (*NodePreflightStatus) SetReason

func (o *NodePreflightStatus) SetReason(v string)

SetReason sets field value

func (*NodePreflightStatus) SetStatus

func (o *NodePreflightStatus) SetStatus(v string)

SetStatus sets field value

type NodePubKeySet

type NodePubKeySet struct {
	Secp256k1 *string `json:"secp256k1,omitempty"`
	Ed25519   *string `json:"ed25519,omitempty"`
}

NodePubKeySet struct for NodePubKeySet

func NewNodePubKeySet

func NewNodePubKeySet() *NodePubKeySet

NewNodePubKeySet instantiates a new NodePubKeySet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNodePubKeySetWithDefaults

func NewNodePubKeySetWithDefaults() *NodePubKeySet

NewNodePubKeySetWithDefaults instantiates a new NodePubKeySet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NodePubKeySet) GetEd25519

func (o *NodePubKeySet) GetEd25519() string

GetEd25519 returns the Ed25519 field value if set, zero value otherwise.

func (*NodePubKeySet) GetEd25519Ok

func (o *NodePubKeySet) GetEd25519Ok() (*string, bool)

GetEd25519Ok returns a tuple with the Ed25519 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NodePubKeySet) GetSecp256k1

func (o *NodePubKeySet) GetSecp256k1() string

GetSecp256k1 returns the Secp256k1 field value if set, zero value otherwise.

func (*NodePubKeySet) GetSecp256k1Ok

func (o *NodePubKeySet) GetSecp256k1Ok() (*string, bool)

GetSecp256k1Ok returns a tuple with the Secp256k1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NodePubKeySet) HasEd25519

func (o *NodePubKeySet) HasEd25519() bool

HasEd25519 returns a boolean if a field has been set.

func (*NodePubKeySet) HasSecp256k1

func (o *NodePubKeySet) HasSecp256k1() bool

HasSecp256k1 returns a boolean if a field has been set.

func (NodePubKeySet) MarshalJSON_deprecated

func (o NodePubKeySet) MarshalJSON_deprecated() ([]byte, error)

func (*NodePubKeySet) SetEd25519

func (o *NodePubKeySet) SetEd25519(v string)

SetEd25519 gets a reference to the given string and assigns it to the Ed25519 field.

func (*NodePubKeySet) SetSecp256k1

func (o *NodePubKeySet) SetSecp256k1(v string)

SetSecp256k1 gets a reference to the given string and assigns it to the Secp256k1 field.

type NodesApiService

type NodesApiService service

NodesApiService NodesApi service

func (*NodesApiService) Node

func (a *NodesApiService) Node(ctx context.Context, address string) ApiNodeRequest

Node Method for Node

Returns node information for the provided node address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address
@return ApiNodeRequest

func (*NodesApiService) NodeExecute

func (a *NodesApiService) NodeExecute(r ApiNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*NodesApiService) Nodes

Nodes Method for Nodes

Returns node information for all registered validators.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiNodesRequest

func (*NodesApiService) NodesExecute

func (a *NodesApiService) NodesExecute(r ApiNodesRequest) ([]Node, *http.Response, error)

Execute executes the request

@return []Node

type NullableAccount

type NullableAccount struct {
	// contains filtered or unexported fields
}

func NewNullableAccount

func NewNullableAccount(val *Account) *NullableAccount

func (NullableAccount) Get

func (v NullableAccount) Get() *Account

func (NullableAccount) IsSet

func (v NullableAccount) IsSet() bool

func (NullableAccount) MarshalJSON_deprecated

func (v NullableAccount) MarshalJSON_deprecated() ([]byte, error)

func (*NullableAccount) Set

func (v *NullableAccount) Set(val *Account)

func (*NullableAccount) UnmarshalJSON

func (v *NullableAccount) UnmarshalJSON(src []byte) error

func (*NullableAccount) Unset

func (v *NullableAccount) Unset()

type NullableAccountResponse

type NullableAccountResponse struct {
	// contains filtered or unexported fields
}

func NewNullableAccountResponse

func NewNullableAccountResponse(val *AccountResponse) *NullableAccountResponse

func (NullableAccountResponse) Get

func (NullableAccountResponse) IsSet

func (v NullableAccountResponse) IsSet() bool

func (NullableAccountResponse) MarshalJSON_deprecated

func (v NullableAccountResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableAccountResponse) Set

func (*NullableAccountResponse) UnmarshalJSON

func (v *NullableAccountResponse) UnmarshalJSON(src []byte) error

func (*NullableAccountResponse) Unset

func (v *NullableAccountResponse) Unset()

type NullableAccountResponseResult

type NullableAccountResponseResult struct {
	// contains filtered or unexported fields
}

func (NullableAccountResponseResult) Get

func (NullableAccountResponseResult) IsSet

func (NullableAccountResponseResult) MarshalJSON_deprecated

func (v NullableAccountResponseResult) MarshalJSON_deprecated() ([]byte, error)

func (*NullableAccountResponseResult) Set

func (*NullableAccountResponseResult) UnmarshalJSON

func (v *NullableAccountResponseResult) UnmarshalJSON(src []byte) error

func (*NullableAccountResponseResult) Unset

func (v *NullableAccountResponseResult) Unset()

type NullableAmount

type NullableAmount struct {
	// contains filtered or unexported fields
}

func NewNullableAmount

func NewNullableAmount(val *Amount) *NullableAmount

func (NullableAmount) Get

func (v NullableAmount) Get() *Amount

func (NullableAmount) IsSet

func (v NullableAmount) IsSet() bool

func (NullableAmount) MarshalJSON_deprecated

func (v NullableAmount) MarshalJSON_deprecated() ([]byte, error)

func (*NullableAmount) Set

func (v *NullableAmount) Set(val *Amount)

func (*NullableAmount) UnmarshalJSON

func (v *NullableAmount) UnmarshalJSON(src []byte) error

func (*NullableAmount) Unset

func (v *NullableAmount) Unset()

type NullableBalancesResponse

type NullableBalancesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableBalancesResponse

func NewNullableBalancesResponse(val *BalancesResponse) *NullableBalancesResponse

func (NullableBalancesResponse) Get

func (NullableBalancesResponse) IsSet

func (v NullableBalancesResponse) IsSet() bool

func (NullableBalancesResponse) MarshalJSON_deprecated

func (v NullableBalancesResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBalancesResponse) Set

func (*NullableBalancesResponse) UnmarshalJSON

func (v *NullableBalancesResponse) UnmarshalJSON(src []byte) error

func (*NullableBalancesResponse) Unset

func (v *NullableBalancesResponse) Unset()

type NullableBanResponse

type NullableBanResponse struct {
	// contains filtered or unexported fields
}

func NewNullableBanResponse

func NewNullableBanResponse(val *BanResponse) *NullableBanResponse

func (NullableBanResponse) Get

func (NullableBanResponse) IsSet

func (v NullableBanResponse) IsSet() bool

func (NullableBanResponse) MarshalJSON_deprecated

func (v NullableBanResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBanResponse) Set

func (v *NullableBanResponse) Set(val *BanResponse)

func (*NullableBanResponse) UnmarshalJSON

func (v *NullableBanResponse) UnmarshalJSON(src []byte) error

func (*NullableBanResponse) Unset

func (v *NullableBanResponse) Unset()

type NullableBaseQuoteResponse

type NullableBaseQuoteResponse struct {
	// contains filtered or unexported fields
}

func NewNullableBaseQuoteResponse

func NewNullableBaseQuoteResponse(val *BaseQuoteResponse) *NullableBaseQuoteResponse

func (NullableBaseQuoteResponse) Get

func (NullableBaseQuoteResponse) IsSet

func (v NullableBaseQuoteResponse) IsSet() bool

func (NullableBaseQuoteResponse) MarshalJSON_deprecated

func (v NullableBaseQuoteResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBaseQuoteResponse) Set

func (*NullableBaseQuoteResponse) UnmarshalJSON

func (v *NullableBaseQuoteResponse) UnmarshalJSON(src []byte) error

func (*NullableBaseQuoteResponse) Unset

func (v *NullableBaseQuoteResponse) Unset()

type NullableBlockResponse

type NullableBlockResponse struct {
	// contains filtered or unexported fields
}

func NewNullableBlockResponse

func NewNullableBlockResponse(val *BlockResponse) *NullableBlockResponse

func (NullableBlockResponse) Get

func (NullableBlockResponse) IsSet

func (v NullableBlockResponse) IsSet() bool

func (NullableBlockResponse) MarshalJSON_deprecated

func (v NullableBlockResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBlockResponse) Set

func (v *NullableBlockResponse) Set(val *BlockResponse)

func (*NullableBlockResponse) UnmarshalJSON

func (v *NullableBlockResponse) UnmarshalJSON(src []byte) error

func (*NullableBlockResponse) Unset

func (v *NullableBlockResponse) Unset()

type NullableBlockResponseHeader

type NullableBlockResponseHeader struct {
	// contains filtered or unexported fields
}

func NewNullableBlockResponseHeader

func NewNullableBlockResponseHeader(val *BlockResponseHeader) *NullableBlockResponseHeader

func (NullableBlockResponseHeader) Get

func (NullableBlockResponseHeader) IsSet

func (NullableBlockResponseHeader) MarshalJSON_deprecated

func (v NullableBlockResponseHeader) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBlockResponseHeader) Set

func (*NullableBlockResponseHeader) UnmarshalJSON

func (v *NullableBlockResponseHeader) UnmarshalJSON(src []byte) error

func (*NullableBlockResponseHeader) Unset

func (v *NullableBlockResponseHeader) Unset()

type NullableBlockResponseHeaderVersion

type NullableBlockResponseHeaderVersion struct {
	// contains filtered or unexported fields
}

func (NullableBlockResponseHeaderVersion) Get

func (NullableBlockResponseHeaderVersion) IsSet

func (NullableBlockResponseHeaderVersion) MarshalJSON_deprecated

func (v NullableBlockResponseHeaderVersion) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBlockResponseHeaderVersion) Set

func (*NullableBlockResponseHeaderVersion) UnmarshalJSON

func (v *NullableBlockResponseHeaderVersion) UnmarshalJSON(src []byte) error

func (*NullableBlockResponseHeaderVersion) Unset

type NullableBlockResponseId

type NullableBlockResponseId struct {
	// contains filtered or unexported fields
}

func NewNullableBlockResponseId

func NewNullableBlockResponseId(val *BlockResponseId) *NullableBlockResponseId

func (NullableBlockResponseId) Get

func (NullableBlockResponseId) IsSet

func (v NullableBlockResponseId) IsSet() bool

func (NullableBlockResponseId) MarshalJSON_deprecated

func (v NullableBlockResponseId) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBlockResponseId) Set

func (*NullableBlockResponseId) UnmarshalJSON

func (v *NullableBlockResponseId) UnmarshalJSON(src []byte) error

func (*NullableBlockResponseId) Unset

func (v *NullableBlockResponseId) Unset()

type NullableBlockResponseIdParts

type NullableBlockResponseIdParts struct {
	// contains filtered or unexported fields
}

func NewNullableBlockResponseIdParts

func NewNullableBlockResponseIdParts(val *BlockResponseIdParts) *NullableBlockResponseIdParts

func (NullableBlockResponseIdParts) Get

func (NullableBlockResponseIdParts) IsSet

func (NullableBlockResponseIdParts) MarshalJSON_deprecated

func (v NullableBlockResponseIdParts) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBlockResponseIdParts) Set

func (*NullableBlockResponseIdParts) UnmarshalJSON

func (v *NullableBlockResponseIdParts) UnmarshalJSON(src []byte) error

func (*NullableBlockResponseIdParts) Unset

func (v *NullableBlockResponseIdParts) Unset()

type NullableBlockTx

type NullableBlockTx struct {
	// contains filtered or unexported fields
}

func NewNullableBlockTx

func NewNullableBlockTx(val *BlockTx) *NullableBlockTx

func (NullableBlockTx) Get

func (v NullableBlockTx) Get() *BlockTx

func (NullableBlockTx) IsSet

func (v NullableBlockTx) IsSet() bool

func (NullableBlockTx) MarshalJSON_deprecated

func (v NullableBlockTx) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBlockTx) Set

func (v *NullableBlockTx) Set(val *BlockTx)

func (*NullableBlockTx) UnmarshalJSON

func (v *NullableBlockTx) UnmarshalJSON(src []byte) error

func (*NullableBlockTx) Unset

func (v *NullableBlockTx) Unset()

type NullableBlockTxResult

type NullableBlockTxResult struct {
	// contains filtered or unexported fields
}

func NewNullableBlockTxResult

func NewNullableBlockTxResult(val *BlockTxResult) *NullableBlockTxResult

func (NullableBlockTxResult) Get

func (NullableBlockTxResult) IsSet

func (v NullableBlockTxResult) IsSet() bool

func (NullableBlockTxResult) MarshalJSON_deprecated

func (v NullableBlockTxResult) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBlockTxResult) Set

func (v *NullableBlockTxResult) Set(val *BlockTxResult)

func (*NullableBlockTxResult) UnmarshalJSON

func (v *NullableBlockTxResult) UnmarshalJSON(src []byte) error

func (*NullableBlockTxResult) Unset

func (v *NullableBlockTxResult) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBorrower

type NullableBorrower struct {
	// contains filtered or unexported fields
}

func NewNullableBorrower

func NewNullableBorrower(val *Borrower) *NullableBorrower

func (NullableBorrower) Get

func (v NullableBorrower) Get() *Borrower

func (NullableBorrower) IsSet

func (v NullableBorrower) IsSet() bool

func (NullableBorrower) MarshalJSON_deprecated

func (v NullableBorrower) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBorrower) Set

func (v *NullableBorrower) Set(val *Borrower)

func (*NullableBorrower) UnmarshalJSON

func (v *NullableBorrower) UnmarshalJSON(src []byte) error

func (*NullableBorrower) Unset

func (v *NullableBorrower) Unset()

type NullableChainHeight

type NullableChainHeight struct {
	// contains filtered or unexported fields
}

func NewNullableChainHeight

func NewNullableChainHeight(val *ChainHeight) *NullableChainHeight

func (NullableChainHeight) Get

func (NullableChainHeight) IsSet

func (v NullableChainHeight) IsSet() bool

func (NullableChainHeight) MarshalJSON_deprecated

func (v NullableChainHeight) MarshalJSON_deprecated() ([]byte, error)

func (*NullableChainHeight) Set

func (v *NullableChainHeight) Set(val *ChainHeight)

func (*NullableChainHeight) UnmarshalJSON

func (v *NullableChainHeight) UnmarshalJSON(src []byte) error

func (*NullableChainHeight) Unset

func (v *NullableChainHeight) Unset()

type NullableCoin

type NullableCoin struct {
	// contains filtered or unexported fields
}

func NewNullableCoin

func NewNullableCoin(val *Coin) *NullableCoin

func (NullableCoin) Get

func (v NullableCoin) Get() *Coin

func (NullableCoin) IsSet

func (v NullableCoin) IsSet() bool

func (NullableCoin) MarshalJSON_deprecated

func (v NullableCoin) MarshalJSON_deprecated() ([]byte, error)

func (*NullableCoin) Set

func (v *NullableCoin) Set(val *Coin)

func (*NullableCoin) UnmarshalJSON

func (v *NullableCoin) UnmarshalJSON(src []byte) error

func (*NullableCoin) Unset

func (v *NullableCoin) Unset()

type NullableConstantsResponse

type NullableConstantsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableConstantsResponse

func NewNullableConstantsResponse(val *ConstantsResponse) *NullableConstantsResponse

func (NullableConstantsResponse) Get

func (NullableConstantsResponse) IsSet

func (v NullableConstantsResponse) IsSet() bool

func (NullableConstantsResponse) MarshalJSON_deprecated

func (v NullableConstantsResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableConstantsResponse) Set

func (*NullableConstantsResponse) UnmarshalJSON

func (v *NullableConstantsResponse) UnmarshalJSON(src []byte) error

func (*NullableConstantsResponse) Unset

func (v *NullableConstantsResponse) Unset()

type NullableDerivedPool

type NullableDerivedPool struct {
	// contains filtered or unexported fields
}

func NewNullableDerivedPool

func NewNullableDerivedPool(val *DerivedPool) *NullableDerivedPool

func (NullableDerivedPool) Get

func (NullableDerivedPool) IsSet

func (v NullableDerivedPool) IsSet() bool

func (NullableDerivedPool) MarshalJSON_deprecated

func (v NullableDerivedPool) MarshalJSON_deprecated() ([]byte, error)

func (*NullableDerivedPool) Set

func (v *NullableDerivedPool) Set(val *DerivedPool)

func (*NullableDerivedPool) UnmarshalJSON

func (v *NullableDerivedPool) UnmarshalJSON(src []byte) error

func (*NullableDerivedPool) Unset

func (v *NullableDerivedPool) Unset()

type NullableExportResponse

type NullableExportResponse struct {
	// contains filtered or unexported fields
}

func NewNullableExportResponse

func NewNullableExportResponse(val *ExportResponse) *NullableExportResponse

func (NullableExportResponse) Get

func (NullableExportResponse) IsSet

func (v NullableExportResponse) IsSet() bool

func (NullableExportResponse) MarshalJSON_deprecated

func (v NullableExportResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableExportResponse) Set

func (*NullableExportResponse) UnmarshalJSON

func (v *NullableExportResponse) UnmarshalJSON(src []byte) error

func (*NullableExportResponse) Unset

func (v *NullableExportResponse) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInboundAddress

type NullableInboundAddress struct {
	// contains filtered or unexported fields
}

func NewNullableInboundAddress

func NewNullableInboundAddress(val *InboundAddress) *NullableInboundAddress

func (NullableInboundAddress) Get

func (NullableInboundAddress) IsSet

func (v NullableInboundAddress) IsSet() bool

func (NullableInboundAddress) MarshalJSON_deprecated

func (v NullableInboundAddress) MarshalJSON_deprecated() ([]byte, error)

func (*NullableInboundAddress) Set

func (*NullableInboundAddress) UnmarshalJSON

func (v *NullableInboundAddress) UnmarshalJSON(src []byte) error

func (*NullableInboundAddress) Unset

func (v *NullableInboundAddress) Unset()

type NullableInboundConfirmationCountedStage

type NullableInboundConfirmationCountedStage struct {
	// contains filtered or unexported fields
}

func (NullableInboundConfirmationCountedStage) Get

func (NullableInboundConfirmationCountedStage) IsSet

func (NullableInboundConfirmationCountedStage) MarshalJSON_deprecated

func (v NullableInboundConfirmationCountedStage) MarshalJSON_deprecated() ([]byte, error)

func (*NullableInboundConfirmationCountedStage) Set

func (*NullableInboundConfirmationCountedStage) UnmarshalJSON

func (v *NullableInboundConfirmationCountedStage) UnmarshalJSON(src []byte) error

func (*NullableInboundConfirmationCountedStage) Unset

type NullableInboundFinalisedStage

type NullableInboundFinalisedStage struct {
	// contains filtered or unexported fields
}

func (NullableInboundFinalisedStage) Get

func (NullableInboundFinalisedStage) IsSet

func (NullableInboundFinalisedStage) MarshalJSON_deprecated

func (v NullableInboundFinalisedStage) MarshalJSON_deprecated() ([]byte, error)

func (*NullableInboundFinalisedStage) Set

func (*NullableInboundFinalisedStage) UnmarshalJSON

func (v *NullableInboundFinalisedStage) UnmarshalJSON(src []byte) error

func (*NullableInboundFinalisedStage) Unset

func (v *NullableInboundFinalisedStage) Unset()

type NullableInboundObservedStage

type NullableInboundObservedStage struct {
	// contains filtered or unexported fields
}

func NewNullableInboundObservedStage

func NewNullableInboundObservedStage(val *InboundObservedStage) *NullableInboundObservedStage

func (NullableInboundObservedStage) Get

func (NullableInboundObservedStage) IsSet

func (NullableInboundObservedStage) MarshalJSON_deprecated

func (v NullableInboundObservedStage) MarshalJSON_deprecated() ([]byte, error)

func (*NullableInboundObservedStage) Set

func (*NullableInboundObservedStage) UnmarshalJSON

func (v *NullableInboundObservedStage) UnmarshalJSON(src []byte) error

func (*NullableInboundObservedStage) Unset

func (v *NullableInboundObservedStage) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableInvariantResponse

type NullableInvariantResponse struct {
	// contains filtered or unexported fields
}

func NewNullableInvariantResponse

func NewNullableInvariantResponse(val *InvariantResponse) *NullableInvariantResponse

func (NullableInvariantResponse) Get

func (NullableInvariantResponse) IsSet

func (v NullableInvariantResponse) IsSet() bool

func (NullableInvariantResponse) MarshalJSON_deprecated

func (v NullableInvariantResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableInvariantResponse) Set

func (*NullableInvariantResponse) UnmarshalJSON

func (v *NullableInvariantResponse) UnmarshalJSON(src []byte) error

func (*NullableInvariantResponse) Unset

func (v *NullableInvariantResponse) Unset()

type NullableInvariantsResponse

type NullableInvariantsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableInvariantsResponse

func NewNullableInvariantsResponse(val *InvariantsResponse) *NullableInvariantsResponse

func (NullableInvariantsResponse) Get

func (NullableInvariantsResponse) IsSet

func (v NullableInvariantsResponse) IsSet() bool

func (NullableInvariantsResponse) MarshalJSON_deprecated

func (v NullableInvariantsResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableInvariantsResponse) Set

func (*NullableInvariantsResponse) UnmarshalJSON

func (v *NullableInvariantsResponse) UnmarshalJSON(src []byte) error

func (*NullableInvariantsResponse) Unset

func (v *NullableInvariantsResponse) Unset()

type NullableKeygen

type NullableKeygen struct {
	// contains filtered or unexported fields
}

func NewNullableKeygen

func NewNullableKeygen(val *Keygen) *NullableKeygen

func (NullableKeygen) Get

func (v NullableKeygen) Get() *Keygen

func (NullableKeygen) IsSet

func (v NullableKeygen) IsSet() bool

func (NullableKeygen) MarshalJSON_deprecated

func (v NullableKeygen) MarshalJSON_deprecated() ([]byte, error)

func (*NullableKeygen) Set

func (v *NullableKeygen) Set(val *Keygen)

func (*NullableKeygen) UnmarshalJSON

func (v *NullableKeygen) UnmarshalJSON(src []byte) error

func (*NullableKeygen) Unset

func (v *NullableKeygen) Unset()

type NullableKeygenBlock

type NullableKeygenBlock struct {
	// contains filtered or unexported fields
}

func NewNullableKeygenBlock

func NewNullableKeygenBlock(val *KeygenBlock) *NullableKeygenBlock

func (NullableKeygenBlock) Get

func (NullableKeygenBlock) IsSet

func (v NullableKeygenBlock) IsSet() bool

func (NullableKeygenBlock) MarshalJSON_deprecated

func (v NullableKeygenBlock) MarshalJSON_deprecated() ([]byte, error)

func (*NullableKeygenBlock) Set

func (v *NullableKeygenBlock) Set(val *KeygenBlock)

func (*NullableKeygenBlock) UnmarshalJSON

func (v *NullableKeygenBlock) UnmarshalJSON(src []byte) error

func (*NullableKeygenBlock) Unset

func (v *NullableKeygenBlock) Unset()

type NullableKeygenMetric

type NullableKeygenMetric struct {
	// contains filtered or unexported fields
}

func NewNullableKeygenMetric

func NewNullableKeygenMetric(val *KeygenMetric) *NullableKeygenMetric

func (NullableKeygenMetric) Get

func (NullableKeygenMetric) IsSet

func (v NullableKeygenMetric) IsSet() bool

func (NullableKeygenMetric) MarshalJSON_deprecated

func (v NullableKeygenMetric) MarshalJSON_deprecated() ([]byte, error)

func (*NullableKeygenMetric) Set

func (v *NullableKeygenMetric) Set(val *KeygenMetric)

func (*NullableKeygenMetric) UnmarshalJSON

func (v *NullableKeygenMetric) UnmarshalJSON(src []byte) error

func (*NullableKeygenMetric) Unset

func (v *NullableKeygenMetric) Unset()

type NullableKeygenResponse

type NullableKeygenResponse struct {
	// contains filtered or unexported fields
}

func NewNullableKeygenResponse

func NewNullableKeygenResponse(val *KeygenResponse) *NullableKeygenResponse

func (NullableKeygenResponse) Get

func (NullableKeygenResponse) IsSet

func (v NullableKeygenResponse) IsSet() bool

func (NullableKeygenResponse) MarshalJSON_deprecated

func (v NullableKeygenResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableKeygenResponse) Set

func (*NullableKeygenResponse) UnmarshalJSON

func (v *NullableKeygenResponse) UnmarshalJSON(src []byte) error

func (*NullableKeygenResponse) Unset

func (v *NullableKeygenResponse) Unset()

type NullableKeysignInfo

type NullableKeysignInfo struct {
	// contains filtered or unexported fields
}

func NewNullableKeysignInfo

func NewNullableKeysignInfo(val *KeysignInfo) *NullableKeysignInfo

func (NullableKeysignInfo) Get

func (NullableKeysignInfo) IsSet

func (v NullableKeysignInfo) IsSet() bool

func (NullableKeysignInfo) MarshalJSON_deprecated

func (v NullableKeysignInfo) MarshalJSON_deprecated() ([]byte, error)

func (*NullableKeysignInfo) Set

func (v *NullableKeysignInfo) Set(val *KeysignInfo)

func (*NullableKeysignInfo) UnmarshalJSON

func (v *NullableKeysignInfo) UnmarshalJSON(src []byte) error

func (*NullableKeysignInfo) Unset

func (v *NullableKeysignInfo) Unset()

type NullableKeysignMetrics

type NullableKeysignMetrics struct {
	// contains filtered or unexported fields
}

func NewNullableKeysignMetrics

func NewNullableKeysignMetrics(val *KeysignMetrics) *NullableKeysignMetrics

func (NullableKeysignMetrics) Get

func (NullableKeysignMetrics) IsSet

func (v NullableKeysignMetrics) IsSet() bool

func (NullableKeysignMetrics) MarshalJSON_deprecated

func (v NullableKeysignMetrics) MarshalJSON_deprecated() ([]byte, error)

func (*NullableKeysignMetrics) Set

func (*NullableKeysignMetrics) UnmarshalJSON

func (v *NullableKeysignMetrics) UnmarshalJSON(src []byte) error

func (*NullableKeysignMetrics) Unset

func (v *NullableKeysignMetrics) Unset()

type NullableKeysignResponse

type NullableKeysignResponse struct {
	// contains filtered or unexported fields
}

func NewNullableKeysignResponse

func NewNullableKeysignResponse(val *KeysignResponse) *NullableKeysignResponse

func (NullableKeysignResponse) Get

func (NullableKeysignResponse) IsSet

func (v NullableKeysignResponse) IsSet() bool

func (NullableKeysignResponse) MarshalJSON_deprecated

func (v NullableKeysignResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableKeysignResponse) Set

func (*NullableKeysignResponse) UnmarshalJSON

func (v *NullableKeysignResponse) UnmarshalJSON(src []byte) error

func (*NullableKeysignResponse) Unset

func (v *NullableKeysignResponse) Unset()

type NullableLastBlock

type NullableLastBlock struct {
	// contains filtered or unexported fields
}

func NewNullableLastBlock

func NewNullableLastBlock(val *LastBlock) *NullableLastBlock

func (NullableLastBlock) Get

func (v NullableLastBlock) Get() *LastBlock

func (NullableLastBlock) IsSet

func (v NullableLastBlock) IsSet() bool

func (NullableLastBlock) MarshalJSON_deprecated

func (v NullableLastBlock) MarshalJSON_deprecated() ([]byte, error)

func (*NullableLastBlock) Set

func (v *NullableLastBlock) Set(val *LastBlock)

func (*NullableLastBlock) UnmarshalJSON

func (v *NullableLastBlock) UnmarshalJSON(src []byte) error

func (*NullableLastBlock) Unset

func (v *NullableLastBlock) Unset()

type NullableLiquidityProvider

type NullableLiquidityProvider struct {
	// contains filtered or unexported fields
}

func NewNullableLiquidityProvider

func NewNullableLiquidityProvider(val *LiquidityProvider) *NullableLiquidityProvider

func (NullableLiquidityProvider) Get

func (NullableLiquidityProvider) IsSet

func (v NullableLiquidityProvider) IsSet() bool

func (NullableLiquidityProvider) MarshalJSON_deprecated

func (v NullableLiquidityProvider) MarshalJSON_deprecated() ([]byte, error)

func (*NullableLiquidityProvider) Set

func (*NullableLiquidityProvider) UnmarshalJSON

func (v *NullableLiquidityProvider) UnmarshalJSON(src []byte) error

func (*NullableLiquidityProvider) Unset

func (v *NullableLiquidityProvider) Unset()

type NullableLiquidityProviderSummary

type NullableLiquidityProviderSummary struct {
	// contains filtered or unexported fields
}

func (NullableLiquidityProviderSummary) Get

func (NullableLiquidityProviderSummary) IsSet

func (NullableLiquidityProviderSummary) MarshalJSON_deprecated

func (v NullableLiquidityProviderSummary) MarshalJSON_deprecated() ([]byte, error)

func (*NullableLiquidityProviderSummary) Set

func (*NullableLiquidityProviderSummary) UnmarshalJSON

func (v *NullableLiquidityProviderSummary) UnmarshalJSON(src []byte) error

func (*NullableLiquidityProviderSummary) Unset

type NullableMetricsResponse

type NullableMetricsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableMetricsResponse

func NewNullableMetricsResponse(val *MetricsResponse) *NullableMetricsResponse

func (NullableMetricsResponse) Get

func (NullableMetricsResponse) IsSet

func (v NullableMetricsResponse) IsSet() bool

func (NullableMetricsResponse) MarshalJSON_deprecated

func (v NullableMetricsResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableMetricsResponse) Set

func (*NullableMetricsResponse) UnmarshalJSON

func (v *NullableMetricsResponse) UnmarshalJSON(src []byte) error

func (*NullableMetricsResponse) Unset

func (v *NullableMetricsResponse) Unset()

type NullableMimirNodesResponse

type NullableMimirNodesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableMimirNodesResponse

func NewNullableMimirNodesResponse(val *MimirNodesResponse) *NullableMimirNodesResponse

func (NullableMimirNodesResponse) Get

func (NullableMimirNodesResponse) IsSet

func (v NullableMimirNodesResponse) IsSet() bool

func (NullableMimirNodesResponse) MarshalJSON_deprecated

func (v NullableMimirNodesResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableMimirNodesResponse) Set

func (*NullableMimirNodesResponse) UnmarshalJSON

func (v *NullableMimirNodesResponse) UnmarshalJSON(src []byte) error

func (*NullableMimirNodesResponse) Unset

func (v *NullableMimirNodesResponse) Unset()

type NullableMimirVote

type NullableMimirVote struct {
	// contains filtered or unexported fields
}

func NewNullableMimirVote

func NewNullableMimirVote(val *MimirVote) *NullableMimirVote

func (NullableMimirVote) Get

func (v NullableMimirVote) Get() *MimirVote

func (NullableMimirVote) IsSet

func (v NullableMimirVote) IsSet() bool

func (NullableMimirVote) MarshalJSON_deprecated

func (v NullableMimirVote) MarshalJSON_deprecated() ([]byte, error)

func (*NullableMimirVote) Set

func (v *NullableMimirVote) Set(val *MimirVote)

func (*NullableMimirVote) UnmarshalJSON

func (v *NullableMimirVote) UnmarshalJSON(src []byte) error

func (*NullableMimirVote) Unset

func (v *NullableMimirVote) Unset()

type NullableMsgSwap

type NullableMsgSwap struct {
	// contains filtered or unexported fields
}

func NewNullableMsgSwap

func NewNullableMsgSwap(val *MsgSwap) *NullableMsgSwap

func (NullableMsgSwap) Get

func (v NullableMsgSwap) Get() *MsgSwap

func (NullableMsgSwap) IsSet

func (v NullableMsgSwap) IsSet() bool

func (NullableMsgSwap) MarshalJSON_deprecated

func (v NullableMsgSwap) MarshalJSON_deprecated() ([]byte, error)

func (*NullableMsgSwap) Set

func (v *NullableMsgSwap) Set(val *MsgSwap)

func (*NullableMsgSwap) UnmarshalJSON

func (v *NullableMsgSwap) UnmarshalJSON(src []byte) error

func (*NullableMsgSwap) Unset

func (v *NullableMsgSwap) Unset()

type NullableNetworkResponse

type NullableNetworkResponse struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkResponse

func NewNullableNetworkResponse(val *NetworkResponse) *NullableNetworkResponse

func (NullableNetworkResponse) Get

func (NullableNetworkResponse) IsSet

func (v NullableNetworkResponse) IsSet() bool

func (NullableNetworkResponse) MarshalJSON_deprecated

func (v NullableNetworkResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableNetworkResponse) Set

func (*NullableNetworkResponse) UnmarshalJSON

func (v *NullableNetworkResponse) UnmarshalJSON(src []byte) error

func (*NullableNetworkResponse) Unset

func (v *NullableNetworkResponse) Unset()

type NullableNode

type NullableNode struct {
	// contains filtered or unexported fields
}

func NewNullableNode

func NewNullableNode(val *Node) *NullableNode

func (NullableNode) Get

func (v NullableNode) Get() *Node

func (NullableNode) IsSet

func (v NullableNode) IsSet() bool

func (NullableNode) MarshalJSON_deprecated

func (v NullableNode) MarshalJSON_deprecated() ([]byte, error)

func (*NullableNode) Set

func (v *NullableNode) Set(val *Node)

func (*NullableNode) UnmarshalJSON

func (v *NullableNode) UnmarshalJSON(src []byte) error

func (*NullableNode) Unset

func (v *NullableNode) Unset()

type NullableNodeBondProvider

type NullableNodeBondProvider struct {
	// contains filtered or unexported fields
}

func NewNullableNodeBondProvider

func NewNullableNodeBondProvider(val *NodeBondProvider) *NullableNodeBondProvider

func (NullableNodeBondProvider) Get

func (NullableNodeBondProvider) IsSet

func (v NullableNodeBondProvider) IsSet() bool

func (NullableNodeBondProvider) MarshalJSON_deprecated

func (v NullableNodeBondProvider) MarshalJSON_deprecated() ([]byte, error)

func (*NullableNodeBondProvider) Set

func (*NullableNodeBondProvider) UnmarshalJSON

func (v *NullableNodeBondProvider) UnmarshalJSON(src []byte) error

func (*NullableNodeBondProvider) Unset

func (v *NullableNodeBondProvider) Unset()

type NullableNodeBondProviders

type NullableNodeBondProviders struct {
	// contains filtered or unexported fields
}

func NewNullableNodeBondProviders

func NewNullableNodeBondProviders(val *NodeBondProviders) *NullableNodeBondProviders

func (NullableNodeBondProviders) Get

func (NullableNodeBondProviders) IsSet

func (v NullableNodeBondProviders) IsSet() bool

func (NullableNodeBondProviders) MarshalJSON_deprecated

func (v NullableNodeBondProviders) MarshalJSON_deprecated() ([]byte, error)

func (*NullableNodeBondProviders) Set

func (*NullableNodeBondProviders) UnmarshalJSON

func (v *NullableNodeBondProviders) UnmarshalJSON(src []byte) error

func (*NullableNodeBondProviders) Unset

func (v *NullableNodeBondProviders) Unset()

type NullableNodeJail

type NullableNodeJail struct {
	// contains filtered or unexported fields
}

func NewNullableNodeJail

func NewNullableNodeJail(val *NodeJail) *NullableNodeJail

func (NullableNodeJail) Get

func (v NullableNodeJail) Get() *NodeJail

func (NullableNodeJail) IsSet

func (v NullableNodeJail) IsSet() bool

func (NullableNodeJail) MarshalJSON_deprecated

func (v NullableNodeJail) MarshalJSON_deprecated() ([]byte, error)

func (*NullableNodeJail) Set

func (v *NullableNodeJail) Set(val *NodeJail)

func (*NullableNodeJail) UnmarshalJSON

func (v *NullableNodeJail) UnmarshalJSON(src []byte) error

func (*NullableNodeJail) Unset

func (v *NullableNodeJail) Unset()

type NullableNodeKeygenMetric

type NullableNodeKeygenMetric struct {
	// contains filtered or unexported fields
}

func NewNullableNodeKeygenMetric

func NewNullableNodeKeygenMetric(val *NodeKeygenMetric) *NullableNodeKeygenMetric

func (NullableNodeKeygenMetric) Get

func (NullableNodeKeygenMetric) IsSet

func (v NullableNodeKeygenMetric) IsSet() bool

func (NullableNodeKeygenMetric) MarshalJSON_deprecated

func (v NullableNodeKeygenMetric) MarshalJSON_deprecated() ([]byte, error)

func (*NullableNodeKeygenMetric) Set

func (*NullableNodeKeygenMetric) UnmarshalJSON

func (v *NullableNodeKeygenMetric) UnmarshalJSON(src []byte) error

func (*NullableNodeKeygenMetric) Unset

func (v *NullableNodeKeygenMetric) Unset()

type NullableNodePreflightStatus

type NullableNodePreflightStatus struct {
	// contains filtered or unexported fields
}

func NewNullableNodePreflightStatus

func NewNullableNodePreflightStatus(val *NodePreflightStatus) *NullableNodePreflightStatus

func (NullableNodePreflightStatus) Get

func (NullableNodePreflightStatus) IsSet

func (NullableNodePreflightStatus) MarshalJSON_deprecated

func (v NullableNodePreflightStatus) MarshalJSON_deprecated() ([]byte, error)

func (*NullableNodePreflightStatus) Set

func (*NullableNodePreflightStatus) UnmarshalJSON

func (v *NullableNodePreflightStatus) UnmarshalJSON(src []byte) error

func (*NullableNodePreflightStatus) Unset

func (v *NullableNodePreflightStatus) Unset()

type NullableNodePubKeySet

type NullableNodePubKeySet struct {
	// contains filtered or unexported fields
}

func NewNullableNodePubKeySet

func NewNullableNodePubKeySet(val *NodePubKeySet) *NullableNodePubKeySet

func (NullableNodePubKeySet) Get

func (NullableNodePubKeySet) IsSet

func (v NullableNodePubKeySet) IsSet() bool

func (NullableNodePubKeySet) MarshalJSON_deprecated

func (v NullableNodePubKeySet) MarshalJSON_deprecated() ([]byte, error)

func (*NullableNodePubKeySet) Set

func (v *NullableNodePubKeySet) Set(val *NodePubKeySet)

func (*NullableNodePubKeySet) UnmarshalJSON

func (v *NullableNodePubKeySet) UnmarshalJSON(src []byte) error

func (*NullableNodePubKeySet) Unset

func (v *NullableNodePubKeySet) Unset()

type NullableObservedTx

type NullableObservedTx struct {
	// contains filtered or unexported fields
}

func NewNullableObservedTx

func NewNullableObservedTx(val *ObservedTx) *NullableObservedTx

func (NullableObservedTx) Get

func (v NullableObservedTx) Get() *ObservedTx

func (NullableObservedTx) IsSet

func (v NullableObservedTx) IsSet() bool

func (NullableObservedTx) MarshalJSON_deprecated

func (v NullableObservedTx) MarshalJSON_deprecated() ([]byte, error)

func (*NullableObservedTx) Set

func (v *NullableObservedTx) Set(val *ObservedTx)

func (*NullableObservedTx) UnmarshalJSON

func (v *NullableObservedTx) UnmarshalJSON(src []byte) error

func (*NullableObservedTx) Unset

func (v *NullableObservedTx) Unset()

type NullableOutboundDelayStage

type NullableOutboundDelayStage struct {
	// contains filtered or unexported fields
}

func NewNullableOutboundDelayStage

func NewNullableOutboundDelayStage(val *OutboundDelayStage) *NullableOutboundDelayStage

func (NullableOutboundDelayStage) Get

func (NullableOutboundDelayStage) IsSet

func (v NullableOutboundDelayStage) IsSet() bool

func (NullableOutboundDelayStage) MarshalJSON_deprecated

func (v NullableOutboundDelayStage) MarshalJSON_deprecated() ([]byte, error)

func (*NullableOutboundDelayStage) Set

func (*NullableOutboundDelayStage) UnmarshalJSON

func (v *NullableOutboundDelayStage) UnmarshalJSON(src []byte) error

func (*NullableOutboundDelayStage) Unset

func (v *NullableOutboundDelayStage) Unset()

type NullableOutboundFee

type NullableOutboundFee struct {
	// contains filtered or unexported fields
}

func NewNullableOutboundFee

func NewNullableOutboundFee(val *OutboundFee) *NullableOutboundFee

func (NullableOutboundFee) Get

func (NullableOutboundFee) IsSet

func (v NullableOutboundFee) IsSet() bool

func (NullableOutboundFee) MarshalJSON_deprecated

func (v NullableOutboundFee) MarshalJSON_deprecated() ([]byte, error)

func (*NullableOutboundFee) Set

func (v *NullableOutboundFee) Set(val *OutboundFee)

func (*NullableOutboundFee) UnmarshalJSON

func (v *NullableOutboundFee) UnmarshalJSON(src []byte) error

func (*NullableOutboundFee) Unset

func (v *NullableOutboundFee) Unset()

type NullableOutboundSignedStage

type NullableOutboundSignedStage struct {
	// contains filtered or unexported fields
}

func NewNullableOutboundSignedStage

func NewNullableOutboundSignedStage(val *OutboundSignedStage) *NullableOutboundSignedStage

func (NullableOutboundSignedStage) Get

func (NullableOutboundSignedStage) IsSet

func (NullableOutboundSignedStage) MarshalJSON_deprecated

func (v NullableOutboundSignedStage) MarshalJSON_deprecated() ([]byte, error)

func (*NullableOutboundSignedStage) Set

func (*NullableOutboundSignedStage) UnmarshalJSON

func (v *NullableOutboundSignedStage) UnmarshalJSON(src []byte) error

func (*NullableOutboundSignedStage) Unset

func (v *NullableOutboundSignedStage) Unset()

type NullablePOL

type NullablePOL struct {
	// contains filtered or unexported fields
}

func NewNullablePOL

func NewNullablePOL(val *POL) *NullablePOL

func (NullablePOL) Get

func (v NullablePOL) Get() *POL

func (NullablePOL) IsSet

func (v NullablePOL) IsSet() bool

func (NullablePOL) MarshalJSON_deprecated

func (v NullablePOL) MarshalJSON_deprecated() ([]byte, error)

func (*NullablePOL) Set

func (v *NullablePOL) Set(val *POL)

func (*NullablePOL) UnmarshalJSON

func (v *NullablePOL) UnmarshalJSON(src []byte) error

func (*NullablePOL) Unset

func (v *NullablePOL) Unset()

type NullablePing

type NullablePing struct {
	// contains filtered or unexported fields
}

func NewNullablePing

func NewNullablePing(val *Ping) *NullablePing

func (NullablePing) Get

func (v NullablePing) Get() *Ping

func (NullablePing) IsSet

func (v NullablePing) IsSet() bool

func (NullablePing) MarshalJSON_deprecated

func (v NullablePing) MarshalJSON_deprecated() ([]byte, error)

func (*NullablePing) Set

func (v *NullablePing) Set(val *Ping)

func (*NullablePing) UnmarshalJSON

func (v *NullablePing) UnmarshalJSON(src []byte) error

func (*NullablePing) Unset

func (v *NullablePing) Unset()

type NullablePlannedOutTx

type NullablePlannedOutTx struct {
	// contains filtered or unexported fields
}

func NewNullablePlannedOutTx

func NewNullablePlannedOutTx(val *PlannedOutTx) *NullablePlannedOutTx

func (NullablePlannedOutTx) Get

func (NullablePlannedOutTx) IsSet

func (v NullablePlannedOutTx) IsSet() bool

func (NullablePlannedOutTx) MarshalJSON_deprecated

func (v NullablePlannedOutTx) MarshalJSON_deprecated() ([]byte, error)

func (*NullablePlannedOutTx) Set

func (v *NullablePlannedOutTx) Set(val *PlannedOutTx)

func (*NullablePlannedOutTx) UnmarshalJSON

func (v *NullablePlannedOutTx) UnmarshalJSON(src []byte) error

func (*NullablePlannedOutTx) Unset

func (v *NullablePlannedOutTx) Unset()

type NullablePool

type NullablePool struct {
	// contains filtered or unexported fields
}

func NewNullablePool

func NewNullablePool(val *Pool) *NullablePool

func (NullablePool) Get

func (v NullablePool) Get() *Pool

func (NullablePool) IsSet

func (v NullablePool) IsSet() bool

func (NullablePool) MarshalJSON_deprecated

func (v NullablePool) MarshalJSON_deprecated() ([]byte, error)

func (*NullablePool) Set

func (v *NullablePool) Set(val *Pool)

func (*NullablePool) UnmarshalJSON

func (v *NullablePool) UnmarshalJSON(src []byte) error

func (*NullablePool) Unset

func (v *NullablePool) Unset()

type NullablePoolSlipResponseInner

type NullablePoolSlipResponseInner struct {
	// contains filtered or unexported fields
}

func (NullablePoolSlipResponseInner) Get

func (NullablePoolSlipResponseInner) IsSet

func (NullablePoolSlipResponseInner) MarshalJSON_deprecated

func (v NullablePoolSlipResponseInner) MarshalJSON_deprecated() ([]byte, error)

func (*NullablePoolSlipResponseInner) Set

func (*NullablePoolSlipResponseInner) UnmarshalJSON

func (v *NullablePoolSlipResponseInner) UnmarshalJSON(src []byte) error

func (*NullablePoolSlipResponseInner) Unset

func (v *NullablePoolSlipResponseInner) Unset()

type NullableQueueResponse

type NullableQueueResponse struct {
	// contains filtered or unexported fields
}

func NewNullableQueueResponse

func NewNullableQueueResponse(val *QueueResponse) *NullableQueueResponse

func (NullableQueueResponse) Get

func (NullableQueueResponse) IsSet

func (v NullableQueueResponse) IsSet() bool

func (NullableQueueResponse) MarshalJSON_deprecated

func (v NullableQueueResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableQueueResponse) Set

func (v *NullableQueueResponse) Set(val *QueueResponse)

func (*NullableQueueResponse) UnmarshalJSON

func (v *NullableQueueResponse) UnmarshalJSON(src []byte) error

func (*NullableQueueResponse) Unset

func (v *NullableQueueResponse) Unset()

type NullableQuoteFees

type NullableQuoteFees struct {
	// contains filtered or unexported fields
}

func NewNullableQuoteFees

func NewNullableQuoteFees(val *QuoteFees) *NullableQuoteFees

func (NullableQuoteFees) Get

func (v NullableQuoteFees) Get() *QuoteFees

func (NullableQuoteFees) IsSet

func (v NullableQuoteFees) IsSet() bool

func (NullableQuoteFees) MarshalJSON_deprecated

func (v NullableQuoteFees) MarshalJSON_deprecated() ([]byte, error)

func (*NullableQuoteFees) Set

func (v *NullableQuoteFees) Set(val *QuoteFees)

func (*NullableQuoteFees) UnmarshalJSON

func (v *NullableQuoteFees) UnmarshalJSON(src []byte) error

func (*NullableQuoteFees) Unset

func (v *NullableQuoteFees) Unset()

type NullableQuoteLoanCloseResponse

type NullableQuoteLoanCloseResponse struct {
	// contains filtered or unexported fields
}

func (NullableQuoteLoanCloseResponse) Get

func (NullableQuoteLoanCloseResponse) IsSet

func (NullableQuoteLoanCloseResponse) MarshalJSON_deprecated

func (v NullableQuoteLoanCloseResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableQuoteLoanCloseResponse) Set

func (*NullableQuoteLoanCloseResponse) UnmarshalJSON

func (v *NullableQuoteLoanCloseResponse) UnmarshalJSON(src []byte) error

func (*NullableQuoteLoanCloseResponse) Unset

func (v *NullableQuoteLoanCloseResponse) Unset()

type NullableQuoteLoanOpenResponse

type NullableQuoteLoanOpenResponse struct {
	// contains filtered or unexported fields
}

func (NullableQuoteLoanOpenResponse) Get

func (NullableQuoteLoanOpenResponse) IsSet

func (NullableQuoteLoanOpenResponse) MarshalJSON_deprecated

func (v NullableQuoteLoanOpenResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableQuoteLoanOpenResponse) Set

func (*NullableQuoteLoanOpenResponse) UnmarshalJSON

func (v *NullableQuoteLoanOpenResponse) UnmarshalJSON(src []byte) error

func (*NullableQuoteLoanOpenResponse) Unset

func (v *NullableQuoteLoanOpenResponse) Unset()

type NullableQuoteSaverDepositResponse

type NullableQuoteSaverDepositResponse struct {
	// contains filtered or unexported fields
}

func (NullableQuoteSaverDepositResponse) Get

func (NullableQuoteSaverDepositResponse) IsSet

func (NullableQuoteSaverDepositResponse) MarshalJSON_deprecated

func (v NullableQuoteSaverDepositResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableQuoteSaverDepositResponse) Set

func (*NullableQuoteSaverDepositResponse) UnmarshalJSON

func (v *NullableQuoteSaverDepositResponse) UnmarshalJSON(src []byte) error

func (*NullableQuoteSaverDepositResponse) Unset

type NullableQuoteSaverWithdrawResponse

type NullableQuoteSaverWithdrawResponse struct {
	// contains filtered or unexported fields
}

func (NullableQuoteSaverWithdrawResponse) Get

func (NullableQuoteSaverWithdrawResponse) IsSet

func (NullableQuoteSaverWithdrawResponse) MarshalJSON_deprecated

func (v NullableQuoteSaverWithdrawResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableQuoteSaverWithdrawResponse) Set

func (*NullableQuoteSaverWithdrawResponse) UnmarshalJSON

func (v *NullableQuoteSaverWithdrawResponse) UnmarshalJSON(src []byte) error

func (*NullableQuoteSaverWithdrawResponse) Unset

type NullableQuoteSwapResponse

type NullableQuoteSwapResponse struct {
	// contains filtered or unexported fields
}

func NewNullableQuoteSwapResponse

func NewNullableQuoteSwapResponse(val *QuoteSwapResponse) *NullableQuoteSwapResponse

func (NullableQuoteSwapResponse) Get

func (NullableQuoteSwapResponse) IsSet

func (v NullableQuoteSwapResponse) IsSet() bool

func (NullableQuoteSwapResponse) MarshalJSON_deprecated

func (v NullableQuoteSwapResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableQuoteSwapResponse) Set

func (*NullableQuoteSwapResponse) UnmarshalJSON

func (v *NullableQuoteSwapResponse) UnmarshalJSON(src []byte) error

func (*NullableQuoteSwapResponse) Unset

func (v *NullableQuoteSwapResponse) Unset()

type NullableRUNEPool

type NullableRUNEPool struct {
	// contains filtered or unexported fields
}

func NewNullableRUNEPool

func NewNullableRUNEPool(val *RUNEPool) *NullableRUNEPool

func (NullableRUNEPool) Get

func (v NullableRUNEPool) Get() *RUNEPool

func (NullableRUNEPool) IsSet

func (v NullableRUNEPool) IsSet() bool

func (NullableRUNEPool) MarshalJSON_deprecated

func (v NullableRUNEPool) MarshalJSON_deprecated() ([]byte, error)

func (*NullableRUNEPool) Set

func (v *NullableRUNEPool) Set(val *RUNEPool)

func (*NullableRUNEPool) UnmarshalJSON

func (v *NullableRUNEPool) UnmarshalJSON(src []byte) error

func (*NullableRUNEPool) Unset

func (v *NullableRUNEPool) Unset()

type NullableRUNEPoolResponse

type NullableRUNEPoolResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRUNEPoolResponse

func NewNullableRUNEPoolResponse(val *RUNEPoolResponse) *NullableRUNEPoolResponse

func (NullableRUNEPoolResponse) Get

func (NullableRUNEPoolResponse) IsSet

func (v NullableRUNEPoolResponse) IsSet() bool

func (NullableRUNEPoolResponse) MarshalJSON_deprecated

func (v NullableRUNEPoolResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableRUNEPoolResponse) Set

func (*NullableRUNEPoolResponse) UnmarshalJSON

func (v *NullableRUNEPoolResponse) UnmarshalJSON(src []byte) error

func (*NullableRUNEPoolResponse) Unset

func (v *NullableRUNEPoolResponse) Unset()

type NullableRUNEPoolResponseProviders

type NullableRUNEPoolResponseProviders struct {
	// contains filtered or unexported fields
}

func (NullableRUNEPoolResponseProviders) Get

func (NullableRUNEPoolResponseProviders) IsSet

func (NullableRUNEPoolResponseProviders) MarshalJSON_deprecated

func (v NullableRUNEPoolResponseProviders) MarshalJSON_deprecated() ([]byte, error)

func (*NullableRUNEPoolResponseProviders) Set

func (*NullableRUNEPoolResponseProviders) UnmarshalJSON

func (v *NullableRUNEPoolResponseProviders) UnmarshalJSON(src []byte) error

func (*NullableRUNEPoolResponseProviders) Unset

type NullableRUNEPoolResponseReserve

type NullableRUNEPoolResponseReserve struct {
	// contains filtered or unexported fields
}

func (NullableRUNEPoolResponseReserve) Get

func (NullableRUNEPoolResponseReserve) IsSet

func (NullableRUNEPoolResponseReserve) MarshalJSON_deprecated

func (v NullableRUNEPoolResponseReserve) MarshalJSON_deprecated() ([]byte, error)

func (*NullableRUNEPoolResponseReserve) Set

func (*NullableRUNEPoolResponseReserve) UnmarshalJSON

func (v *NullableRUNEPoolResponseReserve) UnmarshalJSON(src []byte) error

func (*NullableRUNEPoolResponseReserve) Unset

type NullableRUNEProvider

type NullableRUNEProvider struct {
	// contains filtered or unexported fields
}

func NewNullableRUNEProvider

func NewNullableRUNEProvider(val *RUNEProvider) *NullableRUNEProvider

func (NullableRUNEProvider) Get

func (NullableRUNEProvider) IsSet

func (v NullableRUNEProvider) IsSet() bool

func (NullableRUNEProvider) MarshalJSON_deprecated

func (v NullableRUNEProvider) MarshalJSON_deprecated() ([]byte, error)

func (*NullableRUNEProvider) Set

func (v *NullableRUNEProvider) Set(val *RUNEProvider)

func (*NullableRUNEProvider) UnmarshalJSON

func (v *NullableRUNEProvider) UnmarshalJSON(src []byte) error

func (*NullableRUNEProvider) Unset

func (v *NullableRUNEProvider) Unset()

type NullableSaver

type NullableSaver struct {
	// contains filtered or unexported fields
}

func NewNullableSaver

func NewNullableSaver(val *Saver) *NullableSaver

func (NullableSaver) Get

func (v NullableSaver) Get() *Saver

func (NullableSaver) IsSet

func (v NullableSaver) IsSet() bool

func (NullableSaver) MarshalJSON_deprecated

func (v NullableSaver) MarshalJSON_deprecated() ([]byte, error)

func (*NullableSaver) Set

func (v *NullableSaver) Set(val *Saver)

func (*NullableSaver) UnmarshalJSON

func (v *NullableSaver) UnmarshalJSON(src []byte) error

func (*NullableSaver) Unset

func (v *NullableSaver) Unset()

type NullableSecuredAssetResponse

type NullableSecuredAssetResponse struct {
	// contains filtered or unexported fields
}

func NewNullableSecuredAssetResponse

func NewNullableSecuredAssetResponse(val *SecuredAssetResponse) *NullableSecuredAssetResponse

func (NullableSecuredAssetResponse) Get

func (NullableSecuredAssetResponse) IsSet

func (NullableSecuredAssetResponse) MarshalJSON_deprecated

func (v NullableSecuredAssetResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableSecuredAssetResponse) Set

func (*NullableSecuredAssetResponse) UnmarshalJSON

func (v *NullableSecuredAssetResponse) UnmarshalJSON(src []byte) error

func (*NullableSecuredAssetResponse) Unset

func (v *NullableSecuredAssetResponse) Unset()

type NullableStreamingStatus

type NullableStreamingStatus struct {
	// contains filtered or unexported fields
}

func NewNullableStreamingStatus

func NewNullableStreamingStatus(val *StreamingStatus) *NullableStreamingStatus

func (NullableStreamingStatus) Get

func (NullableStreamingStatus) IsSet

func (v NullableStreamingStatus) IsSet() bool

func (NullableStreamingStatus) MarshalJSON_deprecated

func (v NullableStreamingStatus) MarshalJSON_deprecated() ([]byte, error)

func (*NullableStreamingStatus) Set

func (*NullableStreamingStatus) UnmarshalJSON

func (v *NullableStreamingStatus) UnmarshalJSON(src []byte) error

func (*NullableStreamingStatus) Unset

func (v *NullableStreamingStatus) Unset()

type NullableStreamingSwap

type NullableStreamingSwap struct {
	// contains filtered or unexported fields
}

func NewNullableStreamingSwap

func NewNullableStreamingSwap(val *StreamingSwap) *NullableStreamingSwap

func (NullableStreamingSwap) Get

func (NullableStreamingSwap) IsSet

func (v NullableStreamingSwap) IsSet() bool

func (NullableStreamingSwap) MarshalJSON_deprecated

func (v NullableStreamingSwap) MarshalJSON_deprecated() ([]byte, error)

func (*NullableStreamingSwap) Set

func (v *NullableStreamingSwap) Set(val *StreamingSwap)

func (*NullableStreamingSwap) UnmarshalJSON

func (v *NullableStreamingSwap) UnmarshalJSON(src []byte) error

func (*NullableStreamingSwap) Unset

func (v *NullableStreamingSwap) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableSwapFinalisedStage

type NullableSwapFinalisedStage struct {
	// contains filtered or unexported fields
}

func NewNullableSwapFinalisedStage

func NewNullableSwapFinalisedStage(val *SwapFinalisedStage) *NullableSwapFinalisedStage

func (NullableSwapFinalisedStage) Get

func (NullableSwapFinalisedStage) IsSet

func (v NullableSwapFinalisedStage) IsSet() bool

func (NullableSwapFinalisedStage) MarshalJSON_deprecated

func (v NullableSwapFinalisedStage) MarshalJSON_deprecated() ([]byte, error)

func (*NullableSwapFinalisedStage) Set

func (*NullableSwapFinalisedStage) UnmarshalJSON

func (v *NullableSwapFinalisedStage) UnmarshalJSON(src []byte) error

func (*NullableSwapFinalisedStage) Unset

func (v *NullableSwapFinalisedStage) Unset()

type NullableSwapStatus

type NullableSwapStatus struct {
	// contains filtered or unexported fields
}

func NewNullableSwapStatus

func NewNullableSwapStatus(val *SwapStatus) *NullableSwapStatus

func (NullableSwapStatus) Get

func (v NullableSwapStatus) Get() *SwapStatus

func (NullableSwapStatus) IsSet

func (v NullableSwapStatus) IsSet() bool

func (NullableSwapStatus) MarshalJSON_deprecated

func (v NullableSwapStatus) MarshalJSON_deprecated() ([]byte, error)

func (*NullableSwapStatus) Set

func (v *NullableSwapStatus) Set(val *SwapStatus)

func (*NullableSwapStatus) UnmarshalJSON

func (v *NullableSwapStatus) UnmarshalJSON(src []byte) error

func (*NullableSwapStatus) Unset

func (v *NullableSwapStatus) Unset()

type NullableSwapperCloutResponse

type NullableSwapperCloutResponse struct {
	// contains filtered or unexported fields
}

func NewNullableSwapperCloutResponse

func NewNullableSwapperCloutResponse(val *SwapperCloutResponse) *NullableSwapperCloutResponse

func (NullableSwapperCloutResponse) Get

func (NullableSwapperCloutResponse) IsSet

func (NullableSwapperCloutResponse) MarshalJSON_deprecated

func (v NullableSwapperCloutResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableSwapperCloutResponse) Set

func (*NullableSwapperCloutResponse) UnmarshalJSON

func (v *NullableSwapperCloutResponse) UnmarshalJSON(src []byte) error

func (*NullableSwapperCloutResponse) Unset

func (v *NullableSwapperCloutResponse) Unset()

type NullableThorname

type NullableThorname struct {
	// contains filtered or unexported fields
}

func NewNullableThorname

func NewNullableThorname(val *Thorname) *NullableThorname

func (NullableThorname) Get

func (v NullableThorname) Get() *Thorname

func (NullableThorname) IsSet

func (v NullableThorname) IsSet() bool

func (NullableThorname) MarshalJSON_deprecated

func (v NullableThorname) MarshalJSON_deprecated() ([]byte, error)

func (*NullableThorname) Set

func (v *NullableThorname) Set(val *Thorname)

func (*NullableThorname) UnmarshalJSON

func (v *NullableThorname) UnmarshalJSON(src []byte) error

func (*NullableThorname) Unset

func (v *NullableThorname) Unset()

type NullableThornameAlias

type NullableThornameAlias struct {
	// contains filtered or unexported fields
}

func NewNullableThornameAlias

func NewNullableThornameAlias(val *ThornameAlias) *NullableThornameAlias

func (NullableThornameAlias) Get

func (NullableThornameAlias) IsSet

func (v NullableThornameAlias) IsSet() bool

func (NullableThornameAlias) MarshalJSON_deprecated

func (v NullableThornameAlias) MarshalJSON_deprecated() ([]byte, error)

func (*NullableThornameAlias) Set

func (v *NullableThornameAlias) Set(val *ThornameAlias)

func (*NullableThornameAlias) UnmarshalJSON

func (v *NullableThornameAlias) UnmarshalJSON(src []byte) error

func (*NullableThornameAlias) Unset

func (v *NullableThornameAlias) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTradeAccountResponse

type NullableTradeAccountResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTradeAccountResponse

func NewNullableTradeAccountResponse(val *TradeAccountResponse) *NullableTradeAccountResponse

func (NullableTradeAccountResponse) Get

func (NullableTradeAccountResponse) IsSet

func (NullableTradeAccountResponse) MarshalJSON_deprecated

func (v NullableTradeAccountResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTradeAccountResponse) Set

func (*NullableTradeAccountResponse) UnmarshalJSON

func (v *NullableTradeAccountResponse) UnmarshalJSON(src []byte) error

func (*NullableTradeAccountResponse) Unset

func (v *NullableTradeAccountResponse) Unset()

type NullableTradeUnitResponse

type NullableTradeUnitResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTradeUnitResponse

func NewNullableTradeUnitResponse(val *TradeUnitResponse) *NullableTradeUnitResponse

func (NullableTradeUnitResponse) Get

func (NullableTradeUnitResponse) IsSet

func (v NullableTradeUnitResponse) IsSet() bool

func (NullableTradeUnitResponse) MarshalJSON_deprecated

func (v NullableTradeUnitResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTradeUnitResponse) Set

func (*NullableTradeUnitResponse) UnmarshalJSON

func (v *NullableTradeUnitResponse) UnmarshalJSON(src []byte) error

func (*NullableTradeUnitResponse) Unset

func (v *NullableTradeUnitResponse) Unset()

type NullableTssKeysignMetric

type NullableTssKeysignMetric struct {
	// contains filtered or unexported fields
}

func NewNullableTssKeysignMetric

func NewNullableTssKeysignMetric(val *TssKeysignMetric) *NullableTssKeysignMetric

func (NullableTssKeysignMetric) Get

func (NullableTssKeysignMetric) IsSet

func (v NullableTssKeysignMetric) IsSet() bool

func (NullableTssKeysignMetric) MarshalJSON_deprecated

func (v NullableTssKeysignMetric) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTssKeysignMetric) Set

func (*NullableTssKeysignMetric) UnmarshalJSON

func (v *NullableTssKeysignMetric) UnmarshalJSON(src []byte) error

func (*NullableTssKeysignMetric) Unset

func (v *NullableTssKeysignMetric) Unset()

type NullableTssMetric

type NullableTssMetric struct {
	// contains filtered or unexported fields
}

func NewNullableTssMetric

func NewNullableTssMetric(val *TssMetric) *NullableTssMetric

func (NullableTssMetric) Get

func (v NullableTssMetric) Get() *TssMetric

func (NullableTssMetric) IsSet

func (v NullableTssMetric) IsSet() bool

func (NullableTssMetric) MarshalJSON_deprecated

func (v NullableTssMetric) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTssMetric) Set

func (v *NullableTssMetric) Set(val *TssMetric)

func (*NullableTssMetric) UnmarshalJSON

func (v *NullableTssMetric) UnmarshalJSON(src []byte) error

func (*NullableTssMetric) Unset

func (v *NullableTssMetric) Unset()

type NullableTx

type NullableTx struct {
	// contains filtered or unexported fields
}

func NewNullableTx

func NewNullableTx(val *Tx) *NullableTx

func (NullableTx) Get

func (v NullableTx) Get() *Tx

func (NullableTx) IsSet

func (v NullableTx) IsSet() bool

func (NullableTx) MarshalJSON_deprecated

func (v NullableTx) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTx) Set

func (v *NullableTx) Set(val *Tx)

func (*NullableTx) UnmarshalJSON

func (v *NullableTx) UnmarshalJSON(src []byte) error

func (*NullableTx) Unset

func (v *NullableTx) Unset()

type NullableTxDetailsResponse

type NullableTxDetailsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTxDetailsResponse

func NewNullableTxDetailsResponse(val *TxDetailsResponse) *NullableTxDetailsResponse

func (NullableTxDetailsResponse) Get

func (NullableTxDetailsResponse) IsSet

func (v NullableTxDetailsResponse) IsSet() bool

func (NullableTxDetailsResponse) MarshalJSON_deprecated

func (v NullableTxDetailsResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTxDetailsResponse) Set

func (*NullableTxDetailsResponse) UnmarshalJSON

func (v *NullableTxDetailsResponse) UnmarshalJSON(src []byte) error

func (*NullableTxDetailsResponse) Unset

func (v *NullableTxDetailsResponse) Unset()

type NullableTxOutItem

type NullableTxOutItem struct {
	// contains filtered or unexported fields
}

func NewNullableTxOutItem

func NewNullableTxOutItem(val *TxOutItem) *NullableTxOutItem

func (NullableTxOutItem) Get

func (v NullableTxOutItem) Get() *TxOutItem

func (NullableTxOutItem) IsSet

func (v NullableTxOutItem) IsSet() bool

func (NullableTxOutItem) MarshalJSON_deprecated

func (v NullableTxOutItem) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTxOutItem) Set

func (v *NullableTxOutItem) Set(val *TxOutItem)

func (*NullableTxOutItem) UnmarshalJSON

func (v *NullableTxOutItem) UnmarshalJSON(src []byte) error

func (*NullableTxOutItem) Unset

func (v *NullableTxOutItem) Unset()

type NullableTxResponse

type NullableTxResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTxResponse

func NewNullableTxResponse(val *TxResponse) *NullableTxResponse

func (NullableTxResponse) Get

func (v NullableTxResponse) Get() *TxResponse

func (NullableTxResponse) IsSet

func (v NullableTxResponse) IsSet() bool

func (NullableTxResponse) MarshalJSON_deprecated

func (v NullableTxResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTxResponse) Set

func (v *NullableTxResponse) Set(val *TxResponse)

func (*NullableTxResponse) UnmarshalJSON

func (v *NullableTxResponse) UnmarshalJSON(src []byte) error

func (*NullableTxResponse) Unset

func (v *NullableTxResponse) Unset()

type NullableTxSignersResponse

type NullableTxSignersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTxSignersResponse

func NewNullableTxSignersResponse(val *TxSignersResponse) *NullableTxSignersResponse

func (NullableTxSignersResponse) Get

func (NullableTxSignersResponse) IsSet

func (v NullableTxSignersResponse) IsSet() bool

func (NullableTxSignersResponse) MarshalJSON_deprecated

func (v NullableTxSignersResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTxSignersResponse) Set

func (*NullableTxSignersResponse) UnmarshalJSON

func (v *NullableTxSignersResponse) UnmarshalJSON(src []byte) error

func (*NullableTxSignersResponse) Unset

func (v *NullableTxSignersResponse) Unset()

type NullableTxStagesResponse

type NullableTxStagesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTxStagesResponse

func NewNullableTxStagesResponse(val *TxStagesResponse) *NullableTxStagesResponse

func (NullableTxStagesResponse) Get

func (NullableTxStagesResponse) IsSet

func (v NullableTxStagesResponse) IsSet() bool

func (NullableTxStagesResponse) MarshalJSON_deprecated

func (v NullableTxStagesResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTxStagesResponse) Set

func (*NullableTxStagesResponse) UnmarshalJSON

func (v *NullableTxStagesResponse) UnmarshalJSON(src []byte) error

func (*NullableTxStagesResponse) Unset

func (v *NullableTxStagesResponse) Unset()

type NullableTxStatusResponse

type NullableTxStatusResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTxStatusResponse

func NewNullableTxStatusResponse(val *TxStatusResponse) *NullableTxStatusResponse

func (NullableTxStatusResponse) Get

func (NullableTxStatusResponse) IsSet

func (v NullableTxStatusResponse) IsSet() bool

func (NullableTxStatusResponse) MarshalJSON_deprecated

func (v NullableTxStatusResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableTxStatusResponse) Set

func (*NullableTxStatusResponse) UnmarshalJSON

func (v *NullableTxStatusResponse) UnmarshalJSON(src []byte) error

func (*NullableTxStatusResponse) Unset

func (v *NullableTxStatusResponse) Unset()

type NullableUpgradeProposal

type NullableUpgradeProposal struct {
	// contains filtered or unexported fields
}

func NewNullableUpgradeProposal

func NewNullableUpgradeProposal(val *UpgradeProposal) *NullableUpgradeProposal

func (NullableUpgradeProposal) Get

func (NullableUpgradeProposal) IsSet

func (v NullableUpgradeProposal) IsSet() bool

func (NullableUpgradeProposal) MarshalJSON_deprecated

func (v NullableUpgradeProposal) MarshalJSON_deprecated() ([]byte, error)

func (*NullableUpgradeProposal) Set

func (*NullableUpgradeProposal) UnmarshalJSON

func (v *NullableUpgradeProposal) UnmarshalJSON(src []byte) error

func (*NullableUpgradeProposal) Unset

func (v *NullableUpgradeProposal) Unset()

type NullableUpgradeVote

type NullableUpgradeVote struct {
	// contains filtered or unexported fields
}

func NewNullableUpgradeVote

func NewNullableUpgradeVote(val *UpgradeVote) *NullableUpgradeVote

func (NullableUpgradeVote) Get

func (NullableUpgradeVote) IsSet

func (v NullableUpgradeVote) IsSet() bool

func (NullableUpgradeVote) MarshalJSON_deprecated

func (v NullableUpgradeVote) MarshalJSON_deprecated() ([]byte, error)

func (*NullableUpgradeVote) Set

func (v *NullableUpgradeVote) Set(val *UpgradeVote)

func (*NullableUpgradeVote) UnmarshalJSON

func (v *NullableUpgradeVote) UnmarshalJSON(src []byte) error

func (*NullableUpgradeVote) Unset

func (v *NullableUpgradeVote) Unset()

type NullableVault

type NullableVault struct {
	// contains filtered or unexported fields
}

func NewNullableVault

func NewNullableVault(val *Vault) *NullableVault

func (NullableVault) Get

func (v NullableVault) Get() *Vault

func (NullableVault) IsSet

func (v NullableVault) IsSet() bool

func (NullableVault) MarshalJSON_deprecated

func (v NullableVault) MarshalJSON_deprecated() ([]byte, error)

func (*NullableVault) Set

func (v *NullableVault) Set(val *Vault)

func (*NullableVault) UnmarshalJSON

func (v *NullableVault) UnmarshalJSON(src []byte) error

func (*NullableVault) Unset

func (v *NullableVault) Unset()

type NullableVaultAddress

type NullableVaultAddress struct {
	// contains filtered or unexported fields
}

func NewNullableVaultAddress

func NewNullableVaultAddress(val *VaultAddress) *NullableVaultAddress

func (NullableVaultAddress) Get

func (NullableVaultAddress) IsSet

func (v NullableVaultAddress) IsSet() bool

func (NullableVaultAddress) MarshalJSON_deprecated

func (v NullableVaultAddress) MarshalJSON_deprecated() ([]byte, error)

func (*NullableVaultAddress) Set

func (v *NullableVaultAddress) Set(val *VaultAddress)

func (*NullableVaultAddress) UnmarshalJSON

func (v *NullableVaultAddress) UnmarshalJSON(src []byte) error

func (*NullableVaultAddress) Unset

func (v *NullableVaultAddress) Unset()

type NullableVaultInfo

type NullableVaultInfo struct {
	// contains filtered or unexported fields
}

func NewNullableVaultInfo

func NewNullableVaultInfo(val *VaultInfo) *NullableVaultInfo

func (NullableVaultInfo) Get

func (v NullableVaultInfo) Get() *VaultInfo

func (NullableVaultInfo) IsSet

func (v NullableVaultInfo) IsSet() bool

func (NullableVaultInfo) MarshalJSON_deprecated

func (v NullableVaultInfo) MarshalJSON_deprecated() ([]byte, error)

func (*NullableVaultInfo) Set

func (v *NullableVaultInfo) Set(val *VaultInfo)

func (*NullableVaultInfo) UnmarshalJSON

func (v *NullableVaultInfo) UnmarshalJSON(src []byte) error

func (*NullableVaultInfo) Unset

func (v *NullableVaultInfo) Unset()

type NullableVaultPubkeysResponse

type NullableVaultPubkeysResponse struct {
	// contains filtered or unexported fields
}

func NewNullableVaultPubkeysResponse

func NewNullableVaultPubkeysResponse(val *VaultPubkeysResponse) *NullableVaultPubkeysResponse

func (NullableVaultPubkeysResponse) Get

func (NullableVaultPubkeysResponse) IsSet

func (NullableVaultPubkeysResponse) MarshalJSON_deprecated

func (v NullableVaultPubkeysResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableVaultPubkeysResponse) Set

func (*NullableVaultPubkeysResponse) UnmarshalJSON

func (v *NullableVaultPubkeysResponse) UnmarshalJSON(src []byte) error

func (*NullableVaultPubkeysResponse) Unset

func (v *NullableVaultPubkeysResponse) Unset()

type NullableVaultRouter

type NullableVaultRouter struct {
	// contains filtered or unexported fields
}

func NewNullableVaultRouter

func NewNullableVaultRouter(val *VaultRouter) *NullableVaultRouter

func (NullableVaultRouter) Get

func (NullableVaultRouter) IsSet

func (v NullableVaultRouter) IsSet() bool

func (NullableVaultRouter) MarshalJSON_deprecated

func (v NullableVaultRouter) MarshalJSON_deprecated() ([]byte, error)

func (*NullableVaultRouter) Set

func (v *NullableVaultRouter) Set(val *VaultRouter)

func (*NullableVaultRouter) UnmarshalJSON

func (v *NullableVaultRouter) UnmarshalJSON(src []byte) error

func (*NullableVaultRouter) Unset

func (v *NullableVaultRouter) Unset()

type NullableVersionResponse

type NullableVersionResponse struct {
	// contains filtered or unexported fields
}

func NewNullableVersionResponse

func NewNullableVersionResponse(val *VersionResponse) *NullableVersionResponse

func (NullableVersionResponse) Get

func (NullableVersionResponse) IsSet

func (v NullableVersionResponse) IsSet() bool

func (NullableVersionResponse) MarshalJSON_deprecated

func (v NullableVersionResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullableVersionResponse) Set

func (*NullableVersionResponse) UnmarshalJSON

func (v *NullableVersionResponse) UnmarshalJSON(src []byte) error

func (*NullableVersionResponse) Unset

func (v *NullableVersionResponse) Unset()

type NullableYggdrasilVault

type NullableYggdrasilVault struct {
	// contains filtered or unexported fields
}

func NewNullableYggdrasilVault

func NewNullableYggdrasilVault(val *YggdrasilVault) *NullableYggdrasilVault

func (NullableYggdrasilVault) Get

func (NullableYggdrasilVault) IsSet

func (v NullableYggdrasilVault) IsSet() bool

func (NullableYggdrasilVault) MarshalJSON_deprecated

func (v NullableYggdrasilVault) MarshalJSON_deprecated() ([]byte, error)

func (*NullableYggdrasilVault) Set

func (*NullableYggdrasilVault) UnmarshalJSON

func (v *NullableYggdrasilVault) UnmarshalJSON(src []byte) error

func (*NullableYggdrasilVault) Unset

func (v *NullableYggdrasilVault) Unset()

type ObservedTx

type ObservedTx struct {
	Tx             Tx      `json:"tx"`
	ObservedPubKey *string `json:"observed_pub_key,omitempty"`
	// the block height on the external source chain when the transaction was observed, not provided if chain is THOR
	ExternalObservedHeight *int64 `json:"external_observed_height,omitempty"`
	// the block height on the external source chain when confirmation counting will be complete, not provided if chain is THOR
	ExternalConfirmationDelayHeight *int64 `json:"external_confirmation_delay_height,omitempty"`
	// the outbound aggregator to use, will also match a suffix
	Aggregator *string `json:"aggregator,omitempty"`
	// the aggregator target asset provided to transferOutAndCall
	AggregatorTarget *string `json:"aggregator_target,omitempty"`
	// the aggregator target asset limit provided to transferOutAndCall
	AggregatorTargetLimit *string  `json:"aggregator_target_limit,omitempty"`
	Signers               []string `json:"signers,omitempty"`
	KeysignMs             *int64   `json:"keysign_ms,omitempty"`
	OutHashes             []string `json:"out_hashes,omitempty"`
	Status                *string  `json:"status,omitempty"`
}

ObservedTx struct for ObservedTx

func NewObservedTx

func NewObservedTx(tx Tx) *ObservedTx

NewObservedTx instantiates a new ObservedTx object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewObservedTxWithDefaults

func NewObservedTxWithDefaults() *ObservedTx

NewObservedTxWithDefaults instantiates a new ObservedTx object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ObservedTx) GetAggregator

func (o *ObservedTx) GetAggregator() string

GetAggregator returns the Aggregator field value if set, zero value otherwise.

func (*ObservedTx) GetAggregatorOk

func (o *ObservedTx) GetAggregatorOk() (*string, bool)

GetAggregatorOk returns a tuple with the Aggregator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetAggregatorTarget

func (o *ObservedTx) GetAggregatorTarget() string

GetAggregatorTarget returns the AggregatorTarget field value if set, zero value otherwise.

func (*ObservedTx) GetAggregatorTargetLimit

func (o *ObservedTx) GetAggregatorTargetLimit() string

GetAggregatorTargetLimit returns the AggregatorTargetLimit field value if set, zero value otherwise.

func (*ObservedTx) GetAggregatorTargetLimitOk

func (o *ObservedTx) GetAggregatorTargetLimitOk() (*string, bool)

GetAggregatorTargetLimitOk returns a tuple with the AggregatorTargetLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetAggregatorTargetOk

func (o *ObservedTx) GetAggregatorTargetOk() (*string, bool)

GetAggregatorTargetOk returns a tuple with the AggregatorTarget field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetExternalConfirmationDelayHeight

func (o *ObservedTx) GetExternalConfirmationDelayHeight() int64

GetExternalConfirmationDelayHeight returns the ExternalConfirmationDelayHeight field value if set, zero value otherwise.

func (*ObservedTx) GetExternalConfirmationDelayHeightOk

func (o *ObservedTx) GetExternalConfirmationDelayHeightOk() (*int64, bool)

GetExternalConfirmationDelayHeightOk returns a tuple with the ExternalConfirmationDelayHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetExternalObservedHeight

func (o *ObservedTx) GetExternalObservedHeight() int64

GetExternalObservedHeight returns the ExternalObservedHeight field value if set, zero value otherwise.

func (*ObservedTx) GetExternalObservedHeightOk

func (o *ObservedTx) GetExternalObservedHeightOk() (*int64, bool)

GetExternalObservedHeightOk returns a tuple with the ExternalObservedHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetKeysignMs

func (o *ObservedTx) GetKeysignMs() int64

GetKeysignMs returns the KeysignMs field value if set, zero value otherwise.

func (*ObservedTx) GetKeysignMsOk

func (o *ObservedTx) GetKeysignMsOk() (*int64, bool)

GetKeysignMsOk returns a tuple with the KeysignMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetObservedPubKey

func (o *ObservedTx) GetObservedPubKey() string

GetObservedPubKey returns the ObservedPubKey field value if set, zero value otherwise.

func (*ObservedTx) GetObservedPubKeyOk

func (o *ObservedTx) GetObservedPubKeyOk() (*string, bool)

GetObservedPubKeyOk returns a tuple with the ObservedPubKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetOutHashes

func (o *ObservedTx) GetOutHashes() []string

GetOutHashes returns the OutHashes field value if set, zero value otherwise.

func (*ObservedTx) GetOutHashesOk

func (o *ObservedTx) GetOutHashesOk() ([]string, bool)

GetOutHashesOk returns a tuple with the OutHashes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetSigners

func (o *ObservedTx) GetSigners() []string

GetSigners returns the Signers field value if set, zero value otherwise.

func (*ObservedTx) GetSignersOk

func (o *ObservedTx) GetSignersOk() ([]string, bool)

GetSignersOk returns a tuple with the Signers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetStatus

func (o *ObservedTx) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ObservedTx) GetStatusOk

func (o *ObservedTx) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObservedTx) GetTx

func (o *ObservedTx) GetTx() Tx

GetTx returns the Tx field value

func (*ObservedTx) GetTxOk

func (o *ObservedTx) GetTxOk() (*Tx, bool)

GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.

func (*ObservedTx) HasAggregator

func (o *ObservedTx) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*ObservedTx) HasAggregatorTarget

func (o *ObservedTx) HasAggregatorTarget() bool

HasAggregatorTarget returns a boolean if a field has been set.

func (*ObservedTx) HasAggregatorTargetLimit

func (o *ObservedTx) HasAggregatorTargetLimit() bool

HasAggregatorTargetLimit returns a boolean if a field has been set.

func (*ObservedTx) HasExternalConfirmationDelayHeight

func (o *ObservedTx) HasExternalConfirmationDelayHeight() bool

HasExternalConfirmationDelayHeight returns a boolean if a field has been set.

func (*ObservedTx) HasExternalObservedHeight

func (o *ObservedTx) HasExternalObservedHeight() bool

HasExternalObservedHeight returns a boolean if a field has been set.

func (*ObservedTx) HasKeysignMs

func (o *ObservedTx) HasKeysignMs() bool

HasKeysignMs returns a boolean if a field has been set.

func (*ObservedTx) HasObservedPubKey

func (o *ObservedTx) HasObservedPubKey() bool

HasObservedPubKey returns a boolean if a field has been set.

func (*ObservedTx) HasOutHashes

func (o *ObservedTx) HasOutHashes() bool

HasOutHashes returns a boolean if a field has been set.

func (*ObservedTx) HasSigners

func (o *ObservedTx) HasSigners() bool

HasSigners returns a boolean if a field has been set.

func (*ObservedTx) HasStatus

func (o *ObservedTx) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ObservedTx) MarshalJSON_deprecated

func (o ObservedTx) MarshalJSON_deprecated() ([]byte, error)

func (*ObservedTx) SetAggregator

func (o *ObservedTx) SetAggregator(v string)

SetAggregator gets a reference to the given string and assigns it to the Aggregator field.

func (*ObservedTx) SetAggregatorTarget

func (o *ObservedTx) SetAggregatorTarget(v string)

SetAggregatorTarget gets a reference to the given string and assigns it to the AggregatorTarget field.

func (*ObservedTx) SetAggregatorTargetLimit

func (o *ObservedTx) SetAggregatorTargetLimit(v string)

SetAggregatorTargetLimit gets a reference to the given string and assigns it to the AggregatorTargetLimit field.

func (*ObservedTx) SetExternalConfirmationDelayHeight

func (o *ObservedTx) SetExternalConfirmationDelayHeight(v int64)

SetExternalConfirmationDelayHeight gets a reference to the given int64 and assigns it to the ExternalConfirmationDelayHeight field.

func (*ObservedTx) SetExternalObservedHeight

func (o *ObservedTx) SetExternalObservedHeight(v int64)

SetExternalObservedHeight gets a reference to the given int64 and assigns it to the ExternalObservedHeight field.

func (*ObservedTx) SetKeysignMs

func (o *ObservedTx) SetKeysignMs(v int64)

SetKeysignMs gets a reference to the given int64 and assigns it to the KeysignMs field.

func (*ObservedTx) SetObservedPubKey

func (o *ObservedTx) SetObservedPubKey(v string)

SetObservedPubKey gets a reference to the given string and assigns it to the ObservedPubKey field.

func (*ObservedTx) SetOutHashes

func (o *ObservedTx) SetOutHashes(v []string)

SetOutHashes gets a reference to the given []string and assigns it to the OutHashes field.

func (*ObservedTx) SetSigners

func (o *ObservedTx) SetSigners(v []string)

SetSigners gets a reference to the given []string and assigns it to the Signers field.

func (*ObservedTx) SetStatus

func (o *ObservedTx) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*ObservedTx) SetTx

func (o *ObservedTx) SetTx(v Tx)

SetTx sets field value

type OutboundDelayStage

type OutboundDelayStage struct {
	// the number of remaining THORChain blocks the outbound will be delayed
	RemainingDelayBlocks *int64 `json:"remaining_delay_blocks,omitempty"`
	// the estimated remaining seconds of the outbound delay before it will be sent
	RemainingDelaySeconds *int64 `json:"remaining_delay_seconds,omitempty"`
	// returns true if no transaction outbound delay remains
	Completed bool `json:"completed"`
}

OutboundDelayStage struct for OutboundDelayStage

func NewOutboundDelayStage

func NewOutboundDelayStage(completed bool) *OutboundDelayStage

NewOutboundDelayStage instantiates a new OutboundDelayStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOutboundDelayStageWithDefaults

func NewOutboundDelayStageWithDefaults() *OutboundDelayStage

NewOutboundDelayStageWithDefaults instantiates a new OutboundDelayStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OutboundDelayStage) GetCompleted

func (o *OutboundDelayStage) GetCompleted() bool

GetCompleted returns the Completed field value

func (*OutboundDelayStage) GetCompletedOk

func (o *OutboundDelayStage) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.

func (*OutboundDelayStage) GetRemainingDelayBlocks

func (o *OutboundDelayStage) GetRemainingDelayBlocks() int64

GetRemainingDelayBlocks returns the RemainingDelayBlocks field value if set, zero value otherwise.

func (*OutboundDelayStage) GetRemainingDelayBlocksOk

func (o *OutboundDelayStage) GetRemainingDelayBlocksOk() (*int64, bool)

GetRemainingDelayBlocksOk returns a tuple with the RemainingDelayBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutboundDelayStage) GetRemainingDelaySeconds

func (o *OutboundDelayStage) GetRemainingDelaySeconds() int64

GetRemainingDelaySeconds returns the RemainingDelaySeconds field value if set, zero value otherwise.

func (*OutboundDelayStage) GetRemainingDelaySecondsOk

func (o *OutboundDelayStage) GetRemainingDelaySecondsOk() (*int64, bool)

GetRemainingDelaySecondsOk returns a tuple with the RemainingDelaySeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutboundDelayStage) HasRemainingDelayBlocks

func (o *OutboundDelayStage) HasRemainingDelayBlocks() bool

HasRemainingDelayBlocks returns a boolean if a field has been set.

func (*OutboundDelayStage) HasRemainingDelaySeconds

func (o *OutboundDelayStage) HasRemainingDelaySeconds() bool

HasRemainingDelaySeconds returns a boolean if a field has been set.

func (OutboundDelayStage) MarshalJSON_deprecated

func (o OutboundDelayStage) MarshalJSON_deprecated() ([]byte, error)

func (*OutboundDelayStage) SetCompleted

func (o *OutboundDelayStage) SetCompleted(v bool)

SetCompleted sets field value

func (*OutboundDelayStage) SetRemainingDelayBlocks

func (o *OutboundDelayStage) SetRemainingDelayBlocks(v int64)

SetRemainingDelayBlocks gets a reference to the given int64 and assigns it to the RemainingDelayBlocks field.

func (*OutboundDelayStage) SetRemainingDelaySeconds

func (o *OutboundDelayStage) SetRemainingDelaySeconds(v int64)

SetRemainingDelaySeconds gets a reference to the given int64 and assigns it to the RemainingDelaySeconds field.

type OutboundFee

type OutboundFee struct {
	// the asset to display the outbound fee for
	Asset string `json:"asset"`
	// the asset's outbound fee, in (1e8-format) units of the asset
	OutboundFee string `json:"outbound_fee"`
	// Total RUNE the network has withheld as fees to later cover gas costs for this asset's outbounds
	FeeWithheldRune *string `json:"fee_withheld_rune,omitempty"`
	// Total RUNE the network has spent to reimburse gas costs for this asset's outbounds
	FeeSpentRune *string `json:"fee_spent_rune,omitempty"`
	// amount of RUNE by which the fee_withheld_rune exceeds the fee_spent_rune
	SurplusRune *string `json:"surplus_rune,omitempty"`
	// dynamic multiplier basis points, based on the surplus_rune, affecting the size of the outbound_fee
	DynamicMultiplierBasisPoints *string `json:"dynamic_multiplier_basis_points,omitempty"`
}

OutboundFee struct for OutboundFee

func NewOutboundFee

func NewOutboundFee(asset string, outboundFee string) *OutboundFee

NewOutboundFee instantiates a new OutboundFee object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOutboundFeeWithDefaults

func NewOutboundFeeWithDefaults() *OutboundFee

NewOutboundFeeWithDefaults instantiates a new OutboundFee object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OutboundFee) GetAsset

func (o *OutboundFee) GetAsset() string

GetAsset returns the Asset field value

func (*OutboundFee) GetAssetOk

func (o *OutboundFee) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*OutboundFee) GetDynamicMultiplierBasisPoints

func (o *OutboundFee) GetDynamicMultiplierBasisPoints() string

GetDynamicMultiplierBasisPoints returns the DynamicMultiplierBasisPoints field value if set, zero value otherwise.

func (*OutboundFee) GetDynamicMultiplierBasisPointsOk

func (o *OutboundFee) GetDynamicMultiplierBasisPointsOk() (*string, bool)

GetDynamicMultiplierBasisPointsOk returns a tuple with the DynamicMultiplierBasisPoints field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutboundFee) GetFeeSpentRune

func (o *OutboundFee) GetFeeSpentRune() string

GetFeeSpentRune returns the FeeSpentRune field value if set, zero value otherwise.

func (*OutboundFee) GetFeeSpentRuneOk

func (o *OutboundFee) GetFeeSpentRuneOk() (*string, bool)

GetFeeSpentRuneOk returns a tuple with the FeeSpentRune field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutboundFee) GetFeeWithheldRune

func (o *OutboundFee) GetFeeWithheldRune() string

GetFeeWithheldRune returns the FeeWithheldRune field value if set, zero value otherwise.

func (*OutboundFee) GetFeeWithheldRuneOk

func (o *OutboundFee) GetFeeWithheldRuneOk() (*string, bool)

GetFeeWithheldRuneOk returns a tuple with the FeeWithheldRune field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutboundFee) GetOutboundFee

func (o *OutboundFee) GetOutboundFee() string

GetOutboundFee returns the OutboundFee field value

func (*OutboundFee) GetOutboundFeeOk

func (o *OutboundFee) GetOutboundFeeOk() (*string, bool)

GetOutboundFeeOk returns a tuple with the OutboundFee field value and a boolean to check if the value has been set.

func (*OutboundFee) GetSurplusRune

func (o *OutboundFee) GetSurplusRune() string

GetSurplusRune returns the SurplusRune field value if set, zero value otherwise.

func (*OutboundFee) GetSurplusRuneOk

func (o *OutboundFee) GetSurplusRuneOk() (*string, bool)

GetSurplusRuneOk returns a tuple with the SurplusRune field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutboundFee) HasDynamicMultiplierBasisPoints

func (o *OutboundFee) HasDynamicMultiplierBasisPoints() bool

HasDynamicMultiplierBasisPoints returns a boolean if a field has been set.

func (*OutboundFee) HasFeeSpentRune

func (o *OutboundFee) HasFeeSpentRune() bool

HasFeeSpentRune returns a boolean if a field has been set.

func (*OutboundFee) HasFeeWithheldRune

func (o *OutboundFee) HasFeeWithheldRune() bool

HasFeeWithheldRune returns a boolean if a field has been set.

func (*OutboundFee) HasSurplusRune

func (o *OutboundFee) HasSurplusRune() bool

HasSurplusRune returns a boolean if a field has been set.

func (OutboundFee) MarshalJSON_deprecated

func (o OutboundFee) MarshalJSON_deprecated() ([]byte, error)

func (*OutboundFee) SetAsset

func (o *OutboundFee) SetAsset(v string)

SetAsset sets field value

func (*OutboundFee) SetDynamicMultiplierBasisPoints

func (o *OutboundFee) SetDynamicMultiplierBasisPoints(v string)

SetDynamicMultiplierBasisPoints gets a reference to the given string and assigns it to the DynamicMultiplierBasisPoints field.

func (*OutboundFee) SetFeeSpentRune

func (o *OutboundFee) SetFeeSpentRune(v string)

SetFeeSpentRune gets a reference to the given string and assigns it to the FeeSpentRune field.

func (*OutboundFee) SetFeeWithheldRune

func (o *OutboundFee) SetFeeWithheldRune(v string)

SetFeeWithheldRune gets a reference to the given string and assigns it to the FeeWithheldRune field.

func (*OutboundFee) SetOutboundFee

func (o *OutboundFee) SetOutboundFee(v string)

SetOutboundFee sets field value

func (*OutboundFee) SetSurplusRune

func (o *OutboundFee) SetSurplusRune(v string)

SetSurplusRune gets a reference to the given string and assigns it to the SurplusRune field.

type OutboundSignedStage

type OutboundSignedStage struct {
	// THORChain height for which the external outbound is scheduled
	ScheduledOutboundHeight *int64 `json:"scheduled_outbound_height,omitempty"`
	// THORChain blocks since the scheduled outbound height
	BlocksSinceScheduled *int64 `json:"blocks_since_scheduled,omitempty"`
	// returns true if an external transaction has been signed and broadcast (and observed in its mempool)
	Completed bool `json:"completed"`
}

OutboundSignedStage struct for OutboundSignedStage

func NewOutboundSignedStage

func NewOutboundSignedStage(completed bool) *OutboundSignedStage

NewOutboundSignedStage instantiates a new OutboundSignedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOutboundSignedStageWithDefaults

func NewOutboundSignedStageWithDefaults() *OutboundSignedStage

NewOutboundSignedStageWithDefaults instantiates a new OutboundSignedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OutboundSignedStage) GetBlocksSinceScheduled

func (o *OutboundSignedStage) GetBlocksSinceScheduled() int64

GetBlocksSinceScheduled returns the BlocksSinceScheduled field value if set, zero value otherwise.

func (*OutboundSignedStage) GetBlocksSinceScheduledOk

func (o *OutboundSignedStage) GetBlocksSinceScheduledOk() (*int64, bool)

GetBlocksSinceScheduledOk returns a tuple with the BlocksSinceScheduled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutboundSignedStage) GetCompleted

func (o *OutboundSignedStage) GetCompleted() bool

GetCompleted returns the Completed field value

func (*OutboundSignedStage) GetCompletedOk

func (o *OutboundSignedStage) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.

func (*OutboundSignedStage) GetScheduledOutboundHeight

func (o *OutboundSignedStage) GetScheduledOutboundHeight() int64

GetScheduledOutboundHeight returns the ScheduledOutboundHeight field value if set, zero value otherwise.

func (*OutboundSignedStage) GetScheduledOutboundHeightOk

func (o *OutboundSignedStage) GetScheduledOutboundHeightOk() (*int64, bool)

GetScheduledOutboundHeightOk returns a tuple with the ScheduledOutboundHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OutboundSignedStage) HasBlocksSinceScheduled

func (o *OutboundSignedStage) HasBlocksSinceScheduled() bool

HasBlocksSinceScheduled returns a boolean if a field has been set.

func (*OutboundSignedStage) HasScheduledOutboundHeight

func (o *OutboundSignedStage) HasScheduledOutboundHeight() bool

HasScheduledOutboundHeight returns a boolean if a field has been set.

func (OutboundSignedStage) MarshalJSON_deprecated

func (o OutboundSignedStage) MarshalJSON_deprecated() ([]byte, error)

func (*OutboundSignedStage) SetBlocksSinceScheduled

func (o *OutboundSignedStage) SetBlocksSinceScheduled(v int64)

SetBlocksSinceScheduled gets a reference to the given int64 and assigns it to the BlocksSinceScheduled field.

func (*OutboundSignedStage) SetCompleted

func (o *OutboundSignedStage) SetCompleted(v bool)

SetCompleted sets field value

func (*OutboundSignedStage) SetScheduledOutboundHeight

func (o *OutboundSignedStage) SetScheduledOutboundHeight(v int64)

SetScheduledOutboundHeight gets a reference to the given int64 and assigns it to the ScheduledOutboundHeight field.

type POL

type POL struct {
	// total amount of RUNE deposited into the pools
	RuneDeposited string `json:"rune_deposited"`
	// total amount of RUNE withdrawn from the pools
	RuneWithdrawn string `json:"rune_withdrawn"`
	// total value of protocol's LP position in RUNE value
	Value string `json:"value"`
	// profit and loss of protocol owned liquidity
	Pnl string `json:"pnl"`
	// current amount of rune deposited
	CurrentDeposit string `json:"current_deposit"`
}

POL struct for POL

func NewPOL

func NewPOL(runeDeposited string, runeWithdrawn string, value string, pnl string, currentDeposit string) *POL

NewPOL instantiates a new POL object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPOLWithDefaults

func NewPOLWithDefaults() *POL

NewPOLWithDefaults instantiates a new POL object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*POL) GetCurrentDeposit

func (o *POL) GetCurrentDeposit() string

GetCurrentDeposit returns the CurrentDeposit field value

func (*POL) GetCurrentDepositOk

func (o *POL) GetCurrentDepositOk() (*string, bool)

GetCurrentDepositOk returns a tuple with the CurrentDeposit field value and a boolean to check if the value has been set.

func (*POL) GetPnl

func (o *POL) GetPnl() string

GetPnl returns the Pnl field value

func (*POL) GetPnlOk

func (o *POL) GetPnlOk() (*string, bool)

GetPnlOk returns a tuple with the Pnl field value and a boolean to check if the value has been set.

func (*POL) GetRuneDeposited

func (o *POL) GetRuneDeposited() string

GetRuneDeposited returns the RuneDeposited field value

func (*POL) GetRuneDepositedOk

func (o *POL) GetRuneDepositedOk() (*string, bool)

GetRuneDepositedOk returns a tuple with the RuneDeposited field value and a boolean to check if the value has been set.

func (*POL) GetRuneWithdrawn

func (o *POL) GetRuneWithdrawn() string

GetRuneWithdrawn returns the RuneWithdrawn field value

func (*POL) GetRuneWithdrawnOk

func (o *POL) GetRuneWithdrawnOk() (*string, bool)

GetRuneWithdrawnOk returns a tuple with the RuneWithdrawn field value and a boolean to check if the value has been set.

func (*POL) GetValue

func (o *POL) GetValue() string

GetValue returns the Value field value

func (*POL) GetValueOk

func (o *POL) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (POL) MarshalJSON_deprecated

func (o POL) MarshalJSON_deprecated() ([]byte, error)

func (*POL) SetCurrentDeposit

func (o *POL) SetCurrentDeposit(v string)

SetCurrentDeposit sets field value

func (*POL) SetPnl

func (o *POL) SetPnl(v string)

SetPnl sets field value

func (*POL) SetRuneDeposited

func (o *POL) SetRuneDeposited(v string)

SetRuneDeposited sets field value

func (*POL) SetRuneWithdrawn

func (o *POL) SetRuneWithdrawn(v string)

SetRuneWithdrawn sets field value

func (*POL) SetValue

func (o *POL) SetValue(v string)

SetValue sets field value

type Ping

type Ping struct {
	Ping *string `json:"ping,omitempty"`
}

Ping struct for Ping

func NewPing

func NewPing() *Ping

NewPing instantiates a new Ping object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPingWithDefaults

func NewPingWithDefaults() *Ping

NewPingWithDefaults instantiates a new Ping object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Ping) GetPing

func (o *Ping) GetPing() string

GetPing returns the Ping field value if set, zero value otherwise.

func (*Ping) GetPingOk

func (o *Ping) GetPingOk() (*string, bool)

GetPingOk returns a tuple with the Ping field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Ping) HasPing

func (o *Ping) HasPing() bool

HasPing returns a boolean if a field has been set.

func (Ping) MarshalJSON_deprecated

func (o Ping) MarshalJSON_deprecated() ([]byte, error)

func (*Ping) SetPing

func (o *Ping) SetPing(v string)

SetPing gets a reference to the given string and assigns it to the Ping field.

type PlannedOutTx

type PlannedOutTx struct {
	Chain     string `json:"chain"`
	ToAddress string `json:"to_address"`
	Coin      Coin   `json:"coin"`
	// returns true if the planned transaction has a refund memo
	Refund bool `json:"refund"`
}

PlannedOutTx struct for PlannedOutTx

func NewPlannedOutTx

func NewPlannedOutTx(chain string, toAddress string, coin Coin, refund bool) *PlannedOutTx

NewPlannedOutTx instantiates a new PlannedOutTx object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlannedOutTxWithDefaults

func NewPlannedOutTxWithDefaults() *PlannedOutTx

NewPlannedOutTxWithDefaults instantiates a new PlannedOutTx object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlannedOutTx) GetChain

func (o *PlannedOutTx) GetChain() string

GetChain returns the Chain field value

func (*PlannedOutTx) GetChainOk

func (o *PlannedOutTx) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value and a boolean to check if the value has been set.

func (*PlannedOutTx) GetCoin

func (o *PlannedOutTx) GetCoin() Coin

GetCoin returns the Coin field value

func (*PlannedOutTx) GetCoinOk

func (o *PlannedOutTx) GetCoinOk() (*Coin, bool)

GetCoinOk returns a tuple with the Coin field value and a boolean to check if the value has been set.

func (*PlannedOutTx) GetRefund

func (o *PlannedOutTx) GetRefund() bool

GetRefund returns the Refund field value

func (*PlannedOutTx) GetRefundOk

func (o *PlannedOutTx) GetRefundOk() (*bool, bool)

GetRefundOk returns a tuple with the Refund field value and a boolean to check if the value has been set.

func (*PlannedOutTx) GetToAddress

func (o *PlannedOutTx) GetToAddress() string

GetToAddress returns the ToAddress field value

func (*PlannedOutTx) GetToAddressOk

func (o *PlannedOutTx) GetToAddressOk() (*string, bool)

GetToAddressOk returns a tuple with the ToAddress field value and a boolean to check if the value has been set.

func (PlannedOutTx) MarshalJSON_deprecated

func (o PlannedOutTx) MarshalJSON_deprecated() ([]byte, error)

func (*PlannedOutTx) SetChain

func (o *PlannedOutTx) SetChain(v string)

SetChain sets field value

func (*PlannedOutTx) SetCoin

func (o *PlannedOutTx) SetCoin(v Coin)

SetCoin sets field value

func (*PlannedOutTx) SetRefund

func (o *PlannedOutTx) SetRefund(v bool)

SetRefund sets field value

func (*PlannedOutTx) SetToAddress

func (o *PlannedOutTx) SetToAddress(v string)

SetToAddress sets field value

type Pool

type Pool struct {
	Asset               string  `json:"asset"`
	ShortCode           *string `json:"short_code,omitempty"`
	Status              string  `json:"status"`
	Decimals            *int64  `json:"decimals,omitempty"`
	PendingInboundAsset string  `json:"pending_inbound_asset"`
	PendingInboundRune  string  `json:"pending_inbound_rune"`
	BalanceAsset        string  `json:"balance_asset"`
	BalanceRune         string  `json:"balance_rune"`
	// the USD (TOR) price of the asset in 1e8
	AssetTorPrice string `json:"asset_tor_price"`
	// the total pool units, this is the sum of LP and synth units
	PoolUnits string `json:"pool_units"`
	// the total pool liquidity provider units
	LPUnits string `json:"LP_units"`
	// the total synth units in the pool
	SynthUnits string `json:"synth_units"`
	// the total supply of synths for the asset
	SynthSupply string `json:"synth_supply"`
	// the balance of L1 asset deposited into the Savers Vault
	SaversDepth string `json:"savers_depth"`
	// the number of units owned by Savers
	SaversUnits string `json:"savers_units"`
	// the filled savers capacity in basis points, 4500/10000 = 45%
	SaversFillBps string `json:"savers_fill_bps"`
	// amount of remaining capacity in asset
	SaversCapacityRemaining string `json:"savers_capacity_remaining"`
	// whether additional synths cannot be minted
	SynthMintPaused bool `json:"synth_mint_paused"`
	// the amount of synth supply remaining before the current max supply is reached
	SynthSupplyRemaining string `json:"synth_supply_remaining"`
	// the amount of collateral collects for loans
	LoanCollateral string `json:"loan_collateral"`
	// the amount of remaining collateral collects for loans
	LoanCollateralRemaining string `json:"loan_collateral_remaining"`
	// the current loan collateralization ratio
	LoanCr string `json:"loan_cr"`
	// the depth of the derived virtual pool relative to L1 pool (in basis points)
	DerivedDepthBps string `json:"derived_depth_bps"`
}

Pool struct for Pool

func NewPool

func NewPool(asset string, status string, pendingInboundAsset string, pendingInboundRune string, balanceAsset string, balanceRune string, assetTorPrice string, poolUnits string, lPUnits string, synthUnits string, synthSupply string, saversDepth string, saversUnits string, saversFillBps string, saversCapacityRemaining string, synthMintPaused bool, synthSupplyRemaining string, loanCollateral string, loanCollateralRemaining string, loanCr string, derivedDepthBps string) *Pool

NewPool instantiates a new Pool object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPoolWithDefaults

func NewPoolWithDefaults() *Pool

NewPoolWithDefaults instantiates a new Pool object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Pool) GetAsset

func (o *Pool) GetAsset() string

GetAsset returns the Asset field value

func (*Pool) GetAssetOk

func (o *Pool) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*Pool) GetAssetTorPrice

func (o *Pool) GetAssetTorPrice() string

GetAssetTorPrice returns the AssetTorPrice field value

func (*Pool) GetAssetTorPriceOk

func (o *Pool) GetAssetTorPriceOk() (*string, bool)

GetAssetTorPriceOk returns a tuple with the AssetTorPrice field value and a boolean to check if the value has been set.

func (*Pool) GetBalanceAsset

func (o *Pool) GetBalanceAsset() string

GetBalanceAsset returns the BalanceAsset field value

func (*Pool) GetBalanceAssetOk

func (o *Pool) GetBalanceAssetOk() (*string, bool)

GetBalanceAssetOk returns a tuple with the BalanceAsset field value and a boolean to check if the value has been set.

func (*Pool) GetBalanceRune

func (o *Pool) GetBalanceRune() string

GetBalanceRune returns the BalanceRune field value

func (*Pool) GetBalanceRuneOk

func (o *Pool) GetBalanceRuneOk() (*string, bool)

GetBalanceRuneOk returns a tuple with the BalanceRune field value and a boolean to check if the value has been set.

func (*Pool) GetDecimals

func (o *Pool) GetDecimals() int64

GetDecimals returns the Decimals field value if set, zero value otherwise.

func (*Pool) GetDecimalsOk

func (o *Pool) GetDecimalsOk() (*int64, bool)

GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pool) GetDerivedDepthBps

func (o *Pool) GetDerivedDepthBps() string

GetDerivedDepthBps returns the DerivedDepthBps field value

func (*Pool) GetDerivedDepthBpsOk

func (o *Pool) GetDerivedDepthBpsOk() (*string, bool)

GetDerivedDepthBpsOk returns a tuple with the DerivedDepthBps field value and a boolean to check if the value has been set.

func (*Pool) GetLPUnits

func (o *Pool) GetLPUnits() string

GetLPUnits returns the LPUnits field value

func (*Pool) GetLPUnitsOk

func (o *Pool) GetLPUnitsOk() (*string, bool)

GetLPUnitsOk returns a tuple with the LPUnits field value and a boolean to check if the value has been set.

func (*Pool) GetLoanCollateral

func (o *Pool) GetLoanCollateral() string

GetLoanCollateral returns the LoanCollateral field value

func (*Pool) GetLoanCollateralOk

func (o *Pool) GetLoanCollateralOk() (*string, bool)

GetLoanCollateralOk returns a tuple with the LoanCollateral field value and a boolean to check if the value has been set.

func (*Pool) GetLoanCollateralRemaining

func (o *Pool) GetLoanCollateralRemaining() string

GetLoanCollateralRemaining returns the LoanCollateralRemaining field value

func (*Pool) GetLoanCollateralRemainingOk

func (o *Pool) GetLoanCollateralRemainingOk() (*string, bool)

GetLoanCollateralRemainingOk returns a tuple with the LoanCollateralRemaining field value and a boolean to check if the value has been set.

func (*Pool) GetLoanCr

func (o *Pool) GetLoanCr() string

GetLoanCr returns the LoanCr field value

func (*Pool) GetLoanCrOk

func (o *Pool) GetLoanCrOk() (*string, bool)

GetLoanCrOk returns a tuple with the LoanCr field value and a boolean to check if the value has been set.

func (*Pool) GetPendingInboundAsset

func (o *Pool) GetPendingInboundAsset() string

GetPendingInboundAsset returns the PendingInboundAsset field value

func (*Pool) GetPendingInboundAssetOk

func (o *Pool) GetPendingInboundAssetOk() (*string, bool)

GetPendingInboundAssetOk returns a tuple with the PendingInboundAsset field value and a boolean to check if the value has been set.

func (*Pool) GetPendingInboundRune

func (o *Pool) GetPendingInboundRune() string

GetPendingInboundRune returns the PendingInboundRune field value

func (*Pool) GetPendingInboundRuneOk

func (o *Pool) GetPendingInboundRuneOk() (*string, bool)

GetPendingInboundRuneOk returns a tuple with the PendingInboundRune field value and a boolean to check if the value has been set.

func (*Pool) GetPoolUnits

func (o *Pool) GetPoolUnits() string

GetPoolUnits returns the PoolUnits field value

func (*Pool) GetPoolUnitsOk

func (o *Pool) GetPoolUnitsOk() (*string, bool)

GetPoolUnitsOk returns a tuple with the PoolUnits field value and a boolean to check if the value has been set.

func (*Pool) GetSaversCapacityRemaining

func (o *Pool) GetSaversCapacityRemaining() string

GetSaversCapacityRemaining returns the SaversCapacityRemaining field value

func (*Pool) GetSaversCapacityRemainingOk

func (o *Pool) GetSaversCapacityRemainingOk() (*string, bool)

GetSaversCapacityRemainingOk returns a tuple with the SaversCapacityRemaining field value and a boolean to check if the value has been set.

func (*Pool) GetSaversDepth

func (o *Pool) GetSaversDepth() string

GetSaversDepth returns the SaversDepth field value

func (*Pool) GetSaversDepthOk

func (o *Pool) GetSaversDepthOk() (*string, bool)

GetSaversDepthOk returns a tuple with the SaversDepth field value and a boolean to check if the value has been set.

func (*Pool) GetSaversFillBps

func (o *Pool) GetSaversFillBps() string

GetSaversFillBps returns the SaversFillBps field value

func (*Pool) GetSaversFillBpsOk

func (o *Pool) GetSaversFillBpsOk() (*string, bool)

GetSaversFillBpsOk returns a tuple with the SaversFillBps field value and a boolean to check if the value has been set.

func (*Pool) GetSaversUnits

func (o *Pool) GetSaversUnits() string

GetSaversUnits returns the SaversUnits field value

func (*Pool) GetSaversUnitsOk

func (o *Pool) GetSaversUnitsOk() (*string, bool)

GetSaversUnitsOk returns a tuple with the SaversUnits field value and a boolean to check if the value has been set.

func (*Pool) GetShortCode

func (o *Pool) GetShortCode() string

GetShortCode returns the ShortCode field value if set, zero value otherwise.

func (*Pool) GetShortCodeOk

func (o *Pool) GetShortCodeOk() (*string, bool)

GetShortCodeOk returns a tuple with the ShortCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pool) GetStatus

func (o *Pool) GetStatus() string

GetStatus returns the Status field value

func (*Pool) GetStatusOk

func (o *Pool) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Pool) GetSynthMintPaused

func (o *Pool) GetSynthMintPaused() bool

GetSynthMintPaused returns the SynthMintPaused field value

func (*Pool) GetSynthMintPausedOk

func (o *Pool) GetSynthMintPausedOk() (*bool, bool)

GetSynthMintPausedOk returns a tuple with the SynthMintPaused field value and a boolean to check if the value has been set.

func (*Pool) GetSynthSupply

func (o *Pool) GetSynthSupply() string

GetSynthSupply returns the SynthSupply field value

func (*Pool) GetSynthSupplyOk

func (o *Pool) GetSynthSupplyOk() (*string, bool)

GetSynthSupplyOk returns a tuple with the SynthSupply field value and a boolean to check if the value has been set.

func (*Pool) GetSynthSupplyRemaining

func (o *Pool) GetSynthSupplyRemaining() string

GetSynthSupplyRemaining returns the SynthSupplyRemaining field value

func (*Pool) GetSynthSupplyRemainingOk

func (o *Pool) GetSynthSupplyRemainingOk() (*string, bool)

GetSynthSupplyRemainingOk returns a tuple with the SynthSupplyRemaining field value and a boolean to check if the value has been set.

func (*Pool) GetSynthUnits

func (o *Pool) GetSynthUnits() string

GetSynthUnits returns the SynthUnits field value

func (*Pool) GetSynthUnitsOk

func (o *Pool) GetSynthUnitsOk() (*string, bool)

GetSynthUnitsOk returns a tuple with the SynthUnits field value and a boolean to check if the value has been set.

func (*Pool) HasDecimals

func (o *Pool) HasDecimals() bool

HasDecimals returns a boolean if a field has been set.

func (*Pool) HasShortCode

func (o *Pool) HasShortCode() bool

HasShortCode returns a boolean if a field has been set.

func (Pool) MarshalJSON_deprecated

func (o Pool) MarshalJSON_deprecated() ([]byte, error)

func (*Pool) SetAsset

func (o *Pool) SetAsset(v string)

SetAsset sets field value

func (*Pool) SetAssetTorPrice

func (o *Pool) SetAssetTorPrice(v string)

SetAssetTorPrice sets field value

func (*Pool) SetBalanceAsset

func (o *Pool) SetBalanceAsset(v string)

SetBalanceAsset sets field value

func (*Pool) SetBalanceRune

func (o *Pool) SetBalanceRune(v string)

SetBalanceRune sets field value

func (*Pool) SetDecimals

func (o *Pool) SetDecimals(v int64)

SetDecimals gets a reference to the given int64 and assigns it to the Decimals field.

func (*Pool) SetDerivedDepthBps

func (o *Pool) SetDerivedDepthBps(v string)

SetDerivedDepthBps sets field value

func (*Pool) SetLPUnits

func (o *Pool) SetLPUnits(v string)

SetLPUnits sets field value

func (*Pool) SetLoanCollateral

func (o *Pool) SetLoanCollateral(v string)

SetLoanCollateral sets field value

func (*Pool) SetLoanCollateralRemaining

func (o *Pool) SetLoanCollateralRemaining(v string)

SetLoanCollateralRemaining sets field value

func (*Pool) SetLoanCr

func (o *Pool) SetLoanCr(v string)

SetLoanCr sets field value

func (*Pool) SetPendingInboundAsset

func (o *Pool) SetPendingInboundAsset(v string)

SetPendingInboundAsset sets field value

func (*Pool) SetPendingInboundRune

func (o *Pool) SetPendingInboundRune(v string)

SetPendingInboundRune sets field value

func (*Pool) SetPoolUnits

func (o *Pool) SetPoolUnits(v string)

SetPoolUnits sets field value

func (*Pool) SetSaversCapacityRemaining

func (o *Pool) SetSaversCapacityRemaining(v string)

SetSaversCapacityRemaining sets field value

func (*Pool) SetSaversDepth

func (o *Pool) SetSaversDepth(v string)

SetSaversDepth sets field value

func (*Pool) SetSaversFillBps

func (o *Pool) SetSaversFillBps(v string)

SetSaversFillBps sets field value

func (*Pool) SetSaversUnits

func (o *Pool) SetSaversUnits(v string)

SetSaversUnits sets field value

func (*Pool) SetShortCode

func (o *Pool) SetShortCode(v string)

SetShortCode gets a reference to the given string and assigns it to the ShortCode field.

func (*Pool) SetStatus

func (o *Pool) SetStatus(v string)

SetStatus sets field value

func (*Pool) SetSynthMintPaused

func (o *Pool) SetSynthMintPaused(v bool)

SetSynthMintPaused sets field value

func (*Pool) SetSynthSupply

func (o *Pool) SetSynthSupply(v string)

SetSynthSupply sets field value

func (*Pool) SetSynthSupplyRemaining

func (o *Pool) SetSynthSupplyRemaining(v string)

SetSynthSupplyRemaining sets field value

func (*Pool) SetSynthUnits

func (o *Pool) SetSynthUnits(v string)

SetSynthUnits sets field value

type PoolSlipApiService

type PoolSlipApiService service

PoolSlipApiService PoolSlipApi service

func (*PoolSlipApiService) Poolslip

Poolslip Method for Poolslip

Returns the pool slip information for the provided asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiPoolslipRequest

func (*PoolSlipApiService) PoolslipExecute

Execute executes the request

@return []PoolSlipResponseInner

func (*PoolSlipApiService) Poolslips

Poolslips Method for Poolslips

Returns the pool slip information for all Available Layer 1 pool assets.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPoolslipsRequest

func (*PoolSlipApiService) PoolslipsExecute

Execute executes the request

@return []PoolSlipResponseInner

type PoolSlipResponseInner

type PoolSlipResponseInner struct {
	Asset string `json:"asset"`
	// Pool slip for this asset's pool for the current height
	PoolSlip int64 `json:"pool_slip"`
	// Number of stored pool slips contributing to the current stored rollup
	RollupCount int64 `json:"rollup_count"`
	// Median of rollup snapshots over a long period
	LongRollup int64 `json:"long_rollup"`
	// Stored sum of pool slips over a number of previous block heights
	Rollup int64 `json:"rollup"`
	// Summed pool slips over a number of previous block heights, to checksum the stored rollup
	SummedRollup *int64 `json:"summed_rollup,omitempty"`
}

PoolSlipResponseInner struct for PoolSlipResponseInner

func NewPoolSlipResponseInner

func NewPoolSlipResponseInner(asset string, poolSlip int64, rollupCount int64, longRollup int64, rollup int64) *PoolSlipResponseInner

NewPoolSlipResponseInner instantiates a new PoolSlipResponseInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPoolSlipResponseInnerWithDefaults

func NewPoolSlipResponseInnerWithDefaults() *PoolSlipResponseInner

NewPoolSlipResponseInnerWithDefaults instantiates a new PoolSlipResponseInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PoolSlipResponseInner) GetAsset

func (o *PoolSlipResponseInner) GetAsset() string

GetAsset returns the Asset field value

func (*PoolSlipResponseInner) GetAssetOk

func (o *PoolSlipResponseInner) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*PoolSlipResponseInner) GetLongRollup

func (o *PoolSlipResponseInner) GetLongRollup() int64

GetLongRollup returns the LongRollup field value

func (*PoolSlipResponseInner) GetLongRollupOk

func (o *PoolSlipResponseInner) GetLongRollupOk() (*int64, bool)

GetLongRollupOk returns a tuple with the LongRollup field value and a boolean to check if the value has been set.

func (*PoolSlipResponseInner) GetPoolSlip

func (o *PoolSlipResponseInner) GetPoolSlip() int64

GetPoolSlip returns the PoolSlip field value

func (*PoolSlipResponseInner) GetPoolSlipOk

func (o *PoolSlipResponseInner) GetPoolSlipOk() (*int64, bool)

GetPoolSlipOk returns a tuple with the PoolSlip field value and a boolean to check if the value has been set.

func (*PoolSlipResponseInner) GetRollup

func (o *PoolSlipResponseInner) GetRollup() int64

GetRollup returns the Rollup field value

func (*PoolSlipResponseInner) GetRollupCount

func (o *PoolSlipResponseInner) GetRollupCount() int64

GetRollupCount returns the RollupCount field value

func (*PoolSlipResponseInner) GetRollupCountOk

func (o *PoolSlipResponseInner) GetRollupCountOk() (*int64, bool)

GetRollupCountOk returns a tuple with the RollupCount field value and a boolean to check if the value has been set.

func (*PoolSlipResponseInner) GetRollupOk

func (o *PoolSlipResponseInner) GetRollupOk() (*int64, bool)

GetRollupOk returns a tuple with the Rollup field value and a boolean to check if the value has been set.

func (*PoolSlipResponseInner) GetSummedRollup

func (o *PoolSlipResponseInner) GetSummedRollup() int64

GetSummedRollup returns the SummedRollup field value if set, zero value otherwise.

func (*PoolSlipResponseInner) GetSummedRollupOk

func (o *PoolSlipResponseInner) GetSummedRollupOk() (*int64, bool)

GetSummedRollupOk returns a tuple with the SummedRollup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PoolSlipResponseInner) HasSummedRollup

func (o *PoolSlipResponseInner) HasSummedRollup() bool

HasSummedRollup returns a boolean if a field has been set.

func (PoolSlipResponseInner) MarshalJSON_deprecated

func (o PoolSlipResponseInner) MarshalJSON_deprecated() ([]byte, error)

func (*PoolSlipResponseInner) SetAsset

func (o *PoolSlipResponseInner) SetAsset(v string)

SetAsset sets field value

func (*PoolSlipResponseInner) SetLongRollup

func (o *PoolSlipResponseInner) SetLongRollup(v int64)

SetLongRollup sets field value

func (*PoolSlipResponseInner) SetPoolSlip

func (o *PoolSlipResponseInner) SetPoolSlip(v int64)

SetPoolSlip sets field value

func (*PoolSlipResponseInner) SetRollup

func (o *PoolSlipResponseInner) SetRollup(v int64)

SetRollup sets field value

func (*PoolSlipResponseInner) SetRollupCount

func (o *PoolSlipResponseInner) SetRollupCount(v int64)

SetRollupCount sets field value

func (*PoolSlipResponseInner) SetSummedRollup

func (o *PoolSlipResponseInner) SetSummedRollup(v int64)

SetSummedRollup gets a reference to the given int64 and assigns it to the SummedRollup field.

type PoolsApiService

type PoolsApiService service

PoolsApiService PoolsApi service

func (*PoolsApiService) Dpool

func (a *PoolsApiService) Dpool(ctx context.Context, asset string) ApiDpoolRequest

Dpool Method for Dpool

Returns the pool information for the provided derived asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiDpoolRequest

func (*PoolsApiService) DpoolExecute

func (a *PoolsApiService) DpoolExecute(r ApiDpoolRequest) (*DerivedPool, *http.Response, error)

Execute executes the request

@return DerivedPool

func (*PoolsApiService) Dpools

Dpools Method for Dpools

Returns the pool information for all derived assets.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDpoolsRequest

func (*PoolsApiService) DpoolsExecute

func (a *PoolsApiService) DpoolsExecute(r ApiDpoolsRequest) ([]DerivedPool, *http.Response, error)

Execute executes the request

@return []DerivedPool

func (*PoolsApiService) Pool

func (a *PoolsApiService) Pool(ctx context.Context, asset string) ApiPoolRequest

Pool Method for Pool

Returns the pool information for the provided asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiPoolRequest

func (*PoolsApiService) PoolExecute

func (a *PoolsApiService) PoolExecute(r ApiPoolRequest) (*Pool, *http.Response, error)

Execute executes the request

@return Pool

func (*PoolsApiService) Pools

Pools Method for Pools

Returns the pool information for all assets.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPoolsRequest

func (*PoolsApiService) PoolsExecute

func (a *PoolsApiService) PoolsExecute(r ApiPoolsRequest) ([]Pool, *http.Response, error)

Execute executes the request

@return []Pool

type QueueApiService

type QueueApiService service

QueueApiService QueueApi service

func (*QueueApiService) Queue

Queue Method for Queue

Returns queue statistics.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQueueRequest

func (*QueueApiService) QueueExecute

Execute executes the request

@return QueueResponse

func (*QueueApiService) QueueOutbound

QueueOutbound Method for QueueOutbound

Returns the outbound queue including estimated RUNE values.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQueueOutboundRequest

func (*QueueApiService) QueueOutboundExecute

func (a *QueueApiService) QueueOutboundExecute(r ApiQueueOutboundRequest) ([]TxOutItem, *http.Response, error)

Execute executes the request

@return []TxOutItem

func (*QueueApiService) QueueScheduled

QueueScheduled Method for QueueScheduled

Returns the scheduled queue.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQueueScheduledRequest

func (*QueueApiService) QueueScheduledExecute

func (a *QueueApiService) QueueScheduledExecute(r ApiQueueScheduledRequest) ([]TxOutItem, *http.Response, error)

Execute executes the request

@return []TxOutItem

func (*QueueApiService) QueueSwap

QueueSwap Method for QueueSwap

Returns the swap queue.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQueueSwapRequest

func (*QueueApiService) QueueSwapExecute

func (a *QueueApiService) QueueSwapExecute(r ApiQueueSwapRequest) ([]MsgSwap, *http.Response, error)

Execute executes the request

@return []MsgSwap

type QueueResponse

type QueueResponse struct {
	Swap int64 `json:"swap"`
	// number of signed outbound tx in the queue
	Outbound int64 `json:"outbound"`
	Internal int64 `json:"internal"`
	// scheduled outbound value in RUNE
	ScheduledOutboundValue string `json:"scheduled_outbound_value"`
	// scheduled outbound clout in RUNE
	ScheduledOutboundClout string `json:"scheduled_outbound_clout"`
}

QueueResponse struct for QueueResponse

func NewQueueResponse

func NewQueueResponse(swap int64, outbound int64, internal int64, scheduledOutboundValue string, scheduledOutboundClout string) *QueueResponse

NewQueueResponse instantiates a new QueueResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQueueResponseWithDefaults

func NewQueueResponseWithDefaults() *QueueResponse

NewQueueResponseWithDefaults instantiates a new QueueResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QueueResponse) GetInternal

func (o *QueueResponse) GetInternal() int64

GetInternal returns the Internal field value

func (*QueueResponse) GetInternalOk

func (o *QueueResponse) GetInternalOk() (*int64, bool)

GetInternalOk returns a tuple with the Internal field value and a boolean to check if the value has been set.

func (*QueueResponse) GetOutbound

func (o *QueueResponse) GetOutbound() int64

GetOutbound returns the Outbound field value

func (*QueueResponse) GetOutboundOk

func (o *QueueResponse) GetOutboundOk() (*int64, bool)

GetOutboundOk returns a tuple with the Outbound field value and a boolean to check if the value has been set.

func (*QueueResponse) GetScheduledOutboundClout

func (o *QueueResponse) GetScheduledOutboundClout() string

GetScheduledOutboundClout returns the ScheduledOutboundClout field value

func (*QueueResponse) GetScheduledOutboundCloutOk

func (o *QueueResponse) GetScheduledOutboundCloutOk() (*string, bool)

GetScheduledOutboundCloutOk returns a tuple with the ScheduledOutboundClout field value and a boolean to check if the value has been set.

func (*QueueResponse) GetScheduledOutboundValue

func (o *QueueResponse) GetScheduledOutboundValue() string

GetScheduledOutboundValue returns the ScheduledOutboundValue field value

func (*QueueResponse) GetScheduledOutboundValueOk

func (o *QueueResponse) GetScheduledOutboundValueOk() (*string, bool)

GetScheduledOutboundValueOk returns a tuple with the ScheduledOutboundValue field value and a boolean to check if the value has been set.

func (*QueueResponse) GetSwap

func (o *QueueResponse) GetSwap() int64

GetSwap returns the Swap field value

func (*QueueResponse) GetSwapOk

func (o *QueueResponse) GetSwapOk() (*int64, bool)

GetSwapOk returns a tuple with the Swap field value and a boolean to check if the value has been set.

func (QueueResponse) MarshalJSON_deprecated

func (o QueueResponse) MarshalJSON_deprecated() ([]byte, error)

func (*QueueResponse) SetInternal

func (o *QueueResponse) SetInternal(v int64)

SetInternal sets field value

func (*QueueResponse) SetOutbound

func (o *QueueResponse) SetOutbound(v int64)

SetOutbound sets field value

func (*QueueResponse) SetScheduledOutboundClout

func (o *QueueResponse) SetScheduledOutboundClout(v string)

SetScheduledOutboundClout sets field value

func (*QueueResponse) SetScheduledOutboundValue

func (o *QueueResponse) SetScheduledOutboundValue(v string)

SetScheduledOutboundValue sets field value

func (*QueueResponse) SetSwap

func (o *QueueResponse) SetSwap(v int64)

SetSwap sets field value

type QuoteApiService

type QuoteApiService service

QuoteApiService QuoteApi service

func (*QuoteApiService) Quoteloanclose

Quoteloanclose Method for Quoteloanclose

Provide a quote estimate for the provided loan close.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQuoteloancloseRequest

func (*QuoteApiService) QuoteloancloseExecute

Execute executes the request

@return QuoteLoanCloseResponse

func (*QuoteApiService) Quoteloanopen

Quoteloanopen Method for Quoteloanopen

Provide a quote estimate for the provided loan open.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQuoteloanopenRequest

func (*QuoteApiService) QuoteloanopenExecute

Execute executes the request

@return QuoteLoanOpenResponse

func (*QuoteApiService) Quotesaverdeposit

func (a *QuoteApiService) Quotesaverdeposit(ctx context.Context) ApiQuotesaverdepositRequest

Quotesaverdeposit Method for Quotesaverdeposit

Provide a quote estimate for the provided saver deposit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQuotesaverdepositRequest

func (*QuoteApiService) QuotesaverdepositExecute

Execute executes the request

@return QuoteSaverDepositResponse

func (*QuoteApiService) Quotesaverwithdraw

func (a *QuoteApiService) Quotesaverwithdraw(ctx context.Context) ApiQuotesaverwithdrawRequest

Quotesaverwithdraw Method for Quotesaverwithdraw

Provide a quote estimate for the provided saver withdraw.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQuotesaverwithdrawRequest

func (*QuoteApiService) QuotesaverwithdrawExecute

Execute executes the request

@return QuoteSaverWithdrawResponse

func (*QuoteApiService) Quoteswap

Quoteswap Method for Quoteswap

Provide a quote estimate for the provided swap.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQuoteswapRequest

func (*QuoteApiService) QuoteswapExecute

Execute executes the request

@return QuoteSwapResponse

type QuoteFees

type QuoteFees struct {
	// the target asset used for all fees
	Asset string `json:"asset"`
	// affiliate fee in the target asset
	Affiliate *string `json:"affiliate,omitempty"`
	// outbound fee in the target asset
	Outbound *string `json:"outbound,omitempty"`
	// liquidity fees paid to pools in the target asset
	Liquidity string `json:"liquidity"`
	// total fees in the target asset
	Total string `json:"total"`
	// the swap slippage in basis points
	SlippageBps int64 `json:"slippage_bps"`
	// total basis points in fees relative to amount out
	TotalBps int64 `json:"total_bps"`
}

QuoteFees struct for QuoteFees

func NewQuoteFees

func NewQuoteFees(asset string, liquidity string, total string, slippageBps int64, totalBps int64) *QuoteFees

NewQuoteFees instantiates a new QuoteFees object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuoteFeesWithDefaults

func NewQuoteFeesWithDefaults() *QuoteFees

NewQuoteFeesWithDefaults instantiates a new QuoteFees object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QuoteFees) GetAffiliate

func (o *QuoteFees) GetAffiliate() string

GetAffiliate returns the Affiliate field value if set, zero value otherwise.

func (*QuoteFees) GetAffiliateOk

func (o *QuoteFees) GetAffiliateOk() (*string, bool)

GetAffiliateOk returns a tuple with the Affiliate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteFees) GetAsset

func (o *QuoteFees) GetAsset() string

GetAsset returns the Asset field value

func (*QuoteFees) GetAssetOk

func (o *QuoteFees) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*QuoteFees) GetLiquidity

func (o *QuoteFees) GetLiquidity() string

GetLiquidity returns the Liquidity field value

func (*QuoteFees) GetLiquidityOk

func (o *QuoteFees) GetLiquidityOk() (*string, bool)

GetLiquidityOk returns a tuple with the Liquidity field value and a boolean to check if the value has been set.

func (*QuoteFees) GetOutbound

func (o *QuoteFees) GetOutbound() string

GetOutbound returns the Outbound field value if set, zero value otherwise.

func (*QuoteFees) GetOutboundOk

func (o *QuoteFees) GetOutboundOk() (*string, bool)

GetOutboundOk returns a tuple with the Outbound field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteFees) GetSlippageBps

func (o *QuoteFees) GetSlippageBps() int64

GetSlippageBps returns the SlippageBps field value

func (*QuoteFees) GetSlippageBpsOk

func (o *QuoteFees) GetSlippageBpsOk() (*int64, bool)

GetSlippageBpsOk returns a tuple with the SlippageBps field value and a boolean to check if the value has been set.

func (*QuoteFees) GetTotal

func (o *QuoteFees) GetTotal() string

GetTotal returns the Total field value

func (*QuoteFees) GetTotalBps

func (o *QuoteFees) GetTotalBps() int64

GetTotalBps returns the TotalBps field value

func (*QuoteFees) GetTotalBpsOk

func (o *QuoteFees) GetTotalBpsOk() (*int64, bool)

GetTotalBpsOk returns a tuple with the TotalBps field value and a boolean to check if the value has been set.

func (*QuoteFees) GetTotalOk

func (o *QuoteFees) GetTotalOk() (*string, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (*QuoteFees) HasAffiliate

func (o *QuoteFees) HasAffiliate() bool

HasAffiliate returns a boolean if a field has been set.

func (*QuoteFees) HasOutbound

func (o *QuoteFees) HasOutbound() bool

HasOutbound returns a boolean if a field has been set.

func (QuoteFees) MarshalJSON_deprecated

func (o QuoteFees) MarshalJSON_deprecated() ([]byte, error)

func (*QuoteFees) SetAffiliate

func (o *QuoteFees) SetAffiliate(v string)

SetAffiliate gets a reference to the given string and assigns it to the Affiliate field.

func (*QuoteFees) SetAsset

func (o *QuoteFees) SetAsset(v string)

SetAsset sets field value

func (*QuoteFees) SetLiquidity

func (o *QuoteFees) SetLiquidity(v string)

SetLiquidity sets field value

func (*QuoteFees) SetOutbound

func (o *QuoteFees) SetOutbound(v string)

SetOutbound gets a reference to the given string and assigns it to the Outbound field.

func (*QuoteFees) SetSlippageBps

func (o *QuoteFees) SetSlippageBps(v int64)

SetSlippageBps sets field value

func (*QuoteFees) SetTotal

func (o *QuoteFees) SetTotal(v string)

SetTotal sets field value

func (*QuoteFees) SetTotalBps

func (o *QuoteFees) SetTotalBps(v int64)

SetTotalBps sets field value

type QuoteLoanCloseResponse

type QuoteLoanCloseResponse struct {
	// the inbound address for the transaction on the source chain
	InboundAddress *string `json:"inbound_address,omitempty"`
	// the approximate number of source chain blocks required before processing
	InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"`
	// the approximate seconds for block confirmations required before processing
	InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"`
	// the number of thorchain blocks the outbound will be delayed
	OutboundDelayBlocks int64 `json:"outbound_delay_blocks"`
	// the approximate seconds for the outbound delay before it will be sent
	OutboundDelaySeconds int64     `json:"outbound_delay_seconds"`
	Fees                 QuoteFees `json:"fees"`
	// the EVM chain router contract address
	Router *string `json:"router,omitempty"`
	// expiration timestamp in unix seconds
	Expiry int64 `json:"expiry"`
	// static warning message
	Warning string `json:"warning"`
	// chain specific quote notes
	Notes string `json:"notes"`
	// Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.
	DustThreshold *string `json:"dust_threshold,omitempty"`
	// The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
	RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"`
	// the recommended gas rate to use for the inbound to ensure timely confirmation
	RecommendedGasRate *string `json:"recommended_gas_rate,omitempty"`
	// the units of the recommended gas rate
	GasRateUnits *string `json:"gas_rate_units,omitempty"`
	// generated memo for the loan close
	Memo string `json:"memo"`
	// the amount of collateral asset the user can expect to receive after fees in 1e8 decimals
	ExpectedAmountOut string `json:"expected_amount_out"`
	// The quantity of the repayment asset to be sent by the user, calculated as the desired percentage of the loan's value, expressed in units of 1e8
	ExpectedAmountIn string `json:"expected_amount_in"`
	// the expected amount of collateral decrease on the loan
	ExpectedCollateralWithdrawn string `json:"expected_collateral_withdrawn"`
	// the expected amount of TOR debt decrease on the loan
	ExpectedDebtRepaid string `json:"expected_debt_repaid"`
	// The number of blocks involved in the streaming swaps during the repayment process.
	StreamingSwapBlocks int64 `json:"streaming_swap_blocks"`
	// The approximate number of seconds taken by the streaming swaps involved in the repayment process.
	StreamingSwapSeconds int64 `json:"streaming_swap_seconds"`
	// The total expected duration for a repayment, measured in seconds, which includes the time for inbound confirmation, the duration of streaming swaps, and any outbound delays.
	TotalRepaySeconds int64 `json:"total_repay_seconds"`
}

QuoteLoanCloseResponse struct for QuoteLoanCloseResponse

func NewQuoteLoanCloseResponse

func NewQuoteLoanCloseResponse(outboundDelayBlocks int64, outboundDelaySeconds int64, fees QuoteFees, expiry int64, warning string, notes string, memo string, expectedAmountOut string, expectedAmountIn string, expectedCollateralWithdrawn string, expectedDebtRepaid string, streamingSwapBlocks int64, streamingSwapSeconds int64, totalRepaySeconds int64) *QuoteLoanCloseResponse

NewQuoteLoanCloseResponse instantiates a new QuoteLoanCloseResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuoteLoanCloseResponseWithDefaults

func NewQuoteLoanCloseResponseWithDefaults() *QuoteLoanCloseResponse

NewQuoteLoanCloseResponseWithDefaults instantiates a new QuoteLoanCloseResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QuoteLoanCloseResponse) GetDustThreshold

func (o *QuoteLoanCloseResponse) GetDustThreshold() string

GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.

func (*QuoteLoanCloseResponse) GetDustThresholdOk

func (o *QuoteLoanCloseResponse) GetDustThresholdOk() (*string, bool)

GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetExpectedAmountIn

func (o *QuoteLoanCloseResponse) GetExpectedAmountIn() string

GetExpectedAmountIn returns the ExpectedAmountIn field value

func (*QuoteLoanCloseResponse) GetExpectedAmountInOk

func (o *QuoteLoanCloseResponse) GetExpectedAmountInOk() (*string, bool)

GetExpectedAmountInOk returns a tuple with the ExpectedAmountIn field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetExpectedAmountOut

func (o *QuoteLoanCloseResponse) GetExpectedAmountOut() string

GetExpectedAmountOut returns the ExpectedAmountOut field value

func (*QuoteLoanCloseResponse) GetExpectedAmountOutOk

func (o *QuoteLoanCloseResponse) GetExpectedAmountOutOk() (*string, bool)

GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetExpectedCollateralWithdrawn

func (o *QuoteLoanCloseResponse) GetExpectedCollateralWithdrawn() string

GetExpectedCollateralWithdrawn returns the ExpectedCollateralWithdrawn field value

func (*QuoteLoanCloseResponse) GetExpectedCollateralWithdrawnOk

func (o *QuoteLoanCloseResponse) GetExpectedCollateralWithdrawnOk() (*string, bool)

GetExpectedCollateralWithdrawnOk returns a tuple with the ExpectedCollateralWithdrawn field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetExpectedDebtRepaid

func (o *QuoteLoanCloseResponse) GetExpectedDebtRepaid() string

GetExpectedDebtRepaid returns the ExpectedDebtRepaid field value

func (*QuoteLoanCloseResponse) GetExpectedDebtRepaidOk

func (o *QuoteLoanCloseResponse) GetExpectedDebtRepaidOk() (*string, bool)

GetExpectedDebtRepaidOk returns a tuple with the ExpectedDebtRepaid field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetExpiry

func (o *QuoteLoanCloseResponse) GetExpiry() int64

GetExpiry returns the Expiry field value

func (*QuoteLoanCloseResponse) GetExpiryOk

func (o *QuoteLoanCloseResponse) GetExpiryOk() (*int64, bool)

GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetFees

func (o *QuoteLoanCloseResponse) GetFees() QuoteFees

GetFees returns the Fees field value

func (*QuoteLoanCloseResponse) GetFeesOk

func (o *QuoteLoanCloseResponse) GetFeesOk() (*QuoteFees, bool)

GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetGasRateUnits

func (o *QuoteLoanCloseResponse) GetGasRateUnits() string

GetGasRateUnits returns the GasRateUnits field value if set, zero value otherwise.

func (*QuoteLoanCloseResponse) GetGasRateUnitsOk

func (o *QuoteLoanCloseResponse) GetGasRateUnitsOk() (*string, bool)

GetGasRateUnitsOk returns a tuple with the GasRateUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetInboundAddress

func (o *QuoteLoanCloseResponse) GetInboundAddress() string

GetInboundAddress returns the InboundAddress field value if set, zero value otherwise.

func (*QuoteLoanCloseResponse) GetInboundAddressOk

func (o *QuoteLoanCloseResponse) GetInboundAddressOk() (*string, bool)

GetInboundAddressOk returns a tuple with the InboundAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetInboundConfirmationBlocks

func (o *QuoteLoanCloseResponse) GetInboundConfirmationBlocks() int64

GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.

func (*QuoteLoanCloseResponse) GetInboundConfirmationBlocksOk

func (o *QuoteLoanCloseResponse) GetInboundConfirmationBlocksOk() (*int64, bool)

GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetInboundConfirmationSeconds

func (o *QuoteLoanCloseResponse) GetInboundConfirmationSeconds() int64

GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.

func (*QuoteLoanCloseResponse) GetInboundConfirmationSecondsOk

func (o *QuoteLoanCloseResponse) GetInboundConfirmationSecondsOk() (*int64, bool)

GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetMemo

func (o *QuoteLoanCloseResponse) GetMemo() string

GetMemo returns the Memo field value

func (*QuoteLoanCloseResponse) GetMemoOk

func (o *QuoteLoanCloseResponse) GetMemoOk() (*string, bool)

GetMemoOk returns a tuple with the Memo field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetNotes

func (o *QuoteLoanCloseResponse) GetNotes() string

GetNotes returns the Notes field value

func (*QuoteLoanCloseResponse) GetNotesOk

func (o *QuoteLoanCloseResponse) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetOutboundDelayBlocks

func (o *QuoteLoanCloseResponse) GetOutboundDelayBlocks() int64

GetOutboundDelayBlocks returns the OutboundDelayBlocks field value

func (*QuoteLoanCloseResponse) GetOutboundDelayBlocksOk

func (o *QuoteLoanCloseResponse) GetOutboundDelayBlocksOk() (*int64, bool)

GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetOutboundDelaySeconds

func (o *QuoteLoanCloseResponse) GetOutboundDelaySeconds() int64

GetOutboundDelaySeconds returns the OutboundDelaySeconds field value

func (*QuoteLoanCloseResponse) GetOutboundDelaySecondsOk

func (o *QuoteLoanCloseResponse) GetOutboundDelaySecondsOk() (*int64, bool)

GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetRecommendedGasRate

func (o *QuoteLoanCloseResponse) GetRecommendedGasRate() string

GetRecommendedGasRate returns the RecommendedGasRate field value if set, zero value otherwise.

func (*QuoteLoanCloseResponse) GetRecommendedGasRateOk

func (o *QuoteLoanCloseResponse) GetRecommendedGasRateOk() (*string, bool)

GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetRecommendedMinAmountIn

func (o *QuoteLoanCloseResponse) GetRecommendedMinAmountIn() string

GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.

func (*QuoteLoanCloseResponse) GetRecommendedMinAmountInOk

func (o *QuoteLoanCloseResponse) GetRecommendedMinAmountInOk() (*string, bool)

GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetRouter

func (o *QuoteLoanCloseResponse) GetRouter() string

GetRouter returns the Router field value if set, zero value otherwise.

func (*QuoteLoanCloseResponse) GetRouterOk

func (o *QuoteLoanCloseResponse) GetRouterOk() (*string, bool)

GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetStreamingSwapBlocks

func (o *QuoteLoanCloseResponse) GetStreamingSwapBlocks() int64

GetStreamingSwapBlocks returns the StreamingSwapBlocks field value

func (*QuoteLoanCloseResponse) GetStreamingSwapBlocksOk

func (o *QuoteLoanCloseResponse) GetStreamingSwapBlocksOk() (*int64, bool)

GetStreamingSwapBlocksOk returns a tuple with the StreamingSwapBlocks field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetStreamingSwapSeconds

func (o *QuoteLoanCloseResponse) GetStreamingSwapSeconds() int64

GetStreamingSwapSeconds returns the StreamingSwapSeconds field value

func (*QuoteLoanCloseResponse) GetStreamingSwapSecondsOk

func (o *QuoteLoanCloseResponse) GetStreamingSwapSecondsOk() (*int64, bool)

GetStreamingSwapSecondsOk returns a tuple with the StreamingSwapSeconds field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetTotalRepaySeconds

func (o *QuoteLoanCloseResponse) GetTotalRepaySeconds() int64

GetTotalRepaySeconds returns the TotalRepaySeconds field value

func (*QuoteLoanCloseResponse) GetTotalRepaySecondsOk

func (o *QuoteLoanCloseResponse) GetTotalRepaySecondsOk() (*int64, bool)

GetTotalRepaySecondsOk returns a tuple with the TotalRepaySeconds field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) GetWarning

func (o *QuoteLoanCloseResponse) GetWarning() string

GetWarning returns the Warning field value

func (*QuoteLoanCloseResponse) GetWarningOk

func (o *QuoteLoanCloseResponse) GetWarningOk() (*string, bool)

GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.

func (*QuoteLoanCloseResponse) HasDustThreshold

func (o *QuoteLoanCloseResponse) HasDustThreshold() bool

HasDustThreshold returns a boolean if a field has been set.

func (*QuoteLoanCloseResponse) HasGasRateUnits

func (o *QuoteLoanCloseResponse) HasGasRateUnits() bool

HasGasRateUnits returns a boolean if a field has been set.

func (*QuoteLoanCloseResponse) HasInboundAddress

func (o *QuoteLoanCloseResponse) HasInboundAddress() bool

HasInboundAddress returns a boolean if a field has been set.

func (*QuoteLoanCloseResponse) HasInboundConfirmationBlocks

func (o *QuoteLoanCloseResponse) HasInboundConfirmationBlocks() bool

HasInboundConfirmationBlocks returns a boolean if a field has been set.

func (*QuoteLoanCloseResponse) HasInboundConfirmationSeconds

func (o *QuoteLoanCloseResponse) HasInboundConfirmationSeconds() bool

HasInboundConfirmationSeconds returns a boolean if a field has been set.

func (*QuoteLoanCloseResponse) HasRecommendedGasRate

func (o *QuoteLoanCloseResponse) HasRecommendedGasRate() bool

HasRecommendedGasRate returns a boolean if a field has been set.

func (*QuoteLoanCloseResponse) HasRecommendedMinAmountIn

func (o *QuoteLoanCloseResponse) HasRecommendedMinAmountIn() bool

HasRecommendedMinAmountIn returns a boolean if a field has been set.

func (*QuoteLoanCloseResponse) HasRouter

func (o *QuoteLoanCloseResponse) HasRouter() bool

HasRouter returns a boolean if a field has been set.

func (QuoteLoanCloseResponse) MarshalJSON_deprecated

func (o QuoteLoanCloseResponse) MarshalJSON_deprecated() ([]byte, error)

func (*QuoteLoanCloseResponse) SetDustThreshold

func (o *QuoteLoanCloseResponse) SetDustThreshold(v string)

SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.

func (*QuoteLoanCloseResponse) SetExpectedAmountIn

func (o *QuoteLoanCloseResponse) SetExpectedAmountIn(v string)

SetExpectedAmountIn sets field value

func (*QuoteLoanCloseResponse) SetExpectedAmountOut

func (o *QuoteLoanCloseResponse) SetExpectedAmountOut(v string)

SetExpectedAmountOut sets field value

func (*QuoteLoanCloseResponse) SetExpectedCollateralWithdrawn

func (o *QuoteLoanCloseResponse) SetExpectedCollateralWithdrawn(v string)

SetExpectedCollateralWithdrawn sets field value

func (*QuoteLoanCloseResponse) SetExpectedDebtRepaid

func (o *QuoteLoanCloseResponse) SetExpectedDebtRepaid(v string)

SetExpectedDebtRepaid sets field value

func (*QuoteLoanCloseResponse) SetExpiry

func (o *QuoteLoanCloseResponse) SetExpiry(v int64)

SetExpiry sets field value

func (*QuoteLoanCloseResponse) SetFees

func (o *QuoteLoanCloseResponse) SetFees(v QuoteFees)

SetFees sets field value

func (*QuoteLoanCloseResponse) SetGasRateUnits

func (o *QuoteLoanCloseResponse) SetGasRateUnits(v string)

SetGasRateUnits gets a reference to the given string and assigns it to the GasRateUnits field.

func (*QuoteLoanCloseResponse) SetInboundAddress

func (o *QuoteLoanCloseResponse) SetInboundAddress(v string)

SetInboundAddress gets a reference to the given string and assigns it to the InboundAddress field.

func (*QuoteLoanCloseResponse) SetInboundConfirmationBlocks

func (o *QuoteLoanCloseResponse) SetInboundConfirmationBlocks(v int64)

SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.

func (*QuoteLoanCloseResponse) SetInboundConfirmationSeconds

func (o *QuoteLoanCloseResponse) SetInboundConfirmationSeconds(v int64)

SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.

func (*QuoteLoanCloseResponse) SetMemo

func (o *QuoteLoanCloseResponse) SetMemo(v string)

SetMemo sets field value

func (*QuoteLoanCloseResponse) SetNotes

func (o *QuoteLoanCloseResponse) SetNotes(v string)

SetNotes sets field value

func (*QuoteLoanCloseResponse) SetOutboundDelayBlocks

func (o *QuoteLoanCloseResponse) SetOutboundDelayBlocks(v int64)

SetOutboundDelayBlocks sets field value

func (*QuoteLoanCloseResponse) SetOutboundDelaySeconds

func (o *QuoteLoanCloseResponse) SetOutboundDelaySeconds(v int64)

SetOutboundDelaySeconds sets field value

func (*QuoteLoanCloseResponse) SetRecommendedGasRate

func (o *QuoteLoanCloseResponse) SetRecommendedGasRate(v string)

SetRecommendedGasRate gets a reference to the given string and assigns it to the RecommendedGasRate field.

func (*QuoteLoanCloseResponse) SetRecommendedMinAmountIn

func (o *QuoteLoanCloseResponse) SetRecommendedMinAmountIn(v string)

SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.

func (*QuoteLoanCloseResponse) SetRouter

func (o *QuoteLoanCloseResponse) SetRouter(v string)

SetRouter gets a reference to the given string and assigns it to the Router field.

func (*QuoteLoanCloseResponse) SetStreamingSwapBlocks

func (o *QuoteLoanCloseResponse) SetStreamingSwapBlocks(v int64)

SetStreamingSwapBlocks sets field value

func (*QuoteLoanCloseResponse) SetStreamingSwapSeconds

func (o *QuoteLoanCloseResponse) SetStreamingSwapSeconds(v int64)

SetStreamingSwapSeconds sets field value

func (*QuoteLoanCloseResponse) SetTotalRepaySeconds

func (o *QuoteLoanCloseResponse) SetTotalRepaySeconds(v int64)

SetTotalRepaySeconds sets field value

func (*QuoteLoanCloseResponse) SetWarning

func (o *QuoteLoanCloseResponse) SetWarning(v string)

SetWarning sets field value

type QuoteLoanOpenResponse

type QuoteLoanOpenResponse struct {
	// the inbound address for the transaction on the source chain
	InboundAddress *string `json:"inbound_address,omitempty"`
	// the approximate number of source chain blocks required before processing
	InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"`
	// the approximate seconds for block confirmations required before processing
	InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"`
	// the number of thorchain blocks the outbound will be delayed
	OutboundDelayBlocks int64 `json:"outbound_delay_blocks"`
	// the approximate seconds for the outbound delay before it will be sent
	OutboundDelaySeconds int64     `json:"outbound_delay_seconds"`
	Fees                 QuoteFees `json:"fees"`
	// the EVM chain router contract address
	Router *string `json:"router,omitempty"`
	// expiration timestamp in unix seconds
	Expiry int64 `json:"expiry"`
	// static warning message
	Warning string `json:"warning"`
	// chain specific quote notes
	Notes string `json:"notes"`
	// Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.
	DustThreshold *string `json:"dust_threshold,omitempty"`
	// The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
	RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"`
	// the recommended gas rate to use for the inbound to ensure timely confirmation
	RecommendedGasRate string `json:"recommended_gas_rate"`
	// the units of the recommended gas rate
	GasRateUnits string `json:"gas_rate_units"`
	// generated memo for the loan open
	Memo *string `json:"memo,omitempty"`
	// the amount of the target asset the user can expect to receive after fees in 1e8 decimals
	ExpectedAmountOut string `json:"expected_amount_out"`
	// the expected collateralization ratio in basis points
	ExpectedCollateralizationRatio string `json:"expected_collateralization_ratio"`
	// the expected amount of collateral increase on the loan
	ExpectedCollateralDeposited string `json:"expected_collateral_deposited"`
	// the expected amount of TOR debt increase on the loan
	ExpectedDebtIssued string `json:"expected_debt_issued"`
	// The number of blocks involved in the streaming swaps during the open loan process.
	StreamingSwapBlocks int64 `json:"streaming_swap_blocks"`
	// The approximate number of seconds taken by the streaming swaps involved in the open loan process.
	StreamingSwapSeconds int64 `json:"streaming_swap_seconds"`
	// The total expected duration for a open loan, measured in seconds, which includes the time for inbound confirmation, the duration of streaming swaps, and any outbound delays.
	TotalOpenLoanSeconds int64 `json:"total_open_loan_seconds"`
}

QuoteLoanOpenResponse struct for QuoteLoanOpenResponse

func NewQuoteLoanOpenResponse

func NewQuoteLoanOpenResponse(outboundDelayBlocks int64, outboundDelaySeconds int64, fees QuoteFees, expiry int64, warning string, notes string, recommendedGasRate string, gasRateUnits string, expectedAmountOut string, expectedCollateralizationRatio string, expectedCollateralDeposited string, expectedDebtIssued string, streamingSwapBlocks int64, streamingSwapSeconds int64, totalOpenLoanSeconds int64) *QuoteLoanOpenResponse

NewQuoteLoanOpenResponse instantiates a new QuoteLoanOpenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuoteLoanOpenResponseWithDefaults

func NewQuoteLoanOpenResponseWithDefaults() *QuoteLoanOpenResponse

NewQuoteLoanOpenResponseWithDefaults instantiates a new QuoteLoanOpenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QuoteLoanOpenResponse) GetDustThreshold

func (o *QuoteLoanOpenResponse) GetDustThreshold() string

GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.

func (*QuoteLoanOpenResponse) GetDustThresholdOk

func (o *QuoteLoanOpenResponse) GetDustThresholdOk() (*string, bool)

GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetExpectedAmountOut

func (o *QuoteLoanOpenResponse) GetExpectedAmountOut() string

GetExpectedAmountOut returns the ExpectedAmountOut field value

func (*QuoteLoanOpenResponse) GetExpectedAmountOutOk

func (o *QuoteLoanOpenResponse) GetExpectedAmountOutOk() (*string, bool)

GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetExpectedCollateralDeposited

func (o *QuoteLoanOpenResponse) GetExpectedCollateralDeposited() string

GetExpectedCollateralDeposited returns the ExpectedCollateralDeposited field value

func (*QuoteLoanOpenResponse) GetExpectedCollateralDepositedOk

func (o *QuoteLoanOpenResponse) GetExpectedCollateralDepositedOk() (*string, bool)

GetExpectedCollateralDepositedOk returns a tuple with the ExpectedCollateralDeposited field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetExpectedCollateralizationRatio

func (o *QuoteLoanOpenResponse) GetExpectedCollateralizationRatio() string

GetExpectedCollateralizationRatio returns the ExpectedCollateralizationRatio field value

func (*QuoteLoanOpenResponse) GetExpectedCollateralizationRatioOk

func (o *QuoteLoanOpenResponse) GetExpectedCollateralizationRatioOk() (*string, bool)

GetExpectedCollateralizationRatioOk returns a tuple with the ExpectedCollateralizationRatio field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetExpectedDebtIssued

func (o *QuoteLoanOpenResponse) GetExpectedDebtIssued() string

GetExpectedDebtIssued returns the ExpectedDebtIssued field value

func (*QuoteLoanOpenResponse) GetExpectedDebtIssuedOk

func (o *QuoteLoanOpenResponse) GetExpectedDebtIssuedOk() (*string, bool)

GetExpectedDebtIssuedOk returns a tuple with the ExpectedDebtIssued field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetExpiry

func (o *QuoteLoanOpenResponse) GetExpiry() int64

GetExpiry returns the Expiry field value

func (*QuoteLoanOpenResponse) GetExpiryOk

func (o *QuoteLoanOpenResponse) GetExpiryOk() (*int64, bool)

GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetFees

func (o *QuoteLoanOpenResponse) GetFees() QuoteFees

GetFees returns the Fees field value

func (*QuoteLoanOpenResponse) GetFeesOk

func (o *QuoteLoanOpenResponse) GetFeesOk() (*QuoteFees, bool)

GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetGasRateUnits

func (o *QuoteLoanOpenResponse) GetGasRateUnits() string

GetGasRateUnits returns the GasRateUnits field value

func (*QuoteLoanOpenResponse) GetGasRateUnitsOk

func (o *QuoteLoanOpenResponse) GetGasRateUnitsOk() (*string, bool)

GetGasRateUnitsOk returns a tuple with the GasRateUnits field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetInboundAddress

func (o *QuoteLoanOpenResponse) GetInboundAddress() string

GetInboundAddress returns the InboundAddress field value if set, zero value otherwise.

func (*QuoteLoanOpenResponse) GetInboundAddressOk

func (o *QuoteLoanOpenResponse) GetInboundAddressOk() (*string, bool)

GetInboundAddressOk returns a tuple with the InboundAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetInboundConfirmationBlocks

func (o *QuoteLoanOpenResponse) GetInboundConfirmationBlocks() int64

GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.

func (*QuoteLoanOpenResponse) GetInboundConfirmationBlocksOk

func (o *QuoteLoanOpenResponse) GetInboundConfirmationBlocksOk() (*int64, bool)

GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetInboundConfirmationSeconds

func (o *QuoteLoanOpenResponse) GetInboundConfirmationSeconds() int64

GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.

func (*QuoteLoanOpenResponse) GetInboundConfirmationSecondsOk

func (o *QuoteLoanOpenResponse) GetInboundConfirmationSecondsOk() (*int64, bool)

GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetMemo

func (o *QuoteLoanOpenResponse) GetMemo() string

GetMemo returns the Memo field value if set, zero value otherwise.

func (*QuoteLoanOpenResponse) GetMemoOk

func (o *QuoteLoanOpenResponse) GetMemoOk() (*string, bool)

GetMemoOk returns a tuple with the Memo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetNotes

func (o *QuoteLoanOpenResponse) GetNotes() string

GetNotes returns the Notes field value

func (*QuoteLoanOpenResponse) GetNotesOk

func (o *QuoteLoanOpenResponse) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetOutboundDelayBlocks

func (o *QuoteLoanOpenResponse) GetOutboundDelayBlocks() int64

GetOutboundDelayBlocks returns the OutboundDelayBlocks field value

func (*QuoteLoanOpenResponse) GetOutboundDelayBlocksOk

func (o *QuoteLoanOpenResponse) GetOutboundDelayBlocksOk() (*int64, bool)

GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetOutboundDelaySeconds

func (o *QuoteLoanOpenResponse) GetOutboundDelaySeconds() int64

GetOutboundDelaySeconds returns the OutboundDelaySeconds field value

func (*QuoteLoanOpenResponse) GetOutboundDelaySecondsOk

func (o *QuoteLoanOpenResponse) GetOutboundDelaySecondsOk() (*int64, bool)

GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetRecommendedGasRate

func (o *QuoteLoanOpenResponse) GetRecommendedGasRate() string

GetRecommendedGasRate returns the RecommendedGasRate field value

func (*QuoteLoanOpenResponse) GetRecommendedGasRateOk

func (o *QuoteLoanOpenResponse) GetRecommendedGasRateOk() (*string, bool)

GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetRecommendedMinAmountIn

func (o *QuoteLoanOpenResponse) GetRecommendedMinAmountIn() string

GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.

func (*QuoteLoanOpenResponse) GetRecommendedMinAmountInOk

func (o *QuoteLoanOpenResponse) GetRecommendedMinAmountInOk() (*string, bool)

GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetRouter

func (o *QuoteLoanOpenResponse) GetRouter() string

GetRouter returns the Router field value if set, zero value otherwise.

func (*QuoteLoanOpenResponse) GetRouterOk

func (o *QuoteLoanOpenResponse) GetRouterOk() (*string, bool)

GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetStreamingSwapBlocks

func (o *QuoteLoanOpenResponse) GetStreamingSwapBlocks() int64

GetStreamingSwapBlocks returns the StreamingSwapBlocks field value

func (*QuoteLoanOpenResponse) GetStreamingSwapBlocksOk

func (o *QuoteLoanOpenResponse) GetStreamingSwapBlocksOk() (*int64, bool)

GetStreamingSwapBlocksOk returns a tuple with the StreamingSwapBlocks field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetStreamingSwapSeconds

func (o *QuoteLoanOpenResponse) GetStreamingSwapSeconds() int64

GetStreamingSwapSeconds returns the StreamingSwapSeconds field value

func (*QuoteLoanOpenResponse) GetStreamingSwapSecondsOk

func (o *QuoteLoanOpenResponse) GetStreamingSwapSecondsOk() (*int64, bool)

GetStreamingSwapSecondsOk returns a tuple with the StreamingSwapSeconds field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetTotalOpenLoanSeconds

func (o *QuoteLoanOpenResponse) GetTotalOpenLoanSeconds() int64

GetTotalOpenLoanSeconds returns the TotalOpenLoanSeconds field value

func (*QuoteLoanOpenResponse) GetTotalOpenLoanSecondsOk

func (o *QuoteLoanOpenResponse) GetTotalOpenLoanSecondsOk() (*int64, bool)

GetTotalOpenLoanSecondsOk returns a tuple with the TotalOpenLoanSeconds field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) GetWarning

func (o *QuoteLoanOpenResponse) GetWarning() string

GetWarning returns the Warning field value

func (*QuoteLoanOpenResponse) GetWarningOk

func (o *QuoteLoanOpenResponse) GetWarningOk() (*string, bool)

GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.

func (*QuoteLoanOpenResponse) HasDustThreshold

func (o *QuoteLoanOpenResponse) HasDustThreshold() bool

HasDustThreshold returns a boolean if a field has been set.

func (*QuoteLoanOpenResponse) HasInboundAddress

func (o *QuoteLoanOpenResponse) HasInboundAddress() bool

HasInboundAddress returns a boolean if a field has been set.

func (*QuoteLoanOpenResponse) HasInboundConfirmationBlocks

func (o *QuoteLoanOpenResponse) HasInboundConfirmationBlocks() bool

HasInboundConfirmationBlocks returns a boolean if a field has been set.

func (*QuoteLoanOpenResponse) HasInboundConfirmationSeconds

func (o *QuoteLoanOpenResponse) HasInboundConfirmationSeconds() bool

HasInboundConfirmationSeconds returns a boolean if a field has been set.

func (*QuoteLoanOpenResponse) HasMemo

func (o *QuoteLoanOpenResponse) HasMemo() bool

HasMemo returns a boolean if a field has been set.

func (*QuoteLoanOpenResponse) HasRecommendedMinAmountIn

func (o *QuoteLoanOpenResponse) HasRecommendedMinAmountIn() bool

HasRecommendedMinAmountIn returns a boolean if a field has been set.

func (*QuoteLoanOpenResponse) HasRouter

func (o *QuoteLoanOpenResponse) HasRouter() bool

HasRouter returns a boolean if a field has been set.

func (QuoteLoanOpenResponse) MarshalJSON_deprecated

func (o QuoteLoanOpenResponse) MarshalJSON_deprecated() ([]byte, error)

func (*QuoteLoanOpenResponse) SetDustThreshold

func (o *QuoteLoanOpenResponse) SetDustThreshold(v string)

SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.

func (*QuoteLoanOpenResponse) SetExpectedAmountOut

func (o *QuoteLoanOpenResponse) SetExpectedAmountOut(v string)

SetExpectedAmountOut sets field value

func (*QuoteLoanOpenResponse) SetExpectedCollateralDeposited

func (o *QuoteLoanOpenResponse) SetExpectedCollateralDeposited(v string)

SetExpectedCollateralDeposited sets field value

func (*QuoteLoanOpenResponse) SetExpectedCollateralizationRatio

func (o *QuoteLoanOpenResponse) SetExpectedCollateralizationRatio(v string)

SetExpectedCollateralizationRatio sets field value

func (*QuoteLoanOpenResponse) SetExpectedDebtIssued

func (o *QuoteLoanOpenResponse) SetExpectedDebtIssued(v string)

SetExpectedDebtIssued sets field value

func (*QuoteLoanOpenResponse) SetExpiry

func (o *QuoteLoanOpenResponse) SetExpiry(v int64)

SetExpiry sets field value

func (*QuoteLoanOpenResponse) SetFees

func (o *QuoteLoanOpenResponse) SetFees(v QuoteFees)

SetFees sets field value

func (*QuoteLoanOpenResponse) SetGasRateUnits

func (o *QuoteLoanOpenResponse) SetGasRateUnits(v string)

SetGasRateUnits sets field value

func (*QuoteLoanOpenResponse) SetInboundAddress

func (o *QuoteLoanOpenResponse) SetInboundAddress(v string)

SetInboundAddress gets a reference to the given string and assigns it to the InboundAddress field.

func (*QuoteLoanOpenResponse) SetInboundConfirmationBlocks

func (o *QuoteLoanOpenResponse) SetInboundConfirmationBlocks(v int64)

SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.

func (*QuoteLoanOpenResponse) SetInboundConfirmationSeconds

func (o *QuoteLoanOpenResponse) SetInboundConfirmationSeconds(v int64)

SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.

func (*QuoteLoanOpenResponse) SetMemo

func (o *QuoteLoanOpenResponse) SetMemo(v string)

SetMemo gets a reference to the given string and assigns it to the Memo field.

func (*QuoteLoanOpenResponse) SetNotes

func (o *QuoteLoanOpenResponse) SetNotes(v string)

SetNotes sets field value

func (*QuoteLoanOpenResponse) SetOutboundDelayBlocks

func (o *QuoteLoanOpenResponse) SetOutboundDelayBlocks(v int64)

SetOutboundDelayBlocks sets field value

func (*QuoteLoanOpenResponse) SetOutboundDelaySeconds

func (o *QuoteLoanOpenResponse) SetOutboundDelaySeconds(v int64)

SetOutboundDelaySeconds sets field value

func (*QuoteLoanOpenResponse) SetRecommendedGasRate

func (o *QuoteLoanOpenResponse) SetRecommendedGasRate(v string)

SetRecommendedGasRate sets field value

func (*QuoteLoanOpenResponse) SetRecommendedMinAmountIn

func (o *QuoteLoanOpenResponse) SetRecommendedMinAmountIn(v string)

SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.

func (*QuoteLoanOpenResponse) SetRouter

func (o *QuoteLoanOpenResponse) SetRouter(v string)

SetRouter gets a reference to the given string and assigns it to the Router field.

func (*QuoteLoanOpenResponse) SetStreamingSwapBlocks

func (o *QuoteLoanOpenResponse) SetStreamingSwapBlocks(v int64)

SetStreamingSwapBlocks sets field value

func (*QuoteLoanOpenResponse) SetStreamingSwapSeconds

func (o *QuoteLoanOpenResponse) SetStreamingSwapSeconds(v int64)

SetStreamingSwapSeconds sets field value

func (*QuoteLoanOpenResponse) SetTotalOpenLoanSeconds

func (o *QuoteLoanOpenResponse) SetTotalOpenLoanSeconds(v int64)

SetTotalOpenLoanSeconds sets field value

func (*QuoteLoanOpenResponse) SetWarning

func (o *QuoteLoanOpenResponse) SetWarning(v string)

SetWarning sets field value

type QuoteSaverDepositResponse

type QuoteSaverDepositResponse struct {
	// the inbound address for the transaction on the source chain
	InboundAddress string `json:"inbound_address"`
	// the approximate number of source chain blocks required before processing
	InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"`
	// the approximate seconds for block confirmations required before processing
	InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"`
	// the number of thorchain blocks the outbound will be delayed
	OutboundDelayBlocks *int64 `json:"outbound_delay_blocks,omitempty"`
	// the approximate seconds for the outbound delay before it will be sent
	OutboundDelaySeconds *int64    `json:"outbound_delay_seconds,omitempty"`
	Fees                 QuoteFees `json:"fees"`
	// the EVM chain router contract address
	Router *string `json:"router,omitempty"`
	// expiration timestamp in unix seconds
	Expiry int64 `json:"expiry"`
	// static warning message
	Warning string `json:"warning"`
	// chain specific quote notes
	Notes string `json:"notes"`
	// Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.
	DustThreshold *string `json:"dust_threshold,omitempty"`
	// The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
	RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"`
	// the recommended gas rate to use for the inbound to ensure timely confirmation
	RecommendedGasRate string `json:"recommended_gas_rate"`
	// the units of the recommended gas rate
	GasRateUnits string `json:"gas_rate_units"`
	// generated memo for the deposit
	Memo string `json:"memo"`
	// same as expected_amount_deposit, to be deprecated in favour of expected_amount_deposit
	ExpectedAmountOut *string `json:"expected_amount_out,omitempty"`
	// the amount of the target asset the user can expect to deposit after fees
	ExpectedAmountDeposit string `json:"expected_amount_deposit"`
}

QuoteSaverDepositResponse struct for QuoteSaverDepositResponse

func NewQuoteSaverDepositResponse

func NewQuoteSaverDepositResponse(inboundAddress string, fees QuoteFees, expiry int64, warning string, notes string, recommendedGasRate string, gasRateUnits string, memo string, expectedAmountDeposit string) *QuoteSaverDepositResponse

NewQuoteSaverDepositResponse instantiates a new QuoteSaverDepositResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuoteSaverDepositResponseWithDefaults

func NewQuoteSaverDepositResponseWithDefaults() *QuoteSaverDepositResponse

NewQuoteSaverDepositResponseWithDefaults instantiates a new QuoteSaverDepositResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QuoteSaverDepositResponse) GetDustThreshold

func (o *QuoteSaverDepositResponse) GetDustThreshold() string

GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.

func (*QuoteSaverDepositResponse) GetDustThresholdOk

func (o *QuoteSaverDepositResponse) GetDustThresholdOk() (*string, bool)

GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetExpectedAmountDeposit

func (o *QuoteSaverDepositResponse) GetExpectedAmountDeposit() string

GetExpectedAmountDeposit returns the ExpectedAmountDeposit field value

func (*QuoteSaverDepositResponse) GetExpectedAmountDepositOk

func (o *QuoteSaverDepositResponse) GetExpectedAmountDepositOk() (*string, bool)

GetExpectedAmountDepositOk returns a tuple with the ExpectedAmountDeposit field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetExpectedAmountOut

func (o *QuoteSaverDepositResponse) GetExpectedAmountOut() string

GetExpectedAmountOut returns the ExpectedAmountOut field value if set, zero value otherwise.

func (*QuoteSaverDepositResponse) GetExpectedAmountOutOk

func (o *QuoteSaverDepositResponse) GetExpectedAmountOutOk() (*string, bool)

GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetExpiry

func (o *QuoteSaverDepositResponse) GetExpiry() int64

GetExpiry returns the Expiry field value

func (*QuoteSaverDepositResponse) GetExpiryOk

func (o *QuoteSaverDepositResponse) GetExpiryOk() (*int64, bool)

GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetFees

func (o *QuoteSaverDepositResponse) GetFees() QuoteFees

GetFees returns the Fees field value

func (*QuoteSaverDepositResponse) GetFeesOk

func (o *QuoteSaverDepositResponse) GetFeesOk() (*QuoteFees, bool)

GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetGasRateUnits

func (o *QuoteSaverDepositResponse) GetGasRateUnits() string

GetGasRateUnits returns the GasRateUnits field value

func (*QuoteSaverDepositResponse) GetGasRateUnitsOk

func (o *QuoteSaverDepositResponse) GetGasRateUnitsOk() (*string, bool)

GetGasRateUnitsOk returns a tuple with the GasRateUnits field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetInboundAddress

func (o *QuoteSaverDepositResponse) GetInboundAddress() string

GetInboundAddress returns the InboundAddress field value

func (*QuoteSaverDepositResponse) GetInboundAddressOk

func (o *QuoteSaverDepositResponse) GetInboundAddressOk() (*string, bool)

GetInboundAddressOk returns a tuple with the InboundAddress field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetInboundConfirmationBlocks

func (o *QuoteSaverDepositResponse) GetInboundConfirmationBlocks() int64

GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.

func (*QuoteSaverDepositResponse) GetInboundConfirmationBlocksOk

func (o *QuoteSaverDepositResponse) GetInboundConfirmationBlocksOk() (*int64, bool)

GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetInboundConfirmationSeconds

func (o *QuoteSaverDepositResponse) GetInboundConfirmationSeconds() int64

GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.

func (*QuoteSaverDepositResponse) GetInboundConfirmationSecondsOk

func (o *QuoteSaverDepositResponse) GetInboundConfirmationSecondsOk() (*int64, bool)

GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetMemo

func (o *QuoteSaverDepositResponse) GetMemo() string

GetMemo returns the Memo field value

func (*QuoteSaverDepositResponse) GetMemoOk

func (o *QuoteSaverDepositResponse) GetMemoOk() (*string, bool)

GetMemoOk returns a tuple with the Memo field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetNotes

func (o *QuoteSaverDepositResponse) GetNotes() string

GetNotes returns the Notes field value

func (*QuoteSaverDepositResponse) GetNotesOk

func (o *QuoteSaverDepositResponse) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetOutboundDelayBlocks

func (o *QuoteSaverDepositResponse) GetOutboundDelayBlocks() int64

GetOutboundDelayBlocks returns the OutboundDelayBlocks field value if set, zero value otherwise.

func (*QuoteSaverDepositResponse) GetOutboundDelayBlocksOk

func (o *QuoteSaverDepositResponse) GetOutboundDelayBlocksOk() (*int64, bool)

GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetOutboundDelaySeconds

func (o *QuoteSaverDepositResponse) GetOutboundDelaySeconds() int64

GetOutboundDelaySeconds returns the OutboundDelaySeconds field value if set, zero value otherwise.

func (*QuoteSaverDepositResponse) GetOutboundDelaySecondsOk

func (o *QuoteSaverDepositResponse) GetOutboundDelaySecondsOk() (*int64, bool)

GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetRecommendedGasRate

func (o *QuoteSaverDepositResponse) GetRecommendedGasRate() string

GetRecommendedGasRate returns the RecommendedGasRate field value

func (*QuoteSaverDepositResponse) GetRecommendedGasRateOk

func (o *QuoteSaverDepositResponse) GetRecommendedGasRateOk() (*string, bool)

GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetRecommendedMinAmountIn

func (o *QuoteSaverDepositResponse) GetRecommendedMinAmountIn() string

GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.

func (*QuoteSaverDepositResponse) GetRecommendedMinAmountInOk

func (o *QuoteSaverDepositResponse) GetRecommendedMinAmountInOk() (*string, bool)

GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetRouter

func (o *QuoteSaverDepositResponse) GetRouter() string

GetRouter returns the Router field value if set, zero value otherwise.

func (*QuoteSaverDepositResponse) GetRouterOk

func (o *QuoteSaverDepositResponse) GetRouterOk() (*string, bool)

GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) GetWarning

func (o *QuoteSaverDepositResponse) GetWarning() string

GetWarning returns the Warning field value

func (*QuoteSaverDepositResponse) GetWarningOk

func (o *QuoteSaverDepositResponse) GetWarningOk() (*string, bool)

GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.

func (*QuoteSaverDepositResponse) HasDustThreshold

func (o *QuoteSaverDepositResponse) HasDustThreshold() bool

HasDustThreshold returns a boolean if a field has been set.

func (*QuoteSaverDepositResponse) HasExpectedAmountOut

func (o *QuoteSaverDepositResponse) HasExpectedAmountOut() bool

HasExpectedAmountOut returns a boolean if a field has been set.

func (*QuoteSaverDepositResponse) HasInboundConfirmationBlocks

func (o *QuoteSaverDepositResponse) HasInboundConfirmationBlocks() bool

HasInboundConfirmationBlocks returns a boolean if a field has been set.

func (*QuoteSaverDepositResponse) HasInboundConfirmationSeconds

func (o *QuoteSaverDepositResponse) HasInboundConfirmationSeconds() bool

HasInboundConfirmationSeconds returns a boolean if a field has been set.

func (*QuoteSaverDepositResponse) HasOutboundDelayBlocks

func (o *QuoteSaverDepositResponse) HasOutboundDelayBlocks() bool

HasOutboundDelayBlocks returns a boolean if a field has been set.

func (*QuoteSaverDepositResponse) HasOutboundDelaySeconds

func (o *QuoteSaverDepositResponse) HasOutboundDelaySeconds() bool

HasOutboundDelaySeconds returns a boolean if a field has been set.

func (*QuoteSaverDepositResponse) HasRecommendedMinAmountIn

func (o *QuoteSaverDepositResponse) HasRecommendedMinAmountIn() bool

HasRecommendedMinAmountIn returns a boolean if a field has been set.

func (*QuoteSaverDepositResponse) HasRouter

func (o *QuoteSaverDepositResponse) HasRouter() bool

HasRouter returns a boolean if a field has been set.

func (QuoteSaverDepositResponse) MarshalJSON_deprecated

func (o QuoteSaverDepositResponse) MarshalJSON_deprecated() ([]byte, error)

func (*QuoteSaverDepositResponse) SetDustThreshold

func (o *QuoteSaverDepositResponse) SetDustThreshold(v string)

SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.

func (*QuoteSaverDepositResponse) SetExpectedAmountDeposit

func (o *QuoteSaverDepositResponse) SetExpectedAmountDeposit(v string)

SetExpectedAmountDeposit sets field value

func (*QuoteSaverDepositResponse) SetExpectedAmountOut

func (o *QuoteSaverDepositResponse) SetExpectedAmountOut(v string)

SetExpectedAmountOut gets a reference to the given string and assigns it to the ExpectedAmountOut field.

func (*QuoteSaverDepositResponse) SetExpiry

func (o *QuoteSaverDepositResponse) SetExpiry(v int64)

SetExpiry sets field value

func (*QuoteSaverDepositResponse) SetFees

func (o *QuoteSaverDepositResponse) SetFees(v QuoteFees)

SetFees sets field value

func (*QuoteSaverDepositResponse) SetGasRateUnits

func (o *QuoteSaverDepositResponse) SetGasRateUnits(v string)

SetGasRateUnits sets field value

func (*QuoteSaverDepositResponse) SetInboundAddress

func (o *QuoteSaverDepositResponse) SetInboundAddress(v string)

SetInboundAddress sets field value

func (*QuoteSaverDepositResponse) SetInboundConfirmationBlocks

func (o *QuoteSaverDepositResponse) SetInboundConfirmationBlocks(v int64)

SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.

func (*QuoteSaverDepositResponse) SetInboundConfirmationSeconds

func (o *QuoteSaverDepositResponse) SetInboundConfirmationSeconds(v int64)

SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.

func (*QuoteSaverDepositResponse) SetMemo

func (o *QuoteSaverDepositResponse) SetMemo(v string)

SetMemo sets field value

func (*QuoteSaverDepositResponse) SetNotes

func (o *QuoteSaverDepositResponse) SetNotes(v string)

SetNotes sets field value

func (*QuoteSaverDepositResponse) SetOutboundDelayBlocks

func (o *QuoteSaverDepositResponse) SetOutboundDelayBlocks(v int64)

SetOutboundDelayBlocks gets a reference to the given int64 and assigns it to the OutboundDelayBlocks field.

func (*QuoteSaverDepositResponse) SetOutboundDelaySeconds

func (o *QuoteSaverDepositResponse) SetOutboundDelaySeconds(v int64)

SetOutboundDelaySeconds gets a reference to the given int64 and assigns it to the OutboundDelaySeconds field.

func (*QuoteSaverDepositResponse) SetRecommendedGasRate

func (o *QuoteSaverDepositResponse) SetRecommendedGasRate(v string)

SetRecommendedGasRate sets field value

func (*QuoteSaverDepositResponse) SetRecommendedMinAmountIn

func (o *QuoteSaverDepositResponse) SetRecommendedMinAmountIn(v string)

SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.

func (*QuoteSaverDepositResponse) SetRouter

func (o *QuoteSaverDepositResponse) SetRouter(v string)

SetRouter gets a reference to the given string and assigns it to the Router field.

func (*QuoteSaverDepositResponse) SetWarning

func (o *QuoteSaverDepositResponse) SetWarning(v string)

SetWarning sets field value

type QuoteSaverWithdrawResponse

type QuoteSaverWithdrawResponse struct {
	// the inbound address for the transaction on the source chain
	InboundAddress string `json:"inbound_address"`
	// the approximate number of source chain blocks required before processing
	InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"`
	// the approximate seconds for block confirmations required before processing
	InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"`
	// the number of thorchain blocks the outbound will be delayed
	OutboundDelayBlocks int64 `json:"outbound_delay_blocks"`
	// the approximate seconds for the outbound delay before it will be sent
	OutboundDelaySeconds int64     `json:"outbound_delay_seconds"`
	Fees                 QuoteFees `json:"fees"`
	// the EVM chain router contract address
	Router *string `json:"router,omitempty"`
	// expiration timestamp in unix seconds
	Expiry int64 `json:"expiry"`
	// static warning message
	Warning string `json:"warning"`
	// chain specific quote notes
	Notes string `json:"notes"`
	// Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.
	DustThreshold *string `json:"dust_threshold,omitempty"`
	// The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
	RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"`
	// the recommended gas rate to use for the inbound to ensure timely confirmation
	RecommendedGasRate string `json:"recommended_gas_rate"`
	// the units of the recommended gas rate
	GasRateUnits string `json:"gas_rate_units"`
	// generated memo for the withdraw, the client can use this OR send the dust amount
	Memo string `json:"memo"`
	// the dust amount of the target asset the user should send to initialize the withdraw, the client can send this OR provide the memo
	DustAmount string `json:"dust_amount"`
	// the amount of the target asset the user can expect to withdraw after fees in 1e8 decimals
	ExpectedAmountOut string `json:"expected_amount_out"`
}

QuoteSaverWithdrawResponse struct for QuoteSaverWithdrawResponse

func NewQuoteSaverWithdrawResponse

func NewQuoteSaverWithdrawResponse(inboundAddress string, outboundDelayBlocks int64, outboundDelaySeconds int64, fees QuoteFees, expiry int64, warning string, notes string, recommendedGasRate string, gasRateUnits string, memo string, dustAmount string, expectedAmountOut string) *QuoteSaverWithdrawResponse

NewQuoteSaverWithdrawResponse instantiates a new QuoteSaverWithdrawResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuoteSaverWithdrawResponseWithDefaults

func NewQuoteSaverWithdrawResponseWithDefaults() *QuoteSaverWithdrawResponse

NewQuoteSaverWithdrawResponseWithDefaults instantiates a new QuoteSaverWithdrawResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QuoteSaverWithdrawResponse) GetDustAmount

func (o *QuoteSaverWithdrawResponse) GetDustAmount() string

GetDustAmount returns the DustAmount field value

func (*QuoteSaverWithdrawResponse) GetDustAmountOk

func (o *QuoteSaverWithdrawResponse) GetDustAmountOk() (*string, bool)

GetDustAmountOk returns a tuple with the DustAmount field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetDustThreshold

func (o *QuoteSaverWithdrawResponse) GetDustThreshold() string

GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.

func (*QuoteSaverWithdrawResponse) GetDustThresholdOk

func (o *QuoteSaverWithdrawResponse) GetDustThresholdOk() (*string, bool)

GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetExpectedAmountOut

func (o *QuoteSaverWithdrawResponse) GetExpectedAmountOut() string

GetExpectedAmountOut returns the ExpectedAmountOut field value

func (*QuoteSaverWithdrawResponse) GetExpectedAmountOutOk

func (o *QuoteSaverWithdrawResponse) GetExpectedAmountOutOk() (*string, bool)

GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetExpiry

func (o *QuoteSaverWithdrawResponse) GetExpiry() int64

GetExpiry returns the Expiry field value

func (*QuoteSaverWithdrawResponse) GetExpiryOk

func (o *QuoteSaverWithdrawResponse) GetExpiryOk() (*int64, bool)

GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetFees

GetFees returns the Fees field value

func (*QuoteSaverWithdrawResponse) GetFeesOk

func (o *QuoteSaverWithdrawResponse) GetFeesOk() (*QuoteFees, bool)

GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetGasRateUnits

func (o *QuoteSaverWithdrawResponse) GetGasRateUnits() string

GetGasRateUnits returns the GasRateUnits field value

func (*QuoteSaverWithdrawResponse) GetGasRateUnitsOk

func (o *QuoteSaverWithdrawResponse) GetGasRateUnitsOk() (*string, bool)

GetGasRateUnitsOk returns a tuple with the GasRateUnits field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetInboundAddress

func (o *QuoteSaverWithdrawResponse) GetInboundAddress() string

GetInboundAddress returns the InboundAddress field value

func (*QuoteSaverWithdrawResponse) GetInboundAddressOk

func (o *QuoteSaverWithdrawResponse) GetInboundAddressOk() (*string, bool)

GetInboundAddressOk returns a tuple with the InboundAddress field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetInboundConfirmationBlocks

func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationBlocks() int64

GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.

func (*QuoteSaverWithdrawResponse) GetInboundConfirmationBlocksOk

func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationBlocksOk() (*int64, bool)

GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetInboundConfirmationSeconds

func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationSeconds() int64

GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.

func (*QuoteSaverWithdrawResponse) GetInboundConfirmationSecondsOk

func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationSecondsOk() (*int64, bool)

GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetMemo

func (o *QuoteSaverWithdrawResponse) GetMemo() string

GetMemo returns the Memo field value

func (*QuoteSaverWithdrawResponse) GetMemoOk

func (o *QuoteSaverWithdrawResponse) GetMemoOk() (*string, bool)

GetMemoOk returns a tuple with the Memo field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetNotes

func (o *QuoteSaverWithdrawResponse) GetNotes() string

GetNotes returns the Notes field value

func (*QuoteSaverWithdrawResponse) GetNotesOk

func (o *QuoteSaverWithdrawResponse) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetOutboundDelayBlocks

func (o *QuoteSaverWithdrawResponse) GetOutboundDelayBlocks() int64

GetOutboundDelayBlocks returns the OutboundDelayBlocks field value

func (*QuoteSaverWithdrawResponse) GetOutboundDelayBlocksOk

func (o *QuoteSaverWithdrawResponse) GetOutboundDelayBlocksOk() (*int64, bool)

GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetOutboundDelaySeconds

func (o *QuoteSaverWithdrawResponse) GetOutboundDelaySeconds() int64

GetOutboundDelaySeconds returns the OutboundDelaySeconds field value

func (*QuoteSaverWithdrawResponse) GetOutboundDelaySecondsOk

func (o *QuoteSaverWithdrawResponse) GetOutboundDelaySecondsOk() (*int64, bool)

GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetRecommendedGasRate

func (o *QuoteSaverWithdrawResponse) GetRecommendedGasRate() string

GetRecommendedGasRate returns the RecommendedGasRate field value

func (*QuoteSaverWithdrawResponse) GetRecommendedGasRateOk

func (o *QuoteSaverWithdrawResponse) GetRecommendedGasRateOk() (*string, bool)

GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetRecommendedMinAmountIn

func (o *QuoteSaverWithdrawResponse) GetRecommendedMinAmountIn() string

GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.

func (*QuoteSaverWithdrawResponse) GetRecommendedMinAmountInOk

func (o *QuoteSaverWithdrawResponse) GetRecommendedMinAmountInOk() (*string, bool)

GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetRouter

func (o *QuoteSaverWithdrawResponse) GetRouter() string

GetRouter returns the Router field value if set, zero value otherwise.

func (*QuoteSaverWithdrawResponse) GetRouterOk

func (o *QuoteSaverWithdrawResponse) GetRouterOk() (*string, bool)

GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) GetWarning

func (o *QuoteSaverWithdrawResponse) GetWarning() string

GetWarning returns the Warning field value

func (*QuoteSaverWithdrawResponse) GetWarningOk

func (o *QuoteSaverWithdrawResponse) GetWarningOk() (*string, bool)

GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.

func (*QuoteSaverWithdrawResponse) HasDustThreshold

func (o *QuoteSaverWithdrawResponse) HasDustThreshold() bool

HasDustThreshold returns a boolean if a field has been set.

func (*QuoteSaverWithdrawResponse) HasInboundConfirmationBlocks

func (o *QuoteSaverWithdrawResponse) HasInboundConfirmationBlocks() bool

HasInboundConfirmationBlocks returns a boolean if a field has been set.

func (*QuoteSaverWithdrawResponse) HasInboundConfirmationSeconds

func (o *QuoteSaverWithdrawResponse) HasInboundConfirmationSeconds() bool

HasInboundConfirmationSeconds returns a boolean if a field has been set.

func (*QuoteSaverWithdrawResponse) HasRecommendedMinAmountIn

func (o *QuoteSaverWithdrawResponse) HasRecommendedMinAmountIn() bool

HasRecommendedMinAmountIn returns a boolean if a field has been set.

func (*QuoteSaverWithdrawResponse) HasRouter

func (o *QuoteSaverWithdrawResponse) HasRouter() bool

HasRouter returns a boolean if a field has been set.

func (QuoteSaverWithdrawResponse) MarshalJSON_deprecated

func (o QuoteSaverWithdrawResponse) MarshalJSON_deprecated() ([]byte, error)

func (*QuoteSaverWithdrawResponse) SetDustAmount

func (o *QuoteSaverWithdrawResponse) SetDustAmount(v string)

SetDustAmount sets field value

func (*QuoteSaverWithdrawResponse) SetDustThreshold

func (o *QuoteSaverWithdrawResponse) SetDustThreshold(v string)

SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.

func (*QuoteSaverWithdrawResponse) SetExpectedAmountOut

func (o *QuoteSaverWithdrawResponse) SetExpectedAmountOut(v string)

SetExpectedAmountOut sets field value

func (*QuoteSaverWithdrawResponse) SetExpiry

func (o *QuoteSaverWithdrawResponse) SetExpiry(v int64)

SetExpiry sets field value

func (*QuoteSaverWithdrawResponse) SetFees

func (o *QuoteSaverWithdrawResponse) SetFees(v QuoteFees)

SetFees sets field value

func (*QuoteSaverWithdrawResponse) SetGasRateUnits

func (o *QuoteSaverWithdrawResponse) SetGasRateUnits(v string)

SetGasRateUnits sets field value

func (*QuoteSaverWithdrawResponse) SetInboundAddress

func (o *QuoteSaverWithdrawResponse) SetInboundAddress(v string)

SetInboundAddress sets field value

func (*QuoteSaverWithdrawResponse) SetInboundConfirmationBlocks

func (o *QuoteSaverWithdrawResponse) SetInboundConfirmationBlocks(v int64)

SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.

func (*QuoteSaverWithdrawResponse) SetInboundConfirmationSeconds

func (o *QuoteSaverWithdrawResponse) SetInboundConfirmationSeconds(v int64)

SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.

func (*QuoteSaverWithdrawResponse) SetMemo

func (o *QuoteSaverWithdrawResponse) SetMemo(v string)

SetMemo sets field value

func (*QuoteSaverWithdrawResponse) SetNotes

func (o *QuoteSaverWithdrawResponse) SetNotes(v string)

SetNotes sets field value

func (*QuoteSaverWithdrawResponse) SetOutboundDelayBlocks

func (o *QuoteSaverWithdrawResponse) SetOutboundDelayBlocks(v int64)

SetOutboundDelayBlocks sets field value

func (*QuoteSaverWithdrawResponse) SetOutboundDelaySeconds

func (o *QuoteSaverWithdrawResponse) SetOutboundDelaySeconds(v int64)

SetOutboundDelaySeconds sets field value

func (*QuoteSaverWithdrawResponse) SetRecommendedGasRate

func (o *QuoteSaverWithdrawResponse) SetRecommendedGasRate(v string)

SetRecommendedGasRate sets field value

func (*QuoteSaverWithdrawResponse) SetRecommendedMinAmountIn

func (o *QuoteSaverWithdrawResponse) SetRecommendedMinAmountIn(v string)

SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.

func (*QuoteSaverWithdrawResponse) SetRouter

func (o *QuoteSaverWithdrawResponse) SetRouter(v string)

SetRouter gets a reference to the given string and assigns it to the Router field.

func (*QuoteSaverWithdrawResponse) SetWarning

func (o *QuoteSaverWithdrawResponse) SetWarning(v string)

SetWarning sets field value

type QuoteSwapResponse

type QuoteSwapResponse struct {
	// the inbound address for the transaction on the source chain
	InboundAddress *string `json:"inbound_address,omitempty"`
	// the approximate number of source chain blocks required before processing
	InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"`
	// the approximate seconds for block confirmations required before processing
	InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"`
	// the number of thorchain blocks the outbound will be delayed
	OutboundDelayBlocks int64 `json:"outbound_delay_blocks"`
	// the approximate seconds for the outbound delay before it will be sent
	OutboundDelaySeconds int64     `json:"outbound_delay_seconds"`
	Fees                 QuoteFees `json:"fees"`
	// the EVM chain router contract address
	Router *string `json:"router,omitempty"`
	// expiration timestamp in unix seconds
	Expiry int64 `json:"expiry"`
	// static warning message
	Warning string `json:"warning"`
	// chain specific quote notes
	Notes string `json:"notes"`
	// Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.
	DustThreshold *string `json:"dust_threshold,omitempty"`
	// The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
	RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"`
	// the recommended gas rate to use for the inbound to ensure timely confirmation
	RecommendedGasRate *string `json:"recommended_gas_rate,omitempty"`
	// the units of the recommended gas rate
	GasRateUnits *string `json:"gas_rate_units,omitempty"`
	// generated memo for the swap
	Memo *string `json:"memo,omitempty"`
	// the amount of the target asset the user can expect to receive after fees
	ExpectedAmountOut string `json:"expected_amount_out"`
	// the maximum amount of trades a streaming swap can do for a trade
	MaxStreamingQuantity *int64 `json:"max_streaming_quantity,omitempty"`
	// the number of blocks the streaming swap will execute over
	StreamingSwapBlocks *int64 `json:"streaming_swap_blocks,omitempty"`
	// approx the number of seconds the streaming swap will execute over
	StreamingSwapSeconds *int64 `json:"streaming_swap_seconds,omitempty"`
	// total number of seconds a swap is expected to take (inbound conf + streaming swap + outbound delay)
	TotalSwapSeconds *int64 `json:"total_swap_seconds,omitempty"`
}

QuoteSwapResponse struct for QuoteSwapResponse

func NewQuoteSwapResponse

func NewQuoteSwapResponse(outboundDelayBlocks int64, outboundDelaySeconds int64, fees QuoteFees, expiry int64, warning string, notes string, expectedAmountOut string) *QuoteSwapResponse

NewQuoteSwapResponse instantiates a new QuoteSwapResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuoteSwapResponseWithDefaults

func NewQuoteSwapResponseWithDefaults() *QuoteSwapResponse

NewQuoteSwapResponseWithDefaults instantiates a new QuoteSwapResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QuoteSwapResponse) GetDustThreshold

func (o *QuoteSwapResponse) GetDustThreshold() string

GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetDustThresholdOk

func (o *QuoteSwapResponse) GetDustThresholdOk() (*string, bool)

GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetExpectedAmountOut

func (o *QuoteSwapResponse) GetExpectedAmountOut() string

GetExpectedAmountOut returns the ExpectedAmountOut field value

func (*QuoteSwapResponse) GetExpectedAmountOutOk

func (o *QuoteSwapResponse) GetExpectedAmountOutOk() (*string, bool)

GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetExpiry

func (o *QuoteSwapResponse) GetExpiry() int64

GetExpiry returns the Expiry field value

func (*QuoteSwapResponse) GetExpiryOk

func (o *QuoteSwapResponse) GetExpiryOk() (*int64, bool)

GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetFees

func (o *QuoteSwapResponse) GetFees() QuoteFees

GetFees returns the Fees field value

func (*QuoteSwapResponse) GetFeesOk

func (o *QuoteSwapResponse) GetFeesOk() (*QuoteFees, bool)

GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetGasRateUnits

func (o *QuoteSwapResponse) GetGasRateUnits() string

GetGasRateUnits returns the GasRateUnits field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetGasRateUnitsOk

func (o *QuoteSwapResponse) GetGasRateUnitsOk() (*string, bool)

GetGasRateUnitsOk returns a tuple with the GasRateUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetInboundAddress

func (o *QuoteSwapResponse) GetInboundAddress() string

GetInboundAddress returns the InboundAddress field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetInboundAddressOk

func (o *QuoteSwapResponse) GetInboundAddressOk() (*string, bool)

GetInboundAddressOk returns a tuple with the InboundAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetInboundConfirmationBlocks

func (o *QuoteSwapResponse) GetInboundConfirmationBlocks() int64

GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetInboundConfirmationBlocksOk

func (o *QuoteSwapResponse) GetInboundConfirmationBlocksOk() (*int64, bool)

GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetInboundConfirmationSeconds

func (o *QuoteSwapResponse) GetInboundConfirmationSeconds() int64

GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetInboundConfirmationSecondsOk

func (o *QuoteSwapResponse) GetInboundConfirmationSecondsOk() (*int64, bool)

GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetMaxStreamingQuantity

func (o *QuoteSwapResponse) GetMaxStreamingQuantity() int64

GetMaxStreamingQuantity returns the MaxStreamingQuantity field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetMaxStreamingQuantityOk

func (o *QuoteSwapResponse) GetMaxStreamingQuantityOk() (*int64, bool)

GetMaxStreamingQuantityOk returns a tuple with the MaxStreamingQuantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetMemo

func (o *QuoteSwapResponse) GetMemo() string

GetMemo returns the Memo field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetMemoOk

func (o *QuoteSwapResponse) GetMemoOk() (*string, bool)

GetMemoOk returns a tuple with the Memo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetNotes

func (o *QuoteSwapResponse) GetNotes() string

GetNotes returns the Notes field value

func (*QuoteSwapResponse) GetNotesOk

func (o *QuoteSwapResponse) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetOutboundDelayBlocks

func (o *QuoteSwapResponse) GetOutboundDelayBlocks() int64

GetOutboundDelayBlocks returns the OutboundDelayBlocks field value

func (*QuoteSwapResponse) GetOutboundDelayBlocksOk

func (o *QuoteSwapResponse) GetOutboundDelayBlocksOk() (*int64, bool)

GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetOutboundDelaySeconds

func (o *QuoteSwapResponse) GetOutboundDelaySeconds() int64

GetOutboundDelaySeconds returns the OutboundDelaySeconds field value

func (*QuoteSwapResponse) GetOutboundDelaySecondsOk

func (o *QuoteSwapResponse) GetOutboundDelaySecondsOk() (*int64, bool)

GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetRecommendedGasRate

func (o *QuoteSwapResponse) GetRecommendedGasRate() string

GetRecommendedGasRate returns the RecommendedGasRate field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetRecommendedGasRateOk

func (o *QuoteSwapResponse) GetRecommendedGasRateOk() (*string, bool)

GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetRecommendedMinAmountIn

func (o *QuoteSwapResponse) GetRecommendedMinAmountIn() string

GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetRecommendedMinAmountInOk

func (o *QuoteSwapResponse) GetRecommendedMinAmountInOk() (*string, bool)

GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetRouter

func (o *QuoteSwapResponse) GetRouter() string

GetRouter returns the Router field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetRouterOk

func (o *QuoteSwapResponse) GetRouterOk() (*string, bool)

GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetStreamingSwapBlocks

func (o *QuoteSwapResponse) GetStreamingSwapBlocks() int64

GetStreamingSwapBlocks returns the StreamingSwapBlocks field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetStreamingSwapBlocksOk

func (o *QuoteSwapResponse) GetStreamingSwapBlocksOk() (*int64, bool)

GetStreamingSwapBlocksOk returns a tuple with the StreamingSwapBlocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetStreamingSwapSeconds

func (o *QuoteSwapResponse) GetStreamingSwapSeconds() int64

GetStreamingSwapSeconds returns the StreamingSwapSeconds field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetStreamingSwapSecondsOk

func (o *QuoteSwapResponse) GetStreamingSwapSecondsOk() (*int64, bool)

GetStreamingSwapSecondsOk returns a tuple with the StreamingSwapSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetTotalSwapSeconds

func (o *QuoteSwapResponse) GetTotalSwapSeconds() int64

GetTotalSwapSeconds returns the TotalSwapSeconds field value if set, zero value otherwise.

func (*QuoteSwapResponse) GetTotalSwapSecondsOk

func (o *QuoteSwapResponse) GetTotalSwapSecondsOk() (*int64, bool)

GetTotalSwapSecondsOk returns a tuple with the TotalSwapSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuoteSwapResponse) GetWarning

func (o *QuoteSwapResponse) GetWarning() string

GetWarning returns the Warning field value

func (*QuoteSwapResponse) GetWarningOk

func (o *QuoteSwapResponse) GetWarningOk() (*string, bool)

GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.

func (*QuoteSwapResponse) HasDustThreshold

func (o *QuoteSwapResponse) HasDustThreshold() bool

HasDustThreshold returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasGasRateUnits

func (o *QuoteSwapResponse) HasGasRateUnits() bool

HasGasRateUnits returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasInboundAddress

func (o *QuoteSwapResponse) HasInboundAddress() bool

HasInboundAddress returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasInboundConfirmationBlocks

func (o *QuoteSwapResponse) HasInboundConfirmationBlocks() bool

HasInboundConfirmationBlocks returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasInboundConfirmationSeconds

func (o *QuoteSwapResponse) HasInboundConfirmationSeconds() bool

HasInboundConfirmationSeconds returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasMaxStreamingQuantity

func (o *QuoteSwapResponse) HasMaxStreamingQuantity() bool

HasMaxStreamingQuantity returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasMemo

func (o *QuoteSwapResponse) HasMemo() bool

HasMemo returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasRecommendedGasRate

func (o *QuoteSwapResponse) HasRecommendedGasRate() bool

HasRecommendedGasRate returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasRecommendedMinAmountIn

func (o *QuoteSwapResponse) HasRecommendedMinAmountIn() bool

HasRecommendedMinAmountIn returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasRouter

func (o *QuoteSwapResponse) HasRouter() bool

HasRouter returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasStreamingSwapBlocks

func (o *QuoteSwapResponse) HasStreamingSwapBlocks() bool

HasStreamingSwapBlocks returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasStreamingSwapSeconds

func (o *QuoteSwapResponse) HasStreamingSwapSeconds() bool

HasStreamingSwapSeconds returns a boolean if a field has been set.

func (*QuoteSwapResponse) HasTotalSwapSeconds

func (o *QuoteSwapResponse) HasTotalSwapSeconds() bool

HasTotalSwapSeconds returns a boolean if a field has been set.

func (QuoteSwapResponse) MarshalJSON_deprecated

func (o QuoteSwapResponse) MarshalJSON_deprecated() ([]byte, error)

func (*QuoteSwapResponse) SetDustThreshold

func (o *QuoteSwapResponse) SetDustThreshold(v string)

SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.

func (*QuoteSwapResponse) SetExpectedAmountOut

func (o *QuoteSwapResponse) SetExpectedAmountOut(v string)

SetExpectedAmountOut sets field value

func (*QuoteSwapResponse) SetExpiry

func (o *QuoteSwapResponse) SetExpiry(v int64)

SetExpiry sets field value

func (*QuoteSwapResponse) SetFees

func (o *QuoteSwapResponse) SetFees(v QuoteFees)

SetFees sets field value

func (*QuoteSwapResponse) SetGasRateUnits

func (o *QuoteSwapResponse) SetGasRateUnits(v string)

SetGasRateUnits gets a reference to the given string and assigns it to the GasRateUnits field.

func (*QuoteSwapResponse) SetInboundAddress

func (o *QuoteSwapResponse) SetInboundAddress(v string)

SetInboundAddress gets a reference to the given string and assigns it to the InboundAddress field.

func (*QuoteSwapResponse) SetInboundConfirmationBlocks

func (o *QuoteSwapResponse) SetInboundConfirmationBlocks(v int64)

SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.

func (*QuoteSwapResponse) SetInboundConfirmationSeconds

func (o *QuoteSwapResponse) SetInboundConfirmationSeconds(v int64)

SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.

func (*QuoteSwapResponse) SetMaxStreamingQuantity

func (o *QuoteSwapResponse) SetMaxStreamingQuantity(v int64)

SetMaxStreamingQuantity gets a reference to the given int64 and assigns it to the MaxStreamingQuantity field.

func (*QuoteSwapResponse) SetMemo

func (o *QuoteSwapResponse) SetMemo(v string)

SetMemo gets a reference to the given string and assigns it to the Memo field.

func (*QuoteSwapResponse) SetNotes

func (o *QuoteSwapResponse) SetNotes(v string)

SetNotes sets field value

func (*QuoteSwapResponse) SetOutboundDelayBlocks

func (o *QuoteSwapResponse) SetOutboundDelayBlocks(v int64)

SetOutboundDelayBlocks sets field value

func (*QuoteSwapResponse) SetOutboundDelaySeconds

func (o *QuoteSwapResponse) SetOutboundDelaySeconds(v int64)

SetOutboundDelaySeconds sets field value

func (*QuoteSwapResponse) SetRecommendedGasRate

func (o *QuoteSwapResponse) SetRecommendedGasRate(v string)

SetRecommendedGasRate gets a reference to the given string and assigns it to the RecommendedGasRate field.

func (*QuoteSwapResponse) SetRecommendedMinAmountIn

func (o *QuoteSwapResponse) SetRecommendedMinAmountIn(v string)

SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.

func (*QuoteSwapResponse) SetRouter

func (o *QuoteSwapResponse) SetRouter(v string)

SetRouter gets a reference to the given string and assigns it to the Router field.

func (*QuoteSwapResponse) SetStreamingSwapBlocks

func (o *QuoteSwapResponse) SetStreamingSwapBlocks(v int64)

SetStreamingSwapBlocks gets a reference to the given int64 and assigns it to the StreamingSwapBlocks field.

func (*QuoteSwapResponse) SetStreamingSwapSeconds

func (o *QuoteSwapResponse) SetStreamingSwapSeconds(v int64)

SetStreamingSwapSeconds gets a reference to the given int64 and assigns it to the StreamingSwapSeconds field.

func (*QuoteSwapResponse) SetTotalSwapSeconds

func (o *QuoteSwapResponse) SetTotalSwapSeconds(v int64)

SetTotalSwapSeconds gets a reference to the given int64 and assigns it to the TotalSwapSeconds field.

func (*QuoteSwapResponse) SetWarning

func (o *QuoteSwapResponse) SetWarning(v string)

SetWarning sets field value

type RUNEPool

type RUNEPool struct {
	// the units of RUNEPool owned by the reserve
	ReserveUnits string `json:"reserve_units"`
	// the units of RUNEPool owned by providers (including pending)
	PoolUnits string `json:"pool_units"`
	// the units of RUNEPool owned by providers that remain pending
	PendingPoolUnits string `json:"pending_pool_units"`
}

RUNEPool struct for RUNEPool

func NewRUNEPool

func NewRUNEPool(reserveUnits string, poolUnits string, pendingPoolUnits string) *RUNEPool

NewRUNEPool instantiates a new RUNEPool object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUNEPoolWithDefaults

func NewRUNEPoolWithDefaults() *RUNEPool

NewRUNEPoolWithDefaults instantiates a new RUNEPool object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUNEPool) GetPendingPoolUnits

func (o *RUNEPool) GetPendingPoolUnits() string

GetPendingPoolUnits returns the PendingPoolUnits field value

func (*RUNEPool) GetPendingPoolUnitsOk

func (o *RUNEPool) GetPendingPoolUnitsOk() (*string, bool)

GetPendingPoolUnitsOk returns a tuple with the PendingPoolUnits field value and a boolean to check if the value has been set.

func (*RUNEPool) GetPoolUnits

func (o *RUNEPool) GetPoolUnits() string

GetPoolUnits returns the PoolUnits field value

func (*RUNEPool) GetPoolUnitsOk

func (o *RUNEPool) GetPoolUnitsOk() (*string, bool)

GetPoolUnitsOk returns a tuple with the PoolUnits field value and a boolean to check if the value has been set.

func (*RUNEPool) GetReserveUnits

func (o *RUNEPool) GetReserveUnits() string

GetReserveUnits returns the ReserveUnits field value

func (*RUNEPool) GetReserveUnitsOk

func (o *RUNEPool) GetReserveUnitsOk() (*string, bool)

GetReserveUnitsOk returns a tuple with the ReserveUnits field value and a boolean to check if the value has been set.

func (RUNEPool) MarshalJSON_deprecated

func (o RUNEPool) MarshalJSON_deprecated() ([]byte, error)

func (*RUNEPool) SetPendingPoolUnits

func (o *RUNEPool) SetPendingPoolUnits(v string)

SetPendingPoolUnits sets field value

func (*RUNEPool) SetPoolUnits

func (o *RUNEPool) SetPoolUnits(v string)

SetPoolUnits sets field value

func (*RUNEPool) SetReserveUnits

func (o *RUNEPool) SetReserveUnits(v string)

SetReserveUnits sets field value

type RUNEPoolApiService

type RUNEPoolApiService service

RUNEPoolApiService RUNEPoolApi service

func (*RUNEPoolApiService) RunePool

RunePool Method for RunePool

Returns the pool information for the RUNE pool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRunePoolRequest

func (*RUNEPoolApiService) RunePoolExecute

Execute executes the request

@return RUNEPoolResponse

func (*RUNEPoolApiService) RuneProvider

func (a *RUNEPoolApiService) RuneProvider(ctx context.Context, address string) ApiRuneProviderRequest

RuneProvider Method for RuneProvider

Returns the RUNE Provider information for an address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address
@return ApiRuneProviderRequest

func (*RUNEPoolApiService) RuneProviderExecute

func (a *RUNEPoolApiService) RuneProviderExecute(r ApiRuneProviderRequest) (*RUNEProvider, *http.Response, error)

Execute executes the request

@return RUNEProvider

func (*RUNEPoolApiService) RuneProviders

RuneProviders Method for RuneProviders

Returns all RUNE Providers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRuneProvidersRequest

func (*RUNEPoolApiService) RuneProvidersExecute

func (a *RUNEPoolApiService) RuneProvidersExecute(r ApiRuneProvidersRequest) ([]RUNEProvider, *http.Response, error)

Execute executes the request

@return []RUNEProvider

type RUNEPoolResponse

type RUNEPoolResponse struct {
	Pol       POL                       `json:"pol"`
	Providers RUNEPoolResponseProviders `json:"providers"`
	Reserve   RUNEPoolResponseReserve   `json:"reserve"`
}

RUNEPoolResponse struct for RUNEPoolResponse

func NewRUNEPoolResponse

func NewRUNEPoolResponse(pol POL, providers RUNEPoolResponseProviders, reserve RUNEPoolResponseReserve) *RUNEPoolResponse

NewRUNEPoolResponse instantiates a new RUNEPoolResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUNEPoolResponseWithDefaults

func NewRUNEPoolResponseWithDefaults() *RUNEPoolResponse

NewRUNEPoolResponseWithDefaults instantiates a new RUNEPoolResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUNEPoolResponse) GetPol

func (o *RUNEPoolResponse) GetPol() POL

GetPol returns the Pol field value

func (*RUNEPoolResponse) GetPolOk

func (o *RUNEPoolResponse) GetPolOk() (*POL, bool)

GetPolOk returns a tuple with the Pol field value and a boolean to check if the value has been set.

func (*RUNEPoolResponse) GetProviders

func (o *RUNEPoolResponse) GetProviders() RUNEPoolResponseProviders

GetProviders returns the Providers field value

func (*RUNEPoolResponse) GetProvidersOk

func (o *RUNEPoolResponse) GetProvidersOk() (*RUNEPoolResponseProviders, bool)

GetProvidersOk returns a tuple with the Providers field value and a boolean to check if the value has been set.

func (*RUNEPoolResponse) GetReserve

func (o *RUNEPoolResponse) GetReserve() RUNEPoolResponseReserve

GetReserve returns the Reserve field value

func (*RUNEPoolResponse) GetReserveOk

func (o *RUNEPoolResponse) GetReserveOk() (*RUNEPoolResponseReserve, bool)

GetReserveOk returns a tuple with the Reserve field value and a boolean to check if the value has been set.

func (RUNEPoolResponse) MarshalJSON_deprecated

func (o RUNEPoolResponse) MarshalJSON_deprecated() ([]byte, error)

func (*RUNEPoolResponse) SetPol

func (o *RUNEPoolResponse) SetPol(v POL)

SetPol sets field value

func (*RUNEPoolResponse) SetProviders

func (o *RUNEPoolResponse) SetProviders(v RUNEPoolResponseProviders)

SetProviders sets field value

func (*RUNEPoolResponse) SetReserve

func (o *RUNEPoolResponse) SetReserve(v RUNEPoolResponseReserve)

SetReserve sets field value

type RUNEPoolResponseProviders

type RUNEPoolResponseProviders struct {
	// the units of RUNEPool owned by providers (including pending)
	Units string `json:"units"`
	// the units of RUNEPool owned by providers that remain pending
	PendingUnits string `json:"pending_units"`
	// the amount of RUNE pending
	PendingRune string `json:"pending_rune"`
	// the value of the provider share of the RUNEPool (includes pending RUNE)
	Value string `json:"value"`
	// the profit and loss of the provider share of the RUNEPool
	Pnl string `json:"pnl"`
	// the current RUNE deposited by providers
	CurrentDeposit string `json:"current_deposit"`
}

RUNEPoolResponseProviders struct for RUNEPoolResponseProviders

func NewRUNEPoolResponseProviders

func NewRUNEPoolResponseProviders(units string, pendingUnits string, pendingRune string, value string, pnl string, currentDeposit string) *RUNEPoolResponseProviders

NewRUNEPoolResponseProviders instantiates a new RUNEPoolResponseProviders object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUNEPoolResponseProvidersWithDefaults

func NewRUNEPoolResponseProvidersWithDefaults() *RUNEPoolResponseProviders

NewRUNEPoolResponseProvidersWithDefaults instantiates a new RUNEPoolResponseProviders object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUNEPoolResponseProviders) GetCurrentDeposit

func (o *RUNEPoolResponseProviders) GetCurrentDeposit() string

GetCurrentDeposit returns the CurrentDeposit field value

func (*RUNEPoolResponseProviders) GetCurrentDepositOk

func (o *RUNEPoolResponseProviders) GetCurrentDepositOk() (*string, bool)

GetCurrentDepositOk returns a tuple with the CurrentDeposit field value and a boolean to check if the value has been set.

func (*RUNEPoolResponseProviders) GetPendingRune

func (o *RUNEPoolResponseProviders) GetPendingRune() string

GetPendingRune returns the PendingRune field value

func (*RUNEPoolResponseProviders) GetPendingRuneOk

func (o *RUNEPoolResponseProviders) GetPendingRuneOk() (*string, bool)

GetPendingRuneOk returns a tuple with the PendingRune field value and a boolean to check if the value has been set.

func (*RUNEPoolResponseProviders) GetPendingUnits

func (o *RUNEPoolResponseProviders) GetPendingUnits() string

GetPendingUnits returns the PendingUnits field value

func (*RUNEPoolResponseProviders) GetPendingUnitsOk

func (o *RUNEPoolResponseProviders) GetPendingUnitsOk() (*string, bool)

GetPendingUnitsOk returns a tuple with the PendingUnits field value and a boolean to check if the value has been set.

func (*RUNEPoolResponseProviders) GetPnl

func (o *RUNEPoolResponseProviders) GetPnl() string

GetPnl returns the Pnl field value

func (*RUNEPoolResponseProviders) GetPnlOk

func (o *RUNEPoolResponseProviders) GetPnlOk() (*string, bool)

GetPnlOk returns a tuple with the Pnl field value and a boolean to check if the value has been set.

func (*RUNEPoolResponseProviders) GetUnits

func (o *RUNEPoolResponseProviders) GetUnits() string

GetUnits returns the Units field value

func (*RUNEPoolResponseProviders) GetUnitsOk

func (o *RUNEPoolResponseProviders) GetUnitsOk() (*string, bool)

GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.

func (*RUNEPoolResponseProviders) GetValue

func (o *RUNEPoolResponseProviders) GetValue() string

GetValue returns the Value field value

func (*RUNEPoolResponseProviders) GetValueOk

func (o *RUNEPoolResponseProviders) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (RUNEPoolResponseProviders) MarshalJSON_deprecated

func (o RUNEPoolResponseProviders) MarshalJSON_deprecated() ([]byte, error)

func (*RUNEPoolResponseProviders) SetCurrentDeposit

func (o *RUNEPoolResponseProviders) SetCurrentDeposit(v string)

SetCurrentDeposit sets field value

func (*RUNEPoolResponseProviders) SetPendingRune

func (o *RUNEPoolResponseProviders) SetPendingRune(v string)

SetPendingRune sets field value

func (*RUNEPoolResponseProviders) SetPendingUnits

func (o *RUNEPoolResponseProviders) SetPendingUnits(v string)

SetPendingUnits sets field value

func (*RUNEPoolResponseProviders) SetPnl

func (o *RUNEPoolResponseProviders) SetPnl(v string)

SetPnl sets field value

func (*RUNEPoolResponseProviders) SetUnits

func (o *RUNEPoolResponseProviders) SetUnits(v string)

SetUnits sets field value

func (*RUNEPoolResponseProviders) SetValue

func (o *RUNEPoolResponseProviders) SetValue(v string)

SetValue sets field value

type RUNEPoolResponseReserve

type RUNEPoolResponseReserve struct {
	// the units of RUNEPool owned by the reserve
	Units string `json:"units"`
	// the value of the reserve share of the RUNEPool
	Value string `json:"value"`
	// the profit and loss of the reserve share of the RUNEPool
	Pnl string `json:"pnl"`
	// the current RUNE deposited by the reserve
	CurrentDeposit string `json:"current_deposit"`
}

RUNEPoolResponseReserve struct for RUNEPoolResponseReserve

func NewRUNEPoolResponseReserve

func NewRUNEPoolResponseReserve(units string, value string, pnl string, currentDeposit string) *RUNEPoolResponseReserve

NewRUNEPoolResponseReserve instantiates a new RUNEPoolResponseReserve object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUNEPoolResponseReserveWithDefaults

func NewRUNEPoolResponseReserveWithDefaults() *RUNEPoolResponseReserve

NewRUNEPoolResponseReserveWithDefaults instantiates a new RUNEPoolResponseReserve object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUNEPoolResponseReserve) GetCurrentDeposit

func (o *RUNEPoolResponseReserve) GetCurrentDeposit() string

GetCurrentDeposit returns the CurrentDeposit field value

func (*RUNEPoolResponseReserve) GetCurrentDepositOk

func (o *RUNEPoolResponseReserve) GetCurrentDepositOk() (*string, bool)

GetCurrentDepositOk returns a tuple with the CurrentDeposit field value and a boolean to check if the value has been set.

func (*RUNEPoolResponseReserve) GetPnl

func (o *RUNEPoolResponseReserve) GetPnl() string

GetPnl returns the Pnl field value

func (*RUNEPoolResponseReserve) GetPnlOk

func (o *RUNEPoolResponseReserve) GetPnlOk() (*string, bool)

GetPnlOk returns a tuple with the Pnl field value and a boolean to check if the value has been set.

func (*RUNEPoolResponseReserve) GetUnits

func (o *RUNEPoolResponseReserve) GetUnits() string

GetUnits returns the Units field value

func (*RUNEPoolResponseReserve) GetUnitsOk

func (o *RUNEPoolResponseReserve) GetUnitsOk() (*string, bool)

GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.

func (*RUNEPoolResponseReserve) GetValue

func (o *RUNEPoolResponseReserve) GetValue() string

GetValue returns the Value field value

func (*RUNEPoolResponseReserve) GetValueOk

func (o *RUNEPoolResponseReserve) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (RUNEPoolResponseReserve) MarshalJSON_deprecated

func (o RUNEPoolResponseReserve) MarshalJSON_deprecated() ([]byte, error)

func (*RUNEPoolResponseReserve) SetCurrentDeposit

func (o *RUNEPoolResponseReserve) SetCurrentDeposit(v string)

SetCurrentDeposit sets field value

func (*RUNEPoolResponseReserve) SetPnl

func (o *RUNEPoolResponseReserve) SetPnl(v string)

SetPnl sets field value

func (*RUNEPoolResponseReserve) SetUnits

func (o *RUNEPoolResponseReserve) SetUnits(v string)

SetUnits sets field value

func (*RUNEPoolResponseReserve) SetValue

func (o *RUNEPoolResponseReserve) SetValue(v string)

SetValue sets field value

type RUNEProvider

type RUNEProvider struct {
	RuneAddress        string `json:"rune_address"`
	Units              string `json:"units"`
	Value              string `json:"value"`
	Pnl                string `json:"pnl"`
	DepositAmount      string `json:"deposit_amount"`
	WithdrawAmount     string `json:"withdraw_amount"`
	LastDepositHeight  int64  `json:"last_deposit_height"`
	LastWithdrawHeight int64  `json:"last_withdraw_height"`
}

RUNEProvider struct for RUNEProvider

func NewRUNEProvider

func NewRUNEProvider(runeAddress string, units string, value string, pnl string, depositAmount string, withdrawAmount string, lastDepositHeight int64, lastWithdrawHeight int64) *RUNEProvider

NewRUNEProvider instantiates a new RUNEProvider object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUNEProviderWithDefaults

func NewRUNEProviderWithDefaults() *RUNEProvider

NewRUNEProviderWithDefaults instantiates a new RUNEProvider object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUNEProvider) GetDepositAmount

func (o *RUNEProvider) GetDepositAmount() string

GetDepositAmount returns the DepositAmount field value

func (*RUNEProvider) GetDepositAmountOk

func (o *RUNEProvider) GetDepositAmountOk() (*string, bool)

GetDepositAmountOk returns a tuple with the DepositAmount field value and a boolean to check if the value has been set.

func (*RUNEProvider) GetLastDepositHeight

func (o *RUNEProvider) GetLastDepositHeight() int64

GetLastDepositHeight returns the LastDepositHeight field value

func (*RUNEProvider) GetLastDepositHeightOk

func (o *RUNEProvider) GetLastDepositHeightOk() (*int64, bool)

GetLastDepositHeightOk returns a tuple with the LastDepositHeight field value and a boolean to check if the value has been set.

func (*RUNEProvider) GetLastWithdrawHeight

func (o *RUNEProvider) GetLastWithdrawHeight() int64

GetLastWithdrawHeight returns the LastWithdrawHeight field value

func (*RUNEProvider) GetLastWithdrawHeightOk

func (o *RUNEProvider) GetLastWithdrawHeightOk() (*int64, bool)

GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value and a boolean to check if the value has been set.

func (*RUNEProvider) GetPnl

func (o *RUNEProvider) GetPnl() string

GetPnl returns the Pnl field value

func (*RUNEProvider) GetPnlOk

func (o *RUNEProvider) GetPnlOk() (*string, bool)

GetPnlOk returns a tuple with the Pnl field value and a boolean to check if the value has been set.

func (*RUNEProvider) GetRuneAddress

func (o *RUNEProvider) GetRuneAddress() string

GetRuneAddress returns the RuneAddress field value

func (*RUNEProvider) GetRuneAddressOk

func (o *RUNEProvider) GetRuneAddressOk() (*string, bool)

GetRuneAddressOk returns a tuple with the RuneAddress field value and a boolean to check if the value has been set.

func (*RUNEProvider) GetUnits

func (o *RUNEProvider) GetUnits() string

GetUnits returns the Units field value

func (*RUNEProvider) GetUnitsOk

func (o *RUNEProvider) GetUnitsOk() (*string, bool)

GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.

func (*RUNEProvider) GetValue

func (o *RUNEProvider) GetValue() string

GetValue returns the Value field value

func (*RUNEProvider) GetValueOk

func (o *RUNEProvider) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*RUNEProvider) GetWithdrawAmount

func (o *RUNEProvider) GetWithdrawAmount() string

GetWithdrawAmount returns the WithdrawAmount field value

func (*RUNEProvider) GetWithdrawAmountOk

func (o *RUNEProvider) GetWithdrawAmountOk() (*string, bool)

GetWithdrawAmountOk returns a tuple with the WithdrawAmount field value and a boolean to check if the value has been set.

func (RUNEProvider) MarshalJSON_deprecated

func (o RUNEProvider) MarshalJSON_deprecated() ([]byte, error)

func (*RUNEProvider) SetDepositAmount

func (o *RUNEProvider) SetDepositAmount(v string)

SetDepositAmount sets field value

func (*RUNEProvider) SetLastDepositHeight

func (o *RUNEProvider) SetLastDepositHeight(v int64)

SetLastDepositHeight sets field value

func (*RUNEProvider) SetLastWithdrawHeight

func (o *RUNEProvider) SetLastWithdrawHeight(v int64)

SetLastWithdrawHeight sets field value

func (*RUNEProvider) SetPnl

func (o *RUNEProvider) SetPnl(v string)

SetPnl sets field value

func (*RUNEProvider) SetRuneAddress

func (o *RUNEProvider) SetRuneAddress(v string)

SetRuneAddress sets field value

func (*RUNEProvider) SetUnits

func (o *RUNEProvider) SetUnits(v string)

SetUnits sets field value

func (*RUNEProvider) SetValue

func (o *RUNEProvider) SetValue(v string)

SetValue sets field value

func (*RUNEProvider) SetWithdrawAmount

func (o *RUNEProvider) SetWithdrawAmount(v string)

SetWithdrawAmount sets field value

type Saver

type Saver struct {
	Asset              string `json:"asset"`
	AssetAddress       string `json:"asset_address"`
	LastAddHeight      *int64 `json:"last_add_height,omitempty"`
	LastWithdrawHeight *int64 `json:"last_withdraw_height,omitempty"`
	Units              string `json:"units"`
	AssetDepositValue  string `json:"asset_deposit_value"`
	AssetRedeemValue   string `json:"asset_redeem_value"`
	GrowthPct          string `json:"growth_pct"`
}

Saver struct for Saver

func NewSaver

func NewSaver(asset string, assetAddress string, units string, assetDepositValue string, assetRedeemValue string, growthPct string) *Saver

NewSaver instantiates a new Saver object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSaverWithDefaults

func NewSaverWithDefaults() *Saver

NewSaverWithDefaults instantiates a new Saver object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Saver) GetAsset

func (o *Saver) GetAsset() string

GetAsset returns the Asset field value

func (*Saver) GetAssetAddress

func (o *Saver) GetAssetAddress() string

GetAssetAddress returns the AssetAddress field value

func (*Saver) GetAssetAddressOk

func (o *Saver) GetAssetAddressOk() (*string, bool)

GetAssetAddressOk returns a tuple with the AssetAddress field value and a boolean to check if the value has been set.

func (*Saver) GetAssetDepositValue

func (o *Saver) GetAssetDepositValue() string

GetAssetDepositValue returns the AssetDepositValue field value

func (*Saver) GetAssetDepositValueOk

func (o *Saver) GetAssetDepositValueOk() (*string, bool)

GetAssetDepositValueOk returns a tuple with the AssetDepositValue field value and a boolean to check if the value has been set.

func (*Saver) GetAssetOk

func (o *Saver) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*Saver) GetAssetRedeemValue

func (o *Saver) GetAssetRedeemValue() string

GetAssetRedeemValue returns the AssetRedeemValue field value

func (*Saver) GetAssetRedeemValueOk

func (o *Saver) GetAssetRedeemValueOk() (*string, bool)

GetAssetRedeemValueOk returns a tuple with the AssetRedeemValue field value and a boolean to check if the value has been set.

func (*Saver) GetGrowthPct

func (o *Saver) GetGrowthPct() string

GetGrowthPct returns the GrowthPct field value

func (*Saver) GetGrowthPctOk

func (o *Saver) GetGrowthPctOk() (*string, bool)

GetGrowthPctOk returns a tuple with the GrowthPct field value and a boolean to check if the value has been set.

func (*Saver) GetLastAddHeight

func (o *Saver) GetLastAddHeight() int64

GetLastAddHeight returns the LastAddHeight field value if set, zero value otherwise.

func (*Saver) GetLastAddHeightOk

func (o *Saver) GetLastAddHeightOk() (*int64, bool)

GetLastAddHeightOk returns a tuple with the LastAddHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Saver) GetLastWithdrawHeight

func (o *Saver) GetLastWithdrawHeight() int64

GetLastWithdrawHeight returns the LastWithdrawHeight field value if set, zero value otherwise.

func (*Saver) GetLastWithdrawHeightOk

func (o *Saver) GetLastWithdrawHeightOk() (*int64, bool)

GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Saver) GetUnits

func (o *Saver) GetUnits() string

GetUnits returns the Units field value

func (*Saver) GetUnitsOk

func (o *Saver) GetUnitsOk() (*string, bool)

GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.

func (*Saver) HasLastAddHeight

func (o *Saver) HasLastAddHeight() bool

HasLastAddHeight returns a boolean if a field has been set.

func (*Saver) HasLastWithdrawHeight

func (o *Saver) HasLastWithdrawHeight() bool

HasLastWithdrawHeight returns a boolean if a field has been set.

func (Saver) MarshalJSON_deprecated

func (o Saver) MarshalJSON_deprecated() ([]byte, error)

func (*Saver) SetAsset

func (o *Saver) SetAsset(v string)

SetAsset sets field value

func (*Saver) SetAssetAddress

func (o *Saver) SetAssetAddress(v string)

SetAssetAddress sets field value

func (*Saver) SetAssetDepositValue

func (o *Saver) SetAssetDepositValue(v string)

SetAssetDepositValue sets field value

func (*Saver) SetAssetRedeemValue

func (o *Saver) SetAssetRedeemValue(v string)

SetAssetRedeemValue sets field value

func (*Saver) SetGrowthPct

func (o *Saver) SetGrowthPct(v string)

SetGrowthPct sets field value

func (*Saver) SetLastAddHeight

func (o *Saver) SetLastAddHeight(v int64)

SetLastAddHeight gets a reference to the given int64 and assigns it to the LastAddHeight field.

func (*Saver) SetLastWithdrawHeight

func (o *Saver) SetLastWithdrawHeight(v int64)

SetLastWithdrawHeight gets a reference to the given int64 and assigns it to the LastWithdrawHeight field.

func (*Saver) SetUnits

func (o *Saver) SetUnits(v string)

SetUnits sets field value

type SaversApiService

type SaversApiService service

SaversApiService SaversApi service

func (*SaversApiService) Saver

func (a *SaversApiService) Saver(ctx context.Context, asset string, address string) ApiSaverRequest

Saver Method for Saver

Returns the saver position given then savers pool and address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@param address
@return ApiSaverRequest

func (*SaversApiService) SaverExecute

func (a *SaversApiService) SaverExecute(r ApiSaverRequest) (*Saver, *http.Response, error)

Execute executes the request

@return Saver

func (*SaversApiService) Savers

func (a *SaversApiService) Savers(ctx context.Context, asset string) ApiSaversRequest

Savers Method for Savers

Returns all savers for the savers pool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiSaversRequest

func (*SaversApiService) SaversExecute

func (a *SaversApiService) SaversExecute(r ApiSaversRequest) ([]Saver, *http.Response, error)

Execute executes the request

@return []Saver

type SecuredAssetApiService

type SecuredAssetApiService service

SecuredAssetApiService SecuredAssetApi service

func (*SecuredAssetApiService) SecuredAsset

SecuredAsset Method for SecuredAsset

Returns the total size and ratio of a secured asset

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiSecuredAssetRequest

func (*SecuredAssetApiService) SecuredAssetExecute

Execute executes the request

@return SecuredAssetResponse

type SecuredAssetResponse

type SecuredAssetResponse struct {
	// secured account asset with \"-\" separator
	Asset string `json:"asset"`
	// total share tokens issued for the asset
	Supply string `json:"supply"`
	// total deposits of the asset
	Depth string `json:"depth"`
}

SecuredAssetResponse struct for SecuredAssetResponse

func NewSecuredAssetResponse

func NewSecuredAssetResponse(asset string, supply string, depth string) *SecuredAssetResponse

NewSecuredAssetResponse instantiates a new SecuredAssetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecuredAssetResponseWithDefaults

func NewSecuredAssetResponseWithDefaults() *SecuredAssetResponse

NewSecuredAssetResponseWithDefaults instantiates a new SecuredAssetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecuredAssetResponse) GetAsset

func (o *SecuredAssetResponse) GetAsset() string

GetAsset returns the Asset field value

func (*SecuredAssetResponse) GetAssetOk

func (o *SecuredAssetResponse) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*SecuredAssetResponse) GetDepth

func (o *SecuredAssetResponse) GetDepth() string

GetDepth returns the Depth field value

func (*SecuredAssetResponse) GetDepthOk

func (o *SecuredAssetResponse) GetDepthOk() (*string, bool)

GetDepthOk returns a tuple with the Depth field value and a boolean to check if the value has been set.

func (*SecuredAssetResponse) GetSupply

func (o *SecuredAssetResponse) GetSupply() string

GetSupply returns the Supply field value

func (*SecuredAssetResponse) GetSupplyOk

func (o *SecuredAssetResponse) GetSupplyOk() (*string, bool)

GetSupplyOk returns a tuple with the Supply field value and a boolean to check if the value has been set.

func (SecuredAssetResponse) MarshalJSON_deprecated

func (o SecuredAssetResponse) MarshalJSON_deprecated() ([]byte, error)

func (*SecuredAssetResponse) SetAsset

func (o *SecuredAssetResponse) SetAsset(v string)

SetAsset sets field value

func (*SecuredAssetResponse) SetDepth

func (o *SecuredAssetResponse) SetDepth(v string)

SetDepth sets field value

func (*SecuredAssetResponse) SetSupply

func (o *SecuredAssetResponse) SetSupply(v string)

SetSupply sets field value

type SecuredAssetsApiService

type SecuredAssetsApiService service

SecuredAssetsApiService SecuredAssetsApi service

func (*SecuredAssetsApiService) SecuredAssets

SecuredAssets Method for SecuredAssets

Returns the total size and ratio of all secured asset

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSecuredAssetsRequest

func (*SecuredAssetsApiService) SecuredAssetsExecute

Execute executes the request

@return []SecuredAssetResponse

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StreamingStatus

type StreamingStatus struct {
	// how often each swap is made, in blocks
	Interval int64 `json:"interval"`
	// the total number of swaps in a streaming swaps
	Quantity int64 `json:"quantity"`
	// the amount of swap attempts so far
	Count int64 `json:"count"`
}

StreamingStatus struct for StreamingStatus

func NewStreamingStatus

func NewStreamingStatus(interval int64, quantity int64, count int64) *StreamingStatus

NewStreamingStatus instantiates a new StreamingStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStreamingStatusWithDefaults

func NewStreamingStatusWithDefaults() *StreamingStatus

NewStreamingStatusWithDefaults instantiates a new StreamingStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StreamingStatus) GetCount

func (o *StreamingStatus) GetCount() int64

GetCount returns the Count field value

func (*StreamingStatus) GetCountOk

func (o *StreamingStatus) GetCountOk() (*int64, bool)

GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.

func (*StreamingStatus) GetInterval

func (o *StreamingStatus) GetInterval() int64

GetInterval returns the Interval field value

func (*StreamingStatus) GetIntervalOk

func (o *StreamingStatus) GetIntervalOk() (*int64, bool)

GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.

func (*StreamingStatus) GetQuantity

func (o *StreamingStatus) GetQuantity() int64

GetQuantity returns the Quantity field value

func (*StreamingStatus) GetQuantityOk

func (o *StreamingStatus) GetQuantityOk() (*int64, bool)

GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.

func (StreamingStatus) MarshalJSON_deprecated

func (o StreamingStatus) MarshalJSON_deprecated() ([]byte, error)

func (*StreamingStatus) SetCount

func (o *StreamingStatus) SetCount(v int64)

SetCount sets field value

func (*StreamingStatus) SetInterval

func (o *StreamingStatus) SetInterval(v int64)

SetInterval sets field value

func (*StreamingStatus) SetQuantity

func (o *StreamingStatus) SetQuantity(v int64)

SetQuantity sets field value

type StreamingSwap

type StreamingSwap struct {
	// the hash of a transaction
	TxId *string `json:"tx_id,omitempty"`
	// how often each swap is made, in blocks
	Interval *int64 `json:"interval,omitempty"`
	// the total number of swaps in a streaming swaps
	Quantity *int64 `json:"quantity,omitempty"`
	// the amount of swap attempts so far
	Count *int64 `json:"count,omitempty"`
	// the block height of the latest swap
	LastHeight *int64 `json:"last_height,omitempty"`
	// the total number of tokens the swapper wants to receive of the output asset
	TradeTarget string `json:"trade_target"`
	// the asset to be swapped from
	SourceAsset *string `json:"source_asset,omitempty"`
	// the asset to be swapped to
	TargetAsset *string `json:"target_asset,omitempty"`
	// the destination address to receive the swap output
	Destination *string `json:"destination,omitempty"`
	// the number of input tokens the swapper has deposited
	Deposit string `json:"deposit"`
	// the amount of input tokens that have been swapped so far
	In string `json:"in"`
	// the amount of output tokens that have been swapped so far
	Out string `json:"out"`
	// the list of swap indexes that failed
	FailedSwaps []int64 `json:"failed_swaps,omitempty"`
	// the list of reasons that sub-swaps have failed
	FailedSwapReasons []string `json:"failed_swap_reasons,omitempty"`
}

StreamingSwap struct for StreamingSwap

func NewStreamingSwap

func NewStreamingSwap(tradeTarget string, deposit string, in string, out string) *StreamingSwap

NewStreamingSwap instantiates a new StreamingSwap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStreamingSwapWithDefaults

func NewStreamingSwapWithDefaults() *StreamingSwap

NewStreamingSwapWithDefaults instantiates a new StreamingSwap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StreamingSwap) GetCount

func (o *StreamingSwap) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*StreamingSwap) GetCountOk

func (o *StreamingSwap) GetCountOk() (*int64, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetDeposit

func (o *StreamingSwap) GetDeposit() string

GetDeposit returns the Deposit field value

func (*StreamingSwap) GetDepositOk

func (o *StreamingSwap) GetDepositOk() (*string, bool)

GetDepositOk returns a tuple with the Deposit field value and a boolean to check if the value has been set.

func (*StreamingSwap) GetDestination

func (o *StreamingSwap) GetDestination() string

GetDestination returns the Destination field value if set, zero value otherwise.

func (*StreamingSwap) GetDestinationOk

func (o *StreamingSwap) GetDestinationOk() (*string, bool)

GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetFailedSwapReasons

func (o *StreamingSwap) GetFailedSwapReasons() []string

GetFailedSwapReasons returns the FailedSwapReasons field value if set, zero value otherwise.

func (*StreamingSwap) GetFailedSwapReasonsOk

func (o *StreamingSwap) GetFailedSwapReasonsOk() ([]string, bool)

GetFailedSwapReasonsOk returns a tuple with the FailedSwapReasons field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetFailedSwaps

func (o *StreamingSwap) GetFailedSwaps() []int64

GetFailedSwaps returns the FailedSwaps field value if set, zero value otherwise.

func (*StreamingSwap) GetFailedSwapsOk

func (o *StreamingSwap) GetFailedSwapsOk() ([]int64, bool)

GetFailedSwapsOk returns a tuple with the FailedSwaps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetIn

func (o *StreamingSwap) GetIn() string

GetIn returns the In field value

func (*StreamingSwap) GetInOk

func (o *StreamingSwap) GetInOk() (*string, bool)

GetInOk returns a tuple with the In field value and a boolean to check if the value has been set.

func (*StreamingSwap) GetInterval

func (o *StreamingSwap) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*StreamingSwap) GetIntervalOk

func (o *StreamingSwap) GetIntervalOk() (*int64, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetLastHeight

func (o *StreamingSwap) GetLastHeight() int64

GetLastHeight returns the LastHeight field value if set, zero value otherwise.

func (*StreamingSwap) GetLastHeightOk

func (o *StreamingSwap) GetLastHeightOk() (*int64, bool)

GetLastHeightOk returns a tuple with the LastHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetOut

func (o *StreamingSwap) GetOut() string

GetOut returns the Out field value

func (*StreamingSwap) GetOutOk

func (o *StreamingSwap) GetOutOk() (*string, bool)

GetOutOk returns a tuple with the Out field value and a boolean to check if the value has been set.

func (*StreamingSwap) GetQuantity

func (o *StreamingSwap) GetQuantity() int64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*StreamingSwap) GetQuantityOk

func (o *StreamingSwap) GetQuantityOk() (*int64, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetSourceAsset

func (o *StreamingSwap) GetSourceAsset() string

GetSourceAsset returns the SourceAsset field value if set, zero value otherwise.

func (*StreamingSwap) GetSourceAssetOk

func (o *StreamingSwap) GetSourceAssetOk() (*string, bool)

GetSourceAssetOk returns a tuple with the SourceAsset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetTargetAsset

func (o *StreamingSwap) GetTargetAsset() string

GetTargetAsset returns the TargetAsset field value if set, zero value otherwise.

func (*StreamingSwap) GetTargetAssetOk

func (o *StreamingSwap) GetTargetAssetOk() (*string, bool)

GetTargetAssetOk returns a tuple with the TargetAsset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) GetTradeTarget

func (o *StreamingSwap) GetTradeTarget() string

GetTradeTarget returns the TradeTarget field value

func (*StreamingSwap) GetTradeTargetOk

func (o *StreamingSwap) GetTradeTargetOk() (*string, bool)

GetTradeTargetOk returns a tuple with the TradeTarget field value and a boolean to check if the value has been set.

func (*StreamingSwap) GetTxId

func (o *StreamingSwap) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*StreamingSwap) GetTxIdOk

func (o *StreamingSwap) GetTxIdOk() (*string, bool)

GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingSwap) HasCount

func (o *StreamingSwap) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*StreamingSwap) HasDestination

func (o *StreamingSwap) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*StreamingSwap) HasFailedSwapReasons

func (o *StreamingSwap) HasFailedSwapReasons() bool

HasFailedSwapReasons returns a boolean if a field has been set.

func (*StreamingSwap) HasFailedSwaps

func (o *StreamingSwap) HasFailedSwaps() bool

HasFailedSwaps returns a boolean if a field has been set.

func (*StreamingSwap) HasInterval

func (o *StreamingSwap) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*StreamingSwap) HasLastHeight

func (o *StreamingSwap) HasLastHeight() bool

HasLastHeight returns a boolean if a field has been set.

func (*StreamingSwap) HasQuantity

func (o *StreamingSwap) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*StreamingSwap) HasSourceAsset

func (o *StreamingSwap) HasSourceAsset() bool

HasSourceAsset returns a boolean if a field has been set.

func (*StreamingSwap) HasTargetAsset

func (o *StreamingSwap) HasTargetAsset() bool

HasTargetAsset returns a boolean if a field has been set.

func (*StreamingSwap) HasTxId

func (o *StreamingSwap) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (StreamingSwap) MarshalJSON_deprecated

func (o StreamingSwap) MarshalJSON_deprecated() ([]byte, error)

func (*StreamingSwap) SetCount

func (o *StreamingSwap) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*StreamingSwap) SetDeposit

func (o *StreamingSwap) SetDeposit(v string)

SetDeposit sets field value

func (*StreamingSwap) SetDestination

func (o *StreamingSwap) SetDestination(v string)

SetDestination gets a reference to the given string and assigns it to the Destination field.

func (*StreamingSwap) SetFailedSwapReasons

func (o *StreamingSwap) SetFailedSwapReasons(v []string)

SetFailedSwapReasons gets a reference to the given []string and assigns it to the FailedSwapReasons field.

func (*StreamingSwap) SetFailedSwaps

func (o *StreamingSwap) SetFailedSwaps(v []int64)

SetFailedSwaps gets a reference to the given []int64 and assigns it to the FailedSwaps field.

func (*StreamingSwap) SetIn

func (o *StreamingSwap) SetIn(v string)

SetIn sets field value

func (*StreamingSwap) SetInterval

func (o *StreamingSwap) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*StreamingSwap) SetLastHeight

func (o *StreamingSwap) SetLastHeight(v int64)

SetLastHeight gets a reference to the given int64 and assigns it to the LastHeight field.

func (*StreamingSwap) SetOut

func (o *StreamingSwap) SetOut(v string)

SetOut sets field value

func (*StreamingSwap) SetQuantity

func (o *StreamingSwap) SetQuantity(v int64)

SetQuantity gets a reference to the given int64 and assigns it to the Quantity field.

func (*StreamingSwap) SetSourceAsset

func (o *StreamingSwap) SetSourceAsset(v string)

SetSourceAsset gets a reference to the given string and assigns it to the SourceAsset field.

func (*StreamingSwap) SetTargetAsset

func (o *StreamingSwap) SetTargetAsset(v string)

SetTargetAsset gets a reference to the given string and assigns it to the TargetAsset field.

func (*StreamingSwap) SetTradeTarget

func (o *StreamingSwap) SetTradeTarget(v string)

SetTradeTarget sets field value

func (*StreamingSwap) SetTxId

func (o *StreamingSwap) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

type StreamingSwapApiService

type StreamingSwapApiService service

StreamingSwapApiService StreamingSwapApi service

func (*StreamingSwapApiService) StreamSwap

StreamSwap Method for StreamSwap

Returns the state of a streaming swap

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param hash
@return ApiStreamSwapRequest

func (*StreamingSwapApiService) StreamSwapExecute

Execute executes the request

@return StreamingSwap

func (*StreamingSwapApiService) StreamSwaps

StreamSwaps Method for StreamSwaps

Returns the state of all streaming swaps

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiStreamSwapsRequest

func (*StreamingSwapApiService) StreamSwapsExecute

Execute executes the request

@return []StreamingSwap

type SwapFinalisedStage

type SwapFinalisedStage struct {
	// (to be deprecated in favor of swap_status) returns true if an inbound transaction's swap (successful or refunded) is no longer pending
	Completed bool `json:"completed"`
}

SwapFinalisedStage struct for SwapFinalisedStage

func NewSwapFinalisedStage

func NewSwapFinalisedStage(completed bool) *SwapFinalisedStage

NewSwapFinalisedStage instantiates a new SwapFinalisedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSwapFinalisedStageWithDefaults

func NewSwapFinalisedStageWithDefaults() *SwapFinalisedStage

NewSwapFinalisedStageWithDefaults instantiates a new SwapFinalisedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SwapFinalisedStage) GetCompleted

func (o *SwapFinalisedStage) GetCompleted() bool

GetCompleted returns the Completed field value

func (*SwapFinalisedStage) GetCompletedOk

func (o *SwapFinalisedStage) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.

func (SwapFinalisedStage) MarshalJSON_deprecated

func (o SwapFinalisedStage) MarshalJSON_deprecated() ([]byte, error)

func (*SwapFinalisedStage) SetCompleted

func (o *SwapFinalisedStage) SetCompleted(v bool)

SetCompleted sets field value

type SwapStatus

type SwapStatus struct {
	// true when awaiting a swap
	Pending   bool             `json:"pending"`
	Streaming *StreamingStatus `json:"streaming,omitempty"`
}

SwapStatus struct for SwapStatus

func NewSwapStatus

func NewSwapStatus(pending bool) *SwapStatus

NewSwapStatus instantiates a new SwapStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSwapStatusWithDefaults

func NewSwapStatusWithDefaults() *SwapStatus

NewSwapStatusWithDefaults instantiates a new SwapStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SwapStatus) GetPending

func (o *SwapStatus) GetPending() bool

GetPending returns the Pending field value

func (*SwapStatus) GetPendingOk

func (o *SwapStatus) GetPendingOk() (*bool, bool)

GetPendingOk returns a tuple with the Pending field value and a boolean to check if the value has been set.

func (*SwapStatus) GetStreaming

func (o *SwapStatus) GetStreaming() StreamingStatus

GetStreaming returns the Streaming field value if set, zero value otherwise.

func (*SwapStatus) GetStreamingOk

func (o *SwapStatus) GetStreamingOk() (*StreamingStatus, bool)

GetStreamingOk returns a tuple with the Streaming field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SwapStatus) HasStreaming

func (o *SwapStatus) HasStreaming() bool

HasStreaming returns a boolean if a field has been set.

func (SwapStatus) MarshalJSON_deprecated

func (o SwapStatus) MarshalJSON_deprecated() ([]byte, error)

func (*SwapStatus) SetPending

func (o *SwapStatus) SetPending(v bool)

SetPending sets field value

func (*SwapStatus) SetStreaming

func (o *SwapStatus) SetStreaming(v StreamingStatus)

SetStreaming gets a reference to the given StreamingStatus and assigns it to the Streaming field.

type SwapperCloutResponse

type SwapperCloutResponse struct {
	// address associated with this clout account
	Address string `json:"address"`
	// clout score, which is the amount of rune spent on swap fees
	Score *string `json:"score,omitempty"`
	// amount of clout that has been reclaimed in total over time (observed clout spent)
	Reclaimed *string `json:"reclaimed,omitempty"`
	// amount of clout that has been spent in total over time
	Spent *string `json:"spent,omitempty"`
	// last block height that clout was spent
	LastSpentHeight *int64 `json:"last_spent_height,omitempty"`
	// last block height that clout was reclaimed
	LastReclaimHeight *int64 `json:"last_reclaim_height,omitempty"`
}

SwapperCloutResponse struct for SwapperCloutResponse

func NewSwapperCloutResponse

func NewSwapperCloutResponse(address string) *SwapperCloutResponse

NewSwapperCloutResponse instantiates a new SwapperCloutResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSwapperCloutResponseWithDefaults

func NewSwapperCloutResponseWithDefaults() *SwapperCloutResponse

NewSwapperCloutResponseWithDefaults instantiates a new SwapperCloutResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SwapperCloutResponse) GetAddress

func (o *SwapperCloutResponse) GetAddress() string

GetAddress returns the Address field value

func (*SwapperCloutResponse) GetAddressOk

func (o *SwapperCloutResponse) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*SwapperCloutResponse) GetLastReclaimHeight

func (o *SwapperCloutResponse) GetLastReclaimHeight() int64

GetLastReclaimHeight returns the LastReclaimHeight field value if set, zero value otherwise.

func (*SwapperCloutResponse) GetLastReclaimHeightOk

func (o *SwapperCloutResponse) GetLastReclaimHeightOk() (*int64, bool)

GetLastReclaimHeightOk returns a tuple with the LastReclaimHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SwapperCloutResponse) GetLastSpentHeight

func (o *SwapperCloutResponse) GetLastSpentHeight() int64

GetLastSpentHeight returns the LastSpentHeight field value if set, zero value otherwise.

func (*SwapperCloutResponse) GetLastSpentHeightOk

func (o *SwapperCloutResponse) GetLastSpentHeightOk() (*int64, bool)

GetLastSpentHeightOk returns a tuple with the LastSpentHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SwapperCloutResponse) GetReclaimed

func (o *SwapperCloutResponse) GetReclaimed() string

GetReclaimed returns the Reclaimed field value if set, zero value otherwise.

func (*SwapperCloutResponse) GetReclaimedOk

func (o *SwapperCloutResponse) GetReclaimedOk() (*string, bool)

GetReclaimedOk returns a tuple with the Reclaimed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SwapperCloutResponse) GetScore

func (o *SwapperCloutResponse) GetScore() string

GetScore returns the Score field value if set, zero value otherwise.

func (*SwapperCloutResponse) GetScoreOk

func (o *SwapperCloutResponse) GetScoreOk() (*string, bool)

GetScoreOk returns a tuple with the Score field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SwapperCloutResponse) GetSpent

func (o *SwapperCloutResponse) GetSpent() string

GetSpent returns the Spent field value if set, zero value otherwise.

func (*SwapperCloutResponse) GetSpentOk

func (o *SwapperCloutResponse) GetSpentOk() (*string, bool)

GetSpentOk returns a tuple with the Spent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SwapperCloutResponse) HasLastReclaimHeight

func (o *SwapperCloutResponse) HasLastReclaimHeight() bool

HasLastReclaimHeight returns a boolean if a field has been set.

func (*SwapperCloutResponse) HasLastSpentHeight

func (o *SwapperCloutResponse) HasLastSpentHeight() bool

HasLastSpentHeight returns a boolean if a field has been set.

func (*SwapperCloutResponse) HasReclaimed

func (o *SwapperCloutResponse) HasReclaimed() bool

HasReclaimed returns a boolean if a field has been set.

func (*SwapperCloutResponse) HasScore

func (o *SwapperCloutResponse) HasScore() bool

HasScore returns a boolean if a field has been set.

func (*SwapperCloutResponse) HasSpent

func (o *SwapperCloutResponse) HasSpent() bool

HasSpent returns a boolean if a field has been set.

func (SwapperCloutResponse) MarshalJSON_deprecated

func (o SwapperCloutResponse) MarshalJSON_deprecated() ([]byte, error)

func (*SwapperCloutResponse) SetAddress

func (o *SwapperCloutResponse) SetAddress(v string)

SetAddress sets field value

func (*SwapperCloutResponse) SetLastReclaimHeight

func (o *SwapperCloutResponse) SetLastReclaimHeight(v int64)

SetLastReclaimHeight gets a reference to the given int64 and assigns it to the LastReclaimHeight field.

func (*SwapperCloutResponse) SetLastSpentHeight

func (o *SwapperCloutResponse) SetLastSpentHeight(v int64)

SetLastSpentHeight gets a reference to the given int64 and assigns it to the LastSpentHeight field.

func (*SwapperCloutResponse) SetReclaimed

func (o *SwapperCloutResponse) SetReclaimed(v string)

SetReclaimed gets a reference to the given string and assigns it to the Reclaimed field.

func (*SwapperCloutResponse) SetScore

func (o *SwapperCloutResponse) SetScore(v string)

SetScore gets a reference to the given string and assigns it to the Score field.

func (*SwapperCloutResponse) SetSpent

func (o *SwapperCloutResponse) SetSpent(v string)

SetSpent gets a reference to the given string and assigns it to the Spent field.

type TSSApiService

type TSSApiService service

TSSApiService TSSApi service

func (*TSSApiService) KeygenPubkey

func (a *TSSApiService) KeygenPubkey(ctx context.Context, height int64, pubkey string) ApiKeygenPubkeyRequest

KeygenPubkey Method for KeygenPubkey

Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param height
@param pubkey
@return ApiKeygenPubkeyRequest

func (*TSSApiService) KeygenPubkeyExecute

func (a *TSSApiService) KeygenPubkeyExecute(r ApiKeygenPubkeyRequest) (*KeygenResponse, *http.Response, error)

Execute executes the request

@return KeygenResponse

func (*TSSApiService) Keysign

func (a *TSSApiService) Keysign(ctx context.Context, height int64) ApiKeysignRequest

Keysign Method for Keysign

Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param height
@return ApiKeysignRequest

func (*TSSApiService) KeysignExecute

Execute executes the request

@return KeysignResponse

func (*TSSApiService) KeysignPubkey

func (a *TSSApiService) KeysignPubkey(ctx context.Context, height int64, pubkey string) ApiKeysignPubkeyRequest

KeysignPubkey Method for KeysignPubkey

Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param height
@param pubkey
@return ApiKeysignPubkeyRequest

func (*TSSApiService) KeysignPubkeyExecute

func (a *TSSApiService) KeysignPubkeyExecute(r ApiKeysignPubkeyRequest) (*KeysignResponse, *http.Response, error)

Execute executes the request

@return KeysignResponse

func (*TSSApiService) Metrics

Metrics Method for Metrics

Returns keygen and keysign metrics for current vaults.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMetricsRequest

func (*TSSApiService) MetricsExecute

Execute executes the request

@return MetricsResponse

func (*TSSApiService) MetricsKeygen

func (a *TSSApiService) MetricsKeygen(ctx context.Context, pubkey string) ApiMetricsKeygenRequest

MetricsKeygen Method for MetricsKeygen

Returns keygen metrics for the provided vault pubkey.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pubkey
@return ApiMetricsKeygenRequest

func (*TSSApiService) MetricsKeygenExecute

func (a *TSSApiService) MetricsKeygenExecute(r ApiMetricsKeygenRequest) ([]KeygenMetric, *http.Response, error)

Execute executes the request

@return []KeygenMetric

type Thorname

type Thorname struct {
	Name              *string `json:"name,omitempty"`
	ExpireBlockHeight *int64  `json:"expire_block_height,omitempty"`
	Owner             *string `json:"owner,omitempty"`
	PreferredAsset    string  `json:"preferred_asset"`
	// Amount of RUNE currently accrued by this thorname in affiliate fees waiting to be swapped to preferred asset.
	AffiliateCollectorRune *string         `json:"affiliate_collector_rune,omitempty"`
	Aliases                []ThornameAlias `json:"aliases"`
}

Thorname struct for Thorname

func NewThorname

func NewThorname(preferredAsset string, aliases []ThornameAlias) *Thorname

NewThorname instantiates a new Thorname object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThornameWithDefaults

func NewThornameWithDefaults() *Thorname

NewThornameWithDefaults instantiates a new Thorname object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Thorname) GetAffiliateCollectorRune

func (o *Thorname) GetAffiliateCollectorRune() string

GetAffiliateCollectorRune returns the AffiliateCollectorRune field value if set, zero value otherwise.

func (*Thorname) GetAffiliateCollectorRuneOk

func (o *Thorname) GetAffiliateCollectorRuneOk() (*string, bool)

GetAffiliateCollectorRuneOk returns a tuple with the AffiliateCollectorRune field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Thorname) GetAliases

func (o *Thorname) GetAliases() []ThornameAlias

GetAliases returns the Aliases field value

func (*Thorname) GetAliasesOk

func (o *Thorname) GetAliasesOk() ([]ThornameAlias, bool)

GetAliasesOk returns a tuple with the Aliases field value and a boolean to check if the value has been set.

func (*Thorname) GetExpireBlockHeight

func (o *Thorname) GetExpireBlockHeight() int64

GetExpireBlockHeight returns the ExpireBlockHeight field value if set, zero value otherwise.

func (*Thorname) GetExpireBlockHeightOk

func (o *Thorname) GetExpireBlockHeightOk() (*int64, bool)

GetExpireBlockHeightOk returns a tuple with the ExpireBlockHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Thorname) GetName

func (o *Thorname) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Thorname) GetNameOk

func (o *Thorname) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Thorname) GetOwner

func (o *Thorname) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Thorname) GetOwnerOk

func (o *Thorname) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Thorname) GetPreferredAsset

func (o *Thorname) GetPreferredAsset() string

GetPreferredAsset returns the PreferredAsset field value

func (*Thorname) GetPreferredAssetOk

func (o *Thorname) GetPreferredAssetOk() (*string, bool)

GetPreferredAssetOk returns a tuple with the PreferredAsset field value and a boolean to check if the value has been set.

func (*Thorname) HasAffiliateCollectorRune

func (o *Thorname) HasAffiliateCollectorRune() bool

HasAffiliateCollectorRune returns a boolean if a field has been set.

func (*Thorname) HasExpireBlockHeight

func (o *Thorname) HasExpireBlockHeight() bool

HasExpireBlockHeight returns a boolean if a field has been set.

func (*Thorname) HasName

func (o *Thorname) HasName() bool

HasName returns a boolean if a field has been set.

func (*Thorname) HasOwner

func (o *Thorname) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (Thorname) MarshalJSON_deprecated

func (o Thorname) MarshalJSON_deprecated() ([]byte, error)

func (*Thorname) SetAffiliateCollectorRune

func (o *Thorname) SetAffiliateCollectorRune(v string)

SetAffiliateCollectorRune gets a reference to the given string and assigns it to the AffiliateCollectorRune field.

func (*Thorname) SetAliases

func (o *Thorname) SetAliases(v []ThornameAlias)

SetAliases sets field value

func (*Thorname) SetExpireBlockHeight

func (o *Thorname) SetExpireBlockHeight(v int64)

SetExpireBlockHeight gets a reference to the given int64 and assigns it to the ExpireBlockHeight field.

func (*Thorname) SetName

func (o *Thorname) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Thorname) SetOwner

func (o *Thorname) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*Thorname) SetPreferredAsset

func (o *Thorname) SetPreferredAsset(v string)

SetPreferredAsset sets field value

type ThornameAlias

type ThornameAlias struct {
	Chain   *string `json:"chain,omitempty"`
	Address *string `json:"address,omitempty"`
}

ThornameAlias struct for ThornameAlias

func NewThornameAlias

func NewThornameAlias() *ThornameAlias

NewThornameAlias instantiates a new ThornameAlias object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThornameAliasWithDefaults

func NewThornameAliasWithDefaults() *ThornameAlias

NewThornameAliasWithDefaults instantiates a new ThornameAlias object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThornameAlias) GetAddress

func (o *ThornameAlias) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*ThornameAlias) GetAddressOk

func (o *ThornameAlias) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThornameAlias) GetChain

func (o *ThornameAlias) GetChain() string

GetChain returns the Chain field value if set, zero value otherwise.

func (*ThornameAlias) GetChainOk

func (o *ThornameAlias) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThornameAlias) HasAddress

func (o *ThornameAlias) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*ThornameAlias) HasChain

func (o *ThornameAlias) HasChain() bool

HasChain returns a boolean if a field has been set.

func (ThornameAlias) MarshalJSON_deprecated

func (o ThornameAlias) MarshalJSON_deprecated() ([]byte, error)

func (*ThornameAlias) SetAddress

func (o *ThornameAlias) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*ThornameAlias) SetChain

func (o *ThornameAlias) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

type ThornamesApiService

type ThornamesApiService service

ThornamesApiService ThornamesApi service

func (*ThornamesApiService) Thorname

Thorname Method for Thorname

Returns addresses registered to the provided thorname.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name the thornode to lookup
@return ApiThornameRequest

func (*ThornamesApiService) ThornameExecute

func (a *ThornamesApiService) ThornameExecute(r ApiThornameRequest) (*Thorname, *http.Response, error)

Execute executes the request

@return Thorname

type TradeAccountApiService

type TradeAccountApiService service

TradeAccountApiService TradeAccountApi service

func (*TradeAccountApiService) TradeAccount

func (a *TradeAccountApiService) TradeAccount(ctx context.Context, address string) ApiTradeAccountRequest

TradeAccount Method for TradeAccount

Returns the units and depth of a trade account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address
@return ApiTradeAccountRequest

func (*TradeAccountApiService) TradeAccountExecute

Execute executes the request

@return TradeAccountResponse

type TradeAccountResponse

type TradeAccountResponse struct {
	// trade account asset with \"~\" separator
	Asset string `json:"asset"`
	// units of trade asset belonging to this owner
	Units string `json:"units"`
	// thor address of trade account owner
	Owner string `json:"owner"`
	// last thorchain height trade assets were added to trade account
	LastAddHeight *int64 `json:"last_add_height,omitempty"`
	// last thorchain height trade assets were withdrawn from trade account
	LastWithdrawHeight *int64 `json:"last_withdraw_height,omitempty"`
}

TradeAccountResponse struct for TradeAccountResponse

func NewTradeAccountResponse

func NewTradeAccountResponse(asset string, units string, owner string) *TradeAccountResponse

NewTradeAccountResponse instantiates a new TradeAccountResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTradeAccountResponseWithDefaults

func NewTradeAccountResponseWithDefaults() *TradeAccountResponse

NewTradeAccountResponseWithDefaults instantiates a new TradeAccountResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TradeAccountResponse) GetAsset

func (o *TradeAccountResponse) GetAsset() string

GetAsset returns the Asset field value

func (*TradeAccountResponse) GetAssetOk

func (o *TradeAccountResponse) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*TradeAccountResponse) GetLastAddHeight

func (o *TradeAccountResponse) GetLastAddHeight() int64

GetLastAddHeight returns the LastAddHeight field value if set, zero value otherwise.

func (*TradeAccountResponse) GetLastAddHeightOk

func (o *TradeAccountResponse) GetLastAddHeightOk() (*int64, bool)

GetLastAddHeightOk returns a tuple with the LastAddHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TradeAccountResponse) GetLastWithdrawHeight

func (o *TradeAccountResponse) GetLastWithdrawHeight() int64

GetLastWithdrawHeight returns the LastWithdrawHeight field value if set, zero value otherwise.

func (*TradeAccountResponse) GetLastWithdrawHeightOk

func (o *TradeAccountResponse) GetLastWithdrawHeightOk() (*int64, bool)

GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TradeAccountResponse) GetOwner

func (o *TradeAccountResponse) GetOwner() string

GetOwner returns the Owner field value

func (*TradeAccountResponse) GetOwnerOk

func (o *TradeAccountResponse) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.

func (*TradeAccountResponse) GetUnits

func (o *TradeAccountResponse) GetUnits() string

GetUnits returns the Units field value

func (*TradeAccountResponse) GetUnitsOk

func (o *TradeAccountResponse) GetUnitsOk() (*string, bool)

GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.

func (*TradeAccountResponse) HasLastAddHeight

func (o *TradeAccountResponse) HasLastAddHeight() bool

HasLastAddHeight returns a boolean if a field has been set.

func (*TradeAccountResponse) HasLastWithdrawHeight

func (o *TradeAccountResponse) HasLastWithdrawHeight() bool

HasLastWithdrawHeight returns a boolean if a field has been set.

func (TradeAccountResponse) MarshalJSON_deprecated

func (o TradeAccountResponse) MarshalJSON_deprecated() ([]byte, error)

func (*TradeAccountResponse) SetAsset

func (o *TradeAccountResponse) SetAsset(v string)

SetAsset sets field value

func (*TradeAccountResponse) SetLastAddHeight

func (o *TradeAccountResponse) SetLastAddHeight(v int64)

SetLastAddHeight gets a reference to the given int64 and assigns it to the LastAddHeight field.

func (*TradeAccountResponse) SetLastWithdrawHeight

func (o *TradeAccountResponse) SetLastWithdrawHeight(v int64)

SetLastWithdrawHeight gets a reference to the given int64 and assigns it to the LastWithdrawHeight field.

func (*TradeAccountResponse) SetOwner

func (o *TradeAccountResponse) SetOwner(v string)

SetOwner sets field value

func (*TradeAccountResponse) SetUnits

func (o *TradeAccountResponse) SetUnits(v string)

SetUnits sets field value

type TradeAccountsApiService

type TradeAccountsApiService service

TradeAccountsApiService TradeAccountsApi service

func (*TradeAccountsApiService) TradeAccounts

TradeAccounts Method for TradeAccounts

Returns all trade accounts for an asset

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiTradeAccountsRequest

func (*TradeAccountsApiService) TradeAccountsExecute

Execute executes the request

@return []TradeAccountResponse

type TradeUnitApiService

type TradeUnitApiService service

TradeUnitApiService TradeUnitApi service

func (*TradeUnitApiService) TradeUnit

TradeUnit Method for TradeUnit

Returns the total units and depth of a trade asset

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param asset
@return ApiTradeUnitRequest

func (*TradeUnitApiService) TradeUnitExecute

Execute executes the request

@return TradeUnitResponse

type TradeUnitResponse

type TradeUnitResponse struct {
	// trade account asset with \"~\" separator
	Asset string `json:"asset"`
	// total units of trade asset
	Units string `json:"units"`
	// total depth of trade asset
	Depth string `json:"depth"`
}

TradeUnitResponse struct for TradeUnitResponse

func NewTradeUnitResponse

func NewTradeUnitResponse(asset string, units string, depth string) *TradeUnitResponse

NewTradeUnitResponse instantiates a new TradeUnitResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTradeUnitResponseWithDefaults

func NewTradeUnitResponseWithDefaults() *TradeUnitResponse

NewTradeUnitResponseWithDefaults instantiates a new TradeUnitResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TradeUnitResponse) GetAsset

func (o *TradeUnitResponse) GetAsset() string

GetAsset returns the Asset field value

func (*TradeUnitResponse) GetAssetOk

func (o *TradeUnitResponse) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (*TradeUnitResponse) GetDepth

func (o *TradeUnitResponse) GetDepth() string

GetDepth returns the Depth field value

func (*TradeUnitResponse) GetDepthOk

func (o *TradeUnitResponse) GetDepthOk() (*string, bool)

GetDepthOk returns a tuple with the Depth field value and a boolean to check if the value has been set.

func (*TradeUnitResponse) GetUnits

func (o *TradeUnitResponse) GetUnits() string

GetUnits returns the Units field value

func (*TradeUnitResponse) GetUnitsOk

func (o *TradeUnitResponse) GetUnitsOk() (*string, bool)

GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.

func (TradeUnitResponse) MarshalJSON_deprecated

func (o TradeUnitResponse) MarshalJSON_deprecated() ([]byte, error)

func (*TradeUnitResponse) SetAsset

func (o *TradeUnitResponse) SetAsset(v string)

SetAsset sets field value

func (*TradeUnitResponse) SetDepth

func (o *TradeUnitResponse) SetDepth(v string)

SetDepth sets field value

func (*TradeUnitResponse) SetUnits

func (o *TradeUnitResponse) SetUnits(v string)

SetUnits sets field value

type TradeUnitsApiService

type TradeUnitsApiService service

TradeUnitsApiService TradeUnitsApi service

func (*TradeUnitsApiService) TradeUnits

TradeUnits Method for TradeUnits

Returns the total units and depth for each trade asset

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTradeUnitsRequest

func (*TradeUnitsApiService) TradeUnitsExecute

Execute executes the request

@return []TradeUnitResponse

type TransactionsApiService

type TransactionsApiService service

TransactionsApiService TransactionsApi service

func (*TransactionsApiService) Tx

Tx Method for Tx

Returns the observed transaction for a provided inbound or outbound hash.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param hash
@return ApiTxRequest

func (*TransactionsApiService) TxExecute

Execute executes the request

@return TxResponse

func (*TransactionsApiService) TxSigners

TxSigners Method for TxSigners

Returns the signers for a provided inbound or outbound hash.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param hash
@return ApiTxSignersRequest

func (*TransactionsApiService) TxSignersExecute

Execute executes the request

@return TxDetailsResponse

func (*TransactionsApiService) TxSignersOld

TxSignersOld Method for TxSignersOld

Deprecated - migrate to /thorchain/tx/details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param hash
@return ApiTxSignersOldRequest

func (*TransactionsApiService) TxSignersOldExecute

Execute executes the request

@return TxSignersResponse

func (*TransactionsApiService) TxStages

TxStages Method for TxStages

Returns the processing stages of a provided inbound hash.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param hash
@return ApiTxStagesRequest

func (*TransactionsApiService) TxStagesExecute

Execute executes the request

@return TxStagesResponse

func (*TransactionsApiService) TxStatus

TxStatus Method for TxStatus

Returns the status of a provided inbound hash.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param hash
@return ApiTxStatusRequest

func (*TransactionsApiService) TxStatusExecute

Execute executes the request

@return TxStatusResponse

type TssKeysignMetric

type TssKeysignMetric struct {
	TxId         *string     `json:"tx_id,omitempty"`
	NodeTssTimes []TssMetric `json:"node_tss_times"`
}

TssKeysignMetric struct for TssKeysignMetric

func NewTssKeysignMetric

func NewTssKeysignMetric(nodeTssTimes []TssMetric) *TssKeysignMetric

NewTssKeysignMetric instantiates a new TssKeysignMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTssKeysignMetricWithDefaults

func NewTssKeysignMetricWithDefaults() *TssKeysignMetric

NewTssKeysignMetricWithDefaults instantiates a new TssKeysignMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TssKeysignMetric) GetNodeTssTimes

func (o *TssKeysignMetric) GetNodeTssTimes() []TssMetric

GetNodeTssTimes returns the NodeTssTimes field value

func (*TssKeysignMetric) GetNodeTssTimesOk

func (o *TssKeysignMetric) GetNodeTssTimesOk() ([]TssMetric, bool)

GetNodeTssTimesOk returns a tuple with the NodeTssTimes field value and a boolean to check if the value has been set.

func (*TssKeysignMetric) GetTxId

func (o *TssKeysignMetric) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*TssKeysignMetric) GetTxIdOk

func (o *TssKeysignMetric) GetTxIdOk() (*string, bool)

GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TssKeysignMetric) HasTxId

func (o *TssKeysignMetric) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (TssKeysignMetric) MarshalJSON_deprecated

func (o TssKeysignMetric) MarshalJSON_deprecated() ([]byte, error)

func (*TssKeysignMetric) SetNodeTssTimes

func (o *TssKeysignMetric) SetNodeTssTimes(v []TssMetric)

SetNodeTssTimes sets field value

func (*TssKeysignMetric) SetTxId

func (o *TssKeysignMetric) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

type TssMetric

type TssMetric struct {
	Address *string `json:"address,omitempty"`
	TssTime *int64  `json:"tss_time,omitempty"`
}

TssMetric struct for TssMetric

func NewTssMetric

func NewTssMetric() *TssMetric

NewTssMetric instantiates a new TssMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTssMetricWithDefaults

func NewTssMetricWithDefaults() *TssMetric

NewTssMetricWithDefaults instantiates a new TssMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TssMetric) GetAddress

func (o *TssMetric) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*TssMetric) GetAddressOk

func (o *TssMetric) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TssMetric) GetTssTime

func (o *TssMetric) GetTssTime() int64

GetTssTime returns the TssTime field value if set, zero value otherwise.

func (*TssMetric) GetTssTimeOk

func (o *TssMetric) GetTssTimeOk() (*int64, bool)

GetTssTimeOk returns a tuple with the TssTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TssMetric) HasAddress

func (o *TssMetric) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*TssMetric) HasTssTime

func (o *TssMetric) HasTssTime() bool

HasTssTime returns a boolean if a field has been set.

func (TssMetric) MarshalJSON_deprecated

func (o TssMetric) MarshalJSON_deprecated() ([]byte, error)

func (*TssMetric) SetAddress

func (o *TssMetric) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*TssMetric) SetTssTime

func (o *TssMetric) SetTssTime(v int64)

SetTssTime gets a reference to the given int64 and assigns it to the TssTime field.

type Tx

type Tx struct {
	Id          *string `json:"id,omitempty"`
	Chain       *string `json:"chain,omitempty"`
	FromAddress *string `json:"from_address,omitempty"`
	ToAddress   *string `json:"to_address,omitempty"`
	Coins       []Coin  `json:"coins"`
	Gas         []Coin  `json:"gas"`
	Memo        *string `json:"memo,omitempty"`
}

Tx struct for Tx

func NewTx

func NewTx(coins []Coin, gas []Coin) *Tx

NewTx instantiates a new Tx object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTxWithDefaults

func NewTxWithDefaults() *Tx

NewTxWithDefaults instantiates a new Tx object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Tx) GetChain

func (o *Tx) GetChain() string

GetChain returns the Chain field value if set, zero value otherwise.

func (*Tx) GetChainOk

func (o *Tx) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tx) GetCoins

func (o *Tx) GetCoins() []Coin

GetCoins returns the Coins field value

func (*Tx) GetCoinsOk

func (o *Tx) GetCoinsOk() ([]Coin, bool)

GetCoinsOk returns a tuple with the Coins field value and a boolean to check if the value has been set.

func (*Tx) GetFromAddress

func (o *Tx) GetFromAddress() string

GetFromAddress returns the FromAddress field value if set, zero value otherwise.

func (*Tx) GetFromAddressOk

func (o *Tx) GetFromAddressOk() (*string, bool)

GetFromAddressOk returns a tuple with the FromAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tx) GetGas

func (o *Tx) GetGas() []Coin

GetGas returns the Gas field value

func (*Tx) GetGasOk

func (o *Tx) GetGasOk() ([]Coin, bool)

GetGasOk returns a tuple with the Gas field value and a boolean to check if the value has been set.

func (*Tx) GetId

func (o *Tx) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Tx) GetIdOk

func (o *Tx) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tx) GetMemo

func (o *Tx) GetMemo() string

GetMemo returns the Memo field value if set, zero value otherwise.

func (*Tx) GetMemoOk

func (o *Tx) GetMemoOk() (*string, bool)

GetMemoOk returns a tuple with the Memo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tx) GetToAddress

func (o *Tx) GetToAddress() string

GetToAddress returns the ToAddress field value if set, zero value otherwise.

func (*Tx) GetToAddressOk

func (o *Tx) GetToAddressOk() (*string, bool)

GetToAddressOk returns a tuple with the ToAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tx) HasChain

func (o *Tx) HasChain() bool

HasChain returns a boolean if a field has been set.

func (*Tx) HasFromAddress

func (o *Tx) HasFromAddress() bool

HasFromAddress returns a boolean if a field has been set.

func (*Tx) HasId

func (o *Tx) HasId() bool

HasId returns a boolean if a field has been set.

func (*Tx) HasMemo

func (o *Tx) HasMemo() bool

HasMemo returns a boolean if a field has been set.

func (*Tx) HasToAddress

func (o *Tx) HasToAddress() bool

HasToAddress returns a boolean if a field has been set.

func (Tx) MarshalJSON_deprecated

func (o Tx) MarshalJSON_deprecated() ([]byte, error)

func (*Tx) SetChain

func (o *Tx) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

func (*Tx) SetCoins

func (o *Tx) SetCoins(v []Coin)

SetCoins sets field value

func (*Tx) SetFromAddress

func (o *Tx) SetFromAddress(v string)

SetFromAddress gets a reference to the given string and assigns it to the FromAddress field.

func (*Tx) SetGas

func (o *Tx) SetGas(v []Coin)

SetGas sets field value

func (*Tx) SetId

func (o *Tx) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Tx) SetMemo

func (o *Tx) SetMemo(v string)

SetMemo gets a reference to the given string and assigns it to the Memo field.

func (*Tx) SetToAddress

func (o *Tx) SetToAddress(v string)

SetToAddress gets a reference to the given string and assigns it to the ToAddress field.

type TxDetailsResponse

type TxDetailsResponse struct {
	TxId    *string      `json:"tx_id,omitempty"`
	Tx      ObservedTx   `json:"tx"`
	Txs     []ObservedTx `json:"txs"`
	Actions []TxOutItem  `json:"actions"`
	OutTxs  []Tx         `json:"out_txs"`
	// the thorchain height at which the inbound reached consensus
	ConsensusHeight *int64 `json:"consensus_height,omitempty"`
	// the thorchain height at which the outbound was finalised
	FinalisedHeight *int64 `json:"finalised_height,omitempty"`
	UpdatedVault    *bool  `json:"updated_vault,omitempty"`
	Reverted        *bool  `json:"reverted,omitempty"`
	// the thorchain height for which the outbound was scheduled
	OutboundHeight *int64 `json:"outbound_height,omitempty"`
}

TxDetailsResponse struct for TxDetailsResponse

func NewTxDetailsResponse

func NewTxDetailsResponse(tx ObservedTx, txs []ObservedTx, actions []TxOutItem, outTxs []Tx) *TxDetailsResponse

NewTxDetailsResponse instantiates a new TxDetailsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTxDetailsResponseWithDefaults

func NewTxDetailsResponseWithDefaults() *TxDetailsResponse

NewTxDetailsResponseWithDefaults instantiates a new TxDetailsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TxDetailsResponse) GetActions

func (o *TxDetailsResponse) GetActions() []TxOutItem

GetActions returns the Actions field value

func (*TxDetailsResponse) GetActionsOk

func (o *TxDetailsResponse) GetActionsOk() ([]TxOutItem, bool)

GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetConsensusHeight

func (o *TxDetailsResponse) GetConsensusHeight() int64

GetConsensusHeight returns the ConsensusHeight field value if set, zero value otherwise.

func (*TxDetailsResponse) GetConsensusHeightOk

func (o *TxDetailsResponse) GetConsensusHeightOk() (*int64, bool)

GetConsensusHeightOk returns a tuple with the ConsensusHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetFinalisedHeight

func (o *TxDetailsResponse) GetFinalisedHeight() int64

GetFinalisedHeight returns the FinalisedHeight field value if set, zero value otherwise.

func (*TxDetailsResponse) GetFinalisedHeightOk

func (o *TxDetailsResponse) GetFinalisedHeightOk() (*int64, bool)

GetFinalisedHeightOk returns a tuple with the FinalisedHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetOutTxs

func (o *TxDetailsResponse) GetOutTxs() []Tx

GetOutTxs returns the OutTxs field value

func (*TxDetailsResponse) GetOutTxsOk

func (o *TxDetailsResponse) GetOutTxsOk() ([]Tx, bool)

GetOutTxsOk returns a tuple with the OutTxs field value and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetOutboundHeight

func (o *TxDetailsResponse) GetOutboundHeight() int64

GetOutboundHeight returns the OutboundHeight field value if set, zero value otherwise.

func (*TxDetailsResponse) GetOutboundHeightOk

func (o *TxDetailsResponse) GetOutboundHeightOk() (*int64, bool)

GetOutboundHeightOk returns a tuple with the OutboundHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetReverted

func (o *TxDetailsResponse) GetReverted() bool

GetReverted returns the Reverted field value if set, zero value otherwise.

func (*TxDetailsResponse) GetRevertedOk

func (o *TxDetailsResponse) GetRevertedOk() (*bool, bool)

GetRevertedOk returns a tuple with the Reverted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetTx

func (o *TxDetailsResponse) GetTx() ObservedTx

GetTx returns the Tx field value

func (*TxDetailsResponse) GetTxId

func (o *TxDetailsResponse) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*TxDetailsResponse) GetTxIdOk

func (o *TxDetailsResponse) GetTxIdOk() (*string, bool)

GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetTxOk

func (o *TxDetailsResponse) GetTxOk() (*ObservedTx, bool)

GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetTxs

func (o *TxDetailsResponse) GetTxs() []ObservedTx

GetTxs returns the Txs field value

func (*TxDetailsResponse) GetTxsOk

func (o *TxDetailsResponse) GetTxsOk() ([]ObservedTx, bool)

GetTxsOk returns a tuple with the Txs field value and a boolean to check if the value has been set.

func (*TxDetailsResponse) GetUpdatedVault

func (o *TxDetailsResponse) GetUpdatedVault() bool

GetUpdatedVault returns the UpdatedVault field value if set, zero value otherwise.

func (*TxDetailsResponse) GetUpdatedVaultOk

func (o *TxDetailsResponse) GetUpdatedVaultOk() (*bool, bool)

GetUpdatedVaultOk returns a tuple with the UpdatedVault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxDetailsResponse) HasConsensusHeight

func (o *TxDetailsResponse) HasConsensusHeight() bool

HasConsensusHeight returns a boolean if a field has been set.

func (*TxDetailsResponse) HasFinalisedHeight

func (o *TxDetailsResponse) HasFinalisedHeight() bool

HasFinalisedHeight returns a boolean if a field has been set.

func (*TxDetailsResponse) HasOutboundHeight

func (o *TxDetailsResponse) HasOutboundHeight() bool

HasOutboundHeight returns a boolean if a field has been set.

func (*TxDetailsResponse) HasReverted

func (o *TxDetailsResponse) HasReverted() bool

HasReverted returns a boolean if a field has been set.

func (*TxDetailsResponse) HasTxId

func (o *TxDetailsResponse) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (*TxDetailsResponse) HasUpdatedVault

func (o *TxDetailsResponse) HasUpdatedVault() bool

HasUpdatedVault returns a boolean if a field has been set.

func (TxDetailsResponse) MarshalJSON_deprecated

func (o TxDetailsResponse) MarshalJSON_deprecated() ([]byte, error)

func (*TxDetailsResponse) SetActions

func (o *TxDetailsResponse) SetActions(v []TxOutItem)

SetActions sets field value

func (*TxDetailsResponse) SetConsensusHeight

func (o *TxDetailsResponse) SetConsensusHeight(v int64)

SetConsensusHeight gets a reference to the given int64 and assigns it to the ConsensusHeight field.

func (*TxDetailsResponse) SetFinalisedHeight

func (o *TxDetailsResponse) SetFinalisedHeight(v int64)

SetFinalisedHeight gets a reference to the given int64 and assigns it to the FinalisedHeight field.

func (*TxDetailsResponse) SetOutTxs

func (o *TxDetailsResponse) SetOutTxs(v []Tx)

SetOutTxs sets field value

func (*TxDetailsResponse) SetOutboundHeight

func (o *TxDetailsResponse) SetOutboundHeight(v int64)

SetOutboundHeight gets a reference to the given int64 and assigns it to the OutboundHeight field.

func (*TxDetailsResponse) SetReverted

func (o *TxDetailsResponse) SetReverted(v bool)

SetReverted gets a reference to the given bool and assigns it to the Reverted field.

func (*TxDetailsResponse) SetTx

func (o *TxDetailsResponse) SetTx(v ObservedTx)

SetTx sets field value

func (*TxDetailsResponse) SetTxId

func (o *TxDetailsResponse) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

func (*TxDetailsResponse) SetTxs

func (o *TxDetailsResponse) SetTxs(v []ObservedTx)

SetTxs sets field value

func (*TxDetailsResponse) SetUpdatedVault

func (o *TxDetailsResponse) SetUpdatedVault(v bool)

SetUpdatedVault gets a reference to the given bool and assigns it to the UpdatedVault field.

type TxOutItem

type TxOutItem struct {
	Chain       string  `json:"chain"`
	ToAddress   string  `json:"to_address"`
	VaultPubKey *string `json:"vault_pub_key,omitempty"`
	Coin        Coin    `json:"coin"`
	Memo        *string `json:"memo,omitempty"`
	MaxGas      []Coin  `json:"max_gas"`
	GasRate     *int64  `json:"gas_rate,omitempty"`
	InHash      *string `json:"in_hash,omitempty"`
	OutHash     *string `json:"out_hash,omitempty"`
	Height      *int64  `json:"height,omitempty"`
	// clout spent in RUNE for the outbound
	CloutSpent *string `json:"clout_spent,omitempty"`
}

TxOutItem struct for TxOutItem

func NewTxOutItem

func NewTxOutItem(chain string, toAddress string, coin Coin, maxGas []Coin) *TxOutItem

NewTxOutItem instantiates a new TxOutItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTxOutItemWithDefaults

func NewTxOutItemWithDefaults() *TxOutItem

NewTxOutItemWithDefaults instantiates a new TxOutItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TxOutItem) GetChain

func (o *TxOutItem) GetChain() string

GetChain returns the Chain field value

func (*TxOutItem) GetChainOk

func (o *TxOutItem) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value and a boolean to check if the value has been set.

func (*TxOutItem) GetCloutSpent

func (o *TxOutItem) GetCloutSpent() string

GetCloutSpent returns the CloutSpent field value if set, zero value otherwise.

func (*TxOutItem) GetCloutSpentOk

func (o *TxOutItem) GetCloutSpentOk() (*string, bool)

GetCloutSpentOk returns a tuple with the CloutSpent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxOutItem) GetCoin

func (o *TxOutItem) GetCoin() Coin

GetCoin returns the Coin field value

func (*TxOutItem) GetCoinOk

func (o *TxOutItem) GetCoinOk() (*Coin, bool)

GetCoinOk returns a tuple with the Coin field value and a boolean to check if the value has been set.

func (*TxOutItem) GetGasRate

func (o *TxOutItem) GetGasRate() int64

GetGasRate returns the GasRate field value if set, zero value otherwise.

func (*TxOutItem) GetGasRateOk

func (o *TxOutItem) GetGasRateOk() (*int64, bool)

GetGasRateOk returns a tuple with the GasRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxOutItem) GetHeight

func (o *TxOutItem) GetHeight() int64

GetHeight returns the Height field value if set, zero value otherwise.

func (*TxOutItem) GetHeightOk

func (o *TxOutItem) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxOutItem) GetInHash

func (o *TxOutItem) GetInHash() string

GetInHash returns the InHash field value if set, zero value otherwise.

func (*TxOutItem) GetInHashOk

func (o *TxOutItem) GetInHashOk() (*string, bool)

GetInHashOk returns a tuple with the InHash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxOutItem) GetMaxGas

func (o *TxOutItem) GetMaxGas() []Coin

GetMaxGas returns the MaxGas field value

func (*TxOutItem) GetMaxGasOk

func (o *TxOutItem) GetMaxGasOk() ([]Coin, bool)

GetMaxGasOk returns a tuple with the MaxGas field value and a boolean to check if the value has been set.

func (*TxOutItem) GetMemo

func (o *TxOutItem) GetMemo() string

GetMemo returns the Memo field value if set, zero value otherwise.

func (*TxOutItem) GetMemoOk

func (o *TxOutItem) GetMemoOk() (*string, bool)

GetMemoOk returns a tuple with the Memo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxOutItem) GetOutHash

func (o *TxOutItem) GetOutHash() string

GetOutHash returns the OutHash field value if set, zero value otherwise.

func (*TxOutItem) GetOutHashOk

func (o *TxOutItem) GetOutHashOk() (*string, bool)

GetOutHashOk returns a tuple with the OutHash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxOutItem) GetToAddress

func (o *TxOutItem) GetToAddress() string

GetToAddress returns the ToAddress field value

func (*TxOutItem) GetToAddressOk

func (o *TxOutItem) GetToAddressOk() (*string, bool)

GetToAddressOk returns a tuple with the ToAddress field value and a boolean to check if the value has been set.

func (*TxOutItem) GetVaultPubKey

func (o *TxOutItem) GetVaultPubKey() string

GetVaultPubKey returns the VaultPubKey field value if set, zero value otherwise.

func (*TxOutItem) GetVaultPubKeyOk

func (o *TxOutItem) GetVaultPubKeyOk() (*string, bool)

GetVaultPubKeyOk returns a tuple with the VaultPubKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxOutItem) HasCloutSpent

func (o *TxOutItem) HasCloutSpent() bool

HasCloutSpent returns a boolean if a field has been set.

func (*TxOutItem) HasGasRate

func (o *TxOutItem) HasGasRate() bool

HasGasRate returns a boolean if a field has been set.

func (*TxOutItem) HasHeight

func (o *TxOutItem) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*TxOutItem) HasInHash

func (o *TxOutItem) HasInHash() bool

HasInHash returns a boolean if a field has been set.

func (*TxOutItem) HasMemo

func (o *TxOutItem) HasMemo() bool

HasMemo returns a boolean if a field has been set.

func (*TxOutItem) HasOutHash

func (o *TxOutItem) HasOutHash() bool

HasOutHash returns a boolean if a field has been set.

func (*TxOutItem) HasVaultPubKey

func (o *TxOutItem) HasVaultPubKey() bool

HasVaultPubKey returns a boolean if a field has been set.

func (TxOutItem) MarshalJSON_deprecated

func (o TxOutItem) MarshalJSON_deprecated() ([]byte, error)

func (*TxOutItem) SetChain

func (o *TxOutItem) SetChain(v string)

SetChain sets field value

func (*TxOutItem) SetCloutSpent

func (o *TxOutItem) SetCloutSpent(v string)

SetCloutSpent gets a reference to the given string and assigns it to the CloutSpent field.

func (*TxOutItem) SetCoin

func (o *TxOutItem) SetCoin(v Coin)

SetCoin sets field value

func (*TxOutItem) SetGasRate

func (o *TxOutItem) SetGasRate(v int64)

SetGasRate gets a reference to the given int64 and assigns it to the GasRate field.

func (*TxOutItem) SetHeight

func (o *TxOutItem) SetHeight(v int64)

SetHeight gets a reference to the given int64 and assigns it to the Height field.

func (*TxOutItem) SetInHash

func (o *TxOutItem) SetInHash(v string)

SetInHash gets a reference to the given string and assigns it to the InHash field.

func (*TxOutItem) SetMaxGas

func (o *TxOutItem) SetMaxGas(v []Coin)

SetMaxGas sets field value

func (*TxOutItem) SetMemo

func (o *TxOutItem) SetMemo(v string)

SetMemo gets a reference to the given string and assigns it to the Memo field.

func (*TxOutItem) SetOutHash

func (o *TxOutItem) SetOutHash(v string)

SetOutHash gets a reference to the given string and assigns it to the OutHash field.

func (*TxOutItem) SetToAddress

func (o *TxOutItem) SetToAddress(v string)

SetToAddress sets field value

func (*TxOutItem) SetVaultPubKey

func (o *TxOutItem) SetVaultPubKey(v string)

SetVaultPubKey gets a reference to the given string and assigns it to the VaultPubKey field.

type TxResponse

type TxResponse struct {
	ObservedTx *ObservedTx `json:"observed_tx,omitempty"`
	// the thorchain height at which the inbound reached consensus
	ConsensusHeight *int64 `json:"consensus_height,omitempty"`
	// the thorchain height at which the outbound was finalised
	FinalisedHeight *int64 `json:"finalised_height,omitempty"`
	// the thorchain height for which the outbound was scheduled
	OutboundHeight *int64            `json:"outbound_height,omitempty"`
	KeysignMetric  *TssKeysignMetric `json:"keysign_metric,omitempty"`
}

TxResponse struct for TxResponse

func NewTxResponse

func NewTxResponse() *TxResponse

NewTxResponse instantiates a new TxResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTxResponseWithDefaults

func NewTxResponseWithDefaults() *TxResponse

NewTxResponseWithDefaults instantiates a new TxResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TxResponse) GetConsensusHeight

func (o *TxResponse) GetConsensusHeight() int64

GetConsensusHeight returns the ConsensusHeight field value if set, zero value otherwise.

func (*TxResponse) GetConsensusHeightOk

func (o *TxResponse) GetConsensusHeightOk() (*int64, bool)

GetConsensusHeightOk returns a tuple with the ConsensusHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxResponse) GetFinalisedHeight

func (o *TxResponse) GetFinalisedHeight() int64

GetFinalisedHeight returns the FinalisedHeight field value if set, zero value otherwise.

func (*TxResponse) GetFinalisedHeightOk

func (o *TxResponse) GetFinalisedHeightOk() (*int64, bool)

GetFinalisedHeightOk returns a tuple with the FinalisedHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxResponse) GetKeysignMetric

func (o *TxResponse) GetKeysignMetric() TssKeysignMetric

GetKeysignMetric returns the KeysignMetric field value if set, zero value otherwise.

func (*TxResponse) GetKeysignMetricOk

func (o *TxResponse) GetKeysignMetricOk() (*TssKeysignMetric, bool)

GetKeysignMetricOk returns a tuple with the KeysignMetric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxResponse) GetObservedTx

func (o *TxResponse) GetObservedTx() ObservedTx

GetObservedTx returns the ObservedTx field value if set, zero value otherwise.

func (*TxResponse) GetObservedTxOk

func (o *TxResponse) GetObservedTxOk() (*ObservedTx, bool)

GetObservedTxOk returns a tuple with the ObservedTx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxResponse) GetOutboundHeight

func (o *TxResponse) GetOutboundHeight() int64

GetOutboundHeight returns the OutboundHeight field value if set, zero value otherwise.

func (*TxResponse) GetOutboundHeightOk

func (o *TxResponse) GetOutboundHeightOk() (*int64, bool)

GetOutboundHeightOk returns a tuple with the OutboundHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxResponse) HasConsensusHeight

func (o *TxResponse) HasConsensusHeight() bool

HasConsensusHeight returns a boolean if a field has been set.

func (*TxResponse) HasFinalisedHeight

func (o *TxResponse) HasFinalisedHeight() bool

HasFinalisedHeight returns a boolean if a field has been set.

func (*TxResponse) HasKeysignMetric

func (o *TxResponse) HasKeysignMetric() bool

HasKeysignMetric returns a boolean if a field has been set.

func (*TxResponse) HasObservedTx

func (o *TxResponse) HasObservedTx() bool

HasObservedTx returns a boolean if a field has been set.

func (*TxResponse) HasOutboundHeight

func (o *TxResponse) HasOutboundHeight() bool

HasOutboundHeight returns a boolean if a field has been set.

func (TxResponse) MarshalJSON_deprecated

func (o TxResponse) MarshalJSON_deprecated() ([]byte, error)

func (*TxResponse) SetConsensusHeight

func (o *TxResponse) SetConsensusHeight(v int64)

SetConsensusHeight gets a reference to the given int64 and assigns it to the ConsensusHeight field.

func (*TxResponse) SetFinalisedHeight

func (o *TxResponse) SetFinalisedHeight(v int64)

SetFinalisedHeight gets a reference to the given int64 and assigns it to the FinalisedHeight field.

func (*TxResponse) SetKeysignMetric

func (o *TxResponse) SetKeysignMetric(v TssKeysignMetric)

SetKeysignMetric gets a reference to the given TssKeysignMetric and assigns it to the KeysignMetric field.

func (*TxResponse) SetObservedTx

func (o *TxResponse) SetObservedTx(v ObservedTx)

SetObservedTx gets a reference to the given ObservedTx and assigns it to the ObservedTx field.

func (*TxResponse) SetOutboundHeight

func (o *TxResponse) SetOutboundHeight(v int64)

SetOutboundHeight gets a reference to the given int64 and assigns it to the OutboundHeight field.

type TxSignersResponse

type TxSignersResponse struct {
	TxId    *string      `json:"tx_id,omitempty"`
	Tx      ObservedTx   `json:"tx"`
	Txs     []ObservedTx `json:"txs"`
	Actions []TxOutItem  `json:"actions"`
	OutTxs  []Tx         `json:"out_txs"`
	// the thorchain height at which the inbound reached consensus
	ConsensusHeight *int64 `json:"consensus_height,omitempty"`
	// the thorchain height at which the outbound was finalised
	FinalisedHeight *int64 `json:"finalised_height,omitempty"`
	UpdatedVault    *bool  `json:"updated_vault,omitempty"`
	Reverted        *bool  `json:"reverted,omitempty"`
	// the thorchain height for which the outbound was scheduled
	OutboundHeight *int64 `json:"outbound_height,omitempty"`
}

TxSignersResponse struct for TxSignersResponse

func NewTxSignersResponse

func NewTxSignersResponse(tx ObservedTx, txs []ObservedTx, actions []TxOutItem, outTxs []Tx) *TxSignersResponse

NewTxSignersResponse instantiates a new TxSignersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTxSignersResponseWithDefaults

func NewTxSignersResponseWithDefaults() *TxSignersResponse

NewTxSignersResponseWithDefaults instantiates a new TxSignersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TxSignersResponse) GetActions

func (o *TxSignersResponse) GetActions() []TxOutItem

GetActions returns the Actions field value

func (*TxSignersResponse) GetActionsOk

func (o *TxSignersResponse) GetActionsOk() ([]TxOutItem, bool)

GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.

func (*TxSignersResponse) GetConsensusHeight

func (o *TxSignersResponse) GetConsensusHeight() int64

GetConsensusHeight returns the ConsensusHeight field value if set, zero value otherwise.

func (*TxSignersResponse) GetConsensusHeightOk

func (o *TxSignersResponse) GetConsensusHeightOk() (*int64, bool)

GetConsensusHeightOk returns a tuple with the ConsensusHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxSignersResponse) GetFinalisedHeight

func (o *TxSignersResponse) GetFinalisedHeight() int64

GetFinalisedHeight returns the FinalisedHeight field value if set, zero value otherwise.

func (*TxSignersResponse) GetFinalisedHeightOk

func (o *TxSignersResponse) GetFinalisedHeightOk() (*int64, bool)

GetFinalisedHeightOk returns a tuple with the FinalisedHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxSignersResponse) GetOutTxs

func (o *TxSignersResponse) GetOutTxs() []Tx

GetOutTxs returns the OutTxs field value

func (*TxSignersResponse) GetOutTxsOk

func (o *TxSignersResponse) GetOutTxsOk() ([]Tx, bool)

GetOutTxsOk returns a tuple with the OutTxs field value and a boolean to check if the value has been set.

func (*TxSignersResponse) GetOutboundHeight

func (o *TxSignersResponse) GetOutboundHeight() int64

GetOutboundHeight returns the OutboundHeight field value if set, zero value otherwise.

func (*TxSignersResponse) GetOutboundHeightOk

func (o *TxSignersResponse) GetOutboundHeightOk() (*int64, bool)

GetOutboundHeightOk returns a tuple with the OutboundHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxSignersResponse) GetReverted

func (o *TxSignersResponse) GetReverted() bool

GetReverted returns the Reverted field value if set, zero value otherwise.

func (*TxSignersResponse) GetRevertedOk

func (o *TxSignersResponse) GetRevertedOk() (*bool, bool)

GetRevertedOk returns a tuple with the Reverted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxSignersResponse) GetTx

func (o *TxSignersResponse) GetTx() ObservedTx

GetTx returns the Tx field value

func (*TxSignersResponse) GetTxId

func (o *TxSignersResponse) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*TxSignersResponse) GetTxIdOk

func (o *TxSignersResponse) GetTxIdOk() (*string, bool)

GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxSignersResponse) GetTxOk

func (o *TxSignersResponse) GetTxOk() (*ObservedTx, bool)

GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.

func (*TxSignersResponse) GetTxs

func (o *TxSignersResponse) GetTxs() []ObservedTx

GetTxs returns the Txs field value

func (*TxSignersResponse) GetTxsOk

func (o *TxSignersResponse) GetTxsOk() ([]ObservedTx, bool)

GetTxsOk returns a tuple with the Txs field value and a boolean to check if the value has been set.

func (*TxSignersResponse) GetUpdatedVault

func (o *TxSignersResponse) GetUpdatedVault() bool

GetUpdatedVault returns the UpdatedVault field value if set, zero value otherwise.

func (*TxSignersResponse) GetUpdatedVaultOk

func (o *TxSignersResponse) GetUpdatedVaultOk() (*bool, bool)

GetUpdatedVaultOk returns a tuple with the UpdatedVault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxSignersResponse) HasConsensusHeight

func (o *TxSignersResponse) HasConsensusHeight() bool

HasConsensusHeight returns a boolean if a field has been set.

func (*TxSignersResponse) HasFinalisedHeight

func (o *TxSignersResponse) HasFinalisedHeight() bool

HasFinalisedHeight returns a boolean if a field has been set.

func (*TxSignersResponse) HasOutboundHeight

func (o *TxSignersResponse) HasOutboundHeight() bool

HasOutboundHeight returns a boolean if a field has been set.

func (*TxSignersResponse) HasReverted

func (o *TxSignersResponse) HasReverted() bool

HasReverted returns a boolean if a field has been set.

func (*TxSignersResponse) HasTxId

func (o *TxSignersResponse) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (*TxSignersResponse) HasUpdatedVault

func (o *TxSignersResponse) HasUpdatedVault() bool

HasUpdatedVault returns a boolean if a field has been set.

func (TxSignersResponse) MarshalJSON_deprecated

func (o TxSignersResponse) MarshalJSON_deprecated() ([]byte, error)

func (*TxSignersResponse) SetActions

func (o *TxSignersResponse) SetActions(v []TxOutItem)

SetActions sets field value

func (*TxSignersResponse) SetConsensusHeight

func (o *TxSignersResponse) SetConsensusHeight(v int64)

SetConsensusHeight gets a reference to the given int64 and assigns it to the ConsensusHeight field.

func (*TxSignersResponse) SetFinalisedHeight

func (o *TxSignersResponse) SetFinalisedHeight(v int64)

SetFinalisedHeight gets a reference to the given int64 and assigns it to the FinalisedHeight field.

func (*TxSignersResponse) SetOutTxs

func (o *TxSignersResponse) SetOutTxs(v []Tx)

SetOutTxs sets field value

func (*TxSignersResponse) SetOutboundHeight

func (o *TxSignersResponse) SetOutboundHeight(v int64)

SetOutboundHeight gets a reference to the given int64 and assigns it to the OutboundHeight field.

func (*TxSignersResponse) SetReverted

func (o *TxSignersResponse) SetReverted(v bool)

SetReverted gets a reference to the given bool and assigns it to the Reverted field.

func (*TxSignersResponse) SetTx

func (o *TxSignersResponse) SetTx(v ObservedTx)

SetTx sets field value

func (*TxSignersResponse) SetTxId

func (o *TxSignersResponse) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

func (*TxSignersResponse) SetTxs

func (o *TxSignersResponse) SetTxs(v []ObservedTx)

SetTxs sets field value

func (*TxSignersResponse) SetUpdatedVault

func (o *TxSignersResponse) SetUpdatedVault(v bool)

SetUpdatedVault gets a reference to the given bool and assigns it to the UpdatedVault field.

type TxStagesResponse

type TxStagesResponse struct {
	InboundObserved            InboundObservedStage             `json:"inbound_observed"`
	InboundConfirmationCounted *InboundConfirmationCountedStage `json:"inbound_confirmation_counted,omitempty"`
	InboundFinalised           *InboundFinalisedStage           `json:"inbound_finalised,omitempty"`
	SwapStatus                 *SwapStatus                      `json:"swap_status,omitempty"`
	SwapFinalised              *SwapFinalisedStage              `json:"swap_finalised,omitempty"`
	OutboundDelay              *OutboundDelayStage              `json:"outbound_delay,omitempty"`
	OutboundSigned             *OutboundSignedStage             `json:"outbound_signed,omitempty"`
}

TxStagesResponse struct for TxStagesResponse

func NewTxStagesResponse

func NewTxStagesResponse(inboundObserved InboundObservedStage) *TxStagesResponse

NewTxStagesResponse instantiates a new TxStagesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTxStagesResponseWithDefaults

func NewTxStagesResponseWithDefaults() *TxStagesResponse

NewTxStagesResponseWithDefaults instantiates a new TxStagesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TxStagesResponse) GetInboundConfirmationCounted

func (o *TxStagesResponse) GetInboundConfirmationCounted() InboundConfirmationCountedStage

GetInboundConfirmationCounted returns the InboundConfirmationCounted field value if set, zero value otherwise.

func (*TxStagesResponse) GetInboundConfirmationCountedOk

func (o *TxStagesResponse) GetInboundConfirmationCountedOk() (*InboundConfirmationCountedStage, bool)

GetInboundConfirmationCountedOk returns a tuple with the InboundConfirmationCounted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStagesResponse) GetInboundFinalised

func (o *TxStagesResponse) GetInboundFinalised() InboundFinalisedStage

GetInboundFinalised returns the InboundFinalised field value if set, zero value otherwise.

func (*TxStagesResponse) GetInboundFinalisedOk

func (o *TxStagesResponse) GetInboundFinalisedOk() (*InboundFinalisedStage, bool)

GetInboundFinalisedOk returns a tuple with the InboundFinalised field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStagesResponse) GetInboundObserved

func (o *TxStagesResponse) GetInboundObserved() InboundObservedStage

GetInboundObserved returns the InboundObserved field value

func (*TxStagesResponse) GetInboundObservedOk

func (o *TxStagesResponse) GetInboundObservedOk() (*InboundObservedStage, bool)

GetInboundObservedOk returns a tuple with the InboundObserved field value and a boolean to check if the value has been set.

func (*TxStagesResponse) GetOutboundDelay

func (o *TxStagesResponse) GetOutboundDelay() OutboundDelayStage

GetOutboundDelay returns the OutboundDelay field value if set, zero value otherwise.

func (*TxStagesResponse) GetOutboundDelayOk

func (o *TxStagesResponse) GetOutboundDelayOk() (*OutboundDelayStage, bool)

GetOutboundDelayOk returns a tuple with the OutboundDelay field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStagesResponse) GetOutboundSigned

func (o *TxStagesResponse) GetOutboundSigned() OutboundSignedStage

GetOutboundSigned returns the OutboundSigned field value if set, zero value otherwise.

func (*TxStagesResponse) GetOutboundSignedOk

func (o *TxStagesResponse) GetOutboundSignedOk() (*OutboundSignedStage, bool)

GetOutboundSignedOk returns a tuple with the OutboundSigned field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStagesResponse) GetSwapFinalised

func (o *TxStagesResponse) GetSwapFinalised() SwapFinalisedStage

GetSwapFinalised returns the SwapFinalised field value if set, zero value otherwise.

func (*TxStagesResponse) GetSwapFinalisedOk

func (o *TxStagesResponse) GetSwapFinalisedOk() (*SwapFinalisedStage, bool)

GetSwapFinalisedOk returns a tuple with the SwapFinalised field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStagesResponse) GetSwapStatus

func (o *TxStagesResponse) GetSwapStatus() SwapStatus

GetSwapStatus returns the SwapStatus field value if set, zero value otherwise.

func (*TxStagesResponse) GetSwapStatusOk

func (o *TxStagesResponse) GetSwapStatusOk() (*SwapStatus, bool)

GetSwapStatusOk returns a tuple with the SwapStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStagesResponse) HasInboundConfirmationCounted

func (o *TxStagesResponse) HasInboundConfirmationCounted() bool

HasInboundConfirmationCounted returns a boolean if a field has been set.

func (*TxStagesResponse) HasInboundFinalised

func (o *TxStagesResponse) HasInboundFinalised() bool

HasInboundFinalised returns a boolean if a field has been set.

func (*TxStagesResponse) HasOutboundDelay

func (o *TxStagesResponse) HasOutboundDelay() bool

HasOutboundDelay returns a boolean if a field has been set.

func (*TxStagesResponse) HasOutboundSigned

func (o *TxStagesResponse) HasOutboundSigned() bool

HasOutboundSigned returns a boolean if a field has been set.

func (*TxStagesResponse) HasSwapFinalised

func (o *TxStagesResponse) HasSwapFinalised() bool

HasSwapFinalised returns a boolean if a field has been set.

func (*TxStagesResponse) HasSwapStatus

func (o *TxStagesResponse) HasSwapStatus() bool

HasSwapStatus returns a boolean if a field has been set.

func (TxStagesResponse) MarshalJSON_deprecated

func (o TxStagesResponse) MarshalJSON_deprecated() ([]byte, error)

func (*TxStagesResponse) SetInboundConfirmationCounted

func (o *TxStagesResponse) SetInboundConfirmationCounted(v InboundConfirmationCountedStage)

SetInboundConfirmationCounted gets a reference to the given InboundConfirmationCountedStage and assigns it to the InboundConfirmationCounted field.

func (*TxStagesResponse) SetInboundFinalised

func (o *TxStagesResponse) SetInboundFinalised(v InboundFinalisedStage)

SetInboundFinalised gets a reference to the given InboundFinalisedStage and assigns it to the InboundFinalised field.

func (*TxStagesResponse) SetInboundObserved

func (o *TxStagesResponse) SetInboundObserved(v InboundObservedStage)

SetInboundObserved sets field value

func (*TxStagesResponse) SetOutboundDelay

func (o *TxStagesResponse) SetOutboundDelay(v OutboundDelayStage)

SetOutboundDelay gets a reference to the given OutboundDelayStage and assigns it to the OutboundDelay field.

func (*TxStagesResponse) SetOutboundSigned

func (o *TxStagesResponse) SetOutboundSigned(v OutboundSignedStage)

SetOutboundSigned gets a reference to the given OutboundSignedStage and assigns it to the OutboundSigned field.

func (*TxStagesResponse) SetSwapFinalised

func (o *TxStagesResponse) SetSwapFinalised(v SwapFinalisedStage)

SetSwapFinalised gets a reference to the given SwapFinalisedStage and assigns it to the SwapFinalised field.

func (*TxStagesResponse) SetSwapStatus

func (o *TxStagesResponse) SetSwapStatus(v SwapStatus)

SetSwapStatus gets a reference to the given SwapStatus and assigns it to the SwapStatus field.

type TxStatusResponse

type TxStatusResponse struct {
	Tx            *Tx              `json:"tx,omitempty"`
	PlannedOutTxs []PlannedOutTx   `json:"planned_out_txs,omitempty"`
	OutTxs        []Tx             `json:"out_txs,omitempty"`
	Stages        TxStagesResponse `json:"stages"`
}

TxStatusResponse struct for TxStatusResponse

func NewTxStatusResponse

func NewTxStatusResponse(stages TxStagesResponse) *TxStatusResponse

NewTxStatusResponse instantiates a new TxStatusResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTxStatusResponseWithDefaults

func NewTxStatusResponseWithDefaults() *TxStatusResponse

NewTxStatusResponseWithDefaults instantiates a new TxStatusResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TxStatusResponse) GetOutTxs

func (o *TxStatusResponse) GetOutTxs() []Tx

GetOutTxs returns the OutTxs field value if set, zero value otherwise.

func (*TxStatusResponse) GetOutTxsOk

func (o *TxStatusResponse) GetOutTxsOk() ([]Tx, bool)

GetOutTxsOk returns a tuple with the OutTxs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStatusResponse) GetPlannedOutTxs

func (o *TxStatusResponse) GetPlannedOutTxs() []PlannedOutTx

GetPlannedOutTxs returns the PlannedOutTxs field value if set, zero value otherwise.

func (*TxStatusResponse) GetPlannedOutTxsOk

func (o *TxStatusResponse) GetPlannedOutTxsOk() ([]PlannedOutTx, bool)

GetPlannedOutTxsOk returns a tuple with the PlannedOutTxs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStatusResponse) GetStages

func (o *TxStatusResponse) GetStages() TxStagesResponse

GetStages returns the Stages field value

func (*TxStatusResponse) GetStagesOk

func (o *TxStatusResponse) GetStagesOk() (*TxStagesResponse, bool)

GetStagesOk returns a tuple with the Stages field value and a boolean to check if the value has been set.

func (*TxStatusResponse) GetTx

func (o *TxStatusResponse) GetTx() Tx

GetTx returns the Tx field value if set, zero value otherwise.

func (*TxStatusResponse) GetTxOk

func (o *TxStatusResponse) GetTxOk() (*Tx, bool)

GetTxOk returns a tuple with the Tx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TxStatusResponse) HasOutTxs

func (o *TxStatusResponse) HasOutTxs() bool

HasOutTxs returns a boolean if a field has been set.

func (*TxStatusResponse) HasPlannedOutTxs

func (o *TxStatusResponse) HasPlannedOutTxs() bool

HasPlannedOutTxs returns a boolean if a field has been set.

func (*TxStatusResponse) HasTx

func (o *TxStatusResponse) HasTx() bool

HasTx returns a boolean if a field has been set.

func (TxStatusResponse) MarshalJSON_deprecated

func (o TxStatusResponse) MarshalJSON_deprecated() ([]byte, error)

func (*TxStatusResponse) SetOutTxs

func (o *TxStatusResponse) SetOutTxs(v []Tx)

SetOutTxs gets a reference to the given []Tx and assigns it to the OutTxs field.

func (*TxStatusResponse) SetPlannedOutTxs

func (o *TxStatusResponse) SetPlannedOutTxs(v []PlannedOutTx)

SetPlannedOutTxs gets a reference to the given []PlannedOutTx and assigns it to the PlannedOutTxs field.

func (*TxStatusResponse) SetStages

func (o *TxStatusResponse) SetStages(v TxStagesResponse)

SetStages sets field value

func (*TxStatusResponse) SetTx

func (o *TxStatusResponse) SetTx(v Tx)

SetTx gets a reference to the given Tx and assigns it to the Tx field.

type UpgradeProposal

type UpgradeProposal struct {
	// the name of the upgrade
	Name string `json:"name"`
	// the block height at which the upgrade will occur
	Height int64 `json:"height"`
	// the description of the upgrade, typically json with URLs to binaries for use with automation tools
	Info string `json:"info"`
	// whether the upgrade has been approved by the active validators
	Approved *bool `json:"approved,omitempty"`
	// the percentage of active validators that have approved the upgrade
	ApprovedPercent *string `json:"approved_percent,omitempty"`
	// the amount of additional active validators required to reach quorum for the upgrade
	ValidatorsToQuorum *int64 `json:"validators_to_quorum,omitempty"`
}

UpgradeProposal struct for UpgradeProposal

func NewUpgradeProposal

func NewUpgradeProposal(name string, height int64, info string) *UpgradeProposal

NewUpgradeProposal instantiates a new UpgradeProposal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpgradeProposalWithDefaults

func NewUpgradeProposalWithDefaults() *UpgradeProposal

NewUpgradeProposalWithDefaults instantiates a new UpgradeProposal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpgradeProposal) GetApproved

func (o *UpgradeProposal) GetApproved() bool

GetApproved returns the Approved field value if set, zero value otherwise.

func (*UpgradeProposal) GetApprovedOk

func (o *UpgradeProposal) GetApprovedOk() (*bool, bool)

GetApprovedOk returns a tuple with the Approved field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpgradeProposal) GetApprovedPercent

func (o *UpgradeProposal) GetApprovedPercent() string

GetApprovedPercent returns the ApprovedPercent field value if set, zero value otherwise.

func (*UpgradeProposal) GetApprovedPercentOk

func (o *UpgradeProposal) GetApprovedPercentOk() (*string, bool)

GetApprovedPercentOk returns a tuple with the ApprovedPercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpgradeProposal) GetHeight

func (o *UpgradeProposal) GetHeight() int64

GetHeight returns the Height field value

func (*UpgradeProposal) GetHeightOk

func (o *UpgradeProposal) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.

func (*UpgradeProposal) GetInfo

func (o *UpgradeProposal) GetInfo() string

GetInfo returns the Info field value

func (*UpgradeProposal) GetInfoOk

func (o *UpgradeProposal) GetInfoOk() (*string, bool)

GetInfoOk returns a tuple with the Info field value and a boolean to check if the value has been set.

func (*UpgradeProposal) GetName

func (o *UpgradeProposal) GetName() string

GetName returns the Name field value

func (*UpgradeProposal) GetNameOk

func (o *UpgradeProposal) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpgradeProposal) GetValidatorsToQuorum

func (o *UpgradeProposal) GetValidatorsToQuorum() int64

GetValidatorsToQuorum returns the ValidatorsToQuorum field value if set, zero value otherwise.

func (*UpgradeProposal) GetValidatorsToQuorumOk

func (o *UpgradeProposal) GetValidatorsToQuorumOk() (*int64, bool)

GetValidatorsToQuorumOk returns a tuple with the ValidatorsToQuorum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpgradeProposal) HasApproved

func (o *UpgradeProposal) HasApproved() bool

HasApproved returns a boolean if a field has been set.

func (*UpgradeProposal) HasApprovedPercent

func (o *UpgradeProposal) HasApprovedPercent() bool

HasApprovedPercent returns a boolean if a field has been set.

func (*UpgradeProposal) HasValidatorsToQuorum

func (o *UpgradeProposal) HasValidatorsToQuorum() bool

HasValidatorsToQuorum returns a boolean if a field has been set.

func (UpgradeProposal) MarshalJSON_deprecated

func (o UpgradeProposal) MarshalJSON_deprecated() ([]byte, error)

func (*UpgradeProposal) SetApproved

func (o *UpgradeProposal) SetApproved(v bool)

SetApproved gets a reference to the given bool and assigns it to the Approved field.

func (*UpgradeProposal) SetApprovedPercent

func (o *UpgradeProposal) SetApprovedPercent(v string)

SetApprovedPercent gets a reference to the given string and assigns it to the ApprovedPercent field.

func (*UpgradeProposal) SetHeight

func (o *UpgradeProposal) SetHeight(v int64)

SetHeight sets field value

func (*UpgradeProposal) SetInfo

func (o *UpgradeProposal) SetInfo(v string)

SetInfo sets field value

func (*UpgradeProposal) SetName

func (o *UpgradeProposal) SetName(v string)

SetName sets field value

func (*UpgradeProposal) SetValidatorsToQuorum

func (o *UpgradeProposal) SetValidatorsToQuorum(v int64)

SetValidatorsToQuorum gets a reference to the given int64 and assigns it to the ValidatorsToQuorum field.

type UpgradeVote

type UpgradeVote struct {
	// the node address of the voter
	NodeAddress string `json:"node_address"`
	// the vote cast by the node
	Vote string `json:"vote"`
}

UpgradeVote struct for UpgradeVote

func NewUpgradeVote

func NewUpgradeVote(nodeAddress string, vote string) *UpgradeVote

NewUpgradeVote instantiates a new UpgradeVote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpgradeVoteWithDefaults

func NewUpgradeVoteWithDefaults() *UpgradeVote

NewUpgradeVoteWithDefaults instantiates a new UpgradeVote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpgradeVote) GetNodeAddress

func (o *UpgradeVote) GetNodeAddress() string

GetNodeAddress returns the NodeAddress field value

func (*UpgradeVote) GetNodeAddressOk

func (o *UpgradeVote) GetNodeAddressOk() (*string, bool)

GetNodeAddressOk returns a tuple with the NodeAddress field value and a boolean to check if the value has been set.

func (*UpgradeVote) GetVote

func (o *UpgradeVote) GetVote() string

GetVote returns the Vote field value

func (*UpgradeVote) GetVoteOk

func (o *UpgradeVote) GetVoteOk() (*string, bool)

GetVoteOk returns a tuple with the Vote field value and a boolean to check if the value has been set.

func (UpgradeVote) MarshalJSON_deprecated

func (o UpgradeVote) MarshalJSON_deprecated() ([]byte, error)

func (*UpgradeVote) SetNodeAddress

func (o *UpgradeVote) SetNodeAddress(v string)

SetNodeAddress sets field value

func (*UpgradeVote) SetVote

func (o *UpgradeVote) SetVote(v string)

SetVote sets field value

type Vault

type Vault struct {
	BlockHeight *int64  `json:"block_height,omitempty"`
	PubKey      *string `json:"pub_key,omitempty"`
	Coins       []Coin  `json:"coins"`
	Type        *string `json:"type,omitempty"`
	Status      string  `json:"status"`
	StatusSince *int64  `json:"status_since,omitempty"`
	// the list of node public keys which are members of the vault
	Membership            []string       `json:"membership,omitempty"`
	Chains                []string       `json:"chains,omitempty"`
	InboundTxCount        *int64         `json:"inbound_tx_count,omitempty"`
	OutboundTxCount       *int64         `json:"outbound_tx_count,omitempty"`
	PendingTxBlockHeights []int64        `json:"pending_tx_block_heights,omitempty"`
	Routers               []VaultRouter  `json:"routers"`
	Addresses             []VaultAddress `json:"addresses"`
	Frozen                []string       `json:"frozen,omitempty"`
}

Vault struct for Vault

func NewVault

func NewVault(coins []Coin, status string, routers []VaultRouter, addresses []VaultAddress) *Vault

NewVault instantiates a new Vault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVaultWithDefaults

func NewVaultWithDefaults() *Vault

NewVaultWithDefaults instantiates a new Vault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Vault) GetAddresses

func (o *Vault) GetAddresses() []VaultAddress

GetAddresses returns the Addresses field value

func (*Vault) GetAddressesOk

func (o *Vault) GetAddressesOk() ([]VaultAddress, bool)

GetAddressesOk returns a tuple with the Addresses field value and a boolean to check if the value has been set.

func (*Vault) GetBlockHeight

func (o *Vault) GetBlockHeight() int64

GetBlockHeight returns the BlockHeight field value if set, zero value otherwise.

func (*Vault) GetBlockHeightOk

func (o *Vault) GetBlockHeightOk() (*int64, bool)

GetBlockHeightOk returns a tuple with the BlockHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetChains

func (o *Vault) GetChains() []string

GetChains returns the Chains field value if set, zero value otherwise.

func (*Vault) GetChainsOk

func (o *Vault) GetChainsOk() ([]string, bool)

GetChainsOk returns a tuple with the Chains field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetCoins

func (o *Vault) GetCoins() []Coin

GetCoins returns the Coins field value

func (*Vault) GetCoinsOk

func (o *Vault) GetCoinsOk() ([]Coin, bool)

GetCoinsOk returns a tuple with the Coins field value and a boolean to check if the value has been set.

func (*Vault) GetFrozen

func (o *Vault) GetFrozen() []string

GetFrozen returns the Frozen field value if set, zero value otherwise.

func (*Vault) GetFrozenOk

func (o *Vault) GetFrozenOk() ([]string, bool)

GetFrozenOk returns a tuple with the Frozen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetInboundTxCount

func (o *Vault) GetInboundTxCount() int64

GetInboundTxCount returns the InboundTxCount field value if set, zero value otherwise.

func (*Vault) GetInboundTxCountOk

func (o *Vault) GetInboundTxCountOk() (*int64, bool)

GetInboundTxCountOk returns a tuple with the InboundTxCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetMembership

func (o *Vault) GetMembership() []string

GetMembership returns the Membership field value if set, zero value otherwise.

func (*Vault) GetMembershipOk

func (o *Vault) GetMembershipOk() ([]string, bool)

GetMembershipOk returns a tuple with the Membership field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetOutboundTxCount

func (o *Vault) GetOutboundTxCount() int64

GetOutboundTxCount returns the OutboundTxCount field value if set, zero value otherwise.

func (*Vault) GetOutboundTxCountOk

func (o *Vault) GetOutboundTxCountOk() (*int64, bool)

GetOutboundTxCountOk returns a tuple with the OutboundTxCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetPendingTxBlockHeights

func (o *Vault) GetPendingTxBlockHeights() []int64

GetPendingTxBlockHeights returns the PendingTxBlockHeights field value if set, zero value otherwise.

func (*Vault) GetPendingTxBlockHeightsOk

func (o *Vault) GetPendingTxBlockHeightsOk() ([]int64, bool)

GetPendingTxBlockHeightsOk returns a tuple with the PendingTxBlockHeights field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetPubKey

func (o *Vault) GetPubKey() string

GetPubKey returns the PubKey field value if set, zero value otherwise.

func (*Vault) GetPubKeyOk

func (o *Vault) GetPubKeyOk() (*string, bool)

GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetRouters

func (o *Vault) GetRouters() []VaultRouter

GetRouters returns the Routers field value

func (*Vault) GetRoutersOk

func (o *Vault) GetRoutersOk() ([]VaultRouter, bool)

GetRoutersOk returns a tuple with the Routers field value and a boolean to check if the value has been set.

func (*Vault) GetStatus

func (o *Vault) GetStatus() string

GetStatus returns the Status field value

func (*Vault) GetStatusOk

func (o *Vault) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Vault) GetStatusSince

func (o *Vault) GetStatusSince() int64

GetStatusSince returns the StatusSince field value if set, zero value otherwise.

func (*Vault) GetStatusSinceOk

func (o *Vault) GetStatusSinceOk() (*int64, bool)

GetStatusSinceOk returns a tuple with the StatusSince field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) GetType

func (o *Vault) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Vault) GetTypeOk

func (o *Vault) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vault) HasBlockHeight

func (o *Vault) HasBlockHeight() bool

HasBlockHeight returns a boolean if a field has been set.

func (*Vault) HasChains

func (o *Vault) HasChains() bool

HasChains returns a boolean if a field has been set.

func (*Vault) HasFrozen

func (o *Vault) HasFrozen() bool

HasFrozen returns a boolean if a field has been set.

func (*Vault) HasInboundTxCount

func (o *Vault) HasInboundTxCount() bool

HasInboundTxCount returns a boolean if a field has been set.

func (*Vault) HasMembership

func (o *Vault) HasMembership() bool

HasMembership returns a boolean if a field has been set.

func (*Vault) HasOutboundTxCount

func (o *Vault) HasOutboundTxCount() bool

HasOutboundTxCount returns a boolean if a field has been set.

func (*Vault) HasPendingTxBlockHeights

func (o *Vault) HasPendingTxBlockHeights() bool

HasPendingTxBlockHeights returns a boolean if a field has been set.

func (*Vault) HasPubKey

func (o *Vault) HasPubKey() bool

HasPubKey returns a boolean if a field has been set.

func (*Vault) HasStatusSince

func (o *Vault) HasStatusSince() bool

HasStatusSince returns a boolean if a field has been set.

func (*Vault) HasType

func (o *Vault) HasType() bool

HasType returns a boolean if a field has been set.

func (Vault) MarshalJSON_deprecated

func (o Vault) MarshalJSON_deprecated() ([]byte, error)

func (*Vault) SetAddresses

func (o *Vault) SetAddresses(v []VaultAddress)

SetAddresses sets field value

func (*Vault) SetBlockHeight

func (o *Vault) SetBlockHeight(v int64)

SetBlockHeight gets a reference to the given int64 and assigns it to the BlockHeight field.

func (*Vault) SetChains

func (o *Vault) SetChains(v []string)

SetChains gets a reference to the given []string and assigns it to the Chains field.

func (*Vault) SetCoins

func (o *Vault) SetCoins(v []Coin)

SetCoins sets field value

func (*Vault) SetFrozen

func (o *Vault) SetFrozen(v []string)

SetFrozen gets a reference to the given []string and assigns it to the Frozen field.

func (*Vault) SetInboundTxCount

func (o *Vault) SetInboundTxCount(v int64)

SetInboundTxCount gets a reference to the given int64 and assigns it to the InboundTxCount field.

func (*Vault) SetMembership

func (o *Vault) SetMembership(v []string)

SetMembership gets a reference to the given []string and assigns it to the Membership field.

func (*Vault) SetOutboundTxCount

func (o *Vault) SetOutboundTxCount(v int64)

SetOutboundTxCount gets a reference to the given int64 and assigns it to the OutboundTxCount field.

func (*Vault) SetPendingTxBlockHeights

func (o *Vault) SetPendingTxBlockHeights(v []int64)

SetPendingTxBlockHeights gets a reference to the given []int64 and assigns it to the PendingTxBlockHeights field.

func (*Vault) SetPubKey

func (o *Vault) SetPubKey(v string)

SetPubKey gets a reference to the given string and assigns it to the PubKey field.

func (*Vault) SetRouters

func (o *Vault) SetRouters(v []VaultRouter)

SetRouters sets field value

func (*Vault) SetStatus

func (o *Vault) SetStatus(v string)

SetStatus sets field value

func (*Vault) SetStatusSince

func (o *Vault) SetStatusSince(v int64)

SetStatusSince gets a reference to the given int64 and assigns it to the StatusSince field.

func (*Vault) SetType

func (o *Vault) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type VaultAddress

type VaultAddress struct {
	Chain   string `json:"chain"`
	Address string `json:"address"`
}

VaultAddress struct for VaultAddress

func NewVaultAddress

func NewVaultAddress(chain string, address string) *VaultAddress

NewVaultAddress instantiates a new VaultAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVaultAddressWithDefaults

func NewVaultAddressWithDefaults() *VaultAddress

NewVaultAddressWithDefaults instantiates a new VaultAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VaultAddress) GetAddress

func (o *VaultAddress) GetAddress() string

GetAddress returns the Address field value

func (*VaultAddress) GetAddressOk

func (o *VaultAddress) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*VaultAddress) GetChain

func (o *VaultAddress) GetChain() string

GetChain returns the Chain field value

func (*VaultAddress) GetChainOk

func (o *VaultAddress) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value and a boolean to check if the value has been set.

func (VaultAddress) MarshalJSON_deprecated

func (o VaultAddress) MarshalJSON_deprecated() ([]byte, error)

func (*VaultAddress) SetAddress

func (o *VaultAddress) SetAddress(v string)

SetAddress sets field value

func (*VaultAddress) SetChain

func (o *VaultAddress) SetChain(v string)

SetChain sets field value

type VaultInfo

type VaultInfo struct {
	PubKey  string        `json:"pub_key"`
	Routers []VaultRouter `json:"routers"`
}

VaultInfo struct for VaultInfo

func NewVaultInfo

func NewVaultInfo(pubKey string, routers []VaultRouter) *VaultInfo

NewVaultInfo instantiates a new VaultInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVaultInfoWithDefaults

func NewVaultInfoWithDefaults() *VaultInfo

NewVaultInfoWithDefaults instantiates a new VaultInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VaultInfo) GetPubKey

func (o *VaultInfo) GetPubKey() string

GetPubKey returns the PubKey field value

func (*VaultInfo) GetPubKeyOk

func (o *VaultInfo) GetPubKeyOk() (*string, bool)

GetPubKeyOk returns a tuple with the PubKey field value and a boolean to check if the value has been set.

func (*VaultInfo) GetRouters

func (o *VaultInfo) GetRouters() []VaultRouter

GetRouters returns the Routers field value

func (*VaultInfo) GetRoutersOk

func (o *VaultInfo) GetRoutersOk() ([]VaultRouter, bool)

GetRoutersOk returns a tuple with the Routers field value and a boolean to check if the value has been set.

func (VaultInfo) MarshalJSON_deprecated

func (o VaultInfo) MarshalJSON_deprecated() ([]byte, error)

func (*VaultInfo) SetPubKey

func (o *VaultInfo) SetPubKey(v string)

SetPubKey sets field value

func (*VaultInfo) SetRouters

func (o *VaultInfo) SetRouters(v []VaultRouter)

SetRouters sets field value

type VaultPubkeysResponse

type VaultPubkeysResponse struct {
	Asgard    []VaultInfo `json:"asgard"`
	Yggdrasil []VaultInfo `json:"yggdrasil"`
	Inactive  []VaultInfo `json:"inactive"`
}

VaultPubkeysResponse struct for VaultPubkeysResponse

func NewVaultPubkeysResponse

func NewVaultPubkeysResponse(asgard []VaultInfo, yggdrasil []VaultInfo, inactive []VaultInfo) *VaultPubkeysResponse

NewVaultPubkeysResponse instantiates a new VaultPubkeysResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVaultPubkeysResponseWithDefaults

func NewVaultPubkeysResponseWithDefaults() *VaultPubkeysResponse

NewVaultPubkeysResponseWithDefaults instantiates a new VaultPubkeysResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VaultPubkeysResponse) GetAsgard

func (o *VaultPubkeysResponse) GetAsgard() []VaultInfo

GetAsgard returns the Asgard field value

func (*VaultPubkeysResponse) GetAsgardOk

func (o *VaultPubkeysResponse) GetAsgardOk() ([]VaultInfo, bool)

GetAsgardOk returns a tuple with the Asgard field value and a boolean to check if the value has been set.

func (*VaultPubkeysResponse) GetInactive

func (o *VaultPubkeysResponse) GetInactive() []VaultInfo

GetInactive returns the Inactive field value

func (*VaultPubkeysResponse) GetInactiveOk

func (o *VaultPubkeysResponse) GetInactiveOk() ([]VaultInfo, bool)

GetInactiveOk returns a tuple with the Inactive field value and a boolean to check if the value has been set.

func (*VaultPubkeysResponse) GetYggdrasil

func (o *VaultPubkeysResponse) GetYggdrasil() []VaultInfo

GetYggdrasil returns the Yggdrasil field value

func (*VaultPubkeysResponse) GetYggdrasilOk

func (o *VaultPubkeysResponse) GetYggdrasilOk() ([]VaultInfo, bool)

GetYggdrasilOk returns a tuple with the Yggdrasil field value and a boolean to check if the value has been set.

func (VaultPubkeysResponse) MarshalJSON_deprecated

func (o VaultPubkeysResponse) MarshalJSON_deprecated() ([]byte, error)

func (*VaultPubkeysResponse) SetAsgard

func (o *VaultPubkeysResponse) SetAsgard(v []VaultInfo)

SetAsgard sets field value

func (*VaultPubkeysResponse) SetInactive

func (o *VaultPubkeysResponse) SetInactive(v []VaultInfo)

SetInactive sets field value

func (*VaultPubkeysResponse) SetYggdrasil

func (o *VaultPubkeysResponse) SetYggdrasil(v []VaultInfo)

SetYggdrasil sets field value

type VaultRouter

type VaultRouter struct {
	Chain  *string `json:"chain,omitempty"`
	Router *string `json:"router,omitempty"`
}

VaultRouter struct for VaultRouter

func NewVaultRouter

func NewVaultRouter() *VaultRouter

NewVaultRouter instantiates a new VaultRouter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVaultRouterWithDefaults

func NewVaultRouterWithDefaults() *VaultRouter

NewVaultRouterWithDefaults instantiates a new VaultRouter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VaultRouter) GetChain

func (o *VaultRouter) GetChain() string

GetChain returns the Chain field value if set, zero value otherwise.

func (*VaultRouter) GetChainOk

func (o *VaultRouter) GetChainOk() (*string, bool)

GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VaultRouter) GetRouter

func (o *VaultRouter) GetRouter() string

GetRouter returns the Router field value if set, zero value otherwise.

func (*VaultRouter) GetRouterOk

func (o *VaultRouter) GetRouterOk() (*string, bool)

GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VaultRouter) HasChain

func (o *VaultRouter) HasChain() bool

HasChain returns a boolean if a field has been set.

func (*VaultRouter) HasRouter

func (o *VaultRouter) HasRouter() bool

HasRouter returns a boolean if a field has been set.

func (VaultRouter) MarshalJSON_deprecated

func (o VaultRouter) MarshalJSON_deprecated() ([]byte, error)

func (*VaultRouter) SetChain

func (o *VaultRouter) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

func (*VaultRouter) SetRouter

func (o *VaultRouter) SetRouter(v string)

SetRouter gets a reference to the given string and assigns it to the Router field.

type VaultsApiService

type VaultsApiService service

VaultsApiService VaultsApi service

func (*VaultsApiService) Asgard

Asgard Method for Asgard

Returns current asgard vaults.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAsgardRequest

func (*VaultsApiService) AsgardExecute

func (a *VaultsApiService) AsgardExecute(r ApiAsgardRequest) ([]Vault, *http.Response, error)

Execute executes the request

@return []Vault

func (*VaultsApiService) Vault

func (a *VaultsApiService) Vault(ctx context.Context, pubkey string) ApiVaultRequest

Vault Method for Vault

Returns the vault for the provided pubkey.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pubkey
@return ApiVaultRequest

func (*VaultsApiService) VaultExecute

func (a *VaultsApiService) VaultExecute(r ApiVaultRequest) (*Vault, *http.Response, error)

Execute executes the request

@return Vault

func (*VaultsApiService) VaultPubkeys

VaultPubkeys Method for VaultPubkeys

Returns all pubkeys for current vaults.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiVaultPubkeysRequest

func (*VaultsApiService) VaultPubkeysExecute

Execute executes the request

@return VaultPubkeysResponse

func (*VaultsApiService) Yggdrasil

Yggdrasil Method for Yggdrasil

Returns current yggdrasil vaults.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiYggdrasilRequest

func (*VaultsApiService) YggdrasilExecute

func (a *VaultsApiService) YggdrasilExecute(r ApiYggdrasilRequest) ([]YggdrasilVault, *http.Response, error)

Execute executes the request

@return []YggdrasilVault

type VersionResponse

type VersionResponse struct {
	// current version
	Current string `json:"current"`
	// next version (minimum version for a node to become Active)
	Next string `json:"next"`
	// height at which the minimum joining version last changed
	NextSinceHeight *int64 `json:"next_since_height,omitempty"`
	// querier version
	Querier string `json:"querier"`
}

VersionResponse struct for VersionResponse

func NewVersionResponse

func NewVersionResponse(current string, next string, querier string) *VersionResponse

NewVersionResponse instantiates a new VersionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionResponseWithDefaults

func NewVersionResponseWithDefaults() *VersionResponse

NewVersionResponseWithDefaults instantiates a new VersionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionResponse) GetCurrent

func (o *VersionResponse) GetCurrent() string

GetCurrent returns the Current field value

func (*VersionResponse) GetCurrentOk

func (o *VersionResponse) GetCurrentOk() (*string, bool)

GetCurrentOk returns a tuple with the Current field value and a boolean to check if the value has been set.

func (*VersionResponse) GetNext

func (o *VersionResponse) GetNext() string

GetNext returns the Next field value

func (*VersionResponse) GetNextOk

func (o *VersionResponse) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set.

func (*VersionResponse) GetNextSinceHeight

func (o *VersionResponse) GetNextSinceHeight() int64

GetNextSinceHeight returns the NextSinceHeight field value if set, zero value otherwise.

func (*VersionResponse) GetNextSinceHeightOk

func (o *VersionResponse) GetNextSinceHeightOk() (*int64, bool)

GetNextSinceHeightOk returns a tuple with the NextSinceHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionResponse) GetQuerier

func (o *VersionResponse) GetQuerier() string

GetQuerier returns the Querier field value

func (*VersionResponse) GetQuerierOk

func (o *VersionResponse) GetQuerierOk() (*string, bool)

GetQuerierOk returns a tuple with the Querier field value and a boolean to check if the value has been set.

func (*VersionResponse) HasNextSinceHeight

func (o *VersionResponse) HasNextSinceHeight() bool

HasNextSinceHeight returns a boolean if a field has been set.

func (VersionResponse) MarshalJSON_deprecated

func (o VersionResponse) MarshalJSON_deprecated() ([]byte, error)

func (*VersionResponse) SetCurrent

func (o *VersionResponse) SetCurrent(v string)

SetCurrent sets field value

func (*VersionResponse) SetNext

func (o *VersionResponse) SetNext(v string)

SetNext sets field value

func (*VersionResponse) SetNextSinceHeight

func (o *VersionResponse) SetNextSinceHeight(v int64)

SetNextSinceHeight gets a reference to the given int64 and assigns it to the NextSinceHeight field.

func (*VersionResponse) SetQuerier

func (o *VersionResponse) SetQuerier(v string)

SetQuerier sets field value

type YggdrasilVault

type YggdrasilVault struct {
	BlockHeight *int64  `json:"block_height,omitempty"`
	PubKey      *string `json:"pub_key,omitempty"`
	Coins       []Coin  `json:"coins"`
	Type        *string `json:"type,omitempty"`
	StatusSince *int64  `json:"status_since,omitempty"`
	// the list of node public keys which are members of the vault
	Membership            []string      `json:"membership,omitempty"`
	Chains                []string      `json:"chains,omitempty"`
	InboundTxCount        *int64        `json:"inbound_tx_count,omitempty"`
	OutboundTxCount       *int64        `json:"outbound_tx_count,omitempty"`
	PendingTxBlockHeights []int64       `json:"pending_tx_block_heights,omitempty"`
	Routers               []VaultRouter `json:"routers"`
	Status                string        `json:"status"`
	// current node bond
	Bond string `json:"bond"`
	// value in rune of the vault's assets
	TotalValue string         `json:"total_value"`
	Addresses  []VaultAddress `json:"addresses"`
}

YggdrasilVault struct for YggdrasilVault

func NewYggdrasilVault

func NewYggdrasilVault(coins []Coin, routers []VaultRouter, status string, bond string, totalValue string, addresses []VaultAddress) *YggdrasilVault

NewYggdrasilVault instantiates a new YggdrasilVault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewYggdrasilVaultWithDefaults

func NewYggdrasilVaultWithDefaults() *YggdrasilVault

NewYggdrasilVaultWithDefaults instantiates a new YggdrasilVault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*YggdrasilVault) GetAddresses

func (o *YggdrasilVault) GetAddresses() []VaultAddress

GetAddresses returns the Addresses field value

func (*YggdrasilVault) GetAddressesOk

func (o *YggdrasilVault) GetAddressesOk() ([]VaultAddress, bool)

GetAddressesOk returns a tuple with the Addresses field value and a boolean to check if the value has been set.

func (*YggdrasilVault) GetBlockHeight

func (o *YggdrasilVault) GetBlockHeight() int64

GetBlockHeight returns the BlockHeight field value if set, zero value otherwise.

func (*YggdrasilVault) GetBlockHeightOk

func (o *YggdrasilVault) GetBlockHeightOk() (*int64, bool)

GetBlockHeightOk returns a tuple with the BlockHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) GetBond

func (o *YggdrasilVault) GetBond() string

GetBond returns the Bond field value

func (*YggdrasilVault) GetBondOk

func (o *YggdrasilVault) GetBondOk() (*string, bool)

GetBondOk returns a tuple with the Bond field value and a boolean to check if the value has been set.

func (*YggdrasilVault) GetChains

func (o *YggdrasilVault) GetChains() []string

GetChains returns the Chains field value if set, zero value otherwise.

func (*YggdrasilVault) GetChainsOk

func (o *YggdrasilVault) GetChainsOk() ([]string, bool)

GetChainsOk returns a tuple with the Chains field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) GetCoins

func (o *YggdrasilVault) GetCoins() []Coin

GetCoins returns the Coins field value

func (*YggdrasilVault) GetCoinsOk

func (o *YggdrasilVault) GetCoinsOk() ([]Coin, bool)

GetCoinsOk returns a tuple with the Coins field value and a boolean to check if the value has been set.

func (*YggdrasilVault) GetInboundTxCount

func (o *YggdrasilVault) GetInboundTxCount() int64

GetInboundTxCount returns the InboundTxCount field value if set, zero value otherwise.

func (*YggdrasilVault) GetInboundTxCountOk

func (o *YggdrasilVault) GetInboundTxCountOk() (*int64, bool)

GetInboundTxCountOk returns a tuple with the InboundTxCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) GetMembership

func (o *YggdrasilVault) GetMembership() []string

GetMembership returns the Membership field value if set, zero value otherwise.

func (*YggdrasilVault) GetMembershipOk

func (o *YggdrasilVault) GetMembershipOk() ([]string, bool)

GetMembershipOk returns a tuple with the Membership field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) GetOutboundTxCount

func (o *YggdrasilVault) GetOutboundTxCount() int64

GetOutboundTxCount returns the OutboundTxCount field value if set, zero value otherwise.

func (*YggdrasilVault) GetOutboundTxCountOk

func (o *YggdrasilVault) GetOutboundTxCountOk() (*int64, bool)

GetOutboundTxCountOk returns a tuple with the OutboundTxCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) GetPendingTxBlockHeights

func (o *YggdrasilVault) GetPendingTxBlockHeights() []int64

GetPendingTxBlockHeights returns the PendingTxBlockHeights field value if set, zero value otherwise.

func (*YggdrasilVault) GetPendingTxBlockHeightsOk

func (o *YggdrasilVault) GetPendingTxBlockHeightsOk() ([]int64, bool)

GetPendingTxBlockHeightsOk returns a tuple with the PendingTxBlockHeights field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) GetPubKey

func (o *YggdrasilVault) GetPubKey() string

GetPubKey returns the PubKey field value if set, zero value otherwise.

func (*YggdrasilVault) GetPubKeyOk

func (o *YggdrasilVault) GetPubKeyOk() (*string, bool)

GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) GetRouters

func (o *YggdrasilVault) GetRouters() []VaultRouter

GetRouters returns the Routers field value

func (*YggdrasilVault) GetRoutersOk

func (o *YggdrasilVault) GetRoutersOk() ([]VaultRouter, bool)

GetRoutersOk returns a tuple with the Routers field value and a boolean to check if the value has been set.

func (*YggdrasilVault) GetStatus

func (o *YggdrasilVault) GetStatus() string

GetStatus returns the Status field value

func (*YggdrasilVault) GetStatusOk

func (o *YggdrasilVault) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*YggdrasilVault) GetStatusSince

func (o *YggdrasilVault) GetStatusSince() int64

GetStatusSince returns the StatusSince field value if set, zero value otherwise.

func (*YggdrasilVault) GetStatusSinceOk

func (o *YggdrasilVault) GetStatusSinceOk() (*int64, bool)

GetStatusSinceOk returns a tuple with the StatusSince field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) GetTotalValue

func (o *YggdrasilVault) GetTotalValue() string

GetTotalValue returns the TotalValue field value

func (*YggdrasilVault) GetTotalValueOk

func (o *YggdrasilVault) GetTotalValueOk() (*string, bool)

GetTotalValueOk returns a tuple with the TotalValue field value and a boolean to check if the value has been set.

func (*YggdrasilVault) GetType

func (o *YggdrasilVault) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*YggdrasilVault) GetTypeOk

func (o *YggdrasilVault) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*YggdrasilVault) HasBlockHeight

func (o *YggdrasilVault) HasBlockHeight() bool

HasBlockHeight returns a boolean if a field has been set.

func (*YggdrasilVault) HasChains

func (o *YggdrasilVault) HasChains() bool

HasChains returns a boolean if a field has been set.

func (*YggdrasilVault) HasInboundTxCount

func (o *YggdrasilVault) HasInboundTxCount() bool

HasInboundTxCount returns a boolean if a field has been set.

func (*YggdrasilVault) HasMembership

func (o *YggdrasilVault) HasMembership() bool

HasMembership returns a boolean if a field has been set.

func (*YggdrasilVault) HasOutboundTxCount

func (o *YggdrasilVault) HasOutboundTxCount() bool

HasOutboundTxCount returns a boolean if a field has been set.

func (*YggdrasilVault) HasPendingTxBlockHeights

func (o *YggdrasilVault) HasPendingTxBlockHeights() bool

HasPendingTxBlockHeights returns a boolean if a field has been set.

func (*YggdrasilVault) HasPubKey

func (o *YggdrasilVault) HasPubKey() bool

HasPubKey returns a boolean if a field has been set.

func (*YggdrasilVault) HasStatusSince

func (o *YggdrasilVault) HasStatusSince() bool

HasStatusSince returns a boolean if a field has been set.

func (*YggdrasilVault) HasType

func (o *YggdrasilVault) HasType() bool

HasType returns a boolean if a field has been set.

func (YggdrasilVault) MarshalJSON_deprecated

func (o YggdrasilVault) MarshalJSON_deprecated() ([]byte, error)

func (*YggdrasilVault) SetAddresses

func (o *YggdrasilVault) SetAddresses(v []VaultAddress)

SetAddresses sets field value

func (*YggdrasilVault) SetBlockHeight

func (o *YggdrasilVault) SetBlockHeight(v int64)

SetBlockHeight gets a reference to the given int64 and assigns it to the BlockHeight field.

func (*YggdrasilVault) SetBond

func (o *YggdrasilVault) SetBond(v string)

SetBond sets field value

func (*YggdrasilVault) SetChains

func (o *YggdrasilVault) SetChains(v []string)

SetChains gets a reference to the given []string and assigns it to the Chains field.

func (*YggdrasilVault) SetCoins

func (o *YggdrasilVault) SetCoins(v []Coin)

SetCoins sets field value

func (*YggdrasilVault) SetInboundTxCount

func (o *YggdrasilVault) SetInboundTxCount(v int64)

SetInboundTxCount gets a reference to the given int64 and assigns it to the InboundTxCount field.

func (*YggdrasilVault) SetMembership

func (o *YggdrasilVault) SetMembership(v []string)

SetMembership gets a reference to the given []string and assigns it to the Membership field.

func (*YggdrasilVault) SetOutboundTxCount

func (o *YggdrasilVault) SetOutboundTxCount(v int64)

SetOutboundTxCount gets a reference to the given int64 and assigns it to the OutboundTxCount field.

func (*YggdrasilVault) SetPendingTxBlockHeights

func (o *YggdrasilVault) SetPendingTxBlockHeights(v []int64)

SetPendingTxBlockHeights gets a reference to the given []int64 and assigns it to the PendingTxBlockHeights field.

func (*YggdrasilVault) SetPubKey

func (o *YggdrasilVault) SetPubKey(v string)

SetPubKey gets a reference to the given string and assigns it to the PubKey field.

func (*YggdrasilVault) SetRouters

func (o *YggdrasilVault) SetRouters(v []VaultRouter)

SetRouters sets field value

func (*YggdrasilVault) SetStatus

func (o *YggdrasilVault) SetStatus(v string)

SetStatus sets field value

func (*YggdrasilVault) SetStatusSince

func (o *YggdrasilVault) SetStatusSince(v int64)

SetStatusSince gets a reference to the given int64 and assigns it to the StatusSince field.

func (*YggdrasilVault) SetTotalValue

func (o *YggdrasilVault) SetTotalValue(v string)

SetTotalValue sets field value

func (*YggdrasilVault) SetType

func (o *YggdrasilVault) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL