openapi

package
v1.111.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 22 Imported by: 0

README

Go API client for openapi

Mayanode 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
BlockApi Block Get /mayachain/block
HealthApi Ping Get /mayachain/ping
InvariantsApi Invariant Get /mayachain/invariant/{invariant}
InvariantsApi Invariants Get /mayachain/invariants
LiquidityProvidersApi LiquidityProvider Get /mayachain/pool/{asset}/liquidity_provider/{address}
LiquidityProvidersApi LiquidityProviders Get /mayachain/pool/{asset}/liquidity_providers
MayanamesApi Mayaname Get /mayachain/mayaname/{name}
MimirApi Mimir Get /mayachain/mimir
MimirApi MimirAdmin Get /mayachain/mimir/admin
MimirApi MimirKey Get /mayachain/mimir/key/{key}
MimirApi MimirNode Get /mayachain/mimir/node/{address}
MimirApi MimirNodes Get /mayachain/mimir/nodes_all
NetworkApi Ban Get /mayachain/ban/{address}
NetworkApi Constants Get /mayachain/constants
NetworkApi InboundAddresses Get /mayachain/inbound_addresses
NetworkApi Lastblock Get /mayachain/lastblock
NetworkApi LastblockChain Get /mayachain/lastblock/{chain}
NetworkApi Network Get /mayachain/network
NetworkApi Ragnarok Get /mayachain/ragnarok
NetworkApi Version Get /mayachain/version
NodesApi Node Get /mayachain/node/{address}
NodesApi Nodes Get /mayachain/nodes
POLApi Pol Get /mayachain/pol
PoolsApi Pool Get /mayachain/pool/{asset}
PoolsApi Pools Get /mayachain/pools
QueueApi Queue Get /mayachain/queue
QueueApi QueueOutbound Get /mayachain/queue/outbound
QueueApi QueueScheduled Get /mayachain/queue/scheduled
QueueApi QueueSwap Get /mayachain/queue/swap
QuoteApi Quotesaverdeposit Get /mayachain/quote/saver/deposit
QuoteApi Quotesaverwithdraw Get /mayachain/quote/saver/withdraw
QuoteApi Quoteswap Get /mayachain/quote/swap
SaversApi Saver Get /mayachain/pool/{asset}/saver/{address}
SaversApi Savers Get /mayachain/pool/{asset}/savers
StreamingSwapApi StreamSwap Get /mayachain/swap/streaming/{hash}
StreamingSwapApi StreamSwaps Get /mayachain/swaps/streaming
TSSApi KeygenPubkey Get /mayachain/keygen/{height}/{pubkey}
TSSApi Keysign Get /mayachain/keysign/{height}
TSSApi KeysignPubkey Get /mayachain/keysign/{height}/{pubkey}
TSSApi Metrics Get /mayachain/metrics
TSSApi MetricsKeygen Get /mayachain/metric/keygen/{pubkey}
TransactionsApi Tx Get /mayachain/tx/{hash}
TransactionsApi TxSigners Get /mayachain/tx/details/{hash}
TransactionsApi TxSignersOld Get /mayachain/tx/{hash}/signers
TransactionsApi TxStages Get /mayachain/tx/stages/{hash}
TransactionsApi TxStatus Get /mayachain/tx/status/{hash}
VaultsApi Asgard Get /mayachain/vaults/asgard
VaultsApi Vault Get /mayachain/vaults/{pubkey}
VaultsApi VaultPubkeys Get /mayachain/vaults/pubkeys
VaultsApi Yggdrasil Get /mayachain/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@mayachain.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 {
	BlockApi *BlockApiService

	HealthApi *HealthApiService

	InvariantsApi *InvariantsApiService

	LiquidityProvidersApi *LiquidityProvidersApiService

	MayanamesApi *MayanamesApiService

	MimirApi *MimirApiService

	NetworkApi *NetworkApiService

	NodesApi *NodesApiService

	POLApi *POLApiService

	PoolsApi *PoolsApiService

	QueueApi *QueueApiService

	QuoteApi *QuoteApiService

	SaversApi *SaversApiService

	StreamingSwapApi *StreamingSwapApiService

	TSSApi *TSSApiService

	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 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 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 ApiBucketRequest

type ApiBucketRequest struct {
	ApiService *BucketsApiService
	// contains filtered or unexported fields
}

func (ApiBucketRequest) Execute

func (r ApiBucketRequest) Execute() (*Bucket, *http.Response, error)

func (ApiBucketRequest) Height

func (r ApiBucketRequest) Height(height int64) ApiBucketRequest

optional block height, defaults to current tip

type ApiBucketsRequest

type ApiBucketsRequest struct {
	ApiService *BucketsApiService
	// contains filtered or unexported fields
}

func (ApiBucketsRequest) Execute

func (r ApiBucketsRequest) Execute() ([]Bucket, *http.Response, error)

func (ApiBucketsRequest) Height

func (r ApiBucketsRequest) Height(height int64) ApiBucketsRequest

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 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 ApiMayanameRequest

type ApiMayanameRequest struct {
	ApiService *MayanamesApiService
	// contains filtered or unexported fields
}

func (ApiMayanameRequest) Execute

func (r ApiMayanameRequest) Execute() ([]Mayaname1, *http.Response, error)

func (ApiMayanameRequest) Height

func (r ApiMayanameRequest) Height(height int64) ApiMayanameRequest

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 ApiPingRequest

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

func (ApiPingRequest) Execute

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

type ApiPolRequest

type ApiPolRequest struct {
	ApiService *POLApiService
	// contains filtered or unexported fields
}

func (ApiPolRequest) Execute

func (r ApiPolRequest) Execute() (*POLResponse, *http.Response, error)

func (ApiPolRequest) Height

func (r ApiPolRequest) Height(height int64) ApiPolRequest

optional block height, defaults to current tip

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 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 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 mayaname)

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) 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 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 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 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 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 (r ApiYggdrasilRequest) Execute() ([]Vault, *http.Response, error)

func (ApiYggdrasilRequest) Height

optional block height, defaults to current tip

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 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 mayachain 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 Bucket

type Bucket struct {
	BalanceAsset string `json:"balance_asset"`
	Asset        string `json:"asset"`
	// the total pool liquidity provider units
	LPUnits string `json:"LP_units"`
	Status  string `json:"status"`
}

Bucket struct for Bucket

func NewBucket

func NewBucket(balanceAsset string, asset string, lPUnits string, status string) *Bucket

NewBucket instantiates a new Bucket 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 NewBucketWithDefaults

func NewBucketWithDefaults() *Bucket

NewBucketWithDefaults instantiates a new Bucket 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 (*Bucket) GetAsset

func (o *Bucket) GetAsset() string

GetAsset returns the Asset field value

func (*Bucket) GetAssetOk

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

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

func (*Bucket) GetBalanceAsset

func (o *Bucket) GetBalanceAsset() string

GetBalanceAsset returns the BalanceAsset field value

func (*Bucket) GetBalanceAssetOk

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

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

func (*Bucket) GetLPUnits

func (o *Bucket) GetLPUnits() string

GetLPUnits returns the LPUnits field value

func (*Bucket) GetLPUnitsOk

func (o *Bucket) GetLPUnitsOk() (*string, bool)

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

func (*Bucket) GetStatus

func (o *Bucket) GetStatus() string

GetStatus returns the Status field value

func (*Bucket) GetStatusOk

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

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

func (Bucket) MarshalJSON_deprecated

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

func (*Bucket) SetAsset

func (o *Bucket) SetAsset(v string)

SetAsset sets field value

func (*Bucket) SetBalanceAsset

func (o *Bucket) SetBalanceAsset(v string)

SetBalanceAsset sets field value

func (*Bucket) SetLPUnits

func (o *Bucket) SetLPUnits(v string)

SetLPUnits sets field value

func (*Bucket) SetStatus

func (o *Bucket) SetStatus(v string)

SetStatus sets field value

type BucketsApiService

type BucketsApiService service

BucketsApiService BucketsApi service

func (*BucketsApiService) Bucket

Bucket Method for Bucket

Returns the bucket 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 ApiBucketRequest

func (*BucketsApiService) BucketExecute

func (a *BucketsApiService) BucketExecute(r ApiBucketRequest) (*Bucket, *http.Response, error)

Execute executes the request

@return Bucket

func (*BucketsApiService) Buckets

Buckets Method for Buckets

Returns the bucket information for all assets.

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

func (*BucketsApiService) BucketsExecute

func (a *BucketsApiService) BucketsExecute(r ApiBucketsRequest) ([]Bucket, *http.Response, error)

Execute executes the request

@return []Bucket

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 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 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"`
	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 MAYAChain 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 (MAYAChain 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 KeygenMetric1

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

KeygenMetric1 struct for KeygenMetric1

func NewKeygenMetric1

func NewKeygenMetric1(nodeTssTimes []NodeKeygenMetric) *KeygenMetric1

NewKeygenMetric1 instantiates a new KeygenMetric1 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 NewKeygenMetric1WithDefaults

func NewKeygenMetric1WithDefaults() *KeygenMetric1

NewKeygenMetric1WithDefaults instantiates a new KeygenMetric1 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 (*KeygenMetric1) GetNodeTssTimes

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

GetNodeTssTimes returns the NodeTssTimes field value

func (*KeygenMetric1) GetNodeTssTimesOk

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

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

func (*KeygenMetric1) GetPubKey

func (o *KeygenMetric1) GetPubKey() string

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

func (*KeygenMetric1) GetPubKeyOk

func (o *KeygenMetric1) 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 (*KeygenMetric1) HasPubKey

func (o *KeygenMetric1) HasPubKey() bool

HasPubKey returns a boolean if a field has been set.

func (KeygenMetric1) MarshalJSON_deprecated

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

func (*KeygenMetric1) SetNodeTssTimes

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

SetNodeTssTimes sets field value

func (*KeygenMetric1) SetPubKey

func (o *KeygenMetric1) 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 LPBondedNode

type LPBondedNode struct {
	NodeAddress string `json:"node_address"`
	Units       string `json:"units"`
}

LPBondedNode struct for LPBondedNode

func NewLPBondedNode

func NewLPBondedNode(nodeAddress string, units string) *LPBondedNode

NewLPBondedNode instantiates a new LPBondedNode 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 NewLPBondedNodeWithDefaults

func NewLPBondedNodeWithDefaults() *LPBondedNode

NewLPBondedNodeWithDefaults instantiates a new LPBondedNode 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 (*LPBondedNode) GetNodeAddress

func (o *LPBondedNode) GetNodeAddress() string

GetNodeAddress returns the NodeAddress field value

func (*LPBondedNode) GetNodeAddressOk

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

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

func (*LPBondedNode) GetUnits

func (o *LPBondedNode) GetUnits() string

GetUnits returns the Units field value

func (*LPBondedNode) GetUnitsOk

func (o *LPBondedNode) GetUnitsOk() (*string, bool)

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

func (LPBondedNode) MarshalJSON_deprecated

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

func (*LPBondedNode) SetNodeAddress

func (o *LPBondedNode) SetNodeAddress(v string)

SetNodeAddress sets field value

func (*LPBondedNode) SetUnits

func (o *LPBondedNode) SetUnits(v string)

SetUnits sets field value

type LastBlock

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

LastBlock struct for LastBlock

func NewLastBlock

func NewLastBlock(chain string, lastObservedIn int64, lastSignedOut int64, mayachain 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) GetMayachain

func (o *LastBlock) GetMayachain() int64

GetMayachain returns the Mayachain field value

func (*LastBlock) GetMayachainOk

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

GetMayachainOk returns a tuple with the Mayachain 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) SetMayachain

func (o *LastBlock) SetMayachain(v int64)

SetMayachain sets field value

type LiquidityProvider

type LiquidityProvider struct {
	Asset              string  `json:"asset"`
	CacaoAddress       *string `json:"cacao_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"`
	PendingCacao       string  `json:"pending_cacao"`
	PendingAsset       string  `json:"pending_asset"`
	PendingTxId        *string `json:"pending_tx_id,omitempty"`
	CacaoDepositValue  string  `json:"cacao_deposit_value"`
	AssetDepositValue  string  `json:"asset_deposit_value"`
	// Deprecated
	NodeBondAddress           *string        `json:"node_bond_address,omitempty"`
	WithdrawCounter           string         `json:"withdraw_counter"`
	LastWithdrawCounterHeight *int64         `json:"last_withdraw_counter_height,omitempty"`
	BondedNodes               []LPBondedNode `json:"bonded_nodes"`
	CacaoRedeemValue          *string        `json:"cacao_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, pendingCacao string, pendingAsset string, cacaoDepositValue string, assetDepositValue string, withdrawCounter string, bondedNodes []LPBondedNode) *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) GetBondedNodes

func (o *LiquidityProvider) GetBondedNodes() []LPBondedNode

GetBondedNodes returns the BondedNodes field value

func (*LiquidityProvider) GetBondedNodesOk

func (o *LiquidityProvider) GetBondedNodesOk() ([]LPBondedNode, bool)

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

func (*LiquidityProvider) GetCacaoAddress

func (o *LiquidityProvider) GetCacaoAddress() string

GetCacaoAddress returns the CacaoAddress field value if set, zero value otherwise.

func (*LiquidityProvider) GetCacaoAddressOk

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

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

func (*LiquidityProvider) GetCacaoDepositValue

func (o *LiquidityProvider) GetCacaoDepositValue() string

GetCacaoDepositValue returns the CacaoDepositValue field value

func (*LiquidityProvider) GetCacaoDepositValueOk

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

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

func (*LiquidityProvider) GetCacaoRedeemValue

func (o *LiquidityProvider) GetCacaoRedeemValue() string

GetCacaoRedeemValue returns the CacaoRedeemValue field value if set, zero value otherwise.

func (*LiquidityProvider) GetCacaoRedeemValueOk

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

GetCacaoRedeemValueOk returns a tuple with the CacaoRedeemValue 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) GetLastWithdrawCounterHeight

func (o *LiquidityProvider) GetLastWithdrawCounterHeight() int64

GetLastWithdrawCounterHeight returns the LastWithdrawCounterHeight field value if set, zero value otherwise.

func (*LiquidityProvider) GetLastWithdrawCounterHeightOk

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

GetLastWithdrawCounterHeightOk returns a tuple with the LastWithdrawCounterHeight 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) GetNodeBondAddress

func (o *LiquidityProvider) GetNodeBondAddress() string

GetNodeBondAddress returns the NodeBondAddress field value if set, zero value otherwise. Deprecated

func (*LiquidityProvider) GetNodeBondAddressOk

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

GetNodeBondAddressOk returns a tuple with the NodeBondAddress field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

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) GetPendingCacao

func (o *LiquidityProvider) GetPendingCacao() string

GetPendingCacao returns the PendingCacao field value

func (*LiquidityProvider) GetPendingCacaoOk

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

GetPendingCacaoOk returns a tuple with the PendingCacao 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) 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) GetWithdrawCounter

func (o *LiquidityProvider) GetWithdrawCounter() string

GetWithdrawCounter returns the WithdrawCounter field value

func (*LiquidityProvider) GetWithdrawCounterOk

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

GetWithdrawCounterOk returns a tuple with the WithdrawCounter 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) HasCacaoAddress

func (o *LiquidityProvider) HasCacaoAddress() bool

HasCacaoAddress returns a boolean if a field has been set.

func (*LiquidityProvider) HasCacaoRedeemValue

func (o *LiquidityProvider) HasCacaoRedeemValue() bool

HasCacaoRedeemValue 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) HasLastWithdrawCounterHeight

func (o *LiquidityProvider) HasLastWithdrawCounterHeight() bool

HasLastWithdrawCounterHeight 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) HasNodeBondAddress

func (o *LiquidityProvider) HasNodeBondAddress() bool

HasNodeBondAddress 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) 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) SetBondedNodes

func (o *LiquidityProvider) SetBondedNodes(v []LPBondedNode)

SetBondedNodes sets field value

func (*LiquidityProvider) SetCacaoAddress

func (o *LiquidityProvider) SetCacaoAddress(v string)

SetCacaoAddress gets a reference to the given string and assigns it to the CacaoAddress field.

func (*LiquidityProvider) SetCacaoDepositValue

func (o *LiquidityProvider) SetCacaoDepositValue(v string)

SetCacaoDepositValue sets field value

func (*LiquidityProvider) SetCacaoRedeemValue

func (o *LiquidityProvider) SetCacaoRedeemValue(v string)

SetCacaoRedeemValue gets a reference to the given string and assigns it to the CacaoRedeemValue 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) SetLastWithdrawCounterHeight

func (o *LiquidityProvider) SetLastWithdrawCounterHeight(v int64)

SetLastWithdrawCounterHeight gets a reference to the given int64 and assigns it to the LastWithdrawCounterHeight 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) SetNodeBondAddress

func (o *LiquidityProvider) SetNodeBondAddress(v string)

SetNodeBondAddress gets a reference to the given string and assigns it to the NodeBondAddress field. Deprecated

func (*LiquidityProvider) SetPendingAsset

func (o *LiquidityProvider) SetPendingAsset(v string)

SetPendingAsset sets field value

func (*LiquidityProvider) SetPendingCacao

func (o *LiquidityProvider) SetPendingCacao(v string)

SetPendingCacao 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) SetUnits

func (o *LiquidityProvider) SetUnits(v string)

SetUnits sets field value

func (*LiquidityProvider) SetWithdrawCounter

func (o *LiquidityProvider) SetWithdrawCounter(v string)

SetWithdrawCounter sets field value

type LiquidityProviderSummary

type LiquidityProviderSummary struct {
	Asset              string  `json:"asset"`
	CacaoAddress       *string `json:"cacao_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"`
	PendingCacao       string  `json:"pending_cacao"`
	PendingAsset       string  `json:"pending_asset"`
	PendingTxId        *string `json:"pending_tx_id,omitempty"`
	CacaoDepositValue  string  `json:"cacao_deposit_value"`
	AssetDepositValue  string  `json:"asset_deposit_value"`
}

LiquidityProviderSummary struct for LiquidityProviderSummary

func NewLiquidityProviderSummary

func NewLiquidityProviderSummary(asset string, units string, pendingCacao string, pendingAsset string, cacaoDepositValue 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) GetCacaoAddress

func (o *LiquidityProviderSummary) GetCacaoAddress() string

GetCacaoAddress returns the CacaoAddress field value if set, zero value otherwise.

func (*LiquidityProviderSummary) GetCacaoAddressOk

func (o *LiquidityProviderSummary) GetCacaoAddressOk() (*string, bool)

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

func (*LiquidityProviderSummary) GetCacaoDepositValue

func (o *LiquidityProviderSummary) GetCacaoDepositValue() string

GetCacaoDepositValue returns the CacaoDepositValue field value

func (*LiquidityProviderSummary) GetCacaoDepositValueOk

func (o *LiquidityProviderSummary) GetCacaoDepositValueOk() (*string, bool)

GetCacaoDepositValueOk returns a tuple with the CacaoDepositValue 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) GetPendingCacao

func (o *LiquidityProviderSummary) GetPendingCacao() string

GetPendingCacao returns the PendingCacao field value

func (*LiquidityProviderSummary) GetPendingCacaoOk

func (o *LiquidityProviderSummary) GetPendingCacaoOk() (*string, bool)

GetPendingCacaoOk returns a tuple with the PendingCacao 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) 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) HasCacaoAddress

func (o *LiquidityProviderSummary) HasCacaoAddress() bool

HasCacaoAddress 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) 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) SetCacaoAddress

func (o *LiquidityProviderSummary) SetCacaoAddress(v string)

SetCacaoAddress gets a reference to the given string and assigns it to the CacaoAddress field.

func (*LiquidityProviderSummary) SetCacaoDepositValue

func (o *LiquidityProviderSummary) SetCacaoDepositValue(v string)

SetCacaoDepositValue 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) SetPendingCacao

func (o *LiquidityProviderSummary) SetPendingCacao(v string)

SetPendingCacao 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) 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 Mayaname

type Mayaname struct {
	Name              *string         `json:"name,omitempty"`
	ExpireBlockHeight *int64          `json:"expire_block_height,omitempty"`
	Owner             *string         `json:"owner,omitempty"`
	PreferredAsset    string          `json:"preferred_asset"`
	Aliases           []MayanameAlias `json:"aliases"`
}

Mayaname struct for Mayaname

func NewMayaname

func NewMayaname(preferredAsset string, aliases []MayanameAlias) *Mayaname

NewMayaname instantiates a new Mayaname 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 NewMayanameWithDefaults

func NewMayanameWithDefaults() *Mayaname

NewMayanameWithDefaults instantiates a new Mayaname 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 (*Mayaname) GetAliases

func (o *Mayaname) GetAliases() []MayanameAlias

GetAliases returns the Aliases field value

func (*Mayaname) GetAliasesOk

func (o *Mayaname) GetAliasesOk() ([]MayanameAlias, bool)

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

func (*Mayaname) GetExpireBlockHeight

func (o *Mayaname) GetExpireBlockHeight() int64

GetExpireBlockHeight returns the ExpireBlockHeight field value if set, zero value otherwise.

func (*Mayaname) GetExpireBlockHeightOk

func (o *Mayaname) 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 (*Mayaname) GetName

func (o *Mayaname) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Mayaname) GetNameOk

func (o *Mayaname) 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 (*Mayaname) GetOwner

func (o *Mayaname) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Mayaname) GetOwnerOk

func (o *Mayaname) 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 (*Mayaname) GetPreferredAsset

func (o *Mayaname) GetPreferredAsset() string

GetPreferredAsset returns the PreferredAsset field value

func (*Mayaname) GetPreferredAssetOk

func (o *Mayaname) GetPreferredAssetOk() (*string, bool)

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

func (*Mayaname) HasExpireBlockHeight

func (o *Mayaname) HasExpireBlockHeight() bool

HasExpireBlockHeight returns a boolean if a field has been set.

func (*Mayaname) HasName

func (o *Mayaname) HasName() bool

HasName returns a boolean if a field has been set.

func (*Mayaname) HasOwner

func (o *Mayaname) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (Mayaname) MarshalJSON_deprecated

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

func (*Mayaname) SetAliases

func (o *Mayaname) SetAliases(v []MayanameAlias)

SetAliases sets field value

func (*Mayaname) SetExpireBlockHeight

func (o *Mayaname) SetExpireBlockHeight(v int64)

SetExpireBlockHeight gets a reference to the given int64 and assigns it to the ExpireBlockHeight field.

func (*Mayaname) SetName

func (o *Mayaname) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Mayaname) SetOwner

func (o *Mayaname) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*Mayaname) SetPreferredAsset

func (o *Mayaname) SetPreferredAsset(v string)

SetPreferredAsset sets field value

type Mayaname1

type Mayaname1 struct {
	Name              *string `json:"name,omitempty"`
	Chain             *string `json:"chain,omitempty"`
	Address           *string `json:"address,omitempty"`
	ExpireBlockHeight *int64  `json:"expire_block_height,omitempty"`
}

Mayaname1 struct for Mayaname1

func NewMayaname1

func NewMayaname1() *Mayaname1

NewMayaname1 instantiates a new Mayaname1 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 NewMayaname1WithDefaults

func NewMayaname1WithDefaults() *Mayaname1

NewMayaname1WithDefaults instantiates a new Mayaname1 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 (*Mayaname1) GetAddress

func (o *Mayaname1) GetAddress() string

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

func (*Mayaname1) GetAddressOk

func (o *Mayaname1) 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 (*Mayaname1) GetChain

func (o *Mayaname1) GetChain() string

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

func (*Mayaname1) GetChainOk

func (o *Mayaname1) 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 (*Mayaname1) GetExpireBlockHeight

func (o *Mayaname1) GetExpireBlockHeight() int64

GetExpireBlockHeight returns the ExpireBlockHeight field value if set, zero value otherwise.

func (*Mayaname1) GetExpireBlockHeightOk

func (o *Mayaname1) 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 (*Mayaname1) GetName

func (o *Mayaname1) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Mayaname1) GetNameOk

func (o *Mayaname1) 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 (*Mayaname1) HasAddress

func (o *Mayaname1) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Mayaname1) HasChain

func (o *Mayaname1) HasChain() bool

HasChain returns a boolean if a field has been set.

func (*Mayaname1) HasExpireBlockHeight

func (o *Mayaname1) HasExpireBlockHeight() bool

HasExpireBlockHeight returns a boolean if a field has been set.

func (*Mayaname1) HasName

func (o *Mayaname1) HasName() bool

HasName returns a boolean if a field has been set.

func (Mayaname1) MarshalJSON_deprecated

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

func (*Mayaname1) SetAddress

func (o *Mayaname1) SetAddress(v string)

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

func (*Mayaname1) SetChain

func (o *Mayaname1) SetChain(v string)

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

func (*Mayaname1) SetExpireBlockHeight

func (o *Mayaname1) SetExpireBlockHeight(v int64)

SetExpireBlockHeight gets a reference to the given int64 and assigns it to the ExpireBlockHeight field.

func (*Mayaname1) SetName

func (o *Mayaname1) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type MayanameAlias

type MayanameAlias struct {
	Chain   *string `json:"chain,omitempty"`
	Address *string `json:"address,omitempty"`
}

MayanameAlias struct for MayanameAlias

func NewMayanameAlias

func NewMayanameAlias() *MayanameAlias

NewMayanameAlias instantiates a new MayanameAlias 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 NewMayanameAliasWithDefaults

func NewMayanameAliasWithDefaults() *MayanameAlias

NewMayanameAliasWithDefaults instantiates a new MayanameAlias 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 (*MayanameAlias) GetAddress

func (o *MayanameAlias) GetAddress() string

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

func (*MayanameAlias) GetAddressOk

func (o *MayanameAlias) 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 (*MayanameAlias) GetChain

func (o *MayanameAlias) GetChain() string

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

func (*MayanameAlias) GetChainOk

func (o *MayanameAlias) 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 (*MayanameAlias) HasAddress

func (o *MayanameAlias) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*MayanameAlias) HasChain

func (o *MayanameAlias) HasChain() bool

HasChain returns a boolean if a field has been set.

func (MayanameAlias) MarshalJSON_deprecated

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

func (*MayanameAlias) SetAddress

func (o *MayanameAlias) SetAddress(v string)

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

func (*MayanameAlias) SetChain

func (o *MayanameAlias) SetChain(v string)

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

type MayanamesApiService

type MayanamesApiService service

MayanamesApiService MayanamesApi service

func (*MayanamesApiService) Mayaname

Mayaname Method for Mayaname

Returns addresses registered to the provided mayaname.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name the mayanode to lookup
@return ApiMayanameRequest

func (*MayanamesApiService) MayanameExecute

func (a *MayanamesApiService) MayanameExecute(r ApiMayanameRequest) ([]Mayaname1, *http.Response, error)

Execute executes the request

@return []Mayaname1

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-mayachain 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 mayachain'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) 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) Version

Version Method for Version

Returns the network's current MAYANode version, the network's next MAYANode version, and the querier's MAYANode 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 cacao awarded to node operators
	BondRewardCacao string `json:"bond_reward_cacao"`
	// total bonded cacao
	TotalBondUnits string `json:"total_bond_units"`
	// total reserve cacao
	TotalReserve string `json:"total_reserve"`
	// total asgard cacao
	TotalAsgard string `json:"total_asgard"`
	// Sum of the gas the network has spent to send outbounds
	GasSpentCacao string `json:"gas_spent_cacao"`
	// Sum of the gas withheld from users to cover outbound gas
	GasWithheldCacao string `json:"gas_withheld_cacao"`
	// Current outbound fee multiplier, in basis points
	OutboundFeeMultiplier *string `json:"outbound_fee_multiplier,omitempty"`
}

NetworkResponse struct for NetworkResponse

func NewNetworkResponse

func NewNetworkResponse(bondRewardCacao string, totalBondUnits string, totalReserve string, totalAsgard string, gasSpentCacao string, gasWithheldCacao 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) GetBondRewardCacao

func (o *NetworkResponse) GetBondRewardCacao() string

GetBondRewardCacao returns the BondRewardCacao field value

func (*NetworkResponse) GetBondRewardCacaoOk

func (o *NetworkResponse) GetBondRewardCacaoOk() (*string, bool)

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

func (*NetworkResponse) GetGasSpentCacao

func (o *NetworkResponse) GetGasSpentCacao() string

GetGasSpentCacao returns the GasSpentCacao field value

func (*NetworkResponse) GetGasSpentCacaoOk

func (o *NetworkResponse) GetGasSpentCacaoOk() (*string, bool)

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

func (*NetworkResponse) GetGasWithheldCacao

func (o *NetworkResponse) GetGasWithheldCacao() string

GetGasWithheldCacao returns the GasWithheldCacao field value

func (*NetworkResponse) GetGasWithheldCacaoOk

func (o *NetworkResponse) GetGasWithheldCacaoOk() (*string, bool)

GetGasWithheldCacaoOk returns a tuple with the GasWithheldCacao 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) GetTotalAsgard

func (o *NetworkResponse) GetTotalAsgard() string

GetTotalAsgard returns the TotalAsgard field value

func (*NetworkResponse) GetTotalAsgardOk

func (o *NetworkResponse) GetTotalAsgardOk() (*string, bool)

GetTotalAsgardOk returns a tuple with the TotalAsgard 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) 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) SetBondRewardCacao

func (o *NetworkResponse) SetBondRewardCacao(v string)

SetBondRewardCacao sets field value

func (*NetworkResponse) SetGasSpentCacao

func (o *NetworkResponse) SetGasSpentCacao(v string)

SetGasSpentCacao sets field value

func (*NetworkResponse) SetGasWithheldCacao

func (o *NetworkResponse) SetGasWithheldCacao(v string)

SetGasWithheldCacao 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) SetTotalAsgard

func (o *NetworkResponse) SetTotalAsgard(v string)

SetTotalAsgard 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

type Node

type Node struct {
	NodeAddress  string        `json:"node_address"`
	Status       string        `json:"status"`
	PubKeySet    NodePubKeySet `json:"pub_key_set"`
	AztecAddress string        `json:"aztec_address"`
	// 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"`
	// current node bond
	Bond   string `json:"bond"`
	Reward string `json:"reward"`
	// the block height at which the node became active
	ActiveBlockHeight int64  `json:"active_block_height"`
	BondAddress       string `json:"bond_address"`
	// the block height of the current provided information for the node
	StatusSince int64 `json:"status_since"`
	// 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"`
	// the last observed heights for all chain by the node
	ObserveChains   []ChainHeight       `json:"observe_chains"`
	PreflightStatus NodePreflightStatus `json:"preflight_status"`
	BondProviders   NodeBondProviders   `json:"bond_providers"`
}

Node struct for Node

func NewNode

func NewNode(nodeAddress string, status string, pubKeySet NodePubKeySet, aztecAddress string, validatorConsPubKey string, peerId string, bond string, reward string, activeBlockHeight int64, bondAddress string, statusSince int64, signerMembership []string, requestedToLeave bool, forcedToLeave bool, leaveHeight int64, ipAddress string, version string, slashPoints int64, jail NodeJail, observeChains []ChainHeight, preflightStatus NodePreflightStatus, bondProviders NodeBondProviders) *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) GetAztecAddress

func (o *Node) GetAztecAddress() string

GetAztecAddress returns the AztecAddress field value

func (*Node) GetAztecAddressOk

func (o *Node) GetAztecAddressOk() (*string, bool)

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

func (*Node) GetBond

func (o *Node) GetBond() string

GetBond returns the Bond field value

func (*Node) GetBondAddress

func (o *Node) GetBondAddress() string

GetBondAddress returns the BondAddress field value

func (*Node) GetBondAddressOk

func (o *Node) GetBondAddressOk() (*string, bool)

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

func (*Node) GetBondOk

func (o *Node) GetBondOk() (*string, bool)

GetBondOk returns a tuple with the Bond 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) 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) 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) GetReward

func (o *Node) GetReward() string

GetReward returns the Reward field value

func (*Node) GetRewardOk

func (o *Node) GetRewardOk() (*string, bool)

GetRewardOk returns a tuple with the Reward 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) 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) SetAztecAddress

func (o *Node) SetAztecAddress(v string)

SetAztecAddress sets field value

func (*Node) SetBond

func (o *Node) SetBond(v string)

SetBond sets field value

func (*Node) SetBondAddress

func (o *Node) SetBondAddress(v string)

SetBondAddress sets field value

func (*Node) SetBondProviders

func (o *Node) SetBondProviders(v NodeBondProviders)

SetBondProviders 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) 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) SetReward

func (o *Node) SetReward(v string)

SetReward 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) 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"`
	Bonded      bool   `json:"bonded"`
	Reward      string `json:"reward"`
}

NodeBondProvider struct for NodeBondProvider

func NewNodeBondProvider

func NewNodeBondProvider(bondAddress string, bonded bool, reward string) *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) GetBondAddress

func (o *NodeBondProvider) GetBondAddress() string

GetBondAddress returns the BondAddress field value

func (*NodeBondProvider) GetBondAddressOk

func (o *NodeBondProvider) GetBondAddressOk() (*string, bool)

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

func (*NodeBondProvider) GetBonded

func (o *NodeBondProvider) GetBonded() bool

GetBonded returns the Bonded field value

func (*NodeBondProvider) GetBondedOk

func (o *NodeBondProvider) GetBondedOk() (*bool, bool)

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

func (*NodeBondProvider) GetReward

func (o *NodeBondProvider) GetReward() string

GetReward returns the Reward field value

func (*NodeBondProvider) GetRewardOk

func (o *NodeBondProvider) GetRewardOk() (*string, bool)

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

func (NodeBondProvider) MarshalJSON_deprecated

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

func (*NodeBondProvider) SetBondAddress

func (o *NodeBondProvider) SetBondAddress(v string)

SetBondAddress sets field value

func (*NodeBondProvider) SetBonded

func (o *NodeBondProvider) SetBonded(v bool)

SetBonded sets field value

func (*NodeBondProvider) SetReward

func (o *NodeBondProvider) SetReward(v string)

SetReward sets field value

type NodeBondProviders

type NodeBondProviders struct {
	NodeAddress     *string            `json:"node_address,omitempty"`
	NodeOperatorFee string             `json:"node_operator_fee"`
	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) GetNodeAddress

func (o *NodeBondProviders) GetNodeAddress() string

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

func (*NodeBondProviders) GetNodeAddressOk

func (o *NodeBondProviders) 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 (*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) HasNodeAddress

func (o *NodeBondProviders) HasNodeAddress() bool

HasNodeAddress returns a boolean if a field has been set.

func (NodeBondProviders) MarshalJSON_deprecated

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

func (*NodeBondProviders) SetNodeAddress

func (o *NodeBondProviders) SetNodeAddress(v string)

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

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 {
	NodeAddress   *string `json:"node_address,omitempty"`
	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) GetNodeAddress

func (o *NodeJail) GetNodeAddress() string

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

func (*NodeJail) GetNodeAddressOk

func (o *NodeJail) 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 (*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) HasNodeAddress

func (o *NodeJail) HasNodeAddress() bool

HasNodeAddress returns a boolean if a field 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) SetNodeAddress

func (o *NodeJail) SetNodeAddress(v string)

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

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 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 NullableBucket

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

func NewNullableBucket

func NewNullableBucket(val *Bucket) *NullableBucket

func (NullableBucket) Get

func (v NullableBucket) Get() *Bucket

func (NullableBucket) IsSet

func (v NullableBucket) IsSet() bool

func (NullableBucket) MarshalJSON_deprecated

func (v NullableBucket) MarshalJSON_deprecated() ([]byte, error)

func (*NullableBucket) Set

func (v *NullableBucket) Set(val *Bucket)

func (*NullableBucket) UnmarshalJSON

func (v *NullableBucket) UnmarshalJSON(src []byte) error

func (*NullableBucket) Unset

func (v *NullableBucket) 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 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 NullableKeygenMetric1

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

func NewNullableKeygenMetric1

func NewNullableKeygenMetric1(val *KeygenMetric1) *NullableKeygenMetric1

func (NullableKeygenMetric1) Get

func (NullableKeygenMetric1) IsSet

func (v NullableKeygenMetric1) IsSet() bool

func (NullableKeygenMetric1) MarshalJSON_deprecated

func (v NullableKeygenMetric1) MarshalJSON_deprecated() ([]byte, error)

func (*NullableKeygenMetric1) Set

func (v *NullableKeygenMetric1) Set(val *KeygenMetric1)

func (*NullableKeygenMetric1) UnmarshalJSON

func (v *NullableKeygenMetric1) UnmarshalJSON(src []byte) error

func (*NullableKeygenMetric1) Unset

func (v *NullableKeygenMetric1) 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 NullableLPBondedNode

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

func NewNullableLPBondedNode

func NewNullableLPBondedNode(val *LPBondedNode) *NullableLPBondedNode

func (NullableLPBondedNode) Get

func (NullableLPBondedNode) IsSet

func (v NullableLPBondedNode) IsSet() bool

func (NullableLPBondedNode) MarshalJSON_deprecated

func (v NullableLPBondedNode) MarshalJSON_deprecated() ([]byte, error)

func (*NullableLPBondedNode) Set

func (v *NullableLPBondedNode) Set(val *LPBondedNode)

func (*NullableLPBondedNode) UnmarshalJSON

func (v *NullableLPBondedNode) UnmarshalJSON(src []byte) error

func (*NullableLPBondedNode) Unset

func (v *NullableLPBondedNode) 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 NullableMayaname

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

func NewNullableMayaname

func NewNullableMayaname(val *Mayaname) *NullableMayaname

func (NullableMayaname) Get

func (v NullableMayaname) Get() *Mayaname

func (NullableMayaname) IsSet

func (v NullableMayaname) IsSet() bool

func (NullableMayaname) MarshalJSON_deprecated

func (v NullableMayaname) MarshalJSON_deprecated() ([]byte, error)

func (*NullableMayaname) Set

func (v *NullableMayaname) Set(val *Mayaname)

func (*NullableMayaname) UnmarshalJSON

func (v *NullableMayaname) UnmarshalJSON(src []byte) error

func (*NullableMayaname) Unset

func (v *NullableMayaname) Unset()

type NullableMayaname1

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

func NewNullableMayaname1

func NewNullableMayaname1(val *Mayaname1) *NullableMayaname1

func (NullableMayaname1) Get

func (v NullableMayaname1) Get() *Mayaname1

func (NullableMayaname1) IsSet

func (v NullableMayaname1) IsSet() bool

func (NullableMayaname1) MarshalJSON_deprecated

func (v NullableMayaname1) MarshalJSON_deprecated() ([]byte, error)

func (*NullableMayaname1) Set

func (v *NullableMayaname1) Set(val *Mayaname1)

func (*NullableMayaname1) UnmarshalJSON

func (v *NullableMayaname1) UnmarshalJSON(src []byte) error

func (*NullableMayaname1) Unset

func (v *NullableMayaname1) Unset()

type NullableMayanameAlias

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

func NewNullableMayanameAlias

func NewNullableMayanameAlias(val *MayanameAlias) *NullableMayanameAlias

func (NullableMayanameAlias) Get

func (NullableMayanameAlias) IsSet

func (v NullableMayanameAlias) IsSet() bool

func (NullableMayanameAlias) MarshalJSON_deprecated

func (v NullableMayanameAlias) MarshalJSON_deprecated() ([]byte, error)

func (*NullableMayanameAlias) Set

func (v *NullableMayanameAlias) Set(val *MayanameAlias)

func (*NullableMayanameAlias) UnmarshalJSON

func (v *NullableMayanameAlias) UnmarshalJSON(src []byte) error

func (*NullableMayanameAlias) Unset

func (v *NullableMayanameAlias) 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 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 NullablePOLResponse

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

func NewNullablePOLResponse

func NewNullablePOLResponse(val *POLResponse) *NullablePOLResponse

func (NullablePOLResponse) Get

func (NullablePOLResponse) IsSet

func (v NullablePOLResponse) IsSet() bool

func (NullablePOLResponse) MarshalJSON_deprecated

func (v NullablePOLResponse) MarshalJSON_deprecated() ([]byte, error)

func (*NullablePOLResponse) Set

func (v *NullablePOLResponse) Set(val *POLResponse)

func (*NullablePOLResponse) UnmarshalJSON

func (v *NullablePOLResponse) UnmarshalJSON(src []byte) error

func (*NullablePOLResponse) Unset

func (v *NullablePOLResponse) 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 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 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 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 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 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 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 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 maya
	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 maya
	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"`
	// the block height of the observed transaction on the source chain, not provided if chain is MAYA
	BlockHeight *int64 `json:"block_height,omitempty"`
	// the finalised height of the observed transaction on the source chain, not provided if chain is MAYA
	FinaliseHeight *int64 `json:"finalise_height,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) GetBlockHeight

func (o *ObservedTx) GetBlockHeight() int64

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

func (*ObservedTx) GetBlockHeightOk

func (o *ObservedTx) 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 (*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) GetFinaliseHeight

func (o *ObservedTx) GetFinaliseHeight() int64

GetFinaliseHeight returns the FinaliseHeight field value if set, zero value otherwise.

func (*ObservedTx) GetFinaliseHeightOk

func (o *ObservedTx) GetFinaliseHeightOk() (*int64, bool)

GetFinaliseHeightOk returns a tuple with the FinaliseHeight 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) HasBlockHeight

func (o *ObservedTx) HasBlockHeight() bool

HasBlockHeight 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) HasFinaliseHeight

func (o *ObservedTx) HasFinaliseHeight() bool

HasFinaliseHeight 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) SetBlockHeight

func (o *ObservedTx) SetBlockHeight(v int64)

SetBlockHeight gets a reference to the given int64 and assigns it to the BlockHeight 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) SetFinaliseHeight

func (o *ObservedTx) SetFinaliseHeight(v int64)

SetFinaliseHeight gets a reference to the given int64 and assigns it to the FinaliseHeight 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 MAYAChain 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 OutboundSignedStage

type OutboundSignedStage struct {
	// MAYAChain height for which the external outbound is scheduled
	ScheduledOutboundHeight *int64 `json:"scheduled_outbound_height,omitempty"`
	// MAYAChain 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 POLApiService

type POLApiService service

POLApiService POLApi service

func (*POLApiService) Pol

Pol Method for Pol

Returns protocol owned liquidity overview statistics.

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

func (*POLApiService) PolExecute

func (a *POLApiService) PolExecute(r ApiPolRequest) (*POLResponse, *http.Response, error)

Execute executes the request

@return POLResponse

type POLResponse

type POLResponse struct {
	// total amount of CACAO deposited into the pools
	CacaoDeposited string `json:"cacao_deposited"`
	// total amount of CACAO withdrawn from the pools
	CacaoWithdrawn string `json:"cacao_withdrawn"`
	// total value of protocol's LP position in CACAO value
	Value string `json:"value"`
	// profit and loss of protocol owned liquidity
	Pnl string `json:"pnl"`
	// current amount of cacao deposited
	CurrentDeposit string `json:"current_deposit"`
}

POLResponse struct for POLResponse

func NewPOLResponse

func NewPOLResponse(cacaoDeposited string, cacaoWithdrawn string, value string, pnl string, currentDeposit string) *POLResponse

NewPOLResponse instantiates a new POLResponse 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 NewPOLResponseWithDefaults

func NewPOLResponseWithDefaults() *POLResponse

NewPOLResponseWithDefaults instantiates a new POLResponse 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 (*POLResponse) GetCacaoDeposited

func (o *POLResponse) GetCacaoDeposited() string

GetCacaoDeposited returns the CacaoDeposited field value

func (*POLResponse) GetCacaoDepositedOk

func (o *POLResponse) GetCacaoDepositedOk() (*string, bool)

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

func (*POLResponse) GetCacaoWithdrawn

func (o *POLResponse) GetCacaoWithdrawn() string

GetCacaoWithdrawn returns the CacaoWithdrawn field value

func (*POLResponse) GetCacaoWithdrawnOk

func (o *POLResponse) GetCacaoWithdrawnOk() (*string, bool)

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

func (*POLResponse) GetCurrentDeposit

func (o *POLResponse) GetCurrentDeposit() string

GetCurrentDeposit returns the CurrentDeposit field value

func (*POLResponse) GetCurrentDepositOk

func (o *POLResponse) GetCurrentDepositOk() (*string, bool)

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

func (*POLResponse) GetPnl

func (o *POLResponse) GetPnl() string

GetPnl returns the Pnl field value

func (*POLResponse) GetPnlOk

func (o *POLResponse) GetPnlOk() (*string, bool)

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

func (*POLResponse) GetValue

func (o *POLResponse) GetValue() string

GetValue returns the Value field value

func (*POLResponse) GetValueOk

func (o *POLResponse) GetValueOk() (*string, bool)

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

func (POLResponse) MarshalJSON_deprecated

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

func (*POLResponse) SetCacaoDeposited

func (o *POLResponse) SetCacaoDeposited(v string)

SetCacaoDeposited sets field value

func (*POLResponse) SetCacaoWithdrawn

func (o *POLResponse) SetCacaoWithdrawn(v string)

SetCacaoWithdrawn sets field value

func (*POLResponse) SetCurrentDeposit

func (o *POLResponse) SetCurrentDeposit(v string)

SetCurrentDeposit sets field value

func (*POLResponse) SetPnl

func (o *POLResponse) SetPnl(v string)

SetPnl sets field value

func (*POLResponse) SetValue

func (o *POLResponse) 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 {
	BalanceCacao string `json:"balance_cacao"`
	BalanceAsset string `json:"balance_asset"`
	Asset        string `json:"asset"`
	// the total pool liquidity provider units
	LPUnits string `json:"LP_units"`
	// the total pool units, this is the sum of LP and synth units
	PoolUnits string `json:"pool_units"`
	Status    string `json:"status"`
	Decimals  *int64 `json:"decimals,omitempty"`
	// 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"`
	PendingInboundCacao string `json:"pending_inbound_cacao"`
	PendingInboundAsset string `json:"pending_inbound_asset"`
	// the balance of L1 asset deposited into the Savers Vault
	SaversDepth interface{} `json:"savers_depth"`
	// the number of units owned by Savers
	SaversUnits string `json:"savers_units"`
	// whether additional synths cannot be minted
	SynthMintPaused bool `json:"synth_mint_paused"`
}

Pool struct for Pool

func NewPool

func NewPool(balanceCacao string, balanceAsset string, asset string, lPUnits string, poolUnits string, status string, synthUnits string, synthSupply string, pendingInboundCacao string, pendingInboundAsset string, saversDepth interface{}, saversUnits string, synthMintPaused bool) *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) 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) GetBalanceCacao

func (o *Pool) GetBalanceCacao() string

GetBalanceCacao returns the BalanceCacao field value

func (*Pool) GetBalanceCacaoOk

func (o *Pool) GetBalanceCacaoOk() (*string, bool)

GetBalanceCacaoOk returns a tuple with the BalanceCacao 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) 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) 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) GetPendingInboundCacao

func (o *Pool) GetPendingInboundCacao() string

GetPendingInboundCacao returns the PendingInboundCacao field value

func (*Pool) GetPendingInboundCacaoOk

func (o *Pool) GetPendingInboundCacaoOk() (*string, bool)

GetPendingInboundCacaoOk returns a tuple with the PendingInboundCacao 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) GetSaversDepth

func (o *Pool) GetSaversDepth() interface{}

GetSaversDepth returns the SaversDepth field value If the value is explicit nil, the zero value for interface{} will be returned

func (*Pool) GetSaversDepthOk

func (o *Pool) GetSaversDepthOk() (*interface{}, bool)

GetSaversDepthOk returns a tuple with the SaversDepth 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 (*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) 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) 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) MarshalJSON_deprecated

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

func (*Pool) SetAsset

func (o *Pool) SetAsset(v string)

SetAsset sets field value

func (*Pool) SetBalanceAsset

func (o *Pool) SetBalanceAsset(v string)

SetBalanceAsset sets field value

func (*Pool) SetBalanceCacao

func (o *Pool) SetBalanceCacao(v string)

SetBalanceCacao 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) SetLPUnits

func (o *Pool) SetLPUnits(v string)

SetLPUnits sets field value

func (*Pool) SetPendingInboundAsset

func (o *Pool) SetPendingInboundAsset(v string)

SetPendingInboundAsset sets field value

func (*Pool) SetPendingInboundCacao

func (o *Pool) SetPendingInboundCacao(v string)

SetPendingInboundCacao sets field value

func (*Pool) SetPoolUnits

func (o *Pool) SetPoolUnits(v string)

SetPoolUnits sets field value

func (*Pool) SetSaversDepth

func (o *Pool) SetSaversDepth(v interface{})

SetSaversDepth sets field value

func (*Pool) SetSaversUnits

func (o *Pool) SetSaversUnits(v string)

SetSaversUnits sets field value

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) SetSynthUnits

func (o *Pool) SetSynthUnits(v string)

SetSynthUnits sets field value

type PoolsApiService

type PoolsApiService service

PoolsApiService PoolsApi service

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 CACAO 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 CACAO
	ScheduledOutboundValue string `json:"scheduled_outbound_value"`
}

QueueResponse struct for QueueResponse

func NewQueueResponse

func NewQueueResponse(swap int64, outbound int64, internal int64, scheduledOutboundValue 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) 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) 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) 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 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 mayachain 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 mayachain 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 mayachain 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 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 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 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 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 /mayachain/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 mayachain height at which the inbound reached consensus
	ConsensusHeight *int64 `json:"consensus_height,omitempty"`
	// the mayachain 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 mayachain 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"`
}

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) 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) 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) 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 mayachain height at which the inbound reached consensus
	ConsensusHeight *int64 `json:"consensus_height,omitempty"`
	// the mayachain height at which the outbound was finalised
	FinalisedHeight *int64 `json:"finalised_height,omitempty"`
	// the mayachain 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 mayachain height at which the inbound reached consensus
	ConsensusHeight *int64 `json:"consensus_height,omitempty"`
	// the mayachain 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 mayachain 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 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"`
}

VaultPubkeysResponse struct for VaultPubkeysResponse

func NewVaultPubkeysResponse

func NewVaultPubkeysResponse(asgard []VaultInfo, yggdrasil []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) 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) 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) ([]Vault, *http.Response, error)

Execute executes the request

@return []Vault

type VersionResponse

type VersionResponse struct {
	// current version
	Current string `json:"current"`
	// next version
	Next string `json:"next"`
	// 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) 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) 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) 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 cacao 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