Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Account
- func (o *Account) GetAccountNumber() int64
- func (o *Account) GetAccountNumberOk() (*int64, bool)
- func (o *Account) GetAddress() string
- func (o *Account) GetAddressOk() (*string, bool)
- func (o *Account) GetPubkey() string
- func (o *Account) GetPubkeyOk() (*string, bool)
- func (o *Account) GetSequence() int64
- func (o *Account) GetSequenceOk() (*int64, bool)
- func (o *Account) GetType() string
- func (o *Account) GetTypeOk() (*string, bool)
- func (o *Account) HasAccountNumber() bool
- func (o *Account) HasAddress() bool
- func (o *Account) HasPubkey() bool
- func (o *Account) HasSequence() bool
- func (o *Account) HasType() bool
- func (o Account) MarshalJSON_deprecated() ([]byte, error)
- func (o *Account) SetAccountNumber(v int64)
- func (o *Account) SetAddress(v string)
- func (o *Account) SetPubkey(v string)
- func (o *Account) SetSequence(v int64)
- func (o *Account) SetType(v string)
- type AccountResponse
- func (o *AccountResponse) GetResult() AccountResponseResult
- func (o *AccountResponse) GetResultOk() (*AccountResponseResult, bool)
- func (o *AccountResponse) HasResult() bool
- func (o AccountResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *AccountResponse) SetResult(v AccountResponseResult)
- type AccountResponseResult
- type Amount
- type ApiAccountRequest
- type ApiAsgardRequest
- type ApiBalancesRequest
- type ApiBanRequest
- type ApiBlockRequest
- type ApiBorrowerRequest
- type ApiBorrowersRequest
- type ApiConstantsRequest
- type ApiDpoolRequest
- type ApiDpoolsRequest
- type ApiExportRequest
- type ApiInboundAddressesRequest
- type ApiInvariantRequest
- type ApiInvariantsRequest
- type ApiKeygenPubkeyRequest
- type ApiKeysignPubkeyRequest
- type ApiKeysignRequest
- type ApiLastblockChainRequest
- type ApiLastblockRequest
- type ApiLiquidityProviderRequest
- type ApiLiquidityProvidersRequest
- type ApiMetricsKeygenRequest
- type ApiMetricsRequest
- type ApiMimirAdminRequest
- type ApiMimirKeyRequest
- type ApiMimirNodeRequest
- type ApiMimirNodesRequest
- type ApiMimirRequest
- type ApiNetworkRequest
- type ApiNodeRequest
- type ApiNodesRequest
- type ApiOutboundFeeAssetRequest
- type ApiOutboundFeesRequest
- type ApiPingRequest
- type ApiPoolRequest
- type ApiPoolsRequest
- type ApiPoolslipRequest
- type ApiPoolslipsRequest
- type ApiQueueOutboundRequest
- type ApiQueueRequest
- type ApiQueueScheduledRequest
- type ApiQueueSwapRequest
- type ApiQuoteloancloseRequest
- func (r ApiQuoteloancloseRequest) Execute() (*QuoteLoanCloseResponse, *http.Response, error)
- func (r ApiQuoteloancloseRequest) FromAsset(fromAsset string) ApiQuoteloancloseRequest
- func (r ApiQuoteloancloseRequest) Height(height int64) ApiQuoteloancloseRequest
- func (r ApiQuoteloancloseRequest) LoanOwner(loanOwner string) ApiQuoteloancloseRequest
- func (r ApiQuoteloancloseRequest) MinOut(minOut string) ApiQuoteloancloseRequest
- func (r ApiQuoteloancloseRequest) RepayBps(repayBps int64) ApiQuoteloancloseRequest
- func (r ApiQuoteloancloseRequest) ToAsset(toAsset string) ApiQuoteloancloseRequest
- type ApiQuoteloanopenRequest
- func (r ApiQuoteloanopenRequest) Affiliate(affiliate string) ApiQuoteloanopenRequest
- func (r ApiQuoteloanopenRequest) AffiliateBps(affiliateBps int64) ApiQuoteloanopenRequest
- func (r ApiQuoteloanopenRequest) Amount(amount int64) ApiQuoteloanopenRequest
- func (r ApiQuoteloanopenRequest) Destination(destination string) ApiQuoteloanopenRequest
- func (r ApiQuoteloanopenRequest) Execute() (*QuoteLoanOpenResponse, *http.Response, error)
- func (r ApiQuoteloanopenRequest) FromAsset(fromAsset string) ApiQuoteloanopenRequest
- func (r ApiQuoteloanopenRequest) Height(height int64) ApiQuoteloanopenRequest
- func (r ApiQuoteloanopenRequest) MinOut(minOut string) ApiQuoteloanopenRequest
- func (r ApiQuoteloanopenRequest) ToAsset(toAsset string) ApiQuoteloanopenRequest
- type ApiQuotesaverdepositRequest
- func (r ApiQuotesaverdepositRequest) Amount(amount int64) ApiQuotesaverdepositRequest
- func (r ApiQuotesaverdepositRequest) Asset(asset string) ApiQuotesaverdepositRequest
- func (r ApiQuotesaverdepositRequest) Execute() (*QuoteSaverDepositResponse, *http.Response, error)
- func (r ApiQuotesaverdepositRequest) Height(height int64) ApiQuotesaverdepositRequest
- type ApiQuotesaverwithdrawRequest
- func (r ApiQuotesaverwithdrawRequest) Address(address string) ApiQuotesaverwithdrawRequest
- func (r ApiQuotesaverwithdrawRequest) Asset(asset string) ApiQuotesaverwithdrawRequest
- func (r ApiQuotesaverwithdrawRequest) Execute() (*QuoteSaverWithdrawResponse, *http.Response, error)
- func (r ApiQuotesaverwithdrawRequest) Height(height int64) ApiQuotesaverwithdrawRequest
- func (r ApiQuotesaverwithdrawRequest) WithdrawBps(withdrawBps int64) ApiQuotesaverwithdrawRequest
- type ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) Affiliate(affiliate string) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) AffiliateBps(affiliateBps int64) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) Amount(amount int64) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) Destination(destination string) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) Execute() (*QuoteSwapResponse, *http.Response, error)
- func (r ApiQuoteswapRequest) FromAsset(fromAsset string) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) Height(height int64) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) RefundAddress(refundAddress string) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) StreamingInterval(streamingInterval int64) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) StreamingQuantity(streamingQuantity int64) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) ToAsset(toAsset string) ApiQuoteswapRequest
- func (r ApiQuoteswapRequest) ToleranceBps(toleranceBps int64) ApiQuoteswapRequest
- type ApiRagnarokRequest
- type ApiRunePoolRequest
- type ApiRuneProviderRequest
- type ApiRuneProvidersRequest
- type ApiSaverRequest
- type ApiSaversRequest
- type ApiSecuredAssetRequest
- type ApiSecuredAssetsRequest
- type ApiStreamSwapRequest
- type ApiStreamSwapsRequest
- type ApiSwapperCloutRequest
- type ApiThornameRequest
- type ApiTradeAccountRequest
- type ApiTradeAccountsRequest
- type ApiTradeUnitRequest
- type ApiTradeUnitsRequest
- type ApiTxRequest
- type ApiTxSignersOldRequest
- type ApiTxSignersRequest
- type ApiTxStagesRequest
- type ApiTxStatusRequest
- type ApiUpgradeProposalRequest
- type ApiUpgradeProposalsRequest
- type ApiUpgradeVotesRequest
- type ApiVaultPubkeysRequest
- type ApiVaultRequest
- type ApiVersionRequest
- type ApiYggdrasilRequest
- type AuthApiService
- type BalancesResponse
- type BanResponse
- func (o *BanResponse) GetBlockHeight() int64
- func (o *BanResponse) GetBlockHeightOk() (*int64, bool)
- func (o *BanResponse) GetNodeAddress() string
- func (o *BanResponse) GetNodeAddressOk() (*string, bool)
- func (o *BanResponse) GetSigners() []string
- func (o *BanResponse) GetSignersOk() ([]string, bool)
- func (o *BanResponse) HasBlockHeight() bool
- func (o *BanResponse) HasNodeAddress() bool
- func (o *BanResponse) HasSigners() bool
- func (o BanResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *BanResponse) SetBlockHeight(v int64)
- func (o *BanResponse) SetNodeAddress(v string)
- func (o *BanResponse) SetSigners(v []string)
- type BankApiService
- type BaseQuoteResponse
- func (o *BaseQuoteResponse) GetDustThreshold() string
- func (o *BaseQuoteResponse) GetDustThresholdOk() (*string, bool)
- func (o *BaseQuoteResponse) GetExpiry() int64
- func (o *BaseQuoteResponse) GetExpiryOk() (*int64, bool)
- func (o *BaseQuoteResponse) GetFees() QuoteFees
- func (o *BaseQuoteResponse) GetFeesOk() (*QuoteFees, bool)
- func (o *BaseQuoteResponse) GetGasRateUnits() string
- func (o *BaseQuoteResponse) GetGasRateUnitsOk() (*string, bool)
- func (o *BaseQuoteResponse) GetInboundAddress() string
- func (o *BaseQuoteResponse) GetInboundAddressOk() (*string, bool)
- func (o *BaseQuoteResponse) GetInboundConfirmationBlocks() int64
- func (o *BaseQuoteResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
- func (o *BaseQuoteResponse) GetInboundConfirmationSeconds() int64
- func (o *BaseQuoteResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
- func (o *BaseQuoteResponse) GetNotes() string
- func (o *BaseQuoteResponse) GetNotesOk() (*string, bool)
- func (o *BaseQuoteResponse) GetOutboundDelayBlocks() int64
- func (o *BaseQuoteResponse) GetOutboundDelayBlocksOk() (*int64, bool)
- func (o *BaseQuoteResponse) GetOutboundDelaySeconds() int64
- func (o *BaseQuoteResponse) GetOutboundDelaySecondsOk() (*int64, bool)
- func (o *BaseQuoteResponse) GetRecommendedGasRate() string
- func (o *BaseQuoteResponse) GetRecommendedGasRateOk() (*string, bool)
- func (o *BaseQuoteResponse) GetRecommendedMinAmountIn() string
- func (o *BaseQuoteResponse) GetRecommendedMinAmountInOk() (*string, bool)
- func (o *BaseQuoteResponse) GetRouter() string
- func (o *BaseQuoteResponse) GetRouterOk() (*string, bool)
- func (o *BaseQuoteResponse) GetWarning() string
- func (o *BaseQuoteResponse) GetWarningOk() (*string, bool)
- func (o *BaseQuoteResponse) HasDustThreshold() bool
- func (o *BaseQuoteResponse) HasExpiry() bool
- func (o *BaseQuoteResponse) HasFees() bool
- func (o *BaseQuoteResponse) HasGasRateUnits() bool
- func (o *BaseQuoteResponse) HasInboundAddress() bool
- func (o *BaseQuoteResponse) HasInboundConfirmationBlocks() bool
- func (o *BaseQuoteResponse) HasInboundConfirmationSeconds() bool
- func (o *BaseQuoteResponse) HasNotes() bool
- func (o *BaseQuoteResponse) HasOutboundDelayBlocks() bool
- func (o *BaseQuoteResponse) HasOutboundDelaySeconds() bool
- func (o *BaseQuoteResponse) HasRecommendedGasRate() bool
- func (o *BaseQuoteResponse) HasRecommendedMinAmountIn() bool
- func (o *BaseQuoteResponse) HasRouter() bool
- func (o *BaseQuoteResponse) HasWarning() bool
- func (o BaseQuoteResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *BaseQuoteResponse) SetDustThreshold(v string)
- func (o *BaseQuoteResponse) SetExpiry(v int64)
- func (o *BaseQuoteResponse) SetFees(v QuoteFees)
- func (o *BaseQuoteResponse) SetGasRateUnits(v string)
- func (o *BaseQuoteResponse) SetInboundAddress(v string)
- func (o *BaseQuoteResponse) SetInboundConfirmationBlocks(v int64)
- func (o *BaseQuoteResponse) SetInboundConfirmationSeconds(v int64)
- func (o *BaseQuoteResponse) SetNotes(v string)
- func (o *BaseQuoteResponse) SetOutboundDelayBlocks(v int64)
- func (o *BaseQuoteResponse) SetOutboundDelaySeconds(v int64)
- func (o *BaseQuoteResponse) SetRecommendedGasRate(v string)
- func (o *BaseQuoteResponse) SetRecommendedMinAmountIn(v string)
- func (o *BaseQuoteResponse) SetRouter(v string)
- func (o *BaseQuoteResponse) SetWarning(v string)
- type BasicAuth
- type BlockApiService
- type BlockResponse
- func (o *BlockResponse) GetBeginBlockEvents() []map[string]string
- func (o *BlockResponse) GetBeginBlockEventsOk() ([]map[string]string, bool)
- func (o *BlockResponse) GetEndBlockEvents() []map[string]string
- func (o *BlockResponse) GetEndBlockEventsOk() ([]map[string]string, bool)
- func (o *BlockResponse) GetHeader() BlockResponseHeader
- func (o *BlockResponse) GetHeaderOk() (*BlockResponseHeader, bool)
- func (o *BlockResponse) GetId() BlockResponseId
- func (o *BlockResponse) GetIdOk() (*BlockResponseId, bool)
- func (o *BlockResponse) GetTxs() []BlockTx
- func (o *BlockResponse) GetTxsOk() ([]BlockTx, bool)
- func (o BlockResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *BlockResponse) SetBeginBlockEvents(v []map[string]string)
- func (o *BlockResponse) SetEndBlockEvents(v []map[string]string)
- func (o *BlockResponse) SetHeader(v BlockResponseHeader)
- func (o *BlockResponse) SetId(v BlockResponseId)
- func (o *BlockResponse) SetTxs(v []BlockTx)
- type BlockResponseHeader
- func (o *BlockResponseHeader) GetAppHash() string
- func (o *BlockResponseHeader) GetAppHashOk() (*string, bool)
- func (o *BlockResponseHeader) GetChainId() string
- func (o *BlockResponseHeader) GetChainIdOk() (*string, bool)
- func (o *BlockResponseHeader) GetConsensusHash() string
- func (o *BlockResponseHeader) GetConsensusHashOk() (*string, bool)
- func (o *BlockResponseHeader) GetDataHash() string
- func (o *BlockResponseHeader) GetDataHashOk() (*string, bool)
- func (o *BlockResponseHeader) GetEvidenceHash() string
- func (o *BlockResponseHeader) GetEvidenceHashOk() (*string, bool)
- func (o *BlockResponseHeader) GetHeight() int64
- func (o *BlockResponseHeader) GetHeightOk() (*int64, bool)
- func (o *BlockResponseHeader) GetLastBlockId() BlockResponseId
- func (o *BlockResponseHeader) GetLastBlockIdOk() (*BlockResponseId, bool)
- func (o *BlockResponseHeader) GetLastCommitHash() string
- func (o *BlockResponseHeader) GetLastCommitHashOk() (*string, bool)
- func (o *BlockResponseHeader) GetLastResultsHash() string
- func (o *BlockResponseHeader) GetLastResultsHashOk() (*string, bool)
- func (o *BlockResponseHeader) GetNextValidatorsHash() string
- func (o *BlockResponseHeader) GetNextValidatorsHashOk() (*string, bool)
- func (o *BlockResponseHeader) GetProposerAddress() string
- func (o *BlockResponseHeader) GetProposerAddressOk() (*string, bool)
- func (o *BlockResponseHeader) GetTime() string
- func (o *BlockResponseHeader) GetTimeOk() (*string, bool)
- func (o *BlockResponseHeader) GetValidatorsHash() string
- func (o *BlockResponseHeader) GetValidatorsHashOk() (*string, bool)
- func (o *BlockResponseHeader) GetVersion() BlockResponseHeaderVersion
- func (o *BlockResponseHeader) GetVersionOk() (*BlockResponseHeaderVersion, bool)
- func (o BlockResponseHeader) MarshalJSON_deprecated() ([]byte, error)
- func (o *BlockResponseHeader) SetAppHash(v string)
- func (o *BlockResponseHeader) SetChainId(v string)
- func (o *BlockResponseHeader) SetConsensusHash(v string)
- func (o *BlockResponseHeader) SetDataHash(v string)
- func (o *BlockResponseHeader) SetEvidenceHash(v string)
- func (o *BlockResponseHeader) SetHeight(v int64)
- func (o *BlockResponseHeader) SetLastBlockId(v BlockResponseId)
- func (o *BlockResponseHeader) SetLastCommitHash(v string)
- func (o *BlockResponseHeader) SetLastResultsHash(v string)
- func (o *BlockResponseHeader) SetNextValidatorsHash(v string)
- func (o *BlockResponseHeader) SetProposerAddress(v string)
- func (o *BlockResponseHeader) SetTime(v string)
- func (o *BlockResponseHeader) SetValidatorsHash(v string)
- func (o *BlockResponseHeader) SetVersion(v BlockResponseHeaderVersion)
- type BlockResponseHeaderVersion
- func (o *BlockResponseHeaderVersion) GetApp() string
- func (o *BlockResponseHeaderVersion) GetAppOk() (*string, bool)
- func (o *BlockResponseHeaderVersion) GetBlock() string
- func (o *BlockResponseHeaderVersion) GetBlockOk() (*string, bool)
- func (o BlockResponseHeaderVersion) MarshalJSON_deprecated() ([]byte, error)
- func (o *BlockResponseHeaderVersion) SetApp(v string)
- func (o *BlockResponseHeaderVersion) SetBlock(v string)
- type BlockResponseId
- func (o *BlockResponseId) GetHash() string
- func (o *BlockResponseId) GetHashOk() (*string, bool)
- func (o *BlockResponseId) GetParts() BlockResponseIdParts
- func (o *BlockResponseId) GetPartsOk() (*BlockResponseIdParts, bool)
- func (o BlockResponseId) MarshalJSON_deprecated() ([]byte, error)
- func (o *BlockResponseId) SetHash(v string)
- func (o *BlockResponseId) SetParts(v BlockResponseIdParts)
- type BlockResponseIdParts
- func (o *BlockResponseIdParts) GetHash() string
- func (o *BlockResponseIdParts) GetHashOk() (*string, bool)
- func (o *BlockResponseIdParts) GetTotal() int64
- func (o *BlockResponseIdParts) GetTotalOk() (*int64, bool)
- func (o BlockResponseIdParts) MarshalJSON_deprecated() ([]byte, error)
- func (o *BlockResponseIdParts) SetHash(v string)
- func (o *BlockResponseIdParts) SetTotal(v int64)
- type BlockTx
- func (o *BlockTx) GetHash() string
- func (o *BlockTx) GetHashOk() (*string, bool)
- func (o *BlockTx) GetResult() BlockTxResult
- func (o *BlockTx) GetResultOk() (*BlockTxResult, bool)
- func (o *BlockTx) GetTx() map[string]interface{}
- func (o *BlockTx) GetTxOk() (map[string]interface{}, bool)
- func (o BlockTx) MarshalJSON_deprecated() ([]byte, error)
- func (o *BlockTx) SetHash(v string)
- func (o *BlockTx) SetResult(v BlockTxResult)
- func (o *BlockTx) SetTx(v map[string]interface{})
- type BlockTxResult
- func (o *BlockTxResult) GetCode() int64
- func (o *BlockTxResult) GetCodeOk() (*int64, bool)
- func (o *BlockTxResult) GetCodespace() string
- func (o *BlockTxResult) GetCodespaceOk() (*string, bool)
- func (o *BlockTxResult) GetData() string
- func (o *BlockTxResult) GetDataOk() (*string, bool)
- func (o *BlockTxResult) GetEvents() []map[string]string
- func (o *BlockTxResult) GetEventsOk() ([]map[string]string, bool)
- func (o *BlockTxResult) GetGasUsed() string
- func (o *BlockTxResult) GetGasUsedOk() (*string, bool)
- func (o *BlockTxResult) GetGasWanted() string
- func (o *BlockTxResult) GetGasWantedOk() (*string, bool)
- func (o *BlockTxResult) GetInfo() string
- func (o *BlockTxResult) GetInfoOk() (*string, bool)
- func (o *BlockTxResult) GetLog() string
- func (o *BlockTxResult) GetLogOk() (*string, bool)
- func (o *BlockTxResult) HasCode() bool
- func (o *BlockTxResult) HasCodespace() bool
- func (o *BlockTxResult) HasData() bool
- func (o *BlockTxResult) HasEvents() bool
- func (o *BlockTxResult) HasGasUsed() bool
- func (o *BlockTxResult) HasGasWanted() bool
- func (o *BlockTxResult) HasInfo() bool
- func (o *BlockTxResult) HasLog() bool
- func (o BlockTxResult) MarshalJSON_deprecated() ([]byte, error)
- func (o *BlockTxResult) SetCode(v int64)
- func (o *BlockTxResult) SetCodespace(v string)
- func (o *BlockTxResult) SetData(v string)
- func (o *BlockTxResult) SetEvents(v []map[string]string)
- func (o *BlockTxResult) SetGasUsed(v string)
- func (o *BlockTxResult) SetGasWanted(v string)
- func (o *BlockTxResult) SetInfo(v string)
- func (o *BlockTxResult) SetLog(v string)
- type Borrower
- func (o *Borrower) GetAsset() string
- func (o *Borrower) GetAssetOk() (*string, bool)
- func (o *Borrower) GetCollateralCurrent() string
- func (o *Borrower) GetCollateralCurrentOk() (*string, bool)
- func (o *Borrower) GetCollateralDeposited() string
- func (o *Borrower) GetCollateralDepositedOk() (*string, bool)
- func (o *Borrower) GetCollateralWithdrawn() string
- func (o *Borrower) GetCollateralWithdrawnOk() (*string, bool)
- func (o *Borrower) GetDebtCurrent() string
- func (o *Borrower) GetDebtCurrentOk() (*string, bool)
- func (o *Borrower) GetDebtIssued() string
- func (o *Borrower) GetDebtIssuedOk() (*string, bool)
- func (o *Borrower) GetDebtRepaid() string
- func (o *Borrower) GetDebtRepaidOk() (*string, bool)
- func (o *Borrower) GetLastOpenHeight() int64
- func (o *Borrower) GetLastOpenHeightOk() (*int64, bool)
- func (o *Borrower) GetLastRepayHeight() int64
- func (o *Borrower) GetLastRepayHeightOk() (*int64, bool)
- func (o *Borrower) GetOwner() string
- func (o *Borrower) GetOwnerOk() (*string, bool)
- func (o Borrower) MarshalJSON_deprecated() ([]byte, error)
- func (o *Borrower) SetAsset(v string)
- func (o *Borrower) SetCollateralCurrent(v string)
- func (o *Borrower) SetCollateralDeposited(v string)
- func (o *Borrower) SetCollateralWithdrawn(v string)
- func (o *Borrower) SetDebtCurrent(v string)
- func (o *Borrower) SetDebtIssued(v string)
- func (o *Borrower) SetDebtRepaid(v string)
- func (o *Borrower) SetLastOpenHeight(v int64)
- func (o *Borrower) SetLastRepayHeight(v int64)
- func (o *Borrower) SetOwner(v string)
- type BorrowersApiService
- func (a *BorrowersApiService) Borrower(ctx context.Context, asset string, address string) ApiBorrowerRequest
- func (a *BorrowersApiService) BorrowerExecute(r ApiBorrowerRequest) (*Borrower, *http.Response, error)
- func (a *BorrowersApiService) Borrowers(ctx context.Context, asset string) ApiBorrowersRequest
- func (a *BorrowersApiService) BorrowersExecute(r ApiBorrowersRequest) ([]Borrower, *http.Response, error)
- type ChainHeight
- func (o *ChainHeight) GetChain() string
- func (o *ChainHeight) GetChainOk() (*string, bool)
- func (o *ChainHeight) GetHeight() int64
- func (o *ChainHeight) GetHeightOk() (*int64, bool)
- func (o ChainHeight) MarshalJSON_deprecated() ([]byte, error)
- func (o *ChainHeight) SetChain(v string)
- func (o *ChainHeight) SetHeight(v int64)
- type CloutApiService
- type Coin
- func (o *Coin) GetAmount() string
- func (o *Coin) GetAmountOk() (*string, bool)
- func (o *Coin) GetAsset() string
- func (o *Coin) GetAssetOk() (*string, bool)
- func (o *Coin) GetDecimals() int64
- func (o *Coin) GetDecimalsOk() (*int64, bool)
- func (o *Coin) HasDecimals() bool
- func (o Coin) MarshalJSON_deprecated() ([]byte, error)
- func (o *Coin) SetAmount(v string)
- func (o *Coin) SetAsset(v string)
- func (o *Coin) SetDecimals(v int64)
- type Configuration
- type ConstantsResponse
- func (o *ConstantsResponse) GetBoolValues() map[string]string
- func (o *ConstantsResponse) GetBoolValuesOk() (*map[string]string, bool)
- func (o *ConstantsResponse) GetInt64Values() map[string]string
- func (o *ConstantsResponse) GetInt64ValuesOk() (*map[string]string, bool)
- func (o *ConstantsResponse) GetStringValues() map[string]string
- func (o *ConstantsResponse) GetStringValuesOk() (*map[string]string, bool)
- func (o *ConstantsResponse) HasBoolValues() bool
- func (o *ConstantsResponse) HasInt64Values() bool
- func (o *ConstantsResponse) HasStringValues() bool
- func (o ConstantsResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *ConstantsResponse) SetBoolValues(v map[string]string)
- func (o *ConstantsResponse) SetInt64Values(v map[string]string)
- func (o *ConstantsResponse) SetStringValues(v map[string]string)
- type DerivedPool
- func (o *DerivedPool) GetAsset() string
- func (o *DerivedPool) GetAssetOk() (*string, bool)
- func (o *DerivedPool) GetBalanceAsset() string
- func (o *DerivedPool) GetBalanceAssetOk() (*string, bool)
- func (o *DerivedPool) GetBalanceRune() string
- func (o *DerivedPool) GetBalanceRuneOk() (*string, bool)
- func (o *DerivedPool) GetDecimals() int64
- func (o *DerivedPool) GetDecimalsOk() (*int64, bool)
- func (o *DerivedPool) GetDerivedDepthBps() string
- func (o *DerivedPool) GetDerivedDepthBpsOk() (*string, bool)
- func (o *DerivedPool) GetStatus() string
- func (o *DerivedPool) GetStatusOk() (*string, bool)
- func (o *DerivedPool) HasDecimals() bool
- func (o DerivedPool) MarshalJSON_deprecated() ([]byte, error)
- func (o *DerivedPool) SetAsset(v string)
- func (o *DerivedPool) SetBalanceAsset(v string)
- func (o *DerivedPool) SetBalanceRune(v string)
- func (o *DerivedPool) SetDecimals(v int64)
- func (o *DerivedPool) SetDerivedDepthBps(v string)
- func (o *DerivedPool) SetStatus(v string)
- type ExportApiService
- type ExportResponse
- type GenericOpenAPIError
- type HealthApiService
- type InboundAddress
- func (o *InboundAddress) GetAddress() string
- func (o *InboundAddress) GetAddressOk() (*string, bool)
- func (o *InboundAddress) GetChain() string
- func (o *InboundAddress) GetChainLpActionsPaused() bool
- func (o *InboundAddress) GetChainLpActionsPausedOk() (*bool, bool)
- func (o *InboundAddress) GetChainOk() (*string, bool)
- func (o *InboundAddress) GetChainTradingPaused() bool
- func (o *InboundAddress) GetChainTradingPausedOk() (*bool, bool)
- func (o *InboundAddress) GetDustThreshold() string
- func (o *InboundAddress) GetDustThresholdOk() (*string, bool)
- func (o *InboundAddress) GetGasRate() string
- func (o *InboundAddress) GetGasRateOk() (*string, bool)
- func (o *InboundAddress) GetGasRateUnits() string
- func (o *InboundAddress) GetGasRateUnitsOk() (*string, bool)
- func (o *InboundAddress) GetGlobalTradingPaused() bool
- func (o *InboundAddress) GetGlobalTradingPausedOk() (*bool, bool)
- func (o *InboundAddress) GetHalted() bool
- func (o *InboundAddress) GetHaltedOk() (*bool, bool)
- func (o *InboundAddress) GetOutboundFee() string
- func (o *InboundAddress) GetOutboundFeeOk() (*string, bool)
- func (o *InboundAddress) GetOutboundTxSize() string
- func (o *InboundAddress) GetOutboundTxSizeOk() (*string, bool)
- func (o *InboundAddress) GetPubKey() string
- func (o *InboundAddress) GetPubKeyOk() (*string, bool)
- func (o *InboundAddress) GetRouter() string
- func (o *InboundAddress) GetRouterOk() (*string, bool)
- func (o *InboundAddress) HasAddress() bool
- func (o *InboundAddress) HasChain() bool
- func (o *InboundAddress) HasChainLpActionsPaused() bool
- func (o *InboundAddress) HasChainTradingPaused() bool
- func (o *InboundAddress) HasDustThreshold() bool
- func (o *InboundAddress) HasGasRate() bool
- func (o *InboundAddress) HasGasRateUnits() bool
- func (o *InboundAddress) HasGlobalTradingPaused() bool
- func (o *InboundAddress) HasOutboundFee() bool
- func (o *InboundAddress) HasOutboundTxSize() bool
- func (o *InboundAddress) HasPubKey() bool
- func (o *InboundAddress) HasRouter() bool
- func (o InboundAddress) MarshalJSON_deprecated() ([]byte, error)
- func (o *InboundAddress) SetAddress(v string)
- func (o *InboundAddress) SetChain(v string)
- func (o *InboundAddress) SetChainLpActionsPaused(v bool)
- func (o *InboundAddress) SetChainTradingPaused(v bool)
- func (o *InboundAddress) SetDustThreshold(v string)
- func (o *InboundAddress) SetGasRate(v string)
- func (o *InboundAddress) SetGasRateUnits(v string)
- func (o *InboundAddress) SetGlobalTradingPaused(v bool)
- func (o *InboundAddress) SetHalted(v bool)
- func (o *InboundAddress) SetOutboundFee(v string)
- func (o *InboundAddress) SetOutboundTxSize(v string)
- func (o *InboundAddress) SetPubKey(v string)
- func (o *InboundAddress) SetRouter(v string)
- type InboundConfirmationCountedStage
- func (o *InboundConfirmationCountedStage) GetChain() string
- func (o *InboundConfirmationCountedStage) GetChainOk() (*string, bool)
- func (o *InboundConfirmationCountedStage) GetCompleted() bool
- func (o *InboundConfirmationCountedStage) GetCompletedOk() (*bool, bool)
- func (o *InboundConfirmationCountedStage) GetCountingStartHeight() int64
- func (o *InboundConfirmationCountedStage) GetCountingStartHeightOk() (*int64, bool)
- func (o *InboundConfirmationCountedStage) GetExternalConfirmationDelayHeight() int64
- func (o *InboundConfirmationCountedStage) GetExternalConfirmationDelayHeightOk() (*int64, bool)
- func (o *InboundConfirmationCountedStage) GetExternalObservedHeight() int64
- func (o *InboundConfirmationCountedStage) GetExternalObservedHeightOk() (*int64, bool)
- func (o *InboundConfirmationCountedStage) GetRemainingConfirmationSeconds() int64
- func (o *InboundConfirmationCountedStage) GetRemainingConfirmationSecondsOk() (*int64, bool)
- func (o *InboundConfirmationCountedStage) HasChain() bool
- func (o *InboundConfirmationCountedStage) HasCountingStartHeight() bool
- func (o *InboundConfirmationCountedStage) HasExternalConfirmationDelayHeight() bool
- func (o *InboundConfirmationCountedStage) HasExternalObservedHeight() bool
- func (o *InboundConfirmationCountedStage) HasRemainingConfirmationSeconds() bool
- func (o InboundConfirmationCountedStage) MarshalJSON_deprecated() ([]byte, error)
- func (o *InboundConfirmationCountedStage) SetChain(v string)
- func (o *InboundConfirmationCountedStage) SetCompleted(v bool)
- func (o *InboundConfirmationCountedStage) SetCountingStartHeight(v int64)
- func (o *InboundConfirmationCountedStage) SetExternalConfirmationDelayHeight(v int64)
- func (o *InboundConfirmationCountedStage) SetExternalObservedHeight(v int64)
- func (o *InboundConfirmationCountedStage) SetRemainingConfirmationSeconds(v int64)
- type InboundFinalisedStage
- type InboundObservedStage
- func (o *InboundObservedStage) GetCompleted() bool
- func (o *InboundObservedStage) GetCompletedOk() (*bool, bool)
- func (o *InboundObservedStage) GetFinalCount() int64
- func (o *InboundObservedStage) GetFinalCountOk() (*int64, bool)
- func (o *InboundObservedStage) GetPreConfirmationCount() int64
- func (o *InboundObservedStage) GetPreConfirmationCountOk() (*int64, bool)
- func (o *InboundObservedStage) GetStarted() bool
- func (o *InboundObservedStage) GetStartedOk() (*bool, bool)
- func (o *InboundObservedStage) HasPreConfirmationCount() bool
- func (o *InboundObservedStage) HasStarted() bool
- func (o InboundObservedStage) MarshalJSON_deprecated() ([]byte, error)
- func (o *InboundObservedStage) SetCompleted(v bool)
- func (o *InboundObservedStage) SetFinalCount(v int64)
- func (o *InboundObservedStage) SetPreConfirmationCount(v int64)
- func (o *InboundObservedStage) SetStarted(v bool)
- type InvariantResponse
- func (o *InvariantResponse) GetBroken() bool
- func (o *InvariantResponse) GetBrokenOk() (*bool, bool)
- func (o *InvariantResponse) GetInvariant() string
- func (o *InvariantResponse) GetInvariantOk() (*string, bool)
- func (o *InvariantResponse) GetMsg() []string
- func (o *InvariantResponse) GetMsgOk() ([]string, bool)
- func (o InvariantResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *InvariantResponse) SetBroken(v bool)
- func (o *InvariantResponse) SetInvariant(v string)
- func (o *InvariantResponse) SetMsg(v []string)
- type InvariantsApiService
- func (a *InvariantsApiService) Invariant(ctx context.Context, invariant string) ApiInvariantRequest
- func (a *InvariantsApiService) InvariantExecute(r ApiInvariantRequest) (*InvariantResponse, *http.Response, error)
- func (a *InvariantsApiService) Invariants(ctx context.Context) ApiInvariantsRequest
- func (a *InvariantsApiService) InvariantsExecute(r ApiInvariantsRequest) (*InvariantsResponse, *http.Response, error)
- type InvariantsResponse
- type Keygen
- func (o *Keygen) GetId() string
- func (o *Keygen) GetIdOk() (*string, bool)
- func (o *Keygen) GetMembers() []string
- func (o *Keygen) GetMembersOk() ([]string, bool)
- func (o *Keygen) GetType() string
- func (o *Keygen) GetTypeOk() (*string, bool)
- func (o *Keygen) HasId() bool
- func (o *Keygen) HasMembers() bool
- func (o *Keygen) HasType() bool
- func (o Keygen) MarshalJSON_deprecated() ([]byte, error)
- func (o *Keygen) SetId(v string)
- func (o *Keygen) SetMembers(v []string)
- func (o *Keygen) SetType(v string)
- type KeygenBlock
- func (o *KeygenBlock) GetHeight() int64
- func (o *KeygenBlock) GetHeightOk() (*int64, bool)
- func (o *KeygenBlock) GetKeygens() []Keygen
- func (o *KeygenBlock) GetKeygensOk() ([]Keygen, bool)
- func (o *KeygenBlock) HasHeight() bool
- func (o KeygenBlock) MarshalJSON_deprecated() ([]byte, error)
- func (o *KeygenBlock) SetHeight(v int64)
- func (o *KeygenBlock) SetKeygens(v []Keygen)
- type KeygenMetric
- func (o *KeygenMetric) GetNodeTssTimes() []NodeKeygenMetric
- func (o *KeygenMetric) GetNodeTssTimesOk() ([]NodeKeygenMetric, bool)
- func (o *KeygenMetric) GetPubKey() string
- func (o *KeygenMetric) GetPubKeyOk() (*string, bool)
- func (o *KeygenMetric) HasPubKey() bool
- func (o KeygenMetric) MarshalJSON_deprecated() ([]byte, error)
- func (o *KeygenMetric) SetNodeTssTimes(v []NodeKeygenMetric)
- func (o *KeygenMetric) SetPubKey(v string)
- type KeygenResponse
- func (o *KeygenResponse) GetKeygenBlock() KeygenBlock
- func (o *KeygenResponse) GetKeygenBlockOk() (*KeygenBlock, bool)
- func (o *KeygenResponse) GetSignature() string
- func (o *KeygenResponse) GetSignatureOk() (*string, bool)
- func (o KeygenResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *KeygenResponse) SetKeygenBlock(v KeygenBlock)
- func (o *KeygenResponse) SetSignature(v string)
- type KeysignInfo
- func (o *KeysignInfo) GetHeight() int64
- func (o *KeysignInfo) GetHeightOk() (*int64, bool)
- func (o *KeysignInfo) GetTxArray() []TxOutItem
- func (o *KeysignInfo) GetTxArrayOk() ([]TxOutItem, bool)
- func (o *KeysignInfo) HasHeight() bool
- func (o KeysignInfo) MarshalJSON_deprecated() ([]byte, error)
- func (o *KeysignInfo) SetHeight(v int64)
- func (o *KeysignInfo) SetTxArray(v []TxOutItem)
- type KeysignMetrics
- func (o *KeysignMetrics) GetNodeTssTimes() []TssMetric
- func (o *KeysignMetrics) GetNodeTssTimesOk() ([]TssMetric, bool)
- func (o *KeysignMetrics) GetTxId() string
- func (o *KeysignMetrics) GetTxIdOk() (*string, bool)
- func (o *KeysignMetrics) HasNodeTssTimes() bool
- func (o *KeysignMetrics) HasTxId() bool
- func (o KeysignMetrics) MarshalJSON_deprecated() ([]byte, error)
- func (o *KeysignMetrics) SetNodeTssTimes(v []TssMetric)
- func (o *KeysignMetrics) SetTxId(v string)
- type KeysignResponse
- func (o *KeysignResponse) GetKeysign() KeysignInfo
- func (o *KeysignResponse) GetKeysignOk() (*KeysignInfo, bool)
- func (o *KeysignResponse) GetSignature() string
- func (o *KeysignResponse) GetSignatureOk() (*string, bool)
- func (o KeysignResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *KeysignResponse) SetKeysign(v KeysignInfo)
- func (o *KeysignResponse) SetSignature(v string)
- type LastBlock
- func (o *LastBlock) GetChain() string
- func (o *LastBlock) GetChainOk() (*string, bool)
- func (o *LastBlock) GetLastObservedIn() int64
- func (o *LastBlock) GetLastObservedInOk() (*int64, bool)
- func (o *LastBlock) GetLastSignedOut() int64
- func (o *LastBlock) GetLastSignedOutOk() (*int64, bool)
- func (o *LastBlock) GetThorchain() int64
- func (o *LastBlock) GetThorchainOk() (*int64, bool)
- func (o LastBlock) MarshalJSON_deprecated() ([]byte, error)
- func (o *LastBlock) SetChain(v string)
- func (o *LastBlock) SetLastObservedIn(v int64)
- func (o *LastBlock) SetLastSignedOut(v int64)
- func (o *LastBlock) SetThorchain(v int64)
- type LiquidityProvider
- func (o *LiquidityProvider) GetAsset() string
- func (o *LiquidityProvider) GetAssetAddress() string
- func (o *LiquidityProvider) GetAssetAddressOk() (*string, bool)
- func (o *LiquidityProvider) GetAssetDepositValue() string
- func (o *LiquidityProvider) GetAssetDepositValueOk() (*string, bool)
- func (o *LiquidityProvider) GetAssetOk() (*string, bool)
- func (o *LiquidityProvider) GetAssetRedeemValue() string
- func (o *LiquidityProvider) GetAssetRedeemValueOk() (*string, bool)
- func (o *LiquidityProvider) GetLastAddHeight() int64
- func (o *LiquidityProvider) GetLastAddHeightOk() (*int64, bool)
- func (o *LiquidityProvider) GetLastWithdrawHeight() int64
- func (o *LiquidityProvider) GetLastWithdrawHeightOk() (*int64, bool)
- func (o *LiquidityProvider) GetLuviDepositValue() string
- func (o *LiquidityProvider) GetLuviDepositValueOk() (*string, bool)
- func (o *LiquidityProvider) GetLuviGrowthPct() string
- func (o *LiquidityProvider) GetLuviGrowthPctOk() (*string, bool)
- func (o *LiquidityProvider) GetLuviRedeemValue() string
- func (o *LiquidityProvider) GetLuviRedeemValueOk() (*string, bool)
- func (o *LiquidityProvider) GetPendingAsset() string
- func (o *LiquidityProvider) GetPendingAssetOk() (*string, bool)
- func (o *LiquidityProvider) GetPendingRune() string
- func (o *LiquidityProvider) GetPendingRuneOk() (*string, bool)
- func (o *LiquidityProvider) GetPendingTxId() string
- func (o *LiquidityProvider) GetPendingTxIdOk() (*string, bool)
- func (o *LiquidityProvider) GetRuneAddress() string
- func (o *LiquidityProvider) GetRuneAddressOk() (*string, bool)
- func (o *LiquidityProvider) GetRuneDepositValue() string
- func (o *LiquidityProvider) GetRuneDepositValueOk() (*string, bool)
- func (o *LiquidityProvider) GetRuneRedeemValue() string
- func (o *LiquidityProvider) GetRuneRedeemValueOk() (*string, bool)
- func (o *LiquidityProvider) GetUnits() string
- func (o *LiquidityProvider) GetUnitsOk() (*string, bool)
- func (o *LiquidityProvider) HasAssetAddress() bool
- func (o *LiquidityProvider) HasAssetRedeemValue() bool
- func (o *LiquidityProvider) HasLastAddHeight() bool
- func (o *LiquidityProvider) HasLastWithdrawHeight() bool
- func (o *LiquidityProvider) HasLuviDepositValue() bool
- func (o *LiquidityProvider) HasLuviGrowthPct() bool
- func (o *LiquidityProvider) HasLuviRedeemValue() bool
- func (o *LiquidityProvider) HasPendingTxId() bool
- func (o *LiquidityProvider) HasRuneAddress() bool
- func (o *LiquidityProvider) HasRuneRedeemValue() bool
- func (o LiquidityProvider) MarshalJSON_deprecated() ([]byte, error)
- func (o *LiquidityProvider) SetAsset(v string)
- func (o *LiquidityProvider) SetAssetAddress(v string)
- func (o *LiquidityProvider) SetAssetDepositValue(v string)
- func (o *LiquidityProvider) SetAssetRedeemValue(v string)
- func (o *LiquidityProvider) SetLastAddHeight(v int64)
- func (o *LiquidityProvider) SetLastWithdrawHeight(v int64)
- func (o *LiquidityProvider) SetLuviDepositValue(v string)
- func (o *LiquidityProvider) SetLuviGrowthPct(v string)
- func (o *LiquidityProvider) SetLuviRedeemValue(v string)
- func (o *LiquidityProvider) SetPendingAsset(v string)
- func (o *LiquidityProvider) SetPendingRune(v string)
- func (o *LiquidityProvider) SetPendingTxId(v string)
- func (o *LiquidityProvider) SetRuneAddress(v string)
- func (o *LiquidityProvider) SetRuneDepositValue(v string)
- func (o *LiquidityProvider) SetRuneRedeemValue(v string)
- func (o *LiquidityProvider) SetUnits(v string)
- type LiquidityProviderSummary
- func (o *LiquidityProviderSummary) GetAsset() string
- func (o *LiquidityProviderSummary) GetAssetAddress() string
- func (o *LiquidityProviderSummary) GetAssetAddressOk() (*string, bool)
- func (o *LiquidityProviderSummary) GetAssetDepositValue() string
- func (o *LiquidityProviderSummary) GetAssetDepositValueOk() (*string, bool)
- func (o *LiquidityProviderSummary) GetAssetOk() (*string, bool)
- func (o *LiquidityProviderSummary) GetLastAddHeight() int64
- func (o *LiquidityProviderSummary) GetLastAddHeightOk() (*int64, bool)
- func (o *LiquidityProviderSummary) GetLastWithdrawHeight() int64
- func (o *LiquidityProviderSummary) GetLastWithdrawHeightOk() (*int64, bool)
- func (o *LiquidityProviderSummary) GetPendingAsset() string
- func (o *LiquidityProviderSummary) GetPendingAssetOk() (*string, bool)
- func (o *LiquidityProviderSummary) GetPendingRune() string
- func (o *LiquidityProviderSummary) GetPendingRuneOk() (*string, bool)
- func (o *LiquidityProviderSummary) GetPendingTxId() string
- func (o *LiquidityProviderSummary) GetPendingTxIdOk() (*string, bool)
- func (o *LiquidityProviderSummary) GetRuneAddress() string
- func (o *LiquidityProviderSummary) GetRuneAddressOk() (*string, bool)
- func (o *LiquidityProviderSummary) GetRuneDepositValue() string
- func (o *LiquidityProviderSummary) GetRuneDepositValueOk() (*string, bool)
- func (o *LiquidityProviderSummary) GetUnits() string
- func (o *LiquidityProviderSummary) GetUnitsOk() (*string, bool)
- func (o *LiquidityProviderSummary) HasAssetAddress() bool
- func (o *LiquidityProviderSummary) HasLastAddHeight() bool
- func (o *LiquidityProviderSummary) HasLastWithdrawHeight() bool
- func (o *LiquidityProviderSummary) HasPendingTxId() bool
- func (o *LiquidityProviderSummary) HasRuneAddress() bool
- func (o LiquidityProviderSummary) MarshalJSON_deprecated() ([]byte, error)
- func (o *LiquidityProviderSummary) SetAsset(v string)
- func (o *LiquidityProviderSummary) SetAssetAddress(v string)
- func (o *LiquidityProviderSummary) SetAssetDepositValue(v string)
- func (o *LiquidityProviderSummary) SetLastAddHeight(v int64)
- func (o *LiquidityProviderSummary) SetLastWithdrawHeight(v int64)
- func (o *LiquidityProviderSummary) SetPendingAsset(v string)
- func (o *LiquidityProviderSummary) SetPendingRune(v string)
- func (o *LiquidityProviderSummary) SetPendingTxId(v string)
- func (o *LiquidityProviderSummary) SetRuneAddress(v string)
- func (o *LiquidityProviderSummary) SetRuneDepositValue(v string)
- func (o *LiquidityProviderSummary) SetUnits(v string)
- type LiquidityProvidersApiService
- func (a *LiquidityProvidersApiService) LiquidityProvider(ctx context.Context, asset string, address string) ApiLiquidityProviderRequest
- func (a *LiquidityProvidersApiService) LiquidityProviderExecute(r ApiLiquidityProviderRequest) (*LiquidityProvider, *http.Response, error)
- func (a *LiquidityProvidersApiService) LiquidityProviders(ctx context.Context, asset string) ApiLiquidityProvidersRequest
- func (a *LiquidityProvidersApiService) LiquidityProvidersExecute(r ApiLiquidityProvidersRequest) ([]LiquidityProviderSummary, *http.Response, error)
- type MetricsResponse
- func (o *MetricsResponse) GetKeygen() []KeygenMetric
- func (o *MetricsResponse) GetKeygenOk() ([]KeygenMetric, bool)
- func (o *MetricsResponse) GetKeysign() KeysignMetrics
- func (o *MetricsResponse) GetKeysignOk() (*KeysignMetrics, bool)
- func (o *MetricsResponse) HasKeygen() bool
- func (o *MetricsResponse) HasKeysign() bool
- func (o MetricsResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *MetricsResponse) SetKeygen(v []KeygenMetric)
- func (o *MetricsResponse) SetKeysign(v KeysignMetrics)
- type MimirApiService
- func (a *MimirApiService) Mimir(ctx context.Context) ApiMimirRequest
- func (a *MimirApiService) MimirAdmin(ctx context.Context) ApiMimirAdminRequest
- func (a *MimirApiService) MimirAdminExecute(r ApiMimirAdminRequest) (map[string]string, *http.Response, error)
- func (a *MimirApiService) MimirExecute(r ApiMimirRequest) (map[string]string, *http.Response, error)
- func (a *MimirApiService) MimirKey(ctx context.Context, key string) ApiMimirKeyRequest
- func (a *MimirApiService) MimirKeyExecute(r ApiMimirKeyRequest) (int64, *http.Response, error)
- func (a *MimirApiService) MimirNode(ctx context.Context, address string) ApiMimirNodeRequest
- func (a *MimirApiService) MimirNodeExecute(r ApiMimirNodeRequest) (map[string]string, *http.Response, error)
- func (a *MimirApiService) MimirNodes(ctx context.Context) ApiMimirNodesRequest
- func (a *MimirApiService) MimirNodesExecute(r ApiMimirNodesRequest) (*MimirNodesResponse, *http.Response, error)
- type MimirNodesResponse
- type MimirVote
- func (o *MimirVote) GetKey() string
- func (o *MimirVote) GetKeyOk() (*string, bool)
- func (o *MimirVote) GetSigner() string
- func (o *MimirVote) GetSignerOk() (*string, bool)
- func (o *MimirVote) GetValue() int64
- func (o *MimirVote) GetValueOk() (*int64, bool)
- func (o *MimirVote) HasKey() bool
- func (o *MimirVote) HasSigner() bool
- func (o *MimirVote) HasValue() bool
- func (o MimirVote) MarshalJSON_deprecated() ([]byte, error)
- func (o *MimirVote) SetKey(v string)
- func (o *MimirVote) SetSigner(v string)
- func (o *MimirVote) SetValue(v int64)
- type MsgSwap
- func (o *MsgSwap) GetAffiliateAddress() string
- func (o *MsgSwap) GetAffiliateAddressOk() (*string, bool)
- func (o *MsgSwap) GetAffiliateBasisPoints() string
- func (o *MsgSwap) GetAffiliateBasisPointsOk() (*string, bool)
- func (o *MsgSwap) GetAggregator() string
- func (o *MsgSwap) GetAggregatorOk() (*string, bool)
- func (o *MsgSwap) GetAggregatorTargetAddress() string
- func (o *MsgSwap) GetAggregatorTargetAddressOk() (*string, bool)
- func (o *MsgSwap) GetAggregatorTargetLimit() string
- func (o *MsgSwap) GetAggregatorTargetLimitOk() (*string, bool)
- func (o *MsgSwap) GetDestination() string
- func (o *MsgSwap) GetDestinationOk() (*string, bool)
- func (o *MsgSwap) GetOrderType() string
- func (o *MsgSwap) GetOrderTypeOk() (*string, bool)
- func (o *MsgSwap) GetSigner() string
- func (o *MsgSwap) GetSignerOk() (*string, bool)
- func (o *MsgSwap) GetStreamInterval() int64
- func (o *MsgSwap) GetStreamIntervalOk() (*int64, bool)
- func (o *MsgSwap) GetStreamQuantity() int64
- func (o *MsgSwap) GetStreamQuantityOk() (*int64, bool)
- func (o *MsgSwap) GetTargetAsset() string
- func (o *MsgSwap) GetTargetAssetOk() (*string, bool)
- func (o *MsgSwap) GetTradeTarget() string
- func (o *MsgSwap) GetTradeTargetOk() (*string, bool)
- func (o *MsgSwap) GetTx() Tx
- func (o *MsgSwap) GetTxOk() (*Tx, bool)
- func (o *MsgSwap) HasAffiliateAddress() bool
- func (o *MsgSwap) HasAggregator() bool
- func (o *MsgSwap) HasAggregatorTargetAddress() bool
- func (o *MsgSwap) HasAggregatorTargetLimit() bool
- func (o *MsgSwap) HasDestination() bool
- func (o *MsgSwap) HasOrderType() bool
- func (o *MsgSwap) HasSigner() bool
- func (o *MsgSwap) HasStreamInterval() bool
- func (o *MsgSwap) HasStreamQuantity() bool
- func (o MsgSwap) MarshalJSON_deprecated() ([]byte, error)
- func (o *MsgSwap) SetAffiliateAddress(v string)
- func (o *MsgSwap) SetAffiliateBasisPoints(v string)
- func (o *MsgSwap) SetAggregator(v string)
- func (o *MsgSwap) SetAggregatorTargetAddress(v string)
- func (o *MsgSwap) SetAggregatorTargetLimit(v string)
- func (o *MsgSwap) SetDestination(v string)
- func (o *MsgSwap) SetOrderType(v string)
- func (o *MsgSwap) SetSigner(v string)
- func (o *MsgSwap) SetStreamInterval(v int64)
- func (o *MsgSwap) SetStreamQuantity(v int64)
- func (o *MsgSwap) SetTargetAsset(v string)
- func (o *MsgSwap) SetTradeTarget(v string)
- func (o *MsgSwap) SetTx(v Tx)
- type NetworkApiService
- func (a *NetworkApiService) Ban(ctx context.Context, address string) ApiBanRequest
- func (a *NetworkApiService) BanExecute(r ApiBanRequest) (*BanResponse, *http.Response, error)
- func (a *NetworkApiService) Constants(ctx context.Context) ApiConstantsRequest
- func (a *NetworkApiService) ConstantsExecute(r ApiConstantsRequest) (*ConstantsResponse, *http.Response, error)
- func (a *NetworkApiService) InboundAddresses(ctx context.Context) ApiInboundAddressesRequest
- func (a *NetworkApiService) InboundAddressesExecute(r ApiInboundAddressesRequest) ([]InboundAddress, *http.Response, error)
- func (a *NetworkApiService) Lastblock(ctx context.Context) ApiLastblockRequest
- func (a *NetworkApiService) LastblockChain(ctx context.Context, chain string) ApiLastblockChainRequest
- func (a *NetworkApiService) LastblockChainExecute(r ApiLastblockChainRequest) ([]LastBlock, *http.Response, error)
- func (a *NetworkApiService) LastblockExecute(r ApiLastblockRequest) ([]LastBlock, *http.Response, error)
- func (a *NetworkApiService) Network(ctx context.Context) ApiNetworkRequest
- func (a *NetworkApiService) NetworkExecute(r ApiNetworkRequest) (*NetworkResponse, *http.Response, error)
- func (a *NetworkApiService) OutboundFeeAsset(ctx context.Context, asset string) ApiOutboundFeeAssetRequest
- func (a *NetworkApiService) OutboundFeeAssetExecute(r ApiOutboundFeeAssetRequest) ([]OutboundFee, *http.Response, error)
- func (a *NetworkApiService) OutboundFees(ctx context.Context) ApiOutboundFeesRequest
- func (a *NetworkApiService) OutboundFeesExecute(r ApiOutboundFeesRequest) ([]OutboundFee, *http.Response, error)
- func (a *NetworkApiService) Ragnarok(ctx context.Context) ApiRagnarokRequest
- func (a *NetworkApiService) RagnarokExecute(r ApiRagnarokRequest) (bool, *http.Response, error)
- func (a *NetworkApiService) UpgradeProposal(ctx context.Context, name string) ApiUpgradeProposalRequest
- func (a *NetworkApiService) UpgradeProposalExecute(r ApiUpgradeProposalRequest) (*UpgradeProposal, *http.Response, error)
- func (a *NetworkApiService) UpgradeProposals(ctx context.Context) ApiUpgradeProposalsRequest
- func (a *NetworkApiService) UpgradeProposalsExecute(r ApiUpgradeProposalsRequest) ([]UpgradeProposal, *http.Response, error)
- func (a *NetworkApiService) UpgradeVotes(ctx context.Context, name string) ApiUpgradeVotesRequest
- func (a *NetworkApiService) UpgradeVotesExecute(r ApiUpgradeVotesRequest) ([]UpgradeVote, *http.Response, error)
- func (a *NetworkApiService) Version(ctx context.Context) ApiVersionRequest
- func (a *NetworkApiService) VersionExecute(r ApiVersionRequest) (*VersionResponse, *http.Response, error)
- type NetworkResponse
- func (o *NetworkResponse) GetBondRewardRune() string
- func (o *NetworkResponse) GetBondRewardRuneOk() (*string, bool)
- func (o *NetworkResponse) GetEffectiveSecurityBond() string
- func (o *NetworkResponse) GetEffectiveSecurityBondOk() (*string, bool)
- func (o *NetworkResponse) GetGasSpentRune() string
- func (o *NetworkResponse) GetGasSpentRuneOk() (*string, bool)
- func (o *NetworkResponse) GetGasWithheldRune() string
- func (o *NetworkResponse) GetGasWithheldRuneOk() (*string, bool)
- func (o *NetworkResponse) GetNativeOutboundFeeRune() string
- func (o *NetworkResponse) GetNativeOutboundFeeRuneOk() (*string, bool)
- func (o *NetworkResponse) GetNativeTxFeeRune() string
- func (o *NetworkResponse) GetNativeTxFeeRuneOk() (*string, bool)
- func (o *NetworkResponse) GetOutboundFeeMultiplier() string
- func (o *NetworkResponse) GetOutboundFeeMultiplierOk() (*string, bool)
- func (o *NetworkResponse) GetRunePriceInTor() string
- func (o *NetworkResponse) GetRunePriceInTorOk() (*string, bool)
- func (o *NetworkResponse) GetTnsFeePerBlockRune() string
- func (o *NetworkResponse) GetTnsFeePerBlockRuneOk() (*string, bool)
- func (o *NetworkResponse) GetTnsRegisterFeeRune() string
- func (o *NetworkResponse) GetTnsRegisterFeeRuneOk() (*string, bool)
- func (o *NetworkResponse) GetTorPriceInRune() string
- func (o *NetworkResponse) GetTorPriceInRuneOk() (*string, bool)
- func (o *NetworkResponse) GetTotalBondUnits() string
- func (o *NetworkResponse) GetTotalBondUnitsOk() (*string, bool)
- func (o *NetworkResponse) GetTotalReserve() string
- func (o *NetworkResponse) GetTotalReserveOk() (*string, bool)
- func (o *NetworkResponse) GetVaultsMigrating() bool
- func (o *NetworkResponse) GetVaultsMigratingOk() (*bool, bool)
- func (o *NetworkResponse) HasOutboundFeeMultiplier() bool
- func (o NetworkResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *NetworkResponse) SetBondRewardRune(v string)
- func (o *NetworkResponse) SetEffectiveSecurityBond(v string)
- func (o *NetworkResponse) SetGasSpentRune(v string)
- func (o *NetworkResponse) SetGasWithheldRune(v string)
- func (o *NetworkResponse) SetNativeOutboundFeeRune(v string)
- func (o *NetworkResponse) SetNativeTxFeeRune(v string)
- func (o *NetworkResponse) SetOutboundFeeMultiplier(v string)
- func (o *NetworkResponse) SetRunePriceInTor(v string)
- func (o *NetworkResponse) SetTnsFeePerBlockRune(v string)
- func (o *NetworkResponse) SetTnsRegisterFeeRune(v string)
- func (o *NetworkResponse) SetTorPriceInRune(v string)
- func (o *NetworkResponse) SetTotalBondUnits(v string)
- func (o *NetworkResponse) SetTotalReserve(v string)
- func (o *NetworkResponse) SetVaultsMigrating(v bool)
- type Node
- func (o *Node) GetActiveBlockHeight() int64
- func (o *Node) GetActiveBlockHeightOk() (*int64, bool)
- func (o *Node) GetBondProviders() NodeBondProviders
- func (o *Node) GetBondProvidersOk() (*NodeBondProviders, bool)
- func (o *Node) GetCurrentAward() string
- func (o *Node) GetCurrentAwardOk() (*string, bool)
- func (o *Node) GetForcedToLeave() bool
- func (o *Node) GetForcedToLeaveOk() (*bool, bool)
- func (o *Node) GetIpAddress() string
- func (o *Node) GetIpAddressOk() (*string, bool)
- func (o *Node) GetJail() NodeJail
- func (o *Node) GetJailOk() (*NodeJail, bool)
- func (o *Node) GetLeaveHeight() int64
- func (o *Node) GetLeaveHeightOk() (*int64, bool)
- func (o *Node) GetNodeAddress() string
- func (o *Node) GetNodeAddressOk() (*string, bool)
- func (o *Node) GetNodeOperatorAddress() string
- func (o *Node) GetNodeOperatorAddressOk() (*string, bool)
- func (o *Node) GetObserveChains() []ChainHeight
- func (o *Node) GetObserveChainsOk() ([]ChainHeight, bool)
- func (o *Node) GetPeerId() string
- func (o *Node) GetPeerIdOk() (*string, bool)
- func (o *Node) GetPreflightStatus() NodePreflightStatus
- func (o *Node) GetPreflightStatusOk() (*NodePreflightStatus, bool)
- func (o *Node) GetPubKeySet() NodePubKeySet
- func (o *Node) GetPubKeySetOk() (*NodePubKeySet, bool)
- func (o *Node) GetRequestedToLeave() bool
- func (o *Node) GetRequestedToLeaveOk() (*bool, bool)
- func (o *Node) GetSignerMembership() []string
- func (o *Node) GetSignerMembershipOk() ([]string, bool)
- func (o *Node) GetSlashPoints() int64
- func (o *Node) GetSlashPointsOk() (*int64, bool)
- func (o *Node) GetStatus() string
- func (o *Node) GetStatusOk() (*string, bool)
- func (o *Node) GetStatusSince() int64
- func (o *Node) GetStatusSinceOk() (*int64, bool)
- func (o *Node) GetTotalBond() string
- func (o *Node) GetTotalBondOk() (*string, bool)
- func (o *Node) GetValidatorConsPubKey() string
- func (o *Node) GetValidatorConsPubKeyOk() (*string, bool)
- func (o *Node) GetVersion() string
- func (o *Node) GetVersionOk() (*string, bool)
- func (o Node) MarshalJSON_deprecated() ([]byte, error)
- func (o *Node) SetActiveBlockHeight(v int64)
- func (o *Node) SetBondProviders(v NodeBondProviders)
- func (o *Node) SetCurrentAward(v string)
- func (o *Node) SetForcedToLeave(v bool)
- func (o *Node) SetIpAddress(v string)
- func (o *Node) SetJail(v NodeJail)
- func (o *Node) SetLeaveHeight(v int64)
- func (o *Node) SetNodeAddress(v string)
- func (o *Node) SetNodeOperatorAddress(v string)
- func (o *Node) SetObserveChains(v []ChainHeight)
- func (o *Node) SetPeerId(v string)
- func (o *Node) SetPreflightStatus(v NodePreflightStatus)
- func (o *Node) SetPubKeySet(v NodePubKeySet)
- func (o *Node) SetRequestedToLeave(v bool)
- func (o *Node) SetSignerMembership(v []string)
- func (o *Node) SetSlashPoints(v int64)
- func (o *Node) SetStatus(v string)
- func (o *Node) SetStatusSince(v int64)
- func (o *Node) SetTotalBond(v string)
- func (o *Node) SetValidatorConsPubKey(v string)
- func (o *Node) SetVersion(v string)
- type NodeBondProvider
- func (o *NodeBondProvider) GetBond() string
- func (o *NodeBondProvider) GetBondAddress() string
- func (o *NodeBondProvider) GetBondAddressOk() (*string, bool)
- func (o *NodeBondProvider) GetBondOk() (*string, bool)
- func (o *NodeBondProvider) HasBond() bool
- func (o *NodeBondProvider) HasBondAddress() bool
- func (o NodeBondProvider) MarshalJSON_deprecated() ([]byte, error)
- func (o *NodeBondProvider) SetBond(v string)
- func (o *NodeBondProvider) SetBondAddress(v string)
- type NodeBondProviders
- func (o *NodeBondProviders) GetNodeOperatorFee() string
- func (o *NodeBondProviders) GetNodeOperatorFeeOk() (*string, bool)
- func (o *NodeBondProviders) GetProviders() []NodeBondProvider
- func (o *NodeBondProviders) GetProvidersOk() ([]NodeBondProvider, bool)
- func (o NodeBondProviders) MarshalJSON_deprecated() ([]byte, error)
- func (o *NodeBondProviders) SetNodeOperatorFee(v string)
- func (o *NodeBondProviders) SetProviders(v []NodeBondProvider)
- type NodeJail
- func (o *NodeJail) GetReason() string
- func (o *NodeJail) GetReasonOk() (*string, bool)
- func (o *NodeJail) GetReleaseHeight() int64
- func (o *NodeJail) GetReleaseHeightOk() (*int64, bool)
- func (o *NodeJail) HasReason() bool
- func (o *NodeJail) HasReleaseHeight() bool
- func (o NodeJail) MarshalJSON_deprecated() ([]byte, error)
- func (o *NodeJail) SetReason(v string)
- func (o *NodeJail) SetReleaseHeight(v int64)
- type NodeKeygenMetric
- func (o *NodeKeygenMetric) GetAddress() string
- func (o *NodeKeygenMetric) GetAddressOk() (*string, bool)
- func (o *NodeKeygenMetric) GetTssTime() string
- func (o *NodeKeygenMetric) GetTssTimeOk() (*string, bool)
- func (o *NodeKeygenMetric) HasAddress() bool
- func (o *NodeKeygenMetric) HasTssTime() bool
- func (o NodeKeygenMetric) MarshalJSON_deprecated() ([]byte, error)
- func (o *NodeKeygenMetric) SetAddress(v string)
- func (o *NodeKeygenMetric) SetTssTime(v string)
- type NodePreflightStatus
- func (o *NodePreflightStatus) GetCode() int64
- func (o *NodePreflightStatus) GetCodeOk() (*int64, bool)
- func (o *NodePreflightStatus) GetReason() string
- func (o *NodePreflightStatus) GetReasonOk() (*string, bool)
- func (o *NodePreflightStatus) GetStatus() string
- func (o *NodePreflightStatus) GetStatusOk() (*string, bool)
- func (o NodePreflightStatus) MarshalJSON_deprecated() ([]byte, error)
- func (o *NodePreflightStatus) SetCode(v int64)
- func (o *NodePreflightStatus) SetReason(v string)
- func (o *NodePreflightStatus) SetStatus(v string)
- type NodePubKeySet
- func (o *NodePubKeySet) GetEd25519() string
- func (o *NodePubKeySet) GetEd25519Ok() (*string, bool)
- func (o *NodePubKeySet) GetSecp256k1() string
- func (o *NodePubKeySet) GetSecp256k1Ok() (*string, bool)
- func (o *NodePubKeySet) HasEd25519() bool
- func (o *NodePubKeySet) HasSecp256k1() bool
- func (o NodePubKeySet) MarshalJSON_deprecated() ([]byte, error)
- func (o *NodePubKeySet) SetEd25519(v string)
- func (o *NodePubKeySet) SetSecp256k1(v string)
- type NodesApiService
- func (a *NodesApiService) Node(ctx context.Context, address string) ApiNodeRequest
- func (a *NodesApiService) NodeExecute(r ApiNodeRequest) (*Node, *http.Response, error)
- func (a *NodesApiService) Nodes(ctx context.Context) ApiNodesRequest
- func (a *NodesApiService) NodesExecute(r ApiNodesRequest) ([]Node, *http.Response, error)
- type NullableAccount
- type NullableAccountResponse
- func (v NullableAccountResponse) Get() *AccountResponse
- func (v NullableAccountResponse) IsSet() bool
- func (v NullableAccountResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableAccountResponse) Set(val *AccountResponse)
- func (v *NullableAccountResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAccountResponse) Unset()
- type NullableAccountResponseResult
- func (v NullableAccountResponseResult) Get() *AccountResponseResult
- func (v NullableAccountResponseResult) IsSet() bool
- func (v NullableAccountResponseResult) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableAccountResponseResult) Set(val *AccountResponseResult)
- func (v *NullableAccountResponseResult) UnmarshalJSON(src []byte) error
- func (v *NullableAccountResponseResult) Unset()
- type NullableAmount
- type NullableBalancesResponse
- func (v NullableBalancesResponse) Get() *BalancesResponse
- func (v NullableBalancesResponse) IsSet() bool
- func (v NullableBalancesResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBalancesResponse) Set(val *BalancesResponse)
- func (v *NullableBalancesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBalancesResponse) Unset()
- type NullableBanResponse
- func (v NullableBanResponse) Get() *BanResponse
- func (v NullableBanResponse) IsSet() bool
- func (v NullableBanResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBanResponse) Set(val *BanResponse)
- func (v *NullableBanResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBanResponse) Unset()
- type NullableBaseQuoteResponse
- func (v NullableBaseQuoteResponse) Get() *BaseQuoteResponse
- func (v NullableBaseQuoteResponse) IsSet() bool
- func (v NullableBaseQuoteResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBaseQuoteResponse) Set(val *BaseQuoteResponse)
- func (v *NullableBaseQuoteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBaseQuoteResponse) Unset()
- type NullableBlockResponse
- func (v NullableBlockResponse) Get() *BlockResponse
- func (v NullableBlockResponse) IsSet() bool
- func (v NullableBlockResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBlockResponse) Set(val *BlockResponse)
- func (v *NullableBlockResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBlockResponse) Unset()
- type NullableBlockResponseHeader
- func (v NullableBlockResponseHeader) Get() *BlockResponseHeader
- func (v NullableBlockResponseHeader) IsSet() bool
- func (v NullableBlockResponseHeader) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBlockResponseHeader) Set(val *BlockResponseHeader)
- func (v *NullableBlockResponseHeader) UnmarshalJSON(src []byte) error
- func (v *NullableBlockResponseHeader) Unset()
- type NullableBlockResponseHeaderVersion
- func (v NullableBlockResponseHeaderVersion) Get() *BlockResponseHeaderVersion
- func (v NullableBlockResponseHeaderVersion) IsSet() bool
- func (v NullableBlockResponseHeaderVersion) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBlockResponseHeaderVersion) Set(val *BlockResponseHeaderVersion)
- func (v *NullableBlockResponseHeaderVersion) UnmarshalJSON(src []byte) error
- func (v *NullableBlockResponseHeaderVersion) Unset()
- type NullableBlockResponseId
- func (v NullableBlockResponseId) Get() *BlockResponseId
- func (v NullableBlockResponseId) IsSet() bool
- func (v NullableBlockResponseId) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBlockResponseId) Set(val *BlockResponseId)
- func (v *NullableBlockResponseId) UnmarshalJSON(src []byte) error
- func (v *NullableBlockResponseId) Unset()
- type NullableBlockResponseIdParts
- func (v NullableBlockResponseIdParts) Get() *BlockResponseIdParts
- func (v NullableBlockResponseIdParts) IsSet() bool
- func (v NullableBlockResponseIdParts) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBlockResponseIdParts) Set(val *BlockResponseIdParts)
- func (v *NullableBlockResponseIdParts) UnmarshalJSON(src []byte) error
- func (v *NullableBlockResponseIdParts) Unset()
- type NullableBlockTx
- type NullableBlockTxResult
- func (v NullableBlockTxResult) Get() *BlockTxResult
- func (v NullableBlockTxResult) IsSet() bool
- func (v NullableBlockTxResult) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableBlockTxResult) Set(val *BlockTxResult)
- func (v *NullableBlockTxResult) UnmarshalJSON(src []byte) error
- func (v *NullableBlockTxResult) Unset()
- type NullableBool
- type NullableBorrower
- type NullableChainHeight
- func (v NullableChainHeight) Get() *ChainHeight
- func (v NullableChainHeight) IsSet() bool
- func (v NullableChainHeight) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableChainHeight) Set(val *ChainHeight)
- func (v *NullableChainHeight) UnmarshalJSON(src []byte) error
- func (v *NullableChainHeight) Unset()
- type NullableCoin
- type NullableConstantsResponse
- func (v NullableConstantsResponse) Get() *ConstantsResponse
- func (v NullableConstantsResponse) IsSet() bool
- func (v NullableConstantsResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableConstantsResponse) Set(val *ConstantsResponse)
- func (v *NullableConstantsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableConstantsResponse) Unset()
- type NullableDerivedPool
- func (v NullableDerivedPool) Get() *DerivedPool
- func (v NullableDerivedPool) IsSet() bool
- func (v NullableDerivedPool) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableDerivedPool) Set(val *DerivedPool)
- func (v *NullableDerivedPool) UnmarshalJSON(src []byte) error
- func (v *NullableDerivedPool) Unset()
- type NullableExportResponse
- func (v NullableExportResponse) Get() *ExportResponse
- func (v NullableExportResponse) IsSet() bool
- func (v NullableExportResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableExportResponse) Set(val *ExportResponse)
- func (v *NullableExportResponse) UnmarshalJSON(src []byte) error
- func (v *NullableExportResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInboundAddress
- func (v NullableInboundAddress) Get() *InboundAddress
- func (v NullableInboundAddress) IsSet() bool
- func (v NullableInboundAddress) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableInboundAddress) Set(val *InboundAddress)
- func (v *NullableInboundAddress) UnmarshalJSON(src []byte) error
- func (v *NullableInboundAddress) Unset()
- type NullableInboundConfirmationCountedStage
- func (v NullableInboundConfirmationCountedStage) Get() *InboundConfirmationCountedStage
- func (v NullableInboundConfirmationCountedStage) IsSet() bool
- func (v NullableInboundConfirmationCountedStage) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableInboundConfirmationCountedStage) Set(val *InboundConfirmationCountedStage)
- func (v *NullableInboundConfirmationCountedStage) UnmarshalJSON(src []byte) error
- func (v *NullableInboundConfirmationCountedStage) Unset()
- type NullableInboundFinalisedStage
- func (v NullableInboundFinalisedStage) Get() *InboundFinalisedStage
- func (v NullableInboundFinalisedStage) IsSet() bool
- func (v NullableInboundFinalisedStage) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableInboundFinalisedStage) Set(val *InboundFinalisedStage)
- func (v *NullableInboundFinalisedStage) UnmarshalJSON(src []byte) error
- func (v *NullableInboundFinalisedStage) Unset()
- type NullableInboundObservedStage
- func (v NullableInboundObservedStage) Get() *InboundObservedStage
- func (v NullableInboundObservedStage) IsSet() bool
- func (v NullableInboundObservedStage) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableInboundObservedStage) Set(val *InboundObservedStage)
- func (v *NullableInboundObservedStage) UnmarshalJSON(src []byte) error
- func (v *NullableInboundObservedStage) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInvariantResponse
- func (v NullableInvariantResponse) Get() *InvariantResponse
- func (v NullableInvariantResponse) IsSet() bool
- func (v NullableInvariantResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableInvariantResponse) Set(val *InvariantResponse)
- func (v *NullableInvariantResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInvariantResponse) Unset()
- type NullableInvariantsResponse
- func (v NullableInvariantsResponse) Get() *InvariantsResponse
- func (v NullableInvariantsResponse) IsSet() bool
- func (v NullableInvariantsResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableInvariantsResponse) Set(val *InvariantsResponse)
- func (v *NullableInvariantsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInvariantsResponse) Unset()
- type NullableKeygen
- type NullableKeygenBlock
- func (v NullableKeygenBlock) Get() *KeygenBlock
- func (v NullableKeygenBlock) IsSet() bool
- func (v NullableKeygenBlock) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableKeygenBlock) Set(val *KeygenBlock)
- func (v *NullableKeygenBlock) UnmarshalJSON(src []byte) error
- func (v *NullableKeygenBlock) Unset()
- type NullableKeygenMetric
- func (v NullableKeygenMetric) Get() *KeygenMetric
- func (v NullableKeygenMetric) IsSet() bool
- func (v NullableKeygenMetric) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableKeygenMetric) Set(val *KeygenMetric)
- func (v *NullableKeygenMetric) UnmarshalJSON(src []byte) error
- func (v *NullableKeygenMetric) Unset()
- type NullableKeygenResponse
- func (v NullableKeygenResponse) Get() *KeygenResponse
- func (v NullableKeygenResponse) IsSet() bool
- func (v NullableKeygenResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableKeygenResponse) Set(val *KeygenResponse)
- func (v *NullableKeygenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKeygenResponse) Unset()
- type NullableKeysignInfo
- func (v NullableKeysignInfo) Get() *KeysignInfo
- func (v NullableKeysignInfo) IsSet() bool
- func (v NullableKeysignInfo) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableKeysignInfo) Set(val *KeysignInfo)
- func (v *NullableKeysignInfo) UnmarshalJSON(src []byte) error
- func (v *NullableKeysignInfo) Unset()
- type NullableKeysignMetrics
- func (v NullableKeysignMetrics) Get() *KeysignMetrics
- func (v NullableKeysignMetrics) IsSet() bool
- func (v NullableKeysignMetrics) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableKeysignMetrics) Set(val *KeysignMetrics)
- func (v *NullableKeysignMetrics) UnmarshalJSON(src []byte) error
- func (v *NullableKeysignMetrics) Unset()
- type NullableKeysignResponse
- func (v NullableKeysignResponse) Get() *KeysignResponse
- func (v NullableKeysignResponse) IsSet() bool
- func (v NullableKeysignResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableKeysignResponse) Set(val *KeysignResponse)
- func (v *NullableKeysignResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKeysignResponse) Unset()
- type NullableLastBlock
- type NullableLiquidityProvider
- func (v NullableLiquidityProvider) Get() *LiquidityProvider
- func (v NullableLiquidityProvider) IsSet() bool
- func (v NullableLiquidityProvider) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableLiquidityProvider) Set(val *LiquidityProvider)
- func (v *NullableLiquidityProvider) UnmarshalJSON(src []byte) error
- func (v *NullableLiquidityProvider) Unset()
- type NullableLiquidityProviderSummary
- func (v NullableLiquidityProviderSummary) Get() *LiquidityProviderSummary
- func (v NullableLiquidityProviderSummary) IsSet() bool
- func (v NullableLiquidityProviderSummary) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableLiquidityProviderSummary) Set(val *LiquidityProviderSummary)
- func (v *NullableLiquidityProviderSummary) UnmarshalJSON(src []byte) error
- func (v *NullableLiquidityProviderSummary) Unset()
- type NullableMetricsResponse
- func (v NullableMetricsResponse) Get() *MetricsResponse
- func (v NullableMetricsResponse) IsSet() bool
- func (v NullableMetricsResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableMetricsResponse) Set(val *MetricsResponse)
- func (v *NullableMetricsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMetricsResponse) Unset()
- type NullableMimirNodesResponse
- func (v NullableMimirNodesResponse) Get() *MimirNodesResponse
- func (v NullableMimirNodesResponse) IsSet() bool
- func (v NullableMimirNodesResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableMimirNodesResponse) Set(val *MimirNodesResponse)
- func (v *NullableMimirNodesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMimirNodesResponse) Unset()
- type NullableMimirVote
- type NullableMsgSwap
- type NullableNetworkResponse
- func (v NullableNetworkResponse) Get() *NetworkResponse
- func (v NullableNetworkResponse) IsSet() bool
- func (v NullableNetworkResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableNetworkResponse) Set(val *NetworkResponse)
- func (v *NullableNetworkResponse) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkResponse) Unset()
- type NullableNode
- type NullableNodeBondProvider
- func (v NullableNodeBondProvider) Get() *NodeBondProvider
- func (v NullableNodeBondProvider) IsSet() bool
- func (v NullableNodeBondProvider) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableNodeBondProvider) Set(val *NodeBondProvider)
- func (v *NullableNodeBondProvider) UnmarshalJSON(src []byte) error
- func (v *NullableNodeBondProvider) Unset()
- type NullableNodeBondProviders
- func (v NullableNodeBondProviders) Get() *NodeBondProviders
- func (v NullableNodeBondProviders) IsSet() bool
- func (v NullableNodeBondProviders) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableNodeBondProviders) Set(val *NodeBondProviders)
- func (v *NullableNodeBondProviders) UnmarshalJSON(src []byte) error
- func (v *NullableNodeBondProviders) Unset()
- type NullableNodeJail
- type NullableNodeKeygenMetric
- func (v NullableNodeKeygenMetric) Get() *NodeKeygenMetric
- func (v NullableNodeKeygenMetric) IsSet() bool
- func (v NullableNodeKeygenMetric) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableNodeKeygenMetric) Set(val *NodeKeygenMetric)
- func (v *NullableNodeKeygenMetric) UnmarshalJSON(src []byte) error
- func (v *NullableNodeKeygenMetric) Unset()
- type NullableNodePreflightStatus
- func (v NullableNodePreflightStatus) Get() *NodePreflightStatus
- func (v NullableNodePreflightStatus) IsSet() bool
- func (v NullableNodePreflightStatus) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableNodePreflightStatus) Set(val *NodePreflightStatus)
- func (v *NullableNodePreflightStatus) UnmarshalJSON(src []byte) error
- func (v *NullableNodePreflightStatus) Unset()
- type NullableNodePubKeySet
- func (v NullableNodePubKeySet) Get() *NodePubKeySet
- func (v NullableNodePubKeySet) IsSet() bool
- func (v NullableNodePubKeySet) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableNodePubKeySet) Set(val *NodePubKeySet)
- func (v *NullableNodePubKeySet) UnmarshalJSON(src []byte) error
- func (v *NullableNodePubKeySet) Unset()
- type NullableObservedTx
- func (v NullableObservedTx) Get() *ObservedTx
- func (v NullableObservedTx) IsSet() bool
- func (v NullableObservedTx) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableObservedTx) Set(val *ObservedTx)
- func (v *NullableObservedTx) UnmarshalJSON(src []byte) error
- func (v *NullableObservedTx) Unset()
- type NullableOutboundDelayStage
- func (v NullableOutboundDelayStage) Get() *OutboundDelayStage
- func (v NullableOutboundDelayStage) IsSet() bool
- func (v NullableOutboundDelayStage) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableOutboundDelayStage) Set(val *OutboundDelayStage)
- func (v *NullableOutboundDelayStage) UnmarshalJSON(src []byte) error
- func (v *NullableOutboundDelayStage) Unset()
- type NullableOutboundFee
- func (v NullableOutboundFee) Get() *OutboundFee
- func (v NullableOutboundFee) IsSet() bool
- func (v NullableOutboundFee) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableOutboundFee) Set(val *OutboundFee)
- func (v *NullableOutboundFee) UnmarshalJSON(src []byte) error
- func (v *NullableOutboundFee) Unset()
- type NullableOutboundSignedStage
- func (v NullableOutboundSignedStage) Get() *OutboundSignedStage
- func (v NullableOutboundSignedStage) IsSet() bool
- func (v NullableOutboundSignedStage) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableOutboundSignedStage) Set(val *OutboundSignedStage)
- func (v *NullableOutboundSignedStage) UnmarshalJSON(src []byte) error
- func (v *NullableOutboundSignedStage) Unset()
- type NullablePOL
- type NullablePing
- type NullablePlannedOutTx
- func (v NullablePlannedOutTx) Get() *PlannedOutTx
- func (v NullablePlannedOutTx) IsSet() bool
- func (v NullablePlannedOutTx) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullablePlannedOutTx) Set(val *PlannedOutTx)
- func (v *NullablePlannedOutTx) UnmarshalJSON(src []byte) error
- func (v *NullablePlannedOutTx) Unset()
- type NullablePool
- type NullablePoolSlipResponseInner
- func (v NullablePoolSlipResponseInner) Get() *PoolSlipResponseInner
- func (v NullablePoolSlipResponseInner) IsSet() bool
- func (v NullablePoolSlipResponseInner) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullablePoolSlipResponseInner) Set(val *PoolSlipResponseInner)
- func (v *NullablePoolSlipResponseInner) UnmarshalJSON(src []byte) error
- func (v *NullablePoolSlipResponseInner) Unset()
- type NullableQueueResponse
- func (v NullableQueueResponse) Get() *QueueResponse
- func (v NullableQueueResponse) IsSet() bool
- func (v NullableQueueResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableQueueResponse) Set(val *QueueResponse)
- func (v *NullableQueueResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQueueResponse) Unset()
- type NullableQuoteFees
- type NullableQuoteLoanCloseResponse
- func (v NullableQuoteLoanCloseResponse) Get() *QuoteLoanCloseResponse
- func (v NullableQuoteLoanCloseResponse) IsSet() bool
- func (v NullableQuoteLoanCloseResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableQuoteLoanCloseResponse) Set(val *QuoteLoanCloseResponse)
- func (v *NullableQuoteLoanCloseResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQuoteLoanCloseResponse) Unset()
- type NullableQuoteLoanOpenResponse
- func (v NullableQuoteLoanOpenResponse) Get() *QuoteLoanOpenResponse
- func (v NullableQuoteLoanOpenResponse) IsSet() bool
- func (v NullableQuoteLoanOpenResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableQuoteLoanOpenResponse) Set(val *QuoteLoanOpenResponse)
- func (v *NullableQuoteLoanOpenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQuoteLoanOpenResponse) Unset()
- type NullableQuoteSaverDepositResponse
- func (v NullableQuoteSaverDepositResponse) Get() *QuoteSaverDepositResponse
- func (v NullableQuoteSaverDepositResponse) IsSet() bool
- func (v NullableQuoteSaverDepositResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableQuoteSaverDepositResponse) Set(val *QuoteSaverDepositResponse)
- func (v *NullableQuoteSaverDepositResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQuoteSaverDepositResponse) Unset()
- type NullableQuoteSaverWithdrawResponse
- func (v NullableQuoteSaverWithdrawResponse) Get() *QuoteSaverWithdrawResponse
- func (v NullableQuoteSaverWithdrawResponse) IsSet() bool
- func (v NullableQuoteSaverWithdrawResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableQuoteSaverWithdrawResponse) Set(val *QuoteSaverWithdrawResponse)
- func (v *NullableQuoteSaverWithdrawResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQuoteSaverWithdrawResponse) Unset()
- type NullableQuoteSwapResponse
- func (v NullableQuoteSwapResponse) Get() *QuoteSwapResponse
- func (v NullableQuoteSwapResponse) IsSet() bool
- func (v NullableQuoteSwapResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableQuoteSwapResponse) Set(val *QuoteSwapResponse)
- func (v *NullableQuoteSwapResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQuoteSwapResponse) Unset()
- type NullableRUNEPool
- type NullableRUNEPoolResponse
- func (v NullableRUNEPoolResponse) Get() *RUNEPoolResponse
- func (v NullableRUNEPoolResponse) IsSet() bool
- func (v NullableRUNEPoolResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableRUNEPoolResponse) Set(val *RUNEPoolResponse)
- func (v *NullableRUNEPoolResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRUNEPoolResponse) Unset()
- type NullableRUNEPoolResponseProviders
- func (v NullableRUNEPoolResponseProviders) Get() *RUNEPoolResponseProviders
- func (v NullableRUNEPoolResponseProviders) IsSet() bool
- func (v NullableRUNEPoolResponseProviders) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableRUNEPoolResponseProviders) Set(val *RUNEPoolResponseProviders)
- func (v *NullableRUNEPoolResponseProviders) UnmarshalJSON(src []byte) error
- func (v *NullableRUNEPoolResponseProviders) Unset()
- type NullableRUNEPoolResponseReserve
- func (v NullableRUNEPoolResponseReserve) Get() *RUNEPoolResponseReserve
- func (v NullableRUNEPoolResponseReserve) IsSet() bool
- func (v NullableRUNEPoolResponseReserve) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableRUNEPoolResponseReserve) Set(val *RUNEPoolResponseReserve)
- func (v *NullableRUNEPoolResponseReserve) UnmarshalJSON(src []byte) error
- func (v *NullableRUNEPoolResponseReserve) Unset()
- type NullableRUNEProvider
- func (v NullableRUNEProvider) Get() *RUNEProvider
- func (v NullableRUNEProvider) IsSet() bool
- func (v NullableRUNEProvider) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableRUNEProvider) Set(val *RUNEProvider)
- func (v *NullableRUNEProvider) UnmarshalJSON(src []byte) error
- func (v *NullableRUNEProvider) Unset()
- type NullableSaver
- type NullableSecuredAssetResponse
- func (v NullableSecuredAssetResponse) Get() *SecuredAssetResponse
- func (v NullableSecuredAssetResponse) IsSet() bool
- func (v NullableSecuredAssetResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableSecuredAssetResponse) Set(val *SecuredAssetResponse)
- func (v *NullableSecuredAssetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSecuredAssetResponse) Unset()
- type NullableStreamingStatus
- func (v NullableStreamingStatus) Get() *StreamingStatus
- func (v NullableStreamingStatus) IsSet() bool
- func (v NullableStreamingStatus) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableStreamingStatus) Set(val *StreamingStatus)
- func (v *NullableStreamingStatus) UnmarshalJSON(src []byte) error
- func (v *NullableStreamingStatus) Unset()
- type NullableStreamingSwap
- func (v NullableStreamingSwap) Get() *StreamingSwap
- func (v NullableStreamingSwap) IsSet() bool
- func (v NullableStreamingSwap) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableStreamingSwap) Set(val *StreamingSwap)
- func (v *NullableStreamingSwap) UnmarshalJSON(src []byte) error
- func (v *NullableStreamingSwap) Unset()
- type NullableString
- type NullableSwapFinalisedStage
- func (v NullableSwapFinalisedStage) Get() *SwapFinalisedStage
- func (v NullableSwapFinalisedStage) IsSet() bool
- func (v NullableSwapFinalisedStage) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableSwapFinalisedStage) Set(val *SwapFinalisedStage)
- func (v *NullableSwapFinalisedStage) UnmarshalJSON(src []byte) error
- func (v *NullableSwapFinalisedStage) Unset()
- type NullableSwapStatus
- func (v NullableSwapStatus) Get() *SwapStatus
- func (v NullableSwapStatus) IsSet() bool
- func (v NullableSwapStatus) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableSwapStatus) Set(val *SwapStatus)
- func (v *NullableSwapStatus) UnmarshalJSON(src []byte) error
- func (v *NullableSwapStatus) Unset()
- type NullableSwapperCloutResponse
- func (v NullableSwapperCloutResponse) Get() *SwapperCloutResponse
- func (v NullableSwapperCloutResponse) IsSet() bool
- func (v NullableSwapperCloutResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableSwapperCloutResponse) Set(val *SwapperCloutResponse)
- func (v *NullableSwapperCloutResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSwapperCloutResponse) Unset()
- type NullableThorname
- type NullableThornameAlias
- func (v NullableThornameAlias) Get() *ThornameAlias
- func (v NullableThornameAlias) IsSet() bool
- func (v NullableThornameAlias) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableThornameAlias) Set(val *ThornameAlias)
- func (v *NullableThornameAlias) UnmarshalJSON(src []byte) error
- func (v *NullableThornameAlias) Unset()
- type NullableTime
- type NullableTradeAccountResponse
- func (v NullableTradeAccountResponse) Get() *TradeAccountResponse
- func (v NullableTradeAccountResponse) IsSet() bool
- func (v NullableTradeAccountResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableTradeAccountResponse) Set(val *TradeAccountResponse)
- func (v *NullableTradeAccountResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTradeAccountResponse) Unset()
- type NullableTradeUnitResponse
- func (v NullableTradeUnitResponse) Get() *TradeUnitResponse
- func (v NullableTradeUnitResponse) IsSet() bool
- func (v NullableTradeUnitResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableTradeUnitResponse) Set(val *TradeUnitResponse)
- func (v *NullableTradeUnitResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTradeUnitResponse) Unset()
- type NullableTssKeysignMetric
- func (v NullableTssKeysignMetric) Get() *TssKeysignMetric
- func (v NullableTssKeysignMetric) IsSet() bool
- func (v NullableTssKeysignMetric) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableTssKeysignMetric) Set(val *TssKeysignMetric)
- func (v *NullableTssKeysignMetric) UnmarshalJSON(src []byte) error
- func (v *NullableTssKeysignMetric) Unset()
- type NullableTssMetric
- type NullableTx
- type NullableTxDetailsResponse
- func (v NullableTxDetailsResponse) Get() *TxDetailsResponse
- func (v NullableTxDetailsResponse) IsSet() bool
- func (v NullableTxDetailsResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableTxDetailsResponse) Set(val *TxDetailsResponse)
- func (v *NullableTxDetailsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTxDetailsResponse) Unset()
- type NullableTxOutItem
- type NullableTxResponse
- func (v NullableTxResponse) Get() *TxResponse
- func (v NullableTxResponse) IsSet() bool
- func (v NullableTxResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableTxResponse) Set(val *TxResponse)
- func (v *NullableTxResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTxResponse) Unset()
- type NullableTxSignersResponse
- func (v NullableTxSignersResponse) Get() *TxSignersResponse
- func (v NullableTxSignersResponse) IsSet() bool
- func (v NullableTxSignersResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableTxSignersResponse) Set(val *TxSignersResponse)
- func (v *NullableTxSignersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTxSignersResponse) Unset()
- type NullableTxStagesResponse
- func (v NullableTxStagesResponse) Get() *TxStagesResponse
- func (v NullableTxStagesResponse) IsSet() bool
- func (v NullableTxStagesResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableTxStagesResponse) Set(val *TxStagesResponse)
- func (v *NullableTxStagesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTxStagesResponse) Unset()
- type NullableTxStatusResponse
- func (v NullableTxStatusResponse) Get() *TxStatusResponse
- func (v NullableTxStatusResponse) IsSet() bool
- func (v NullableTxStatusResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableTxStatusResponse) Set(val *TxStatusResponse)
- func (v *NullableTxStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTxStatusResponse) Unset()
- type NullableUpgradeProposal
- func (v NullableUpgradeProposal) Get() *UpgradeProposal
- func (v NullableUpgradeProposal) IsSet() bool
- func (v NullableUpgradeProposal) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableUpgradeProposal) Set(val *UpgradeProposal)
- func (v *NullableUpgradeProposal) UnmarshalJSON(src []byte) error
- func (v *NullableUpgradeProposal) Unset()
- type NullableUpgradeVote
- func (v NullableUpgradeVote) Get() *UpgradeVote
- func (v NullableUpgradeVote) IsSet() bool
- func (v NullableUpgradeVote) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableUpgradeVote) Set(val *UpgradeVote)
- func (v *NullableUpgradeVote) UnmarshalJSON(src []byte) error
- func (v *NullableUpgradeVote) Unset()
- type NullableVault
- type NullableVaultAddress
- func (v NullableVaultAddress) Get() *VaultAddress
- func (v NullableVaultAddress) IsSet() bool
- func (v NullableVaultAddress) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableVaultAddress) Set(val *VaultAddress)
- func (v *NullableVaultAddress) UnmarshalJSON(src []byte) error
- func (v *NullableVaultAddress) Unset()
- type NullableVaultInfo
- type NullableVaultPubkeysResponse
- func (v NullableVaultPubkeysResponse) Get() *VaultPubkeysResponse
- func (v NullableVaultPubkeysResponse) IsSet() bool
- func (v NullableVaultPubkeysResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableVaultPubkeysResponse) Set(val *VaultPubkeysResponse)
- func (v *NullableVaultPubkeysResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVaultPubkeysResponse) Unset()
- type NullableVaultRouter
- func (v NullableVaultRouter) Get() *VaultRouter
- func (v NullableVaultRouter) IsSet() bool
- func (v NullableVaultRouter) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableVaultRouter) Set(val *VaultRouter)
- func (v *NullableVaultRouter) UnmarshalJSON(src []byte) error
- func (v *NullableVaultRouter) Unset()
- type NullableVersionResponse
- func (v NullableVersionResponse) Get() *VersionResponse
- func (v NullableVersionResponse) IsSet() bool
- func (v NullableVersionResponse) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableVersionResponse) Set(val *VersionResponse)
- func (v *NullableVersionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVersionResponse) Unset()
- type NullableYggdrasilVault
- func (v NullableYggdrasilVault) Get() *YggdrasilVault
- func (v NullableYggdrasilVault) IsSet() bool
- func (v NullableYggdrasilVault) MarshalJSON_deprecated() ([]byte, error)
- func (v *NullableYggdrasilVault) Set(val *YggdrasilVault)
- func (v *NullableYggdrasilVault) UnmarshalJSON(src []byte) error
- func (v *NullableYggdrasilVault) Unset()
- type ObservedTx
- func (o *ObservedTx) GetAggregator() string
- func (o *ObservedTx) GetAggregatorOk() (*string, bool)
- func (o *ObservedTx) GetAggregatorTarget() string
- func (o *ObservedTx) GetAggregatorTargetLimit() string
- func (o *ObservedTx) GetAggregatorTargetLimitOk() (*string, bool)
- func (o *ObservedTx) GetAggregatorTargetOk() (*string, bool)
- func (o *ObservedTx) GetExternalConfirmationDelayHeight() int64
- func (o *ObservedTx) GetExternalConfirmationDelayHeightOk() (*int64, bool)
- func (o *ObservedTx) GetExternalObservedHeight() int64
- func (o *ObservedTx) GetExternalObservedHeightOk() (*int64, bool)
- func (o *ObservedTx) GetKeysignMs() int64
- func (o *ObservedTx) GetKeysignMsOk() (*int64, bool)
- func (o *ObservedTx) GetObservedPubKey() string
- func (o *ObservedTx) GetObservedPubKeyOk() (*string, bool)
- func (o *ObservedTx) GetOutHashes() []string
- func (o *ObservedTx) GetOutHashesOk() ([]string, bool)
- func (o *ObservedTx) GetSigners() []string
- func (o *ObservedTx) GetSignersOk() ([]string, bool)
- func (o *ObservedTx) GetStatus() string
- func (o *ObservedTx) GetStatusOk() (*string, bool)
- func (o *ObservedTx) GetTx() Tx
- func (o *ObservedTx) GetTxOk() (*Tx, bool)
- func (o *ObservedTx) HasAggregator() bool
- func (o *ObservedTx) HasAggregatorTarget() bool
- func (o *ObservedTx) HasAggregatorTargetLimit() bool
- func (o *ObservedTx) HasExternalConfirmationDelayHeight() bool
- func (o *ObservedTx) HasExternalObservedHeight() bool
- func (o *ObservedTx) HasKeysignMs() bool
- func (o *ObservedTx) HasObservedPubKey() bool
- func (o *ObservedTx) HasOutHashes() bool
- func (o *ObservedTx) HasSigners() bool
- func (o *ObservedTx) HasStatus() bool
- func (o ObservedTx) MarshalJSON_deprecated() ([]byte, error)
- func (o *ObservedTx) SetAggregator(v string)
- func (o *ObservedTx) SetAggregatorTarget(v string)
- func (o *ObservedTx) SetAggregatorTargetLimit(v string)
- func (o *ObservedTx) SetExternalConfirmationDelayHeight(v int64)
- func (o *ObservedTx) SetExternalObservedHeight(v int64)
- func (o *ObservedTx) SetKeysignMs(v int64)
- func (o *ObservedTx) SetObservedPubKey(v string)
- func (o *ObservedTx) SetOutHashes(v []string)
- func (o *ObservedTx) SetSigners(v []string)
- func (o *ObservedTx) SetStatus(v string)
- func (o *ObservedTx) SetTx(v Tx)
- type OutboundDelayStage
- func (o *OutboundDelayStage) GetCompleted() bool
- func (o *OutboundDelayStage) GetCompletedOk() (*bool, bool)
- func (o *OutboundDelayStage) GetRemainingDelayBlocks() int64
- func (o *OutboundDelayStage) GetRemainingDelayBlocksOk() (*int64, bool)
- func (o *OutboundDelayStage) GetRemainingDelaySeconds() int64
- func (o *OutboundDelayStage) GetRemainingDelaySecondsOk() (*int64, bool)
- func (o *OutboundDelayStage) HasRemainingDelayBlocks() bool
- func (o *OutboundDelayStage) HasRemainingDelaySeconds() bool
- func (o OutboundDelayStage) MarshalJSON_deprecated() ([]byte, error)
- func (o *OutboundDelayStage) SetCompleted(v bool)
- func (o *OutboundDelayStage) SetRemainingDelayBlocks(v int64)
- func (o *OutboundDelayStage) SetRemainingDelaySeconds(v int64)
- type OutboundFee
- func (o *OutboundFee) GetAsset() string
- func (o *OutboundFee) GetAssetOk() (*string, bool)
- func (o *OutboundFee) GetDynamicMultiplierBasisPoints() string
- func (o *OutboundFee) GetDynamicMultiplierBasisPointsOk() (*string, bool)
- func (o *OutboundFee) GetFeeSpentRune() string
- func (o *OutboundFee) GetFeeSpentRuneOk() (*string, bool)
- func (o *OutboundFee) GetFeeWithheldRune() string
- func (o *OutboundFee) GetFeeWithheldRuneOk() (*string, bool)
- func (o *OutboundFee) GetOutboundFee() string
- func (o *OutboundFee) GetOutboundFeeOk() (*string, bool)
- func (o *OutboundFee) GetSurplusRune() string
- func (o *OutboundFee) GetSurplusRuneOk() (*string, bool)
- func (o *OutboundFee) HasDynamicMultiplierBasisPoints() bool
- func (o *OutboundFee) HasFeeSpentRune() bool
- func (o *OutboundFee) HasFeeWithheldRune() bool
- func (o *OutboundFee) HasSurplusRune() bool
- func (o OutboundFee) MarshalJSON_deprecated() ([]byte, error)
- func (o *OutboundFee) SetAsset(v string)
- func (o *OutboundFee) SetDynamicMultiplierBasisPoints(v string)
- func (o *OutboundFee) SetFeeSpentRune(v string)
- func (o *OutboundFee) SetFeeWithheldRune(v string)
- func (o *OutboundFee) SetOutboundFee(v string)
- func (o *OutboundFee) SetSurplusRune(v string)
- type OutboundSignedStage
- func (o *OutboundSignedStage) GetBlocksSinceScheduled() int64
- func (o *OutboundSignedStage) GetBlocksSinceScheduledOk() (*int64, bool)
- func (o *OutboundSignedStage) GetCompleted() bool
- func (o *OutboundSignedStage) GetCompletedOk() (*bool, bool)
- func (o *OutboundSignedStage) GetScheduledOutboundHeight() int64
- func (o *OutboundSignedStage) GetScheduledOutboundHeightOk() (*int64, bool)
- func (o *OutboundSignedStage) HasBlocksSinceScheduled() bool
- func (o *OutboundSignedStage) HasScheduledOutboundHeight() bool
- func (o OutboundSignedStage) MarshalJSON_deprecated() ([]byte, error)
- func (o *OutboundSignedStage) SetBlocksSinceScheduled(v int64)
- func (o *OutboundSignedStage) SetCompleted(v bool)
- func (o *OutboundSignedStage) SetScheduledOutboundHeight(v int64)
- type POL
- func (o *POL) GetCurrentDeposit() string
- func (o *POL) GetCurrentDepositOk() (*string, bool)
- func (o *POL) GetPnl() string
- func (o *POL) GetPnlOk() (*string, bool)
- func (o *POL) GetRuneDeposited() string
- func (o *POL) GetRuneDepositedOk() (*string, bool)
- func (o *POL) GetRuneWithdrawn() string
- func (o *POL) GetRuneWithdrawnOk() (*string, bool)
- func (o *POL) GetValue() string
- func (o *POL) GetValueOk() (*string, bool)
- func (o POL) MarshalJSON_deprecated() ([]byte, error)
- func (o *POL) SetCurrentDeposit(v string)
- func (o *POL) SetPnl(v string)
- func (o *POL) SetRuneDeposited(v string)
- func (o *POL) SetRuneWithdrawn(v string)
- func (o *POL) SetValue(v string)
- type Ping
- type PlannedOutTx
- func (o *PlannedOutTx) GetChain() string
- func (o *PlannedOutTx) GetChainOk() (*string, bool)
- func (o *PlannedOutTx) GetCoin() Coin
- func (o *PlannedOutTx) GetCoinOk() (*Coin, bool)
- func (o *PlannedOutTx) GetRefund() bool
- func (o *PlannedOutTx) GetRefundOk() (*bool, bool)
- func (o *PlannedOutTx) GetToAddress() string
- func (o *PlannedOutTx) GetToAddressOk() (*string, bool)
- func (o PlannedOutTx) MarshalJSON_deprecated() ([]byte, error)
- func (o *PlannedOutTx) SetChain(v string)
- func (o *PlannedOutTx) SetCoin(v Coin)
- func (o *PlannedOutTx) SetRefund(v bool)
- func (o *PlannedOutTx) SetToAddress(v string)
- type Pool
- func (o *Pool) GetAsset() string
- func (o *Pool) GetAssetOk() (*string, bool)
- func (o *Pool) GetAssetTorPrice() string
- func (o *Pool) GetAssetTorPriceOk() (*string, bool)
- func (o *Pool) GetBalanceAsset() string
- func (o *Pool) GetBalanceAssetOk() (*string, bool)
- func (o *Pool) GetBalanceRune() string
- func (o *Pool) GetBalanceRuneOk() (*string, bool)
- func (o *Pool) GetDecimals() int64
- func (o *Pool) GetDecimalsOk() (*int64, bool)
- func (o *Pool) GetDerivedDepthBps() string
- func (o *Pool) GetDerivedDepthBpsOk() (*string, bool)
- func (o *Pool) GetLPUnits() string
- func (o *Pool) GetLPUnitsOk() (*string, bool)
- func (o *Pool) GetLoanCollateral() string
- func (o *Pool) GetLoanCollateralOk() (*string, bool)
- func (o *Pool) GetLoanCollateralRemaining() string
- func (o *Pool) GetLoanCollateralRemainingOk() (*string, bool)
- func (o *Pool) GetLoanCr() string
- func (o *Pool) GetLoanCrOk() (*string, bool)
- func (o *Pool) GetPendingInboundAsset() string
- func (o *Pool) GetPendingInboundAssetOk() (*string, bool)
- func (o *Pool) GetPendingInboundRune() string
- func (o *Pool) GetPendingInboundRuneOk() (*string, bool)
- func (o *Pool) GetPoolUnits() string
- func (o *Pool) GetPoolUnitsOk() (*string, bool)
- func (o *Pool) GetSaversCapacityRemaining() string
- func (o *Pool) GetSaversCapacityRemainingOk() (*string, bool)
- func (o *Pool) GetSaversDepth() string
- func (o *Pool) GetSaversDepthOk() (*string, bool)
- func (o *Pool) GetSaversFillBps() string
- func (o *Pool) GetSaversFillBpsOk() (*string, bool)
- func (o *Pool) GetSaversUnits() string
- func (o *Pool) GetSaversUnitsOk() (*string, bool)
- func (o *Pool) GetShortCode() string
- func (o *Pool) GetShortCodeOk() (*string, bool)
- func (o *Pool) GetStatus() string
- func (o *Pool) GetStatusOk() (*string, bool)
- func (o *Pool) GetSynthMintPaused() bool
- func (o *Pool) GetSynthMintPausedOk() (*bool, bool)
- func (o *Pool) GetSynthSupply() string
- func (o *Pool) GetSynthSupplyOk() (*string, bool)
- func (o *Pool) GetSynthSupplyRemaining() string
- func (o *Pool) GetSynthSupplyRemainingOk() (*string, bool)
- func (o *Pool) GetSynthUnits() string
- func (o *Pool) GetSynthUnitsOk() (*string, bool)
- func (o *Pool) HasDecimals() bool
- func (o *Pool) HasShortCode() bool
- func (o Pool) MarshalJSON_deprecated() ([]byte, error)
- func (o *Pool) SetAsset(v string)
- func (o *Pool) SetAssetTorPrice(v string)
- func (o *Pool) SetBalanceAsset(v string)
- func (o *Pool) SetBalanceRune(v string)
- func (o *Pool) SetDecimals(v int64)
- func (o *Pool) SetDerivedDepthBps(v string)
- func (o *Pool) SetLPUnits(v string)
- func (o *Pool) SetLoanCollateral(v string)
- func (o *Pool) SetLoanCollateralRemaining(v string)
- func (o *Pool) SetLoanCr(v string)
- func (o *Pool) SetPendingInboundAsset(v string)
- func (o *Pool) SetPendingInboundRune(v string)
- func (o *Pool) SetPoolUnits(v string)
- func (o *Pool) SetSaversCapacityRemaining(v string)
- func (o *Pool) SetSaversDepth(v string)
- func (o *Pool) SetSaversFillBps(v string)
- func (o *Pool) SetSaversUnits(v string)
- func (o *Pool) SetShortCode(v string)
- func (o *Pool) SetStatus(v string)
- func (o *Pool) SetSynthMintPaused(v bool)
- func (o *Pool) SetSynthSupply(v string)
- func (o *Pool) SetSynthSupplyRemaining(v string)
- func (o *Pool) SetSynthUnits(v string)
- type PoolSlipApiService
- func (a *PoolSlipApiService) Poolslip(ctx context.Context, asset string) ApiPoolslipRequest
- func (a *PoolSlipApiService) PoolslipExecute(r ApiPoolslipRequest) ([]PoolSlipResponseInner, *http.Response, error)
- func (a *PoolSlipApiService) Poolslips(ctx context.Context) ApiPoolslipsRequest
- func (a *PoolSlipApiService) PoolslipsExecute(r ApiPoolslipsRequest) ([]PoolSlipResponseInner, *http.Response, error)
- type PoolSlipResponseInner
- func (o *PoolSlipResponseInner) GetAsset() string
- func (o *PoolSlipResponseInner) GetAssetOk() (*string, bool)
- func (o *PoolSlipResponseInner) GetLongRollup() int64
- func (o *PoolSlipResponseInner) GetLongRollupOk() (*int64, bool)
- func (o *PoolSlipResponseInner) GetPoolSlip() int64
- func (o *PoolSlipResponseInner) GetPoolSlipOk() (*int64, bool)
- func (o *PoolSlipResponseInner) GetRollup() int64
- func (o *PoolSlipResponseInner) GetRollupCount() int64
- func (o *PoolSlipResponseInner) GetRollupCountOk() (*int64, bool)
- func (o *PoolSlipResponseInner) GetRollupOk() (*int64, bool)
- func (o *PoolSlipResponseInner) GetSummedRollup() int64
- func (o *PoolSlipResponseInner) GetSummedRollupOk() (*int64, bool)
- func (o *PoolSlipResponseInner) HasSummedRollup() bool
- func (o PoolSlipResponseInner) MarshalJSON_deprecated() ([]byte, error)
- func (o *PoolSlipResponseInner) SetAsset(v string)
- func (o *PoolSlipResponseInner) SetLongRollup(v int64)
- func (o *PoolSlipResponseInner) SetPoolSlip(v int64)
- func (o *PoolSlipResponseInner) SetRollup(v int64)
- func (o *PoolSlipResponseInner) SetRollupCount(v int64)
- func (o *PoolSlipResponseInner) SetSummedRollup(v int64)
- type PoolsApiService
- func (a *PoolsApiService) Dpool(ctx context.Context, asset string) ApiDpoolRequest
- func (a *PoolsApiService) DpoolExecute(r ApiDpoolRequest) (*DerivedPool, *http.Response, error)
- func (a *PoolsApiService) Dpools(ctx context.Context) ApiDpoolsRequest
- func (a *PoolsApiService) DpoolsExecute(r ApiDpoolsRequest) ([]DerivedPool, *http.Response, error)
- func (a *PoolsApiService) Pool(ctx context.Context, asset string) ApiPoolRequest
- func (a *PoolsApiService) PoolExecute(r ApiPoolRequest) (*Pool, *http.Response, error)
- func (a *PoolsApiService) Pools(ctx context.Context) ApiPoolsRequest
- func (a *PoolsApiService) PoolsExecute(r ApiPoolsRequest) ([]Pool, *http.Response, error)
- type QueueApiService
- func (a *QueueApiService) Queue(ctx context.Context) ApiQueueRequest
- func (a *QueueApiService) QueueExecute(r ApiQueueRequest) (*QueueResponse, *http.Response, error)
- func (a *QueueApiService) QueueOutbound(ctx context.Context) ApiQueueOutboundRequest
- func (a *QueueApiService) QueueOutboundExecute(r ApiQueueOutboundRequest) ([]TxOutItem, *http.Response, error)
- func (a *QueueApiService) QueueScheduled(ctx context.Context) ApiQueueScheduledRequest
- func (a *QueueApiService) QueueScheduledExecute(r ApiQueueScheduledRequest) ([]TxOutItem, *http.Response, error)
- func (a *QueueApiService) QueueSwap(ctx context.Context) ApiQueueSwapRequest
- func (a *QueueApiService) QueueSwapExecute(r ApiQueueSwapRequest) ([]MsgSwap, *http.Response, error)
- type QueueResponse
- func (o *QueueResponse) GetInternal() int64
- func (o *QueueResponse) GetInternalOk() (*int64, bool)
- func (o *QueueResponse) GetOutbound() int64
- func (o *QueueResponse) GetOutboundOk() (*int64, bool)
- func (o *QueueResponse) GetScheduledOutboundClout() string
- func (o *QueueResponse) GetScheduledOutboundCloutOk() (*string, bool)
- func (o *QueueResponse) GetScheduledOutboundValue() string
- func (o *QueueResponse) GetScheduledOutboundValueOk() (*string, bool)
- func (o *QueueResponse) GetSwap() int64
- func (o *QueueResponse) GetSwapOk() (*int64, bool)
- func (o QueueResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *QueueResponse) SetInternal(v int64)
- func (o *QueueResponse) SetOutbound(v int64)
- func (o *QueueResponse) SetScheduledOutboundClout(v string)
- func (o *QueueResponse) SetScheduledOutboundValue(v string)
- func (o *QueueResponse) SetSwap(v int64)
- type QuoteApiService
- func (a *QuoteApiService) Quoteloanclose(ctx context.Context) ApiQuoteloancloseRequest
- func (a *QuoteApiService) QuoteloancloseExecute(r ApiQuoteloancloseRequest) (*QuoteLoanCloseResponse, *http.Response, error)
- func (a *QuoteApiService) Quoteloanopen(ctx context.Context) ApiQuoteloanopenRequest
- func (a *QuoteApiService) QuoteloanopenExecute(r ApiQuoteloanopenRequest) (*QuoteLoanOpenResponse, *http.Response, error)
- func (a *QuoteApiService) Quotesaverdeposit(ctx context.Context) ApiQuotesaverdepositRequest
- func (a *QuoteApiService) QuotesaverdepositExecute(r ApiQuotesaverdepositRequest) (*QuoteSaverDepositResponse, *http.Response, error)
- func (a *QuoteApiService) Quotesaverwithdraw(ctx context.Context) ApiQuotesaverwithdrawRequest
- func (a *QuoteApiService) QuotesaverwithdrawExecute(r ApiQuotesaverwithdrawRequest) (*QuoteSaverWithdrawResponse, *http.Response, error)
- func (a *QuoteApiService) Quoteswap(ctx context.Context) ApiQuoteswapRequest
- func (a *QuoteApiService) QuoteswapExecute(r ApiQuoteswapRequest) (*QuoteSwapResponse, *http.Response, error)
- type QuoteFees
- func (o *QuoteFees) GetAffiliate() string
- func (o *QuoteFees) GetAffiliateOk() (*string, bool)
- func (o *QuoteFees) GetAsset() string
- func (o *QuoteFees) GetAssetOk() (*string, bool)
- func (o *QuoteFees) GetLiquidity() string
- func (o *QuoteFees) GetLiquidityOk() (*string, bool)
- func (o *QuoteFees) GetOutbound() string
- func (o *QuoteFees) GetOutboundOk() (*string, bool)
- func (o *QuoteFees) GetSlippageBps() int64
- func (o *QuoteFees) GetSlippageBpsOk() (*int64, bool)
- func (o *QuoteFees) GetTotal() string
- func (o *QuoteFees) GetTotalBps() int64
- func (o *QuoteFees) GetTotalBpsOk() (*int64, bool)
- func (o *QuoteFees) GetTotalOk() (*string, bool)
- func (o *QuoteFees) HasAffiliate() bool
- func (o *QuoteFees) HasOutbound() bool
- func (o QuoteFees) MarshalJSON_deprecated() ([]byte, error)
- func (o *QuoteFees) SetAffiliate(v string)
- func (o *QuoteFees) SetAsset(v string)
- func (o *QuoteFees) SetLiquidity(v string)
- func (o *QuoteFees) SetOutbound(v string)
- func (o *QuoteFees) SetSlippageBps(v int64)
- func (o *QuoteFees) SetTotal(v string)
- func (o *QuoteFees) SetTotalBps(v int64)
- type QuoteLoanCloseResponse
- func (o *QuoteLoanCloseResponse) GetDustThreshold() string
- func (o *QuoteLoanCloseResponse) GetDustThresholdOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetExpectedAmountIn() string
- func (o *QuoteLoanCloseResponse) GetExpectedAmountInOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetExpectedAmountOut() string
- func (o *QuoteLoanCloseResponse) GetExpectedAmountOutOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetExpectedCollateralWithdrawn() string
- func (o *QuoteLoanCloseResponse) GetExpectedCollateralWithdrawnOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetExpectedDebtRepaid() string
- func (o *QuoteLoanCloseResponse) GetExpectedDebtRepaidOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetExpiry() int64
- func (o *QuoteLoanCloseResponse) GetExpiryOk() (*int64, bool)
- func (o *QuoteLoanCloseResponse) GetFees() QuoteFees
- func (o *QuoteLoanCloseResponse) GetFeesOk() (*QuoteFees, bool)
- func (o *QuoteLoanCloseResponse) GetGasRateUnits() string
- func (o *QuoteLoanCloseResponse) GetGasRateUnitsOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetInboundAddress() string
- func (o *QuoteLoanCloseResponse) GetInboundAddressOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetInboundConfirmationBlocks() int64
- func (o *QuoteLoanCloseResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
- func (o *QuoteLoanCloseResponse) GetInboundConfirmationSeconds() int64
- func (o *QuoteLoanCloseResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
- func (o *QuoteLoanCloseResponse) GetMemo() string
- func (o *QuoteLoanCloseResponse) GetMemoOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetNotes() string
- func (o *QuoteLoanCloseResponse) GetNotesOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetOutboundDelayBlocks() int64
- func (o *QuoteLoanCloseResponse) GetOutboundDelayBlocksOk() (*int64, bool)
- func (o *QuoteLoanCloseResponse) GetOutboundDelaySeconds() int64
- func (o *QuoteLoanCloseResponse) GetOutboundDelaySecondsOk() (*int64, bool)
- func (o *QuoteLoanCloseResponse) GetRecommendedGasRate() string
- func (o *QuoteLoanCloseResponse) GetRecommendedGasRateOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetRecommendedMinAmountIn() string
- func (o *QuoteLoanCloseResponse) GetRecommendedMinAmountInOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetRouter() string
- func (o *QuoteLoanCloseResponse) GetRouterOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) GetStreamingSwapBlocks() int64
- func (o *QuoteLoanCloseResponse) GetStreamingSwapBlocksOk() (*int64, bool)
- func (o *QuoteLoanCloseResponse) GetStreamingSwapSeconds() int64
- func (o *QuoteLoanCloseResponse) GetStreamingSwapSecondsOk() (*int64, bool)
- func (o *QuoteLoanCloseResponse) GetTotalRepaySeconds() int64
- func (o *QuoteLoanCloseResponse) GetTotalRepaySecondsOk() (*int64, bool)
- func (o *QuoteLoanCloseResponse) GetWarning() string
- func (o *QuoteLoanCloseResponse) GetWarningOk() (*string, bool)
- func (o *QuoteLoanCloseResponse) HasDustThreshold() bool
- func (o *QuoteLoanCloseResponse) HasGasRateUnits() bool
- func (o *QuoteLoanCloseResponse) HasInboundAddress() bool
- func (o *QuoteLoanCloseResponse) HasInboundConfirmationBlocks() bool
- func (o *QuoteLoanCloseResponse) HasInboundConfirmationSeconds() bool
- func (o *QuoteLoanCloseResponse) HasRecommendedGasRate() bool
- func (o *QuoteLoanCloseResponse) HasRecommendedMinAmountIn() bool
- func (o *QuoteLoanCloseResponse) HasRouter() bool
- func (o QuoteLoanCloseResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *QuoteLoanCloseResponse) SetDustThreshold(v string)
- func (o *QuoteLoanCloseResponse) SetExpectedAmountIn(v string)
- func (o *QuoteLoanCloseResponse) SetExpectedAmountOut(v string)
- func (o *QuoteLoanCloseResponse) SetExpectedCollateralWithdrawn(v string)
- func (o *QuoteLoanCloseResponse) SetExpectedDebtRepaid(v string)
- func (o *QuoteLoanCloseResponse) SetExpiry(v int64)
- func (o *QuoteLoanCloseResponse) SetFees(v QuoteFees)
- func (o *QuoteLoanCloseResponse) SetGasRateUnits(v string)
- func (o *QuoteLoanCloseResponse) SetInboundAddress(v string)
- func (o *QuoteLoanCloseResponse) SetInboundConfirmationBlocks(v int64)
- func (o *QuoteLoanCloseResponse) SetInboundConfirmationSeconds(v int64)
- func (o *QuoteLoanCloseResponse) SetMemo(v string)
- func (o *QuoteLoanCloseResponse) SetNotes(v string)
- func (o *QuoteLoanCloseResponse) SetOutboundDelayBlocks(v int64)
- func (o *QuoteLoanCloseResponse) SetOutboundDelaySeconds(v int64)
- func (o *QuoteLoanCloseResponse) SetRecommendedGasRate(v string)
- func (o *QuoteLoanCloseResponse) SetRecommendedMinAmountIn(v string)
- func (o *QuoteLoanCloseResponse) SetRouter(v string)
- func (o *QuoteLoanCloseResponse) SetStreamingSwapBlocks(v int64)
- func (o *QuoteLoanCloseResponse) SetStreamingSwapSeconds(v int64)
- func (o *QuoteLoanCloseResponse) SetTotalRepaySeconds(v int64)
- func (o *QuoteLoanCloseResponse) SetWarning(v string)
- type QuoteLoanOpenResponse
- func (o *QuoteLoanOpenResponse) GetDustThreshold() string
- func (o *QuoteLoanOpenResponse) GetDustThresholdOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetExpectedAmountOut() string
- func (o *QuoteLoanOpenResponse) GetExpectedAmountOutOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetExpectedCollateralDeposited() string
- func (o *QuoteLoanOpenResponse) GetExpectedCollateralDepositedOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetExpectedCollateralizationRatio() string
- func (o *QuoteLoanOpenResponse) GetExpectedCollateralizationRatioOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetExpectedDebtIssued() string
- func (o *QuoteLoanOpenResponse) GetExpectedDebtIssuedOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetExpiry() int64
- func (o *QuoteLoanOpenResponse) GetExpiryOk() (*int64, bool)
- func (o *QuoteLoanOpenResponse) GetFees() QuoteFees
- func (o *QuoteLoanOpenResponse) GetFeesOk() (*QuoteFees, bool)
- func (o *QuoteLoanOpenResponse) GetGasRateUnits() string
- func (o *QuoteLoanOpenResponse) GetGasRateUnitsOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetInboundAddress() string
- func (o *QuoteLoanOpenResponse) GetInboundAddressOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetInboundConfirmationBlocks() int64
- func (o *QuoteLoanOpenResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
- func (o *QuoteLoanOpenResponse) GetInboundConfirmationSeconds() int64
- func (o *QuoteLoanOpenResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
- func (o *QuoteLoanOpenResponse) GetMemo() string
- func (o *QuoteLoanOpenResponse) GetMemoOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetNotes() string
- func (o *QuoteLoanOpenResponse) GetNotesOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetOutboundDelayBlocks() int64
- func (o *QuoteLoanOpenResponse) GetOutboundDelayBlocksOk() (*int64, bool)
- func (o *QuoteLoanOpenResponse) GetOutboundDelaySeconds() int64
- func (o *QuoteLoanOpenResponse) GetOutboundDelaySecondsOk() (*int64, bool)
- func (o *QuoteLoanOpenResponse) GetRecommendedGasRate() string
- func (o *QuoteLoanOpenResponse) GetRecommendedGasRateOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetRecommendedMinAmountIn() string
- func (o *QuoteLoanOpenResponse) GetRecommendedMinAmountInOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetRouter() string
- func (o *QuoteLoanOpenResponse) GetRouterOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) GetStreamingSwapBlocks() int64
- func (o *QuoteLoanOpenResponse) GetStreamingSwapBlocksOk() (*int64, bool)
- func (o *QuoteLoanOpenResponse) GetStreamingSwapSeconds() int64
- func (o *QuoteLoanOpenResponse) GetStreamingSwapSecondsOk() (*int64, bool)
- func (o *QuoteLoanOpenResponse) GetTotalOpenLoanSeconds() int64
- func (o *QuoteLoanOpenResponse) GetTotalOpenLoanSecondsOk() (*int64, bool)
- func (o *QuoteLoanOpenResponse) GetWarning() string
- func (o *QuoteLoanOpenResponse) GetWarningOk() (*string, bool)
- func (o *QuoteLoanOpenResponse) HasDustThreshold() bool
- func (o *QuoteLoanOpenResponse) HasInboundAddress() bool
- func (o *QuoteLoanOpenResponse) HasInboundConfirmationBlocks() bool
- func (o *QuoteLoanOpenResponse) HasInboundConfirmationSeconds() bool
- func (o *QuoteLoanOpenResponse) HasMemo() bool
- func (o *QuoteLoanOpenResponse) HasRecommendedMinAmountIn() bool
- func (o *QuoteLoanOpenResponse) HasRouter() bool
- func (o QuoteLoanOpenResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *QuoteLoanOpenResponse) SetDustThreshold(v string)
- func (o *QuoteLoanOpenResponse) SetExpectedAmountOut(v string)
- func (o *QuoteLoanOpenResponse) SetExpectedCollateralDeposited(v string)
- func (o *QuoteLoanOpenResponse) SetExpectedCollateralizationRatio(v string)
- func (o *QuoteLoanOpenResponse) SetExpectedDebtIssued(v string)
- func (o *QuoteLoanOpenResponse) SetExpiry(v int64)
- func (o *QuoteLoanOpenResponse) SetFees(v QuoteFees)
- func (o *QuoteLoanOpenResponse) SetGasRateUnits(v string)
- func (o *QuoteLoanOpenResponse) SetInboundAddress(v string)
- func (o *QuoteLoanOpenResponse) SetInboundConfirmationBlocks(v int64)
- func (o *QuoteLoanOpenResponse) SetInboundConfirmationSeconds(v int64)
- func (o *QuoteLoanOpenResponse) SetMemo(v string)
- func (o *QuoteLoanOpenResponse) SetNotes(v string)
- func (o *QuoteLoanOpenResponse) SetOutboundDelayBlocks(v int64)
- func (o *QuoteLoanOpenResponse) SetOutboundDelaySeconds(v int64)
- func (o *QuoteLoanOpenResponse) SetRecommendedGasRate(v string)
- func (o *QuoteLoanOpenResponse) SetRecommendedMinAmountIn(v string)
- func (o *QuoteLoanOpenResponse) SetRouter(v string)
- func (o *QuoteLoanOpenResponse) SetStreamingSwapBlocks(v int64)
- func (o *QuoteLoanOpenResponse) SetStreamingSwapSeconds(v int64)
- func (o *QuoteLoanOpenResponse) SetTotalOpenLoanSeconds(v int64)
- func (o *QuoteLoanOpenResponse) SetWarning(v string)
- type QuoteSaverDepositResponse
- func (o *QuoteSaverDepositResponse) GetDustThreshold() string
- func (o *QuoteSaverDepositResponse) GetDustThresholdOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetExpectedAmountDeposit() string
- func (o *QuoteSaverDepositResponse) GetExpectedAmountDepositOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetExpectedAmountOut() string
- func (o *QuoteSaverDepositResponse) GetExpectedAmountOutOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetExpiry() int64
- func (o *QuoteSaverDepositResponse) GetExpiryOk() (*int64, bool)
- func (o *QuoteSaverDepositResponse) GetFees() QuoteFees
- func (o *QuoteSaverDepositResponse) GetFeesOk() (*QuoteFees, bool)
- func (o *QuoteSaverDepositResponse) GetGasRateUnits() string
- func (o *QuoteSaverDepositResponse) GetGasRateUnitsOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetInboundAddress() string
- func (o *QuoteSaverDepositResponse) GetInboundAddressOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetInboundConfirmationBlocks() int64
- func (o *QuoteSaverDepositResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
- func (o *QuoteSaverDepositResponse) GetInboundConfirmationSeconds() int64
- func (o *QuoteSaverDepositResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
- func (o *QuoteSaverDepositResponse) GetMemo() string
- func (o *QuoteSaverDepositResponse) GetMemoOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetNotes() string
- func (o *QuoteSaverDepositResponse) GetNotesOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetOutboundDelayBlocks() int64
- func (o *QuoteSaverDepositResponse) GetOutboundDelayBlocksOk() (*int64, bool)
- func (o *QuoteSaverDepositResponse) GetOutboundDelaySeconds() int64
- func (o *QuoteSaverDepositResponse) GetOutboundDelaySecondsOk() (*int64, bool)
- func (o *QuoteSaverDepositResponse) GetRecommendedGasRate() string
- func (o *QuoteSaverDepositResponse) GetRecommendedGasRateOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetRecommendedMinAmountIn() string
- func (o *QuoteSaverDepositResponse) GetRecommendedMinAmountInOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetRouter() string
- func (o *QuoteSaverDepositResponse) GetRouterOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) GetWarning() string
- func (o *QuoteSaverDepositResponse) GetWarningOk() (*string, bool)
- func (o *QuoteSaverDepositResponse) HasDustThreshold() bool
- func (o *QuoteSaverDepositResponse) HasExpectedAmountOut() bool
- func (o *QuoteSaverDepositResponse) HasInboundConfirmationBlocks() bool
- func (o *QuoteSaverDepositResponse) HasInboundConfirmationSeconds() bool
- func (o *QuoteSaverDepositResponse) HasOutboundDelayBlocks() bool
- func (o *QuoteSaverDepositResponse) HasOutboundDelaySeconds() bool
- func (o *QuoteSaverDepositResponse) HasRecommendedMinAmountIn() bool
- func (o *QuoteSaverDepositResponse) HasRouter() bool
- func (o QuoteSaverDepositResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *QuoteSaverDepositResponse) SetDustThreshold(v string)
- func (o *QuoteSaverDepositResponse) SetExpectedAmountDeposit(v string)
- func (o *QuoteSaverDepositResponse) SetExpectedAmountOut(v string)
- func (o *QuoteSaverDepositResponse) SetExpiry(v int64)
- func (o *QuoteSaverDepositResponse) SetFees(v QuoteFees)
- func (o *QuoteSaverDepositResponse) SetGasRateUnits(v string)
- func (o *QuoteSaverDepositResponse) SetInboundAddress(v string)
- func (o *QuoteSaverDepositResponse) SetInboundConfirmationBlocks(v int64)
- func (o *QuoteSaverDepositResponse) SetInboundConfirmationSeconds(v int64)
- func (o *QuoteSaverDepositResponse) SetMemo(v string)
- func (o *QuoteSaverDepositResponse) SetNotes(v string)
- func (o *QuoteSaverDepositResponse) SetOutboundDelayBlocks(v int64)
- func (o *QuoteSaverDepositResponse) SetOutboundDelaySeconds(v int64)
- func (o *QuoteSaverDepositResponse) SetRecommendedGasRate(v string)
- func (o *QuoteSaverDepositResponse) SetRecommendedMinAmountIn(v string)
- func (o *QuoteSaverDepositResponse) SetRouter(v string)
- func (o *QuoteSaverDepositResponse) SetWarning(v string)
- type QuoteSaverWithdrawResponse
- func (o *QuoteSaverWithdrawResponse) GetDustAmount() string
- func (o *QuoteSaverWithdrawResponse) GetDustAmountOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetDustThreshold() string
- func (o *QuoteSaverWithdrawResponse) GetDustThresholdOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetExpectedAmountOut() string
- func (o *QuoteSaverWithdrawResponse) GetExpectedAmountOutOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetExpiry() int64
- func (o *QuoteSaverWithdrawResponse) GetExpiryOk() (*int64, bool)
- func (o *QuoteSaverWithdrawResponse) GetFees() QuoteFees
- func (o *QuoteSaverWithdrawResponse) GetFeesOk() (*QuoteFees, bool)
- func (o *QuoteSaverWithdrawResponse) GetGasRateUnits() string
- func (o *QuoteSaverWithdrawResponse) GetGasRateUnitsOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetInboundAddress() string
- func (o *QuoteSaverWithdrawResponse) GetInboundAddressOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationBlocks() int64
- func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
- func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationSeconds() int64
- func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
- func (o *QuoteSaverWithdrawResponse) GetMemo() string
- func (o *QuoteSaverWithdrawResponse) GetMemoOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetNotes() string
- func (o *QuoteSaverWithdrawResponse) GetNotesOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetOutboundDelayBlocks() int64
- func (o *QuoteSaverWithdrawResponse) GetOutboundDelayBlocksOk() (*int64, bool)
- func (o *QuoteSaverWithdrawResponse) GetOutboundDelaySeconds() int64
- func (o *QuoteSaverWithdrawResponse) GetOutboundDelaySecondsOk() (*int64, bool)
- func (o *QuoteSaverWithdrawResponse) GetRecommendedGasRate() string
- func (o *QuoteSaverWithdrawResponse) GetRecommendedGasRateOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetRecommendedMinAmountIn() string
- func (o *QuoteSaverWithdrawResponse) GetRecommendedMinAmountInOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetRouter() string
- func (o *QuoteSaverWithdrawResponse) GetRouterOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) GetWarning() string
- func (o *QuoteSaverWithdrawResponse) GetWarningOk() (*string, bool)
- func (o *QuoteSaverWithdrawResponse) HasDustThreshold() bool
- func (o *QuoteSaverWithdrawResponse) HasInboundConfirmationBlocks() bool
- func (o *QuoteSaverWithdrawResponse) HasInboundConfirmationSeconds() bool
- func (o *QuoteSaverWithdrawResponse) HasRecommendedMinAmountIn() bool
- func (o *QuoteSaverWithdrawResponse) HasRouter() bool
- func (o QuoteSaverWithdrawResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *QuoteSaverWithdrawResponse) SetDustAmount(v string)
- func (o *QuoteSaverWithdrawResponse) SetDustThreshold(v string)
- func (o *QuoteSaverWithdrawResponse) SetExpectedAmountOut(v string)
- func (o *QuoteSaverWithdrawResponse) SetExpiry(v int64)
- func (o *QuoteSaverWithdrawResponse) SetFees(v QuoteFees)
- func (o *QuoteSaverWithdrawResponse) SetGasRateUnits(v string)
- func (o *QuoteSaverWithdrawResponse) SetInboundAddress(v string)
- func (o *QuoteSaverWithdrawResponse) SetInboundConfirmationBlocks(v int64)
- func (o *QuoteSaverWithdrawResponse) SetInboundConfirmationSeconds(v int64)
- func (o *QuoteSaverWithdrawResponse) SetMemo(v string)
- func (o *QuoteSaverWithdrawResponse) SetNotes(v string)
- func (o *QuoteSaverWithdrawResponse) SetOutboundDelayBlocks(v int64)
- func (o *QuoteSaverWithdrawResponse) SetOutboundDelaySeconds(v int64)
- func (o *QuoteSaverWithdrawResponse) SetRecommendedGasRate(v string)
- func (o *QuoteSaverWithdrawResponse) SetRecommendedMinAmountIn(v string)
- func (o *QuoteSaverWithdrawResponse) SetRouter(v string)
- func (o *QuoteSaverWithdrawResponse) SetWarning(v string)
- type QuoteSwapResponse
- func (o *QuoteSwapResponse) GetDustThreshold() string
- func (o *QuoteSwapResponse) GetDustThresholdOk() (*string, bool)
- func (o *QuoteSwapResponse) GetExpectedAmountOut() string
- func (o *QuoteSwapResponse) GetExpectedAmountOutOk() (*string, bool)
- func (o *QuoteSwapResponse) GetExpiry() int64
- func (o *QuoteSwapResponse) GetExpiryOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetFees() QuoteFees
- func (o *QuoteSwapResponse) GetFeesOk() (*QuoteFees, bool)
- func (o *QuoteSwapResponse) GetGasRateUnits() string
- func (o *QuoteSwapResponse) GetGasRateUnitsOk() (*string, bool)
- func (o *QuoteSwapResponse) GetInboundAddress() string
- func (o *QuoteSwapResponse) GetInboundAddressOk() (*string, bool)
- func (o *QuoteSwapResponse) GetInboundConfirmationBlocks() int64
- func (o *QuoteSwapResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetInboundConfirmationSeconds() int64
- func (o *QuoteSwapResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetMaxStreamingQuantity() int64
- func (o *QuoteSwapResponse) GetMaxStreamingQuantityOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetMemo() string
- func (o *QuoteSwapResponse) GetMemoOk() (*string, bool)
- func (o *QuoteSwapResponse) GetNotes() string
- func (o *QuoteSwapResponse) GetNotesOk() (*string, bool)
- func (o *QuoteSwapResponse) GetOutboundDelayBlocks() int64
- func (o *QuoteSwapResponse) GetOutboundDelayBlocksOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetOutboundDelaySeconds() int64
- func (o *QuoteSwapResponse) GetOutboundDelaySecondsOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetRecommendedGasRate() string
- func (o *QuoteSwapResponse) GetRecommendedGasRateOk() (*string, bool)
- func (o *QuoteSwapResponse) GetRecommendedMinAmountIn() string
- func (o *QuoteSwapResponse) GetRecommendedMinAmountInOk() (*string, bool)
- func (o *QuoteSwapResponse) GetRouter() string
- func (o *QuoteSwapResponse) GetRouterOk() (*string, bool)
- func (o *QuoteSwapResponse) GetStreamingSwapBlocks() int64
- func (o *QuoteSwapResponse) GetStreamingSwapBlocksOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetStreamingSwapSeconds() int64
- func (o *QuoteSwapResponse) GetStreamingSwapSecondsOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetTotalSwapSeconds() int64
- func (o *QuoteSwapResponse) GetTotalSwapSecondsOk() (*int64, bool)
- func (o *QuoteSwapResponse) GetWarning() string
- func (o *QuoteSwapResponse) GetWarningOk() (*string, bool)
- func (o *QuoteSwapResponse) HasDustThreshold() bool
- func (o *QuoteSwapResponse) HasGasRateUnits() bool
- func (o *QuoteSwapResponse) HasInboundAddress() bool
- func (o *QuoteSwapResponse) HasInboundConfirmationBlocks() bool
- func (o *QuoteSwapResponse) HasInboundConfirmationSeconds() bool
- func (o *QuoteSwapResponse) HasMaxStreamingQuantity() bool
- func (o *QuoteSwapResponse) HasMemo() bool
- func (o *QuoteSwapResponse) HasRecommendedGasRate() bool
- func (o *QuoteSwapResponse) HasRecommendedMinAmountIn() bool
- func (o *QuoteSwapResponse) HasRouter() bool
- func (o *QuoteSwapResponse) HasStreamingSwapBlocks() bool
- func (o *QuoteSwapResponse) HasStreamingSwapSeconds() bool
- func (o *QuoteSwapResponse) HasTotalSwapSeconds() bool
- func (o QuoteSwapResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *QuoteSwapResponse) SetDustThreshold(v string)
- func (o *QuoteSwapResponse) SetExpectedAmountOut(v string)
- func (o *QuoteSwapResponse) SetExpiry(v int64)
- func (o *QuoteSwapResponse) SetFees(v QuoteFees)
- func (o *QuoteSwapResponse) SetGasRateUnits(v string)
- func (o *QuoteSwapResponse) SetInboundAddress(v string)
- func (o *QuoteSwapResponse) SetInboundConfirmationBlocks(v int64)
- func (o *QuoteSwapResponse) SetInboundConfirmationSeconds(v int64)
- func (o *QuoteSwapResponse) SetMaxStreamingQuantity(v int64)
- func (o *QuoteSwapResponse) SetMemo(v string)
- func (o *QuoteSwapResponse) SetNotes(v string)
- func (o *QuoteSwapResponse) SetOutboundDelayBlocks(v int64)
- func (o *QuoteSwapResponse) SetOutboundDelaySeconds(v int64)
- func (o *QuoteSwapResponse) SetRecommendedGasRate(v string)
- func (o *QuoteSwapResponse) SetRecommendedMinAmountIn(v string)
- func (o *QuoteSwapResponse) SetRouter(v string)
- func (o *QuoteSwapResponse) SetStreamingSwapBlocks(v int64)
- func (o *QuoteSwapResponse) SetStreamingSwapSeconds(v int64)
- func (o *QuoteSwapResponse) SetTotalSwapSeconds(v int64)
- func (o *QuoteSwapResponse) SetWarning(v string)
- type RUNEPool
- func (o *RUNEPool) GetPendingPoolUnits() string
- func (o *RUNEPool) GetPendingPoolUnitsOk() (*string, bool)
- func (o *RUNEPool) GetPoolUnits() string
- func (o *RUNEPool) GetPoolUnitsOk() (*string, bool)
- func (o *RUNEPool) GetReserveUnits() string
- func (o *RUNEPool) GetReserveUnitsOk() (*string, bool)
- func (o RUNEPool) MarshalJSON_deprecated() ([]byte, error)
- func (o *RUNEPool) SetPendingPoolUnits(v string)
- func (o *RUNEPool) SetPoolUnits(v string)
- func (o *RUNEPool) SetReserveUnits(v string)
- type RUNEPoolApiService
- func (a *RUNEPoolApiService) RunePool(ctx context.Context) ApiRunePoolRequest
- func (a *RUNEPoolApiService) RunePoolExecute(r ApiRunePoolRequest) (*RUNEPoolResponse, *http.Response, error)
- func (a *RUNEPoolApiService) RuneProvider(ctx context.Context, address string) ApiRuneProviderRequest
- func (a *RUNEPoolApiService) RuneProviderExecute(r ApiRuneProviderRequest) (*RUNEProvider, *http.Response, error)
- func (a *RUNEPoolApiService) RuneProviders(ctx context.Context) ApiRuneProvidersRequest
- func (a *RUNEPoolApiService) RuneProvidersExecute(r ApiRuneProvidersRequest) ([]RUNEProvider, *http.Response, error)
- type RUNEPoolResponse
- func (o *RUNEPoolResponse) GetPol() POL
- func (o *RUNEPoolResponse) GetPolOk() (*POL, bool)
- func (o *RUNEPoolResponse) GetProviders() RUNEPoolResponseProviders
- func (o *RUNEPoolResponse) GetProvidersOk() (*RUNEPoolResponseProviders, bool)
- func (o *RUNEPoolResponse) GetReserve() RUNEPoolResponseReserve
- func (o *RUNEPoolResponse) GetReserveOk() (*RUNEPoolResponseReserve, bool)
- func (o RUNEPoolResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *RUNEPoolResponse) SetPol(v POL)
- func (o *RUNEPoolResponse) SetProviders(v RUNEPoolResponseProviders)
- func (o *RUNEPoolResponse) SetReserve(v RUNEPoolResponseReserve)
- type RUNEPoolResponseProviders
- func (o *RUNEPoolResponseProviders) GetCurrentDeposit() string
- func (o *RUNEPoolResponseProviders) GetCurrentDepositOk() (*string, bool)
- func (o *RUNEPoolResponseProviders) GetPendingRune() string
- func (o *RUNEPoolResponseProviders) GetPendingRuneOk() (*string, bool)
- func (o *RUNEPoolResponseProviders) GetPendingUnits() string
- func (o *RUNEPoolResponseProviders) GetPendingUnitsOk() (*string, bool)
- func (o *RUNEPoolResponseProviders) GetPnl() string
- func (o *RUNEPoolResponseProviders) GetPnlOk() (*string, bool)
- func (o *RUNEPoolResponseProviders) GetUnits() string
- func (o *RUNEPoolResponseProviders) GetUnitsOk() (*string, bool)
- func (o *RUNEPoolResponseProviders) GetValue() string
- func (o *RUNEPoolResponseProviders) GetValueOk() (*string, bool)
- func (o RUNEPoolResponseProviders) MarshalJSON_deprecated() ([]byte, error)
- func (o *RUNEPoolResponseProviders) SetCurrentDeposit(v string)
- func (o *RUNEPoolResponseProviders) SetPendingRune(v string)
- func (o *RUNEPoolResponseProviders) SetPendingUnits(v string)
- func (o *RUNEPoolResponseProviders) SetPnl(v string)
- func (o *RUNEPoolResponseProviders) SetUnits(v string)
- func (o *RUNEPoolResponseProviders) SetValue(v string)
- type RUNEPoolResponseReserve
- func (o *RUNEPoolResponseReserve) GetCurrentDeposit() string
- func (o *RUNEPoolResponseReserve) GetCurrentDepositOk() (*string, bool)
- func (o *RUNEPoolResponseReserve) GetPnl() string
- func (o *RUNEPoolResponseReserve) GetPnlOk() (*string, bool)
- func (o *RUNEPoolResponseReserve) GetUnits() string
- func (o *RUNEPoolResponseReserve) GetUnitsOk() (*string, bool)
- func (o *RUNEPoolResponseReserve) GetValue() string
- func (o *RUNEPoolResponseReserve) GetValueOk() (*string, bool)
- func (o RUNEPoolResponseReserve) MarshalJSON_deprecated() ([]byte, error)
- func (o *RUNEPoolResponseReserve) SetCurrentDeposit(v string)
- func (o *RUNEPoolResponseReserve) SetPnl(v string)
- func (o *RUNEPoolResponseReserve) SetUnits(v string)
- func (o *RUNEPoolResponseReserve) SetValue(v string)
- type RUNEProvider
- func (o *RUNEProvider) GetDepositAmount() string
- func (o *RUNEProvider) GetDepositAmountOk() (*string, bool)
- func (o *RUNEProvider) GetLastDepositHeight() int64
- func (o *RUNEProvider) GetLastDepositHeightOk() (*int64, bool)
- func (o *RUNEProvider) GetLastWithdrawHeight() int64
- func (o *RUNEProvider) GetLastWithdrawHeightOk() (*int64, bool)
- func (o *RUNEProvider) GetPnl() string
- func (o *RUNEProvider) GetPnlOk() (*string, bool)
- func (o *RUNEProvider) GetRuneAddress() string
- func (o *RUNEProvider) GetRuneAddressOk() (*string, bool)
- func (o *RUNEProvider) GetUnits() string
- func (o *RUNEProvider) GetUnitsOk() (*string, bool)
- func (o *RUNEProvider) GetValue() string
- func (o *RUNEProvider) GetValueOk() (*string, bool)
- func (o *RUNEProvider) GetWithdrawAmount() string
- func (o *RUNEProvider) GetWithdrawAmountOk() (*string, bool)
- func (o RUNEProvider) MarshalJSON_deprecated() ([]byte, error)
- func (o *RUNEProvider) SetDepositAmount(v string)
- func (o *RUNEProvider) SetLastDepositHeight(v int64)
- func (o *RUNEProvider) SetLastWithdrawHeight(v int64)
- func (o *RUNEProvider) SetPnl(v string)
- func (o *RUNEProvider) SetRuneAddress(v string)
- func (o *RUNEProvider) SetUnits(v string)
- func (o *RUNEProvider) SetValue(v string)
- func (o *RUNEProvider) SetWithdrawAmount(v string)
- type Saver
- func (o *Saver) GetAsset() string
- func (o *Saver) GetAssetAddress() string
- func (o *Saver) GetAssetAddressOk() (*string, bool)
- func (o *Saver) GetAssetDepositValue() string
- func (o *Saver) GetAssetDepositValueOk() (*string, bool)
- func (o *Saver) GetAssetOk() (*string, bool)
- func (o *Saver) GetAssetRedeemValue() string
- func (o *Saver) GetAssetRedeemValueOk() (*string, bool)
- func (o *Saver) GetGrowthPct() string
- func (o *Saver) GetGrowthPctOk() (*string, bool)
- func (o *Saver) GetLastAddHeight() int64
- func (o *Saver) GetLastAddHeightOk() (*int64, bool)
- func (o *Saver) GetLastWithdrawHeight() int64
- func (o *Saver) GetLastWithdrawHeightOk() (*int64, bool)
- func (o *Saver) GetUnits() string
- func (o *Saver) GetUnitsOk() (*string, bool)
- func (o *Saver) HasLastAddHeight() bool
- func (o *Saver) HasLastWithdrawHeight() bool
- func (o Saver) MarshalJSON_deprecated() ([]byte, error)
- func (o *Saver) SetAsset(v string)
- func (o *Saver) SetAssetAddress(v string)
- func (o *Saver) SetAssetDepositValue(v string)
- func (o *Saver) SetAssetRedeemValue(v string)
- func (o *Saver) SetGrowthPct(v string)
- func (o *Saver) SetLastAddHeight(v int64)
- func (o *Saver) SetLastWithdrawHeight(v int64)
- func (o *Saver) SetUnits(v string)
- type SaversApiService
- func (a *SaversApiService) Saver(ctx context.Context, asset string, address string) ApiSaverRequest
- func (a *SaversApiService) SaverExecute(r ApiSaverRequest) (*Saver, *http.Response, error)
- func (a *SaversApiService) Savers(ctx context.Context, asset string) ApiSaversRequest
- func (a *SaversApiService) SaversExecute(r ApiSaversRequest) ([]Saver, *http.Response, error)
- type SecuredAssetApiService
- type SecuredAssetResponse
- func (o *SecuredAssetResponse) GetAsset() string
- func (o *SecuredAssetResponse) GetAssetOk() (*string, bool)
- func (o *SecuredAssetResponse) GetDepth() string
- func (o *SecuredAssetResponse) GetDepthOk() (*string, bool)
- func (o *SecuredAssetResponse) GetSupply() string
- func (o *SecuredAssetResponse) GetSupplyOk() (*string, bool)
- func (o SecuredAssetResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *SecuredAssetResponse) SetAsset(v string)
- func (o *SecuredAssetResponse) SetDepth(v string)
- func (o *SecuredAssetResponse) SetSupply(v string)
- type SecuredAssetsApiService
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StreamingStatus
- func (o *StreamingStatus) GetCount() int64
- func (o *StreamingStatus) GetCountOk() (*int64, bool)
- func (o *StreamingStatus) GetInterval() int64
- func (o *StreamingStatus) GetIntervalOk() (*int64, bool)
- func (o *StreamingStatus) GetQuantity() int64
- func (o *StreamingStatus) GetQuantityOk() (*int64, bool)
- func (o StreamingStatus) MarshalJSON_deprecated() ([]byte, error)
- func (o *StreamingStatus) SetCount(v int64)
- func (o *StreamingStatus) SetInterval(v int64)
- func (o *StreamingStatus) SetQuantity(v int64)
- type StreamingSwap
- func (o *StreamingSwap) GetCount() int64
- func (o *StreamingSwap) GetCountOk() (*int64, bool)
- func (o *StreamingSwap) GetDeposit() string
- func (o *StreamingSwap) GetDepositOk() (*string, bool)
- func (o *StreamingSwap) GetDestination() string
- func (o *StreamingSwap) GetDestinationOk() (*string, bool)
- func (o *StreamingSwap) GetFailedSwapReasons() []string
- func (o *StreamingSwap) GetFailedSwapReasonsOk() ([]string, bool)
- func (o *StreamingSwap) GetFailedSwaps() []int64
- func (o *StreamingSwap) GetFailedSwapsOk() ([]int64, bool)
- func (o *StreamingSwap) GetIn() string
- func (o *StreamingSwap) GetInOk() (*string, bool)
- func (o *StreamingSwap) GetInterval() int64
- func (o *StreamingSwap) GetIntervalOk() (*int64, bool)
- func (o *StreamingSwap) GetLastHeight() int64
- func (o *StreamingSwap) GetLastHeightOk() (*int64, bool)
- func (o *StreamingSwap) GetOut() string
- func (o *StreamingSwap) GetOutOk() (*string, bool)
- func (o *StreamingSwap) GetQuantity() int64
- func (o *StreamingSwap) GetQuantityOk() (*int64, bool)
- func (o *StreamingSwap) GetSourceAsset() string
- func (o *StreamingSwap) GetSourceAssetOk() (*string, bool)
- func (o *StreamingSwap) GetTargetAsset() string
- func (o *StreamingSwap) GetTargetAssetOk() (*string, bool)
- func (o *StreamingSwap) GetTradeTarget() string
- func (o *StreamingSwap) GetTradeTargetOk() (*string, bool)
- func (o *StreamingSwap) GetTxId() string
- func (o *StreamingSwap) GetTxIdOk() (*string, bool)
- func (o *StreamingSwap) HasCount() bool
- func (o *StreamingSwap) HasDestination() bool
- func (o *StreamingSwap) HasFailedSwapReasons() bool
- func (o *StreamingSwap) HasFailedSwaps() bool
- func (o *StreamingSwap) HasInterval() bool
- func (o *StreamingSwap) HasLastHeight() bool
- func (o *StreamingSwap) HasQuantity() bool
- func (o *StreamingSwap) HasSourceAsset() bool
- func (o *StreamingSwap) HasTargetAsset() bool
- func (o *StreamingSwap) HasTxId() bool
- func (o StreamingSwap) MarshalJSON_deprecated() ([]byte, error)
- func (o *StreamingSwap) SetCount(v int64)
- func (o *StreamingSwap) SetDeposit(v string)
- func (o *StreamingSwap) SetDestination(v string)
- func (o *StreamingSwap) SetFailedSwapReasons(v []string)
- func (o *StreamingSwap) SetFailedSwaps(v []int64)
- func (o *StreamingSwap) SetIn(v string)
- func (o *StreamingSwap) SetInterval(v int64)
- func (o *StreamingSwap) SetLastHeight(v int64)
- func (o *StreamingSwap) SetOut(v string)
- func (o *StreamingSwap) SetQuantity(v int64)
- func (o *StreamingSwap) SetSourceAsset(v string)
- func (o *StreamingSwap) SetTargetAsset(v string)
- func (o *StreamingSwap) SetTradeTarget(v string)
- func (o *StreamingSwap) SetTxId(v string)
- type StreamingSwapApiService
- func (a *StreamingSwapApiService) StreamSwap(ctx context.Context, hash string) ApiStreamSwapRequest
- func (a *StreamingSwapApiService) StreamSwapExecute(r ApiStreamSwapRequest) (*StreamingSwap, *http.Response, error)
- func (a *StreamingSwapApiService) StreamSwaps(ctx context.Context) ApiStreamSwapsRequest
- func (a *StreamingSwapApiService) StreamSwapsExecute(r ApiStreamSwapsRequest) ([]StreamingSwap, *http.Response, error)
- type SwapFinalisedStage
- type SwapStatus
- func (o *SwapStatus) GetPending() bool
- func (o *SwapStatus) GetPendingOk() (*bool, bool)
- func (o *SwapStatus) GetStreaming() StreamingStatus
- func (o *SwapStatus) GetStreamingOk() (*StreamingStatus, bool)
- func (o *SwapStatus) HasStreaming() bool
- func (o SwapStatus) MarshalJSON_deprecated() ([]byte, error)
- func (o *SwapStatus) SetPending(v bool)
- func (o *SwapStatus) SetStreaming(v StreamingStatus)
- type SwapperCloutResponse
- func (o *SwapperCloutResponse) GetAddress() string
- func (o *SwapperCloutResponse) GetAddressOk() (*string, bool)
- func (o *SwapperCloutResponse) GetLastReclaimHeight() int64
- func (o *SwapperCloutResponse) GetLastReclaimHeightOk() (*int64, bool)
- func (o *SwapperCloutResponse) GetLastSpentHeight() int64
- func (o *SwapperCloutResponse) GetLastSpentHeightOk() (*int64, bool)
- func (o *SwapperCloutResponse) GetReclaimed() string
- func (o *SwapperCloutResponse) GetReclaimedOk() (*string, bool)
- func (o *SwapperCloutResponse) GetScore() string
- func (o *SwapperCloutResponse) GetScoreOk() (*string, bool)
- func (o *SwapperCloutResponse) GetSpent() string
- func (o *SwapperCloutResponse) GetSpentOk() (*string, bool)
- func (o *SwapperCloutResponse) HasLastReclaimHeight() bool
- func (o *SwapperCloutResponse) HasLastSpentHeight() bool
- func (o *SwapperCloutResponse) HasReclaimed() bool
- func (o *SwapperCloutResponse) HasScore() bool
- func (o *SwapperCloutResponse) HasSpent() bool
- func (o SwapperCloutResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *SwapperCloutResponse) SetAddress(v string)
- func (o *SwapperCloutResponse) SetLastReclaimHeight(v int64)
- func (o *SwapperCloutResponse) SetLastSpentHeight(v int64)
- func (o *SwapperCloutResponse) SetReclaimed(v string)
- func (o *SwapperCloutResponse) SetScore(v string)
- func (o *SwapperCloutResponse) SetSpent(v string)
- type TSSApiService
- func (a *TSSApiService) KeygenPubkey(ctx context.Context, height int64, pubkey string) ApiKeygenPubkeyRequest
- func (a *TSSApiService) KeygenPubkeyExecute(r ApiKeygenPubkeyRequest) (*KeygenResponse, *http.Response, error)
- func (a *TSSApiService) Keysign(ctx context.Context, height int64) ApiKeysignRequest
- func (a *TSSApiService) KeysignExecute(r ApiKeysignRequest) (*KeysignResponse, *http.Response, error)
- func (a *TSSApiService) KeysignPubkey(ctx context.Context, height int64, pubkey string) ApiKeysignPubkeyRequest
- func (a *TSSApiService) KeysignPubkeyExecute(r ApiKeysignPubkeyRequest) (*KeysignResponse, *http.Response, error)
- func (a *TSSApiService) Metrics(ctx context.Context) ApiMetricsRequest
- func (a *TSSApiService) MetricsExecute(r ApiMetricsRequest) (*MetricsResponse, *http.Response, error)
- func (a *TSSApiService) MetricsKeygen(ctx context.Context, pubkey string) ApiMetricsKeygenRequest
- func (a *TSSApiService) MetricsKeygenExecute(r ApiMetricsKeygenRequest) ([]KeygenMetric, *http.Response, error)
- type Thorname
- func (o *Thorname) GetAffiliateCollectorRune() string
- func (o *Thorname) GetAffiliateCollectorRuneOk() (*string, bool)
- func (o *Thorname) GetAliases() []ThornameAlias
- func (o *Thorname) GetAliasesOk() ([]ThornameAlias, bool)
- func (o *Thorname) GetExpireBlockHeight() int64
- func (o *Thorname) GetExpireBlockHeightOk() (*int64, bool)
- func (o *Thorname) GetName() string
- func (o *Thorname) GetNameOk() (*string, bool)
- func (o *Thorname) GetOwner() string
- func (o *Thorname) GetOwnerOk() (*string, bool)
- func (o *Thorname) GetPreferredAsset() string
- func (o *Thorname) GetPreferredAssetOk() (*string, bool)
- func (o *Thorname) HasAffiliateCollectorRune() bool
- func (o *Thorname) HasExpireBlockHeight() bool
- func (o *Thorname) HasName() bool
- func (o *Thorname) HasOwner() bool
- func (o Thorname) MarshalJSON_deprecated() ([]byte, error)
- func (o *Thorname) SetAffiliateCollectorRune(v string)
- func (o *Thorname) SetAliases(v []ThornameAlias)
- func (o *Thorname) SetExpireBlockHeight(v int64)
- func (o *Thorname) SetName(v string)
- func (o *Thorname) SetOwner(v string)
- func (o *Thorname) SetPreferredAsset(v string)
- type ThornameAlias
- func (o *ThornameAlias) GetAddress() string
- func (o *ThornameAlias) GetAddressOk() (*string, bool)
- func (o *ThornameAlias) GetChain() string
- func (o *ThornameAlias) GetChainOk() (*string, bool)
- func (o *ThornameAlias) HasAddress() bool
- func (o *ThornameAlias) HasChain() bool
- func (o ThornameAlias) MarshalJSON_deprecated() ([]byte, error)
- func (o *ThornameAlias) SetAddress(v string)
- func (o *ThornameAlias) SetChain(v string)
- type ThornamesApiService
- type TradeAccountApiService
- type TradeAccountResponse
- func (o *TradeAccountResponse) GetAsset() string
- func (o *TradeAccountResponse) GetAssetOk() (*string, bool)
- func (o *TradeAccountResponse) GetLastAddHeight() int64
- func (o *TradeAccountResponse) GetLastAddHeightOk() (*int64, bool)
- func (o *TradeAccountResponse) GetLastWithdrawHeight() int64
- func (o *TradeAccountResponse) GetLastWithdrawHeightOk() (*int64, bool)
- func (o *TradeAccountResponse) GetOwner() string
- func (o *TradeAccountResponse) GetOwnerOk() (*string, bool)
- func (o *TradeAccountResponse) GetUnits() string
- func (o *TradeAccountResponse) GetUnitsOk() (*string, bool)
- func (o *TradeAccountResponse) HasLastAddHeight() bool
- func (o *TradeAccountResponse) HasLastWithdrawHeight() bool
- func (o TradeAccountResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *TradeAccountResponse) SetAsset(v string)
- func (o *TradeAccountResponse) SetLastAddHeight(v int64)
- func (o *TradeAccountResponse) SetLastWithdrawHeight(v int64)
- func (o *TradeAccountResponse) SetOwner(v string)
- func (o *TradeAccountResponse) SetUnits(v string)
- type TradeAccountsApiService
- type TradeUnitApiService
- type TradeUnitResponse
- func (o *TradeUnitResponse) GetAsset() string
- func (o *TradeUnitResponse) GetAssetOk() (*string, bool)
- func (o *TradeUnitResponse) GetDepth() string
- func (o *TradeUnitResponse) GetDepthOk() (*string, bool)
- func (o *TradeUnitResponse) GetUnits() string
- func (o *TradeUnitResponse) GetUnitsOk() (*string, bool)
- func (o TradeUnitResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *TradeUnitResponse) SetAsset(v string)
- func (o *TradeUnitResponse) SetDepth(v string)
- func (o *TradeUnitResponse) SetUnits(v string)
- type TradeUnitsApiService
- type TransactionsApiService
- func (a *TransactionsApiService) Tx(ctx context.Context, hash string) ApiTxRequest
- func (a *TransactionsApiService) TxExecute(r ApiTxRequest) (*TxResponse, *http.Response, error)
- func (a *TransactionsApiService) TxSigners(ctx context.Context, hash string) ApiTxSignersRequest
- func (a *TransactionsApiService) TxSignersExecute(r ApiTxSignersRequest) (*TxDetailsResponse, *http.Response, error)
- func (a *TransactionsApiService) TxSignersOld(ctx context.Context, hash string) ApiTxSignersOldRequest
- func (a *TransactionsApiService) TxSignersOldExecute(r ApiTxSignersOldRequest) (*TxSignersResponse, *http.Response, error)
- func (a *TransactionsApiService) TxStages(ctx context.Context, hash string) ApiTxStagesRequest
- func (a *TransactionsApiService) TxStagesExecute(r ApiTxStagesRequest) (*TxStagesResponse, *http.Response, error)
- func (a *TransactionsApiService) TxStatus(ctx context.Context, hash string) ApiTxStatusRequest
- func (a *TransactionsApiService) TxStatusExecute(r ApiTxStatusRequest) (*TxStatusResponse, *http.Response, error)
- type TssKeysignMetric
- func (o *TssKeysignMetric) GetNodeTssTimes() []TssMetric
- func (o *TssKeysignMetric) GetNodeTssTimesOk() ([]TssMetric, bool)
- func (o *TssKeysignMetric) GetTxId() string
- func (o *TssKeysignMetric) GetTxIdOk() (*string, bool)
- func (o *TssKeysignMetric) HasTxId() bool
- func (o TssKeysignMetric) MarshalJSON_deprecated() ([]byte, error)
- func (o *TssKeysignMetric) SetNodeTssTimes(v []TssMetric)
- func (o *TssKeysignMetric) SetTxId(v string)
- type TssMetric
- func (o *TssMetric) GetAddress() string
- func (o *TssMetric) GetAddressOk() (*string, bool)
- func (o *TssMetric) GetTssTime() int64
- func (o *TssMetric) GetTssTimeOk() (*int64, bool)
- func (o *TssMetric) HasAddress() bool
- func (o *TssMetric) HasTssTime() bool
- func (o TssMetric) MarshalJSON_deprecated() ([]byte, error)
- func (o *TssMetric) SetAddress(v string)
- func (o *TssMetric) SetTssTime(v int64)
- type Tx
- func (o *Tx) GetChain() string
- func (o *Tx) GetChainOk() (*string, bool)
- func (o *Tx) GetCoins() []Coin
- func (o *Tx) GetCoinsOk() ([]Coin, bool)
- func (o *Tx) GetFromAddress() string
- func (o *Tx) GetFromAddressOk() (*string, bool)
- func (o *Tx) GetGas() []Coin
- func (o *Tx) GetGasOk() ([]Coin, bool)
- func (o *Tx) GetId() string
- func (o *Tx) GetIdOk() (*string, bool)
- func (o *Tx) GetMemo() string
- func (o *Tx) GetMemoOk() (*string, bool)
- func (o *Tx) GetToAddress() string
- func (o *Tx) GetToAddressOk() (*string, bool)
- func (o *Tx) HasChain() bool
- func (o *Tx) HasFromAddress() bool
- func (o *Tx) HasId() bool
- func (o *Tx) HasMemo() bool
- func (o *Tx) HasToAddress() bool
- func (o Tx) MarshalJSON_deprecated() ([]byte, error)
- func (o *Tx) SetChain(v string)
- func (o *Tx) SetCoins(v []Coin)
- func (o *Tx) SetFromAddress(v string)
- func (o *Tx) SetGas(v []Coin)
- func (o *Tx) SetId(v string)
- func (o *Tx) SetMemo(v string)
- func (o *Tx) SetToAddress(v string)
- type TxDetailsResponse
- func (o *TxDetailsResponse) GetActions() []TxOutItem
- func (o *TxDetailsResponse) GetActionsOk() ([]TxOutItem, bool)
- func (o *TxDetailsResponse) GetConsensusHeight() int64
- func (o *TxDetailsResponse) GetConsensusHeightOk() (*int64, bool)
- func (o *TxDetailsResponse) GetFinalisedHeight() int64
- func (o *TxDetailsResponse) GetFinalisedHeightOk() (*int64, bool)
- func (o *TxDetailsResponse) GetOutTxs() []Tx
- func (o *TxDetailsResponse) GetOutTxsOk() ([]Tx, bool)
- func (o *TxDetailsResponse) GetOutboundHeight() int64
- func (o *TxDetailsResponse) GetOutboundHeightOk() (*int64, bool)
- func (o *TxDetailsResponse) GetReverted() bool
- func (o *TxDetailsResponse) GetRevertedOk() (*bool, bool)
- func (o *TxDetailsResponse) GetTx() ObservedTx
- func (o *TxDetailsResponse) GetTxId() string
- func (o *TxDetailsResponse) GetTxIdOk() (*string, bool)
- func (o *TxDetailsResponse) GetTxOk() (*ObservedTx, bool)
- func (o *TxDetailsResponse) GetTxs() []ObservedTx
- func (o *TxDetailsResponse) GetTxsOk() ([]ObservedTx, bool)
- func (o *TxDetailsResponse) GetUpdatedVault() bool
- func (o *TxDetailsResponse) GetUpdatedVaultOk() (*bool, bool)
- func (o *TxDetailsResponse) HasConsensusHeight() bool
- func (o *TxDetailsResponse) HasFinalisedHeight() bool
- func (o *TxDetailsResponse) HasOutboundHeight() bool
- func (o *TxDetailsResponse) HasReverted() bool
- func (o *TxDetailsResponse) HasTxId() bool
- func (o *TxDetailsResponse) HasUpdatedVault() bool
- func (o TxDetailsResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *TxDetailsResponse) SetActions(v []TxOutItem)
- func (o *TxDetailsResponse) SetConsensusHeight(v int64)
- func (o *TxDetailsResponse) SetFinalisedHeight(v int64)
- func (o *TxDetailsResponse) SetOutTxs(v []Tx)
- func (o *TxDetailsResponse) SetOutboundHeight(v int64)
- func (o *TxDetailsResponse) SetReverted(v bool)
- func (o *TxDetailsResponse) SetTx(v ObservedTx)
- func (o *TxDetailsResponse) SetTxId(v string)
- func (o *TxDetailsResponse) SetTxs(v []ObservedTx)
- func (o *TxDetailsResponse) SetUpdatedVault(v bool)
- type TxOutItem
- func (o *TxOutItem) GetChain() string
- func (o *TxOutItem) GetChainOk() (*string, bool)
- func (o *TxOutItem) GetCloutSpent() string
- func (o *TxOutItem) GetCloutSpentOk() (*string, bool)
- func (o *TxOutItem) GetCoin() Coin
- func (o *TxOutItem) GetCoinOk() (*Coin, bool)
- func (o *TxOutItem) GetGasRate() int64
- func (o *TxOutItem) GetGasRateOk() (*int64, bool)
- func (o *TxOutItem) GetHeight() int64
- func (o *TxOutItem) GetHeightOk() (*int64, bool)
- func (o *TxOutItem) GetInHash() string
- func (o *TxOutItem) GetInHashOk() (*string, bool)
- func (o *TxOutItem) GetMaxGas() []Coin
- func (o *TxOutItem) GetMaxGasOk() ([]Coin, bool)
- func (o *TxOutItem) GetMemo() string
- func (o *TxOutItem) GetMemoOk() (*string, bool)
- func (o *TxOutItem) GetOutHash() string
- func (o *TxOutItem) GetOutHashOk() (*string, bool)
- func (o *TxOutItem) GetToAddress() string
- func (o *TxOutItem) GetToAddressOk() (*string, bool)
- func (o *TxOutItem) GetVaultPubKey() string
- func (o *TxOutItem) GetVaultPubKeyOk() (*string, bool)
- func (o *TxOutItem) HasCloutSpent() bool
- func (o *TxOutItem) HasGasRate() bool
- func (o *TxOutItem) HasHeight() bool
- func (o *TxOutItem) HasInHash() bool
- func (o *TxOutItem) HasMemo() bool
- func (o *TxOutItem) HasOutHash() bool
- func (o *TxOutItem) HasVaultPubKey() bool
- func (o TxOutItem) MarshalJSON_deprecated() ([]byte, error)
- func (o *TxOutItem) SetChain(v string)
- func (o *TxOutItem) SetCloutSpent(v string)
- func (o *TxOutItem) SetCoin(v Coin)
- func (o *TxOutItem) SetGasRate(v int64)
- func (o *TxOutItem) SetHeight(v int64)
- func (o *TxOutItem) SetInHash(v string)
- func (o *TxOutItem) SetMaxGas(v []Coin)
- func (o *TxOutItem) SetMemo(v string)
- func (o *TxOutItem) SetOutHash(v string)
- func (o *TxOutItem) SetToAddress(v string)
- func (o *TxOutItem) SetVaultPubKey(v string)
- type TxResponse
- func (o *TxResponse) GetConsensusHeight() int64
- func (o *TxResponse) GetConsensusHeightOk() (*int64, bool)
- func (o *TxResponse) GetFinalisedHeight() int64
- func (o *TxResponse) GetFinalisedHeightOk() (*int64, bool)
- func (o *TxResponse) GetKeysignMetric() TssKeysignMetric
- func (o *TxResponse) GetKeysignMetricOk() (*TssKeysignMetric, bool)
- func (o *TxResponse) GetObservedTx() ObservedTx
- func (o *TxResponse) GetObservedTxOk() (*ObservedTx, bool)
- func (o *TxResponse) GetOutboundHeight() int64
- func (o *TxResponse) GetOutboundHeightOk() (*int64, bool)
- func (o *TxResponse) HasConsensusHeight() bool
- func (o *TxResponse) HasFinalisedHeight() bool
- func (o *TxResponse) HasKeysignMetric() bool
- func (o *TxResponse) HasObservedTx() bool
- func (o *TxResponse) HasOutboundHeight() bool
- func (o TxResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *TxResponse) SetConsensusHeight(v int64)
- func (o *TxResponse) SetFinalisedHeight(v int64)
- func (o *TxResponse) SetKeysignMetric(v TssKeysignMetric)
- func (o *TxResponse) SetObservedTx(v ObservedTx)
- func (o *TxResponse) SetOutboundHeight(v int64)
- type TxSignersResponse
- func (o *TxSignersResponse) GetActions() []TxOutItem
- func (o *TxSignersResponse) GetActionsOk() ([]TxOutItem, bool)
- func (o *TxSignersResponse) GetConsensusHeight() int64
- func (o *TxSignersResponse) GetConsensusHeightOk() (*int64, bool)
- func (o *TxSignersResponse) GetFinalisedHeight() int64
- func (o *TxSignersResponse) GetFinalisedHeightOk() (*int64, bool)
- func (o *TxSignersResponse) GetOutTxs() []Tx
- func (o *TxSignersResponse) GetOutTxsOk() ([]Tx, bool)
- func (o *TxSignersResponse) GetOutboundHeight() int64
- func (o *TxSignersResponse) GetOutboundHeightOk() (*int64, bool)
- func (o *TxSignersResponse) GetReverted() bool
- func (o *TxSignersResponse) GetRevertedOk() (*bool, bool)
- func (o *TxSignersResponse) GetTx() ObservedTx
- func (o *TxSignersResponse) GetTxId() string
- func (o *TxSignersResponse) GetTxIdOk() (*string, bool)
- func (o *TxSignersResponse) GetTxOk() (*ObservedTx, bool)
- func (o *TxSignersResponse) GetTxs() []ObservedTx
- func (o *TxSignersResponse) GetTxsOk() ([]ObservedTx, bool)
- func (o *TxSignersResponse) GetUpdatedVault() bool
- func (o *TxSignersResponse) GetUpdatedVaultOk() (*bool, bool)
- func (o *TxSignersResponse) HasConsensusHeight() bool
- func (o *TxSignersResponse) HasFinalisedHeight() bool
- func (o *TxSignersResponse) HasOutboundHeight() bool
- func (o *TxSignersResponse) HasReverted() bool
- func (o *TxSignersResponse) HasTxId() bool
- func (o *TxSignersResponse) HasUpdatedVault() bool
- func (o TxSignersResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *TxSignersResponse) SetActions(v []TxOutItem)
- func (o *TxSignersResponse) SetConsensusHeight(v int64)
- func (o *TxSignersResponse) SetFinalisedHeight(v int64)
- func (o *TxSignersResponse) SetOutTxs(v []Tx)
- func (o *TxSignersResponse) SetOutboundHeight(v int64)
- func (o *TxSignersResponse) SetReverted(v bool)
- func (o *TxSignersResponse) SetTx(v ObservedTx)
- func (o *TxSignersResponse) SetTxId(v string)
- func (o *TxSignersResponse) SetTxs(v []ObservedTx)
- func (o *TxSignersResponse) SetUpdatedVault(v bool)
- type TxStagesResponse
- func (o *TxStagesResponse) GetInboundConfirmationCounted() InboundConfirmationCountedStage
- func (o *TxStagesResponse) GetInboundConfirmationCountedOk() (*InboundConfirmationCountedStage, bool)
- func (o *TxStagesResponse) GetInboundFinalised() InboundFinalisedStage
- func (o *TxStagesResponse) GetInboundFinalisedOk() (*InboundFinalisedStage, bool)
- func (o *TxStagesResponse) GetInboundObserved() InboundObservedStage
- func (o *TxStagesResponse) GetInboundObservedOk() (*InboundObservedStage, bool)
- func (o *TxStagesResponse) GetOutboundDelay() OutboundDelayStage
- func (o *TxStagesResponse) GetOutboundDelayOk() (*OutboundDelayStage, bool)
- func (o *TxStagesResponse) GetOutboundSigned() OutboundSignedStage
- func (o *TxStagesResponse) GetOutboundSignedOk() (*OutboundSignedStage, bool)
- func (o *TxStagesResponse) GetSwapFinalised() SwapFinalisedStage
- func (o *TxStagesResponse) GetSwapFinalisedOk() (*SwapFinalisedStage, bool)
- func (o *TxStagesResponse) GetSwapStatus() SwapStatus
- func (o *TxStagesResponse) GetSwapStatusOk() (*SwapStatus, bool)
- func (o *TxStagesResponse) HasInboundConfirmationCounted() bool
- func (o *TxStagesResponse) HasInboundFinalised() bool
- func (o *TxStagesResponse) HasOutboundDelay() bool
- func (o *TxStagesResponse) HasOutboundSigned() bool
- func (o *TxStagesResponse) HasSwapFinalised() bool
- func (o *TxStagesResponse) HasSwapStatus() bool
- func (o TxStagesResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *TxStagesResponse) SetInboundConfirmationCounted(v InboundConfirmationCountedStage)
- func (o *TxStagesResponse) SetInboundFinalised(v InboundFinalisedStage)
- func (o *TxStagesResponse) SetInboundObserved(v InboundObservedStage)
- func (o *TxStagesResponse) SetOutboundDelay(v OutboundDelayStage)
- func (o *TxStagesResponse) SetOutboundSigned(v OutboundSignedStage)
- func (o *TxStagesResponse) SetSwapFinalised(v SwapFinalisedStage)
- func (o *TxStagesResponse) SetSwapStatus(v SwapStatus)
- type TxStatusResponse
- func (o *TxStatusResponse) GetOutTxs() []Tx
- func (o *TxStatusResponse) GetOutTxsOk() ([]Tx, bool)
- func (o *TxStatusResponse) GetPlannedOutTxs() []PlannedOutTx
- func (o *TxStatusResponse) GetPlannedOutTxsOk() ([]PlannedOutTx, bool)
- func (o *TxStatusResponse) GetStages() TxStagesResponse
- func (o *TxStatusResponse) GetStagesOk() (*TxStagesResponse, bool)
- func (o *TxStatusResponse) GetTx() Tx
- func (o *TxStatusResponse) GetTxOk() (*Tx, bool)
- func (o *TxStatusResponse) HasOutTxs() bool
- func (o *TxStatusResponse) HasPlannedOutTxs() bool
- func (o *TxStatusResponse) HasTx() bool
- func (o TxStatusResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *TxStatusResponse) SetOutTxs(v []Tx)
- func (o *TxStatusResponse) SetPlannedOutTxs(v []PlannedOutTx)
- func (o *TxStatusResponse) SetStages(v TxStagesResponse)
- func (o *TxStatusResponse) SetTx(v Tx)
- type UpgradeProposal
- func (o *UpgradeProposal) GetApproved() bool
- func (o *UpgradeProposal) GetApprovedOk() (*bool, bool)
- func (o *UpgradeProposal) GetApprovedPercent() string
- func (o *UpgradeProposal) GetApprovedPercentOk() (*string, bool)
- func (o *UpgradeProposal) GetHeight() int64
- func (o *UpgradeProposal) GetHeightOk() (*int64, bool)
- func (o *UpgradeProposal) GetInfo() string
- func (o *UpgradeProposal) GetInfoOk() (*string, bool)
- func (o *UpgradeProposal) GetName() string
- func (o *UpgradeProposal) GetNameOk() (*string, bool)
- func (o *UpgradeProposal) GetValidatorsToQuorum() int64
- func (o *UpgradeProposal) GetValidatorsToQuorumOk() (*int64, bool)
- func (o *UpgradeProposal) HasApproved() bool
- func (o *UpgradeProposal) HasApprovedPercent() bool
- func (o *UpgradeProposal) HasValidatorsToQuorum() bool
- func (o UpgradeProposal) MarshalJSON_deprecated() ([]byte, error)
- func (o *UpgradeProposal) SetApproved(v bool)
- func (o *UpgradeProposal) SetApprovedPercent(v string)
- func (o *UpgradeProposal) SetHeight(v int64)
- func (o *UpgradeProposal) SetInfo(v string)
- func (o *UpgradeProposal) SetName(v string)
- func (o *UpgradeProposal) SetValidatorsToQuorum(v int64)
- type UpgradeVote
- func (o *UpgradeVote) GetNodeAddress() string
- func (o *UpgradeVote) GetNodeAddressOk() (*string, bool)
- func (o *UpgradeVote) GetVote() string
- func (o *UpgradeVote) GetVoteOk() (*string, bool)
- func (o UpgradeVote) MarshalJSON_deprecated() ([]byte, error)
- func (o *UpgradeVote) SetNodeAddress(v string)
- func (o *UpgradeVote) SetVote(v string)
- type Vault
- func (o *Vault) GetAddresses() []VaultAddress
- func (o *Vault) GetAddressesOk() ([]VaultAddress, bool)
- func (o *Vault) GetBlockHeight() int64
- func (o *Vault) GetBlockHeightOk() (*int64, bool)
- func (o *Vault) GetChains() []string
- func (o *Vault) GetChainsOk() ([]string, bool)
- func (o *Vault) GetCoins() []Coin
- func (o *Vault) GetCoinsOk() ([]Coin, bool)
- func (o *Vault) GetFrozen() []string
- func (o *Vault) GetFrozenOk() ([]string, bool)
- func (o *Vault) GetInboundTxCount() int64
- func (o *Vault) GetInboundTxCountOk() (*int64, bool)
- func (o *Vault) GetMembership() []string
- func (o *Vault) GetMembershipOk() ([]string, bool)
- func (o *Vault) GetOutboundTxCount() int64
- func (o *Vault) GetOutboundTxCountOk() (*int64, bool)
- func (o *Vault) GetPendingTxBlockHeights() []int64
- func (o *Vault) GetPendingTxBlockHeightsOk() ([]int64, bool)
- func (o *Vault) GetPubKey() string
- func (o *Vault) GetPubKeyOk() (*string, bool)
- func (o *Vault) GetRouters() []VaultRouter
- func (o *Vault) GetRoutersOk() ([]VaultRouter, bool)
- func (o *Vault) GetStatus() string
- func (o *Vault) GetStatusOk() (*string, bool)
- func (o *Vault) GetStatusSince() int64
- func (o *Vault) GetStatusSinceOk() (*int64, bool)
- func (o *Vault) GetType() string
- func (o *Vault) GetTypeOk() (*string, bool)
- func (o *Vault) HasBlockHeight() bool
- func (o *Vault) HasChains() bool
- func (o *Vault) HasFrozen() bool
- func (o *Vault) HasInboundTxCount() bool
- func (o *Vault) HasMembership() bool
- func (o *Vault) HasOutboundTxCount() bool
- func (o *Vault) HasPendingTxBlockHeights() bool
- func (o *Vault) HasPubKey() bool
- func (o *Vault) HasStatusSince() bool
- func (o *Vault) HasType() bool
- func (o Vault) MarshalJSON_deprecated() ([]byte, error)
- func (o *Vault) SetAddresses(v []VaultAddress)
- func (o *Vault) SetBlockHeight(v int64)
- func (o *Vault) SetChains(v []string)
- func (o *Vault) SetCoins(v []Coin)
- func (o *Vault) SetFrozen(v []string)
- func (o *Vault) SetInboundTxCount(v int64)
- func (o *Vault) SetMembership(v []string)
- func (o *Vault) SetOutboundTxCount(v int64)
- func (o *Vault) SetPendingTxBlockHeights(v []int64)
- func (o *Vault) SetPubKey(v string)
- func (o *Vault) SetRouters(v []VaultRouter)
- func (o *Vault) SetStatus(v string)
- func (o *Vault) SetStatusSince(v int64)
- func (o *Vault) SetType(v string)
- type VaultAddress
- func (o *VaultAddress) GetAddress() string
- func (o *VaultAddress) GetAddressOk() (*string, bool)
- func (o *VaultAddress) GetChain() string
- func (o *VaultAddress) GetChainOk() (*string, bool)
- func (o VaultAddress) MarshalJSON_deprecated() ([]byte, error)
- func (o *VaultAddress) SetAddress(v string)
- func (o *VaultAddress) SetChain(v string)
- type VaultInfo
- func (o *VaultInfo) GetPubKey() string
- func (o *VaultInfo) GetPubKeyOk() (*string, bool)
- func (o *VaultInfo) GetRouters() []VaultRouter
- func (o *VaultInfo) GetRoutersOk() ([]VaultRouter, bool)
- func (o VaultInfo) MarshalJSON_deprecated() ([]byte, error)
- func (o *VaultInfo) SetPubKey(v string)
- func (o *VaultInfo) SetRouters(v []VaultRouter)
- type VaultPubkeysResponse
- func (o *VaultPubkeysResponse) GetAsgard() []VaultInfo
- func (o *VaultPubkeysResponse) GetAsgardOk() ([]VaultInfo, bool)
- func (o *VaultPubkeysResponse) GetInactive() []VaultInfo
- func (o *VaultPubkeysResponse) GetInactiveOk() ([]VaultInfo, bool)
- func (o *VaultPubkeysResponse) GetYggdrasil() []VaultInfo
- func (o *VaultPubkeysResponse) GetYggdrasilOk() ([]VaultInfo, bool)
- func (o VaultPubkeysResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *VaultPubkeysResponse) SetAsgard(v []VaultInfo)
- func (o *VaultPubkeysResponse) SetInactive(v []VaultInfo)
- func (o *VaultPubkeysResponse) SetYggdrasil(v []VaultInfo)
- type VaultRouter
- func (o *VaultRouter) GetChain() string
- func (o *VaultRouter) GetChainOk() (*string, bool)
- func (o *VaultRouter) GetRouter() string
- func (o *VaultRouter) GetRouterOk() (*string, bool)
- func (o *VaultRouter) HasChain() bool
- func (o *VaultRouter) HasRouter() bool
- func (o VaultRouter) MarshalJSON_deprecated() ([]byte, error)
- func (o *VaultRouter) SetChain(v string)
- func (o *VaultRouter) SetRouter(v string)
- type VaultsApiService
- func (a *VaultsApiService) Asgard(ctx context.Context) ApiAsgardRequest
- func (a *VaultsApiService) AsgardExecute(r ApiAsgardRequest) ([]Vault, *http.Response, error)
- func (a *VaultsApiService) Vault(ctx context.Context, pubkey string) ApiVaultRequest
- func (a *VaultsApiService) VaultExecute(r ApiVaultRequest) (*Vault, *http.Response, error)
- func (a *VaultsApiService) VaultPubkeys(ctx context.Context) ApiVaultPubkeysRequest
- func (a *VaultsApiService) VaultPubkeysExecute(r ApiVaultPubkeysRequest) (*VaultPubkeysResponse, *http.Response, error)
- func (a *VaultsApiService) Yggdrasil(ctx context.Context) ApiYggdrasilRequest
- func (a *VaultsApiService) YggdrasilExecute(r ApiYggdrasilRequest) ([]YggdrasilVault, *http.Response, error)
- type VersionResponse
- func (o *VersionResponse) GetCurrent() string
- func (o *VersionResponse) GetCurrentOk() (*string, bool)
- func (o *VersionResponse) GetNext() string
- func (o *VersionResponse) GetNextOk() (*string, bool)
- func (o *VersionResponse) GetNextSinceHeight() int64
- func (o *VersionResponse) GetNextSinceHeightOk() (*int64, bool)
- func (o *VersionResponse) GetQuerier() string
- func (o *VersionResponse) GetQuerierOk() (*string, bool)
- func (o *VersionResponse) HasNextSinceHeight() bool
- func (o VersionResponse) MarshalJSON_deprecated() ([]byte, error)
- func (o *VersionResponse) SetCurrent(v string)
- func (o *VersionResponse) SetNext(v string)
- func (o *VersionResponse) SetNextSinceHeight(v int64)
- func (o *VersionResponse) SetQuerier(v string)
- type YggdrasilVault
- func (o *YggdrasilVault) GetAddresses() []VaultAddress
- func (o *YggdrasilVault) GetAddressesOk() ([]VaultAddress, bool)
- func (o *YggdrasilVault) GetBlockHeight() int64
- func (o *YggdrasilVault) GetBlockHeightOk() (*int64, bool)
- func (o *YggdrasilVault) GetBond() string
- func (o *YggdrasilVault) GetBondOk() (*string, bool)
- func (o *YggdrasilVault) GetChains() []string
- func (o *YggdrasilVault) GetChainsOk() ([]string, bool)
- func (o *YggdrasilVault) GetCoins() []Coin
- func (o *YggdrasilVault) GetCoinsOk() ([]Coin, bool)
- func (o *YggdrasilVault) GetInboundTxCount() int64
- func (o *YggdrasilVault) GetInboundTxCountOk() (*int64, bool)
- func (o *YggdrasilVault) GetMembership() []string
- func (o *YggdrasilVault) GetMembershipOk() ([]string, bool)
- func (o *YggdrasilVault) GetOutboundTxCount() int64
- func (o *YggdrasilVault) GetOutboundTxCountOk() (*int64, bool)
- func (o *YggdrasilVault) GetPendingTxBlockHeights() []int64
- func (o *YggdrasilVault) GetPendingTxBlockHeightsOk() ([]int64, bool)
- func (o *YggdrasilVault) GetPubKey() string
- func (o *YggdrasilVault) GetPubKeyOk() (*string, bool)
- func (o *YggdrasilVault) GetRouters() []VaultRouter
- func (o *YggdrasilVault) GetRoutersOk() ([]VaultRouter, bool)
- func (o *YggdrasilVault) GetStatus() string
- func (o *YggdrasilVault) GetStatusOk() (*string, bool)
- func (o *YggdrasilVault) GetStatusSince() int64
- func (o *YggdrasilVault) GetStatusSinceOk() (*int64, bool)
- func (o *YggdrasilVault) GetTotalValue() string
- func (o *YggdrasilVault) GetTotalValueOk() (*string, bool)
- func (o *YggdrasilVault) GetType() string
- func (o *YggdrasilVault) GetTypeOk() (*string, bool)
- func (o *YggdrasilVault) HasBlockHeight() bool
- func (o *YggdrasilVault) HasChains() bool
- func (o *YggdrasilVault) HasInboundTxCount() bool
- func (o *YggdrasilVault) HasMembership() bool
- func (o *YggdrasilVault) HasOutboundTxCount() bool
- func (o *YggdrasilVault) HasPendingTxBlockHeights() bool
- func (o *YggdrasilVault) HasPubKey() bool
- func (o *YggdrasilVault) HasStatusSince() bool
- func (o *YggdrasilVault) HasType() bool
- func (o YggdrasilVault) MarshalJSON_deprecated() ([]byte, error)
- func (o *YggdrasilVault) SetAddresses(v []VaultAddress)
- func (o *YggdrasilVault) SetBlockHeight(v int64)
- func (o *YggdrasilVault) SetBond(v string)
- func (o *YggdrasilVault) SetChains(v []string)
- func (o *YggdrasilVault) SetCoins(v []Coin)
- func (o *YggdrasilVault) SetInboundTxCount(v int64)
- func (o *YggdrasilVault) SetMembership(v []string)
- func (o *YggdrasilVault) SetOutboundTxCount(v int64)
- func (o *YggdrasilVault) SetPendingTxBlockHeights(v []int64)
- func (o *YggdrasilVault) SetPubKey(v string)
- func (o *YggdrasilVault) SetRouters(v []VaultRouter)
- func (o *YggdrasilVault) SetStatus(v string)
- func (o *YggdrasilVault) SetStatusSince(v int64)
- func (o *YggdrasilVault) SetTotalValue(v string)
- func (o *YggdrasilVault) SetType(v string)
Constants ¶
This section is empty.
Variables ¶
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 ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AuthApi *AuthApiService BankApi *BankApiService BlockApi *BlockApiService BorrowersApi *BorrowersApiService CloutApi *CloutApiService ExportApi *ExportApiService HealthApi *HealthApiService InvariantsApi *InvariantsApiService LiquidityProvidersApi *LiquidityProvidersApiService MimirApi *MimirApiService NetworkApi *NetworkApiService NodesApi *NodesApiService PoolSlipApi *PoolSlipApiService PoolsApi *PoolsApiService QueueApi *QueueApiService QuoteApi *QuoteApiService RUNEPoolApi *RUNEPoolApiService SaversApi *SaversApiService SecuredAssetApi *SecuredAssetApiService SecuredAssetsApi *SecuredAssetsApiService StreamingSwapApi *StreamingSwapApiService TSSApi *TSSApiService ThornamesApi *ThornamesApiService TradeAccountApi *TradeAccountApiService TradeAccountsApi *TradeAccountsApiService TradeUnitApi *TradeUnitApiService TradeUnitsApi *TradeUnitsApiService TransactionsApi *TransactionsApiService VaultsApi *VaultsApiService // contains filtered or unexported fields }
In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type Account ¶
type Account struct { Type *string `json:"type,omitempty"` Address *string `json:"address,omitempty"` Pubkey *string `json:"pubkey,omitempty"` Sequence *int64 `json:"sequence,omitempty"` AccountNumber *int64 `json:"account_number,omitempty"` }
Account struct for Account
func NewAccount ¶
func NewAccount() *Account
NewAccount instantiates a new Account object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountWithDefaults ¶
func NewAccountWithDefaults() *Account
NewAccountWithDefaults instantiates a new Account object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Account) GetAccountNumber ¶
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*Account) GetAccountNumberOk ¶
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetAddress ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*Account) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetPubkeyOk ¶
GetPubkeyOk returns a tuple with the Pubkey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetSequence ¶
GetSequence returns the Sequence field value if set, zero value otherwise.
func (*Account) GetSequenceOk ¶
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) HasAccountNumber ¶
HasAccountNumber returns a boolean if a field has been set.
func (*Account) HasAddress ¶
HasAddress returns a boolean if a field has been set.
func (*Account) HasSequence ¶
HasSequence returns a boolean if a field has been set.
func (Account) MarshalJSON_deprecated ¶
func (*Account) SetAccountNumber ¶
SetAccountNumber gets a reference to the given int64 and assigns it to the AccountNumber field.
func (*Account) SetAddress ¶
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*Account) SetPubkey ¶
SetPubkey gets a reference to the given string and assigns it to the Pubkey field.
func (*Account) SetSequence ¶
SetSequence gets a reference to the given int64 and assigns it to the Sequence field.
type AccountResponse ¶
type AccountResponse struct {
Result *AccountResponseResult `json:"result,omitempty"`
}
AccountResponse struct for AccountResponse
func NewAccountResponse ¶
func NewAccountResponse() *AccountResponse
NewAccountResponse instantiates a new AccountResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountResponseWithDefaults ¶
func NewAccountResponseWithDefaults() *AccountResponse
NewAccountResponseWithDefaults instantiates a new AccountResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountResponse) GetResult ¶
func (o *AccountResponse) GetResult() AccountResponseResult
GetResult returns the Result field value if set, zero value otherwise.
func (*AccountResponse) GetResultOk ¶
func (o *AccountResponse) GetResultOk() (*AccountResponseResult, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountResponse) HasResult ¶
func (o *AccountResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (AccountResponse) MarshalJSON_deprecated ¶
func (o AccountResponse) MarshalJSON_deprecated() ([]byte, error)
func (*AccountResponse) SetResult ¶
func (o *AccountResponse) SetResult(v AccountResponseResult)
SetResult gets a reference to the given AccountResponseResult and assigns it to the Result field.
type AccountResponseResult ¶
type AccountResponseResult struct {
Value *Account `json:"value,omitempty"`
}
AccountResponseResult struct for AccountResponseResult
func NewAccountResponseResult ¶
func NewAccountResponseResult() *AccountResponseResult
NewAccountResponseResult instantiates a new AccountResponseResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountResponseResultWithDefaults ¶
func NewAccountResponseResultWithDefaults() *AccountResponseResult
NewAccountResponseResultWithDefaults instantiates a new AccountResponseResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountResponseResult) GetValue ¶
func (o *AccountResponseResult) GetValue() Account
GetValue returns the Value field value if set, zero value otherwise.
func (*AccountResponseResult) GetValueOk ¶
func (o *AccountResponseResult) GetValueOk() (*Account, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountResponseResult) HasValue ¶
func (o *AccountResponseResult) HasValue() bool
HasValue returns a boolean if a field has been set.
func (AccountResponseResult) MarshalJSON_deprecated ¶
func (o AccountResponseResult) MarshalJSON_deprecated() ([]byte, error)
func (*AccountResponseResult) SetValue ¶
func (o *AccountResponseResult) SetValue(v Account)
SetValue gets a reference to the given Account and assigns it to the Value field.
type Amount ¶
Amount struct for Amount
func NewAmount ¶
NewAmount instantiates a new Amount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAmountWithDefaults ¶
func NewAmountWithDefaults() *Amount
NewAmountWithDefaults instantiates a new Amount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Amount) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Amount) GetDenomOk ¶
GetDenomOk returns a tuple with the Denom field value and a boolean to check if the value has been set.
func (Amount) MarshalJSON_deprecated ¶
type ApiAccountRequest ¶
type ApiAccountRequest struct { ApiService *AuthApiService // contains filtered or unexported fields }
func (ApiAccountRequest) Execute ¶
func (r ApiAccountRequest) Execute() (*AccountResponse, *http.Response, error)
func (ApiAccountRequest) Height ¶
func (r ApiAccountRequest) Height(height int64) ApiAccountRequest
optional block height, defaults to current tip
type ApiAsgardRequest ¶
type ApiAsgardRequest struct { ApiService *VaultsApiService // contains filtered or unexported fields }
func (ApiAsgardRequest) Execute ¶
func (r ApiAsgardRequest) Execute() ([]Vault, *http.Response, error)
func (ApiAsgardRequest) Height ¶
func (r ApiAsgardRequest) Height(height int64) ApiAsgardRequest
optional block height, defaults to current tip
type ApiBalancesRequest ¶
type ApiBalancesRequest struct { ApiService *BankApiService // contains filtered or unexported fields }
func (ApiBalancesRequest) Execute ¶
func (r ApiBalancesRequest) Execute() (*BalancesResponse, *http.Response, error)
func (ApiBalancesRequest) Height ¶
func (r ApiBalancesRequest) Height(height int64) ApiBalancesRequest
optional block height, defaults to current tip
type ApiBanRequest ¶
type ApiBanRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiBanRequest) Execute ¶
func (r ApiBanRequest) Execute() (*BanResponse, *http.Response, error)
func (ApiBanRequest) Height ¶
func (r ApiBanRequest) Height(height int64) ApiBanRequest
optional block height, defaults to current tip
type ApiBlockRequest ¶
type ApiBlockRequest struct { ApiService *BlockApiService // contains filtered or unexported fields }
func (ApiBlockRequest) Execute ¶
func (r ApiBlockRequest) Execute() (*BlockResponse, *http.Response, error)
func (ApiBlockRequest) Height ¶
func (r ApiBlockRequest) Height(height int64) ApiBlockRequest
optional block height, defaults to current tip
type ApiBorrowerRequest ¶
type ApiBorrowerRequest struct { ApiService *BorrowersApiService // contains filtered or unexported fields }
func (ApiBorrowerRequest) Execute ¶
func (r ApiBorrowerRequest) Execute() (*Borrower, *http.Response, error)
func (ApiBorrowerRequest) Height ¶
func (r ApiBorrowerRequest) Height(height int64) ApiBorrowerRequest
optional block height, defaults to current tip
type ApiBorrowersRequest ¶
type ApiBorrowersRequest struct { ApiService *BorrowersApiService // contains filtered or unexported fields }
func (ApiBorrowersRequest) Execute ¶
func (r ApiBorrowersRequest) Execute() ([]Borrower, *http.Response, error)
func (ApiBorrowersRequest) Height ¶
func (r ApiBorrowersRequest) Height(height int64) ApiBorrowersRequest
optional block height, defaults to current tip
type ApiConstantsRequest ¶
type ApiConstantsRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiConstantsRequest) Execute ¶
func (r ApiConstantsRequest) Execute() (*ConstantsResponse, *http.Response, error)
func (ApiConstantsRequest) Height ¶
func (r ApiConstantsRequest) Height(height int64) ApiConstantsRequest
optional block height, defaults to current tip
type ApiDpoolRequest ¶
type ApiDpoolRequest struct { ApiService *PoolsApiService // contains filtered or unexported fields }
func (ApiDpoolRequest) Execute ¶
func (r ApiDpoolRequest) Execute() (*DerivedPool, *http.Response, error)
func (ApiDpoolRequest) Height ¶
func (r ApiDpoolRequest) Height(height int64) ApiDpoolRequest
optional block height, defaults to current tip
type ApiDpoolsRequest ¶
type ApiDpoolsRequest struct { ApiService *PoolsApiService // contains filtered or unexported fields }
func (ApiDpoolsRequest) Execute ¶
func (r ApiDpoolsRequest) Execute() ([]DerivedPool, *http.Response, error)
func (ApiDpoolsRequest) Height ¶
func (r ApiDpoolsRequest) Height(height int64) ApiDpoolsRequest
optional block height, defaults to current tip
type ApiExportRequest ¶
type ApiExportRequest struct { ApiService *ExportApiService // contains filtered or unexported fields }
type ApiInboundAddressesRequest ¶
type ApiInboundAddressesRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiInboundAddressesRequest) Execute ¶
func (r ApiInboundAddressesRequest) Execute() ([]InboundAddress, *http.Response, error)
func (ApiInboundAddressesRequest) Height ¶
func (r ApiInboundAddressesRequest) Height(height int64) ApiInboundAddressesRequest
optional block height, defaults to current tip
type ApiInvariantRequest ¶
type ApiInvariantRequest struct { ApiService *InvariantsApiService // contains filtered or unexported fields }
func (ApiInvariantRequest) Execute ¶
func (r ApiInvariantRequest) Execute() (*InvariantResponse, *http.Response, error)
func (ApiInvariantRequest) Height ¶
func (r ApiInvariantRequest) Height(height int64) ApiInvariantRequest
optional block height, defaults to current tip
type ApiInvariantsRequest ¶
type ApiInvariantsRequest struct { ApiService *InvariantsApiService // contains filtered or unexported fields }
func (ApiInvariantsRequest) Execute ¶
func (r ApiInvariantsRequest) Execute() (*InvariantsResponse, *http.Response, error)
func (ApiInvariantsRequest) Height ¶
func (r ApiInvariantsRequest) Height(height int64) ApiInvariantsRequest
optional block height, defaults to current tip
type ApiKeygenPubkeyRequest ¶
type ApiKeygenPubkeyRequest struct { ApiService *TSSApiService // contains filtered or unexported fields }
func (ApiKeygenPubkeyRequest) Execute ¶
func (r ApiKeygenPubkeyRequest) Execute() (*KeygenResponse, *http.Response, error)
type ApiKeysignPubkeyRequest ¶
type ApiKeysignPubkeyRequest struct { ApiService *TSSApiService // contains filtered or unexported fields }
func (ApiKeysignPubkeyRequest) Execute ¶
func (r ApiKeysignPubkeyRequest) Execute() (*KeysignResponse, *http.Response, error)
type ApiKeysignRequest ¶
type ApiKeysignRequest struct { ApiService *TSSApiService // contains filtered or unexported fields }
func (ApiKeysignRequest) Execute ¶
func (r ApiKeysignRequest) Execute() (*KeysignResponse, *http.Response, error)
type ApiLastblockChainRequest ¶
type ApiLastblockChainRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiLastblockChainRequest) Execute ¶
func (r ApiLastblockChainRequest) Execute() ([]LastBlock, *http.Response, error)
func (ApiLastblockChainRequest) Height ¶
func (r ApiLastblockChainRequest) Height(height int64) ApiLastblockChainRequest
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 ¶
func (r ApiLastblockRequest) Height(height int64) ApiLastblockRequest
optional block height, defaults to current tip
type ApiLiquidityProviderRequest ¶
type ApiLiquidityProviderRequest struct { ApiService *LiquidityProvidersApiService // contains filtered or unexported fields }
func (ApiLiquidityProviderRequest) Execute ¶
func (r ApiLiquidityProviderRequest) Execute() (*LiquidityProvider, *http.Response, error)
func (ApiLiquidityProviderRequest) Height ¶
func (r ApiLiquidityProviderRequest) Height(height int64) ApiLiquidityProviderRequest
optional block height, defaults to current tip
type ApiLiquidityProvidersRequest ¶
type ApiLiquidityProvidersRequest struct { ApiService *LiquidityProvidersApiService // contains filtered or unexported fields }
func (ApiLiquidityProvidersRequest) Execute ¶
func (r ApiLiquidityProvidersRequest) Execute() ([]LiquidityProviderSummary, *http.Response, error)
func (ApiLiquidityProvidersRequest) Height ¶
func (r ApiLiquidityProvidersRequest) Height(height int64) ApiLiquidityProvidersRequest
optional block height, defaults to current tip
type ApiMetricsKeygenRequest ¶
type ApiMetricsKeygenRequest struct { ApiService *TSSApiService // contains filtered or unexported fields }
func (ApiMetricsKeygenRequest) Execute ¶
func (r ApiMetricsKeygenRequest) Execute() ([]KeygenMetric, *http.Response, error)
func (ApiMetricsKeygenRequest) Height ¶
func (r ApiMetricsKeygenRequest) Height(height int64) ApiMetricsKeygenRequest
optional block height, defaults to current tip
type ApiMetricsRequest ¶
type ApiMetricsRequest struct { ApiService *TSSApiService // contains filtered or unexported fields }
func (ApiMetricsRequest) Execute ¶
func (r ApiMetricsRequest) Execute() (*MetricsResponse, *http.Response, error)
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) Height ¶
func (r ApiMimirAdminRequest) Height(height int64) ApiMimirAdminRequest
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) Height ¶
func (r ApiMimirNodeRequest) Height(height int64) ApiMimirNodeRequest
optional block height, defaults to current tip
type ApiMimirNodesRequest ¶
type ApiMimirNodesRequest struct { ApiService *MimirApiService // contains filtered or unexported fields }
func (ApiMimirNodesRequest) Execute ¶
func (r ApiMimirNodesRequest) Execute() (*MimirNodesResponse, *http.Response, error)
func (ApiMimirNodesRequest) Height ¶
func (r ApiMimirNodesRequest) Height(height int64) ApiMimirNodesRequest
optional block height, defaults to current tip
type ApiMimirRequest ¶
type ApiMimirRequest struct { ApiService *MimirApiService // contains filtered or unexported fields }
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 (r ApiNetworkRequest) Execute() (*NetworkResponse, *http.Response, error)
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) 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) Height ¶
func (r ApiNodesRequest) Height(height int64) ApiNodesRequest
optional block height, defaults to current tip
type ApiOutboundFeeAssetRequest ¶
type ApiOutboundFeeAssetRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiOutboundFeeAssetRequest) Execute ¶
func (r ApiOutboundFeeAssetRequest) Execute() ([]OutboundFee, *http.Response, error)
func (ApiOutboundFeeAssetRequest) Height ¶
func (r ApiOutboundFeeAssetRequest) Height(height int64) ApiOutboundFeeAssetRequest
optional block height, defaults to current tip
type ApiOutboundFeesRequest ¶
type ApiOutboundFeesRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiOutboundFeesRequest) Execute ¶
func (r ApiOutboundFeesRequest) Execute() ([]OutboundFee, *http.Response, error)
func (ApiOutboundFeesRequest) Height ¶
func (r ApiOutboundFeesRequest) Height(height int64) ApiOutboundFeesRequest
optional block height, defaults to current tip
type ApiPingRequest ¶
type ApiPingRequest struct { ApiService *HealthApiService // contains filtered or unexported fields }
type ApiPoolRequest ¶
type ApiPoolRequest struct { ApiService *PoolsApiService // contains filtered or unexported fields }
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) Height ¶
func (r ApiPoolsRequest) Height(height int64) ApiPoolsRequest
optional block height, defaults to current tip
type ApiPoolslipRequest ¶
type ApiPoolslipRequest struct { ApiService *PoolSlipApiService // contains filtered or unexported fields }
func (ApiPoolslipRequest) Execute ¶
func (r ApiPoolslipRequest) Execute() ([]PoolSlipResponseInner, *http.Response, error)
func (ApiPoolslipRequest) Height ¶
func (r ApiPoolslipRequest) Height(height int64) ApiPoolslipRequest
optional block height, defaults to current tip
type ApiPoolslipsRequest ¶
type ApiPoolslipsRequest struct { ApiService *PoolSlipApiService // contains filtered or unexported fields }
func (ApiPoolslipsRequest) Execute ¶
func (r ApiPoolslipsRequest) Execute() ([]PoolSlipResponseInner, *http.Response, error)
func (ApiPoolslipsRequest) Height ¶
func (r ApiPoolslipsRequest) Height(height int64) ApiPoolslipsRequest
optional block height, defaults to current tip
type ApiQueueOutboundRequest ¶
type ApiQueueOutboundRequest struct { ApiService *QueueApiService // contains filtered or unexported fields }
func (ApiQueueOutboundRequest) Execute ¶
func (r ApiQueueOutboundRequest) Execute() ([]TxOutItem, *http.Response, error)
func (ApiQueueOutboundRequest) Height ¶
func (r ApiQueueOutboundRequest) Height(height int64) ApiQueueOutboundRequest
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 (r ApiQueueScheduledRequest) Execute() ([]TxOutItem, *http.Response, error)
func (ApiQueueScheduledRequest) Height ¶
func (r ApiQueueScheduledRequest) Height(height int64) ApiQueueScheduledRequest
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 ¶
func (r ApiQueueSwapRequest) Height(height int64) ApiQueueSwapRequest
optional block height, defaults to current tip
type ApiQuoteloancloseRequest ¶
type ApiQuoteloancloseRequest struct { ApiService *QuoteApiService // contains filtered or unexported fields }
func (ApiQuoteloancloseRequest) Execute ¶
func (r ApiQuoteloancloseRequest) Execute() (*QuoteLoanCloseResponse, *http.Response, error)
func (ApiQuoteloancloseRequest) FromAsset ¶
func (r ApiQuoteloancloseRequest) FromAsset(fromAsset string) ApiQuoteloancloseRequest
the asset used to repay the loan
func (ApiQuoteloancloseRequest) Height ¶
func (r ApiQuoteloancloseRequest) Height(height int64) ApiQuoteloancloseRequest
optional block height, defaults to current tip
func (ApiQuoteloancloseRequest) LoanOwner ¶
func (r ApiQuoteloancloseRequest) LoanOwner(loanOwner string) ApiQuoteloancloseRequest
the owner of the loan collateral
func (ApiQuoteloancloseRequest) MinOut ¶
func (r ApiQuoteloancloseRequest) MinOut(minOut string) ApiQuoteloancloseRequest
the minimum amount of the target asset to accept
func (ApiQuoteloancloseRequest) RepayBps ¶
func (r ApiQuoteloancloseRequest) RepayBps(repayBps int64) ApiQuoteloancloseRequest
the basis points of the existing position to repay
func (ApiQuoteloancloseRequest) ToAsset ¶
func (r ApiQuoteloancloseRequest) ToAsset(toAsset string) ApiQuoteloancloseRequest
the collateral asset of the loan
type ApiQuoteloanopenRequest ¶
type ApiQuoteloanopenRequest struct { ApiService *QuoteApiService // contains filtered or unexported fields }
func (ApiQuoteloanopenRequest) Affiliate ¶
func (r ApiQuoteloanopenRequest) Affiliate(affiliate string) ApiQuoteloanopenRequest
the affiliate (address or thorname)
func (ApiQuoteloanopenRequest) AffiliateBps ¶
func (r ApiQuoteloanopenRequest) AffiliateBps(affiliateBps int64) ApiQuoteloanopenRequest
the affiliate fee in basis points
func (ApiQuoteloanopenRequest) Amount ¶
func (r ApiQuoteloanopenRequest) Amount(amount int64) ApiQuoteloanopenRequest
the collateral asset amount in 1e8 decimals
func (ApiQuoteloanopenRequest) Destination ¶
func (r ApiQuoteloanopenRequest) Destination(destination string) ApiQuoteloanopenRequest
the destination address, required to generate memo
func (ApiQuoteloanopenRequest) Execute ¶
func (r ApiQuoteloanopenRequest) Execute() (*QuoteLoanOpenResponse, *http.Response, error)
func (ApiQuoteloanopenRequest) FromAsset ¶
func (r ApiQuoteloanopenRequest) FromAsset(fromAsset string) ApiQuoteloanopenRequest
the collateral asset
func (ApiQuoteloanopenRequest) Height ¶
func (r ApiQuoteloanopenRequest) Height(height int64) ApiQuoteloanopenRequest
optional block height, defaults to current tip
func (ApiQuoteloanopenRequest) MinOut ¶
func (r ApiQuoteloanopenRequest) MinOut(minOut string) ApiQuoteloanopenRequest
the minimum amount of the target asset to accept
func (ApiQuoteloanopenRequest) ToAsset ¶
func (r ApiQuoteloanopenRequest) ToAsset(toAsset string) ApiQuoteloanopenRequest
the target asset to receive (loan denominated in TOR regardless)
type ApiQuotesaverdepositRequest ¶
type ApiQuotesaverdepositRequest struct { ApiService *QuoteApiService // contains filtered or unexported fields }
func (ApiQuotesaverdepositRequest) Amount ¶
func (r ApiQuotesaverdepositRequest) Amount(amount int64) ApiQuotesaverdepositRequest
the source asset amount in 1e8 decimals
func (ApiQuotesaverdepositRequest) Asset ¶
func (r ApiQuotesaverdepositRequest) Asset(asset string) ApiQuotesaverdepositRequest
the asset to deposit
func (ApiQuotesaverdepositRequest) Execute ¶
func (r ApiQuotesaverdepositRequest) Execute() (*QuoteSaverDepositResponse, *http.Response, error)
func (ApiQuotesaverdepositRequest) Height ¶
func (r ApiQuotesaverdepositRequest) Height(height int64) ApiQuotesaverdepositRequest
optional block height, defaults to current tip
type ApiQuotesaverwithdrawRequest ¶
type ApiQuotesaverwithdrawRequest struct { ApiService *QuoteApiService // contains filtered or unexported fields }
func (ApiQuotesaverwithdrawRequest) Address ¶
func (r ApiQuotesaverwithdrawRequest) Address(address string) ApiQuotesaverwithdrawRequest
the address for the position
func (ApiQuotesaverwithdrawRequest) Asset ¶
func (r ApiQuotesaverwithdrawRequest) Asset(asset string) ApiQuotesaverwithdrawRequest
the asset to withdraw
func (ApiQuotesaverwithdrawRequest) Execute ¶
func (r ApiQuotesaverwithdrawRequest) Execute() (*QuoteSaverWithdrawResponse, *http.Response, error)
func (ApiQuotesaverwithdrawRequest) Height ¶
func (r ApiQuotesaverwithdrawRequest) Height(height int64) ApiQuotesaverwithdrawRequest
optional block height, defaults to current tip
func (ApiQuotesaverwithdrawRequest) WithdrawBps ¶
func (r ApiQuotesaverwithdrawRequest) WithdrawBps(withdrawBps int64) ApiQuotesaverwithdrawRequest
the basis points of the existing position to withdraw
type ApiQuoteswapRequest ¶
type ApiQuoteswapRequest struct { ApiService *QuoteApiService // contains filtered or unexported fields }
func (ApiQuoteswapRequest) Affiliate ¶
func (r ApiQuoteswapRequest) Affiliate(affiliate string) ApiQuoteswapRequest
the affiliate (address or thorname)
func (ApiQuoteswapRequest) AffiliateBps ¶
func (r ApiQuoteswapRequest) AffiliateBps(affiliateBps int64) ApiQuoteswapRequest
the affiliate fee in basis points
func (ApiQuoteswapRequest) Amount ¶
func (r ApiQuoteswapRequest) Amount(amount int64) ApiQuoteswapRequest
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 (r ApiQuoteswapRequest) Execute() (*QuoteSwapResponse, *http.Response, error)
func (ApiQuoteswapRequest) FromAsset ¶
func (r ApiQuoteswapRequest) FromAsset(fromAsset string) ApiQuoteswapRequest
the source asset
func (ApiQuoteswapRequest) Height ¶
func (r ApiQuoteswapRequest) Height(height int64) ApiQuoteswapRequest
optional block height, defaults to current tip
func (ApiQuoteswapRequest) RefundAddress ¶
func (r ApiQuoteswapRequest) RefundAddress(refundAddress string) ApiQuoteswapRequest
the refund address, refunds will be sent here if the swap fails
func (ApiQuoteswapRequest) StreamingInterval ¶
func (r ApiQuoteswapRequest) StreamingInterval(streamingInterval int64) ApiQuoteswapRequest
the interval in which streaming swaps are swapped
func (ApiQuoteswapRequest) StreamingQuantity ¶
func (r ApiQuoteswapRequest) StreamingQuantity(streamingQuantity int64) ApiQuoteswapRequest
the quantity of swaps within a streaming swap
func (ApiQuoteswapRequest) ToAsset ¶
func (r ApiQuoteswapRequest) ToAsset(toAsset string) ApiQuoteswapRequest
the target asset
func (ApiQuoteswapRequest) ToleranceBps ¶
func (r ApiQuoteswapRequest) ToleranceBps(toleranceBps int64) ApiQuoteswapRequest
the maximum basis points from the current feeless swap price to set the limit in the generated memo
type ApiRagnarokRequest ¶
type ApiRagnarokRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiRagnarokRequest) Execute ¶
func (r ApiRagnarokRequest) Execute() (bool, *http.Response, error)
func (ApiRagnarokRequest) Height ¶
func (r ApiRagnarokRequest) Height(height int64) ApiRagnarokRequest
optional block height, defaults to current tip
type ApiRunePoolRequest ¶
type ApiRunePoolRequest struct { ApiService *RUNEPoolApiService // contains filtered or unexported fields }
func (ApiRunePoolRequest) Execute ¶
func (r ApiRunePoolRequest) Execute() (*RUNEPoolResponse, *http.Response, error)
func (ApiRunePoolRequest) Height ¶
func (r ApiRunePoolRequest) Height(height int64) ApiRunePoolRequest
optional block height, defaults to current tip
type ApiRuneProviderRequest ¶
type ApiRuneProviderRequest struct { ApiService *RUNEPoolApiService // contains filtered or unexported fields }
func (ApiRuneProviderRequest) Execute ¶
func (r ApiRuneProviderRequest) Execute() (*RUNEProvider, *http.Response, error)
func (ApiRuneProviderRequest) Height ¶
func (r ApiRuneProviderRequest) Height(height int64) ApiRuneProviderRequest
optional block height, defaults to current tip
type ApiRuneProvidersRequest ¶
type ApiRuneProvidersRequest struct { ApiService *RUNEPoolApiService // contains filtered or unexported fields }
func (ApiRuneProvidersRequest) Execute ¶
func (r ApiRuneProvidersRequest) Execute() ([]RUNEProvider, *http.Response, error)
func (ApiRuneProvidersRequest) Height ¶
func (r ApiRuneProvidersRequest) Height(height int64) ApiRuneProvidersRequest
optional block height, defaults to current tip
type ApiSaverRequest ¶
type ApiSaverRequest struct { ApiService *SaversApiService // contains filtered or unexported fields }
func (ApiSaverRequest) Height ¶
func (r ApiSaverRequest) Height(height int64) ApiSaverRequest
optional block height, defaults to current tip
type ApiSaversRequest ¶
type ApiSaversRequest struct { ApiService *SaversApiService // contains filtered or unexported fields }
func (ApiSaversRequest) Execute ¶
func (r ApiSaversRequest) Execute() ([]Saver, *http.Response, error)
func (ApiSaversRequest) Height ¶
func (r ApiSaversRequest) Height(height int64) ApiSaversRequest
optional block height, defaults to current tip
type ApiSecuredAssetRequest ¶
type ApiSecuredAssetRequest struct { ApiService *SecuredAssetApiService // contains filtered or unexported fields }
func (ApiSecuredAssetRequest) Execute ¶
func (r ApiSecuredAssetRequest) Execute() (*SecuredAssetResponse, *http.Response, error)
func (ApiSecuredAssetRequest) Height ¶
func (r ApiSecuredAssetRequest) Height(height int64) ApiSecuredAssetRequest
optional block height, defaults to current tip
type ApiSecuredAssetsRequest ¶
type ApiSecuredAssetsRequest struct { ApiService *SecuredAssetsApiService // contains filtered or unexported fields }
func (ApiSecuredAssetsRequest) Execute ¶
func (r ApiSecuredAssetsRequest) Execute() ([]SecuredAssetResponse, *http.Response, error)
func (ApiSecuredAssetsRequest) Height ¶
func (r ApiSecuredAssetsRequest) Height(height int64) ApiSecuredAssetsRequest
optional block height, defaults to current tip
type ApiStreamSwapRequest ¶
type ApiStreamSwapRequest struct { ApiService *StreamingSwapApiService // contains filtered or unexported fields }
func (ApiStreamSwapRequest) Execute ¶
func (r ApiStreamSwapRequest) Execute() (*StreamingSwap, *http.Response, error)
func (ApiStreamSwapRequest) Height ¶
func (r ApiStreamSwapRequest) Height(height int64) ApiStreamSwapRequest
optional block height, defaults to current tip
type ApiStreamSwapsRequest ¶
type ApiStreamSwapsRequest struct { ApiService *StreamingSwapApiService // contains filtered or unexported fields }
func (ApiStreamSwapsRequest) Execute ¶
func (r ApiStreamSwapsRequest) Execute() ([]StreamingSwap, *http.Response, error)
func (ApiStreamSwapsRequest) Height ¶
func (r ApiStreamSwapsRequest) Height(height int64) ApiStreamSwapsRequest
optional block height, defaults to current tip
type ApiSwapperCloutRequest ¶
type ApiSwapperCloutRequest struct { ApiService *CloutApiService // contains filtered or unexported fields }
func (ApiSwapperCloutRequest) Execute ¶
func (r ApiSwapperCloutRequest) Execute() (*SwapperCloutResponse, *http.Response, error)
func (ApiSwapperCloutRequest) Height ¶
func (r ApiSwapperCloutRequest) Height(height int64) ApiSwapperCloutRequest
optional block height, defaults to current tip
type ApiThornameRequest ¶
type ApiThornameRequest struct { ApiService *ThornamesApiService // contains filtered or unexported fields }
func (ApiThornameRequest) Execute ¶
func (r ApiThornameRequest) Execute() (*Thorname, *http.Response, error)
func (ApiThornameRequest) Height ¶
func (r ApiThornameRequest) Height(height int64) ApiThornameRequest
optional block height, defaults to current tip
type ApiTradeAccountRequest ¶
type ApiTradeAccountRequest struct { ApiService *TradeAccountApiService // contains filtered or unexported fields }
func (ApiTradeAccountRequest) Execute ¶
func (r ApiTradeAccountRequest) Execute() (*TradeAccountResponse, *http.Response, error)
func (ApiTradeAccountRequest) Height ¶
func (r ApiTradeAccountRequest) Height(height int64) ApiTradeAccountRequest
optional block height, defaults to current tip
type ApiTradeAccountsRequest ¶
type ApiTradeAccountsRequest struct { ApiService *TradeAccountsApiService // contains filtered or unexported fields }
func (ApiTradeAccountsRequest) Execute ¶
func (r ApiTradeAccountsRequest) Execute() ([]TradeAccountResponse, *http.Response, error)
func (ApiTradeAccountsRequest) Height ¶
func (r ApiTradeAccountsRequest) Height(height int64) ApiTradeAccountsRequest
optional block height, defaults to current tip
type ApiTradeUnitRequest ¶
type ApiTradeUnitRequest struct { ApiService *TradeUnitApiService // contains filtered or unexported fields }
func (ApiTradeUnitRequest) Execute ¶
func (r ApiTradeUnitRequest) Execute() (*TradeUnitResponse, *http.Response, error)
func (ApiTradeUnitRequest) Height ¶
func (r ApiTradeUnitRequest) Height(height int64) ApiTradeUnitRequest
optional block height, defaults to current tip
type ApiTradeUnitsRequest ¶
type ApiTradeUnitsRequest struct { ApiService *TradeUnitsApiService // contains filtered or unexported fields }
func (ApiTradeUnitsRequest) Execute ¶
func (r ApiTradeUnitsRequest) Execute() ([]TradeUnitResponse, *http.Response, error)
func (ApiTradeUnitsRequest) Height ¶
func (r ApiTradeUnitsRequest) Height(height int64) ApiTradeUnitsRequest
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 (r ApiTxSignersOldRequest) Execute() (*TxSignersResponse, *http.Response, error)
func (ApiTxSignersOldRequest) Height ¶
func (r ApiTxSignersOldRequest) Height(height int64) ApiTxSignersOldRequest
optional block height, defaults to current tip
type ApiTxSignersRequest ¶
type ApiTxSignersRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiTxSignersRequest) Execute ¶
func (r ApiTxSignersRequest) Execute() (*TxDetailsResponse, *http.Response, error)
func (ApiTxSignersRequest) Height ¶
func (r ApiTxSignersRequest) Height(height int64) ApiTxSignersRequest
optional block height, defaults to current tip
type ApiTxStagesRequest ¶
type ApiTxStagesRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiTxStagesRequest) Execute ¶
func (r ApiTxStagesRequest) Execute() (*TxStagesResponse, *http.Response, error)
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 (r ApiTxStatusRequest) Execute() (*TxStatusResponse, *http.Response, error)
func (ApiTxStatusRequest) Height ¶
func (r ApiTxStatusRequest) Height(height int64) ApiTxStatusRequest
optional block height, defaults to current tip
type ApiUpgradeProposalRequest ¶
type ApiUpgradeProposalRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiUpgradeProposalRequest) Execute ¶
func (r ApiUpgradeProposalRequest) Execute() (*UpgradeProposal, *http.Response, error)
func (ApiUpgradeProposalRequest) Height ¶
func (r ApiUpgradeProposalRequest) Height(height int64) ApiUpgradeProposalRequest
optional block height, defaults to current tip
type ApiUpgradeProposalsRequest ¶
type ApiUpgradeProposalsRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiUpgradeProposalsRequest) Execute ¶
func (r ApiUpgradeProposalsRequest) Execute() ([]UpgradeProposal, *http.Response, error)
func (ApiUpgradeProposalsRequest) Height ¶
func (r ApiUpgradeProposalsRequest) Height(height int64) ApiUpgradeProposalsRequest
optional block height, defaults to current tip
type ApiUpgradeVotesRequest ¶
type ApiUpgradeVotesRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiUpgradeVotesRequest) Execute ¶
func (r ApiUpgradeVotesRequest) Execute() ([]UpgradeVote, *http.Response, error)
func (ApiUpgradeVotesRequest) Height ¶
func (r ApiUpgradeVotesRequest) Height(height int64) ApiUpgradeVotesRequest
optional block height, defaults to current tip
type ApiVaultPubkeysRequest ¶
type ApiVaultPubkeysRequest struct { ApiService *VaultsApiService // contains filtered or unexported fields }
func (ApiVaultPubkeysRequest) Execute ¶
func (r ApiVaultPubkeysRequest) Execute() (*VaultPubkeysResponse, *http.Response, error)
func (ApiVaultPubkeysRequest) Height ¶
func (r ApiVaultPubkeysRequest) Height(height int64) ApiVaultPubkeysRequest
optional block height, defaults to current tip
type ApiVaultRequest ¶
type ApiVaultRequest struct { ApiService *VaultsApiService // contains filtered or unexported fields }
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 (r ApiVersionRequest) Execute() (*VersionResponse, *http.Response, error)
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() ([]YggdrasilVault, *http.Response, error)
func (ApiYggdrasilRequest) Height ¶
func (r ApiYggdrasilRequest) Height(height int64) ApiYggdrasilRequest
optional block height, defaults to current tip
type AuthApiService ¶
type AuthApiService service
AuthApiService AuthApi service
func (*AuthApiService) Account ¶
func (a *AuthApiService) Account(ctx context.Context, address string) ApiAccountRequest
Account Method for Account
Returns account information for the provided address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address @return ApiAccountRequest
func (*AuthApiService) AccountExecute ¶
func (a *AuthApiService) AccountExecute(r ApiAccountRequest) (*AccountResponse, *http.Response, error)
Execute executes the request
@return AccountResponse
type BalancesResponse ¶
type BalancesResponse struct {
Result []Amount `json:"result,omitempty"`
}
BalancesResponse struct for BalancesResponse
func NewBalancesResponse ¶
func NewBalancesResponse() *BalancesResponse
NewBalancesResponse instantiates a new BalancesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBalancesResponseWithDefaults ¶
func NewBalancesResponseWithDefaults() *BalancesResponse
NewBalancesResponseWithDefaults instantiates a new BalancesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BalancesResponse) GetResult ¶
func (o *BalancesResponse) GetResult() []Amount
GetResult returns the Result field value if set, zero value otherwise.
func (*BalancesResponse) GetResultOk ¶
func (o *BalancesResponse) GetResultOk() ([]Amount, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalancesResponse) HasResult ¶
func (o *BalancesResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (BalancesResponse) MarshalJSON_deprecated ¶
func (o BalancesResponse) MarshalJSON_deprecated() ([]byte, error)
func (*BalancesResponse) SetResult ¶
func (o *BalancesResponse) SetResult(v []Amount)
SetResult gets a reference to the given []Amount and assigns it to the Result field.
type BanResponse ¶
type BanResponse struct { NodeAddress *string `json:"node_address,omitempty"` BlockHeight *int64 `json:"block_height,omitempty"` Signers []string `json:"signers,omitempty"` }
BanResponse struct for BanResponse
func NewBanResponse ¶
func NewBanResponse() *BanResponse
NewBanResponse instantiates a new BanResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBanResponseWithDefaults ¶
func NewBanResponseWithDefaults() *BanResponse
NewBanResponseWithDefaults instantiates a new BanResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BanResponse) GetBlockHeight ¶
func (o *BanResponse) GetBlockHeight() int64
GetBlockHeight returns the BlockHeight field value if set, zero value otherwise.
func (*BanResponse) GetBlockHeightOk ¶
func (o *BanResponse) GetBlockHeightOk() (*int64, bool)
GetBlockHeightOk returns a tuple with the BlockHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BanResponse) GetNodeAddress ¶
func (o *BanResponse) GetNodeAddress() string
GetNodeAddress returns the NodeAddress field value if set, zero value otherwise.
func (*BanResponse) GetNodeAddressOk ¶
func (o *BanResponse) GetNodeAddressOk() (*string, bool)
GetNodeAddressOk returns a tuple with the NodeAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BanResponse) GetSigners ¶
func (o *BanResponse) GetSigners() []string
GetSigners returns the Signers field value if set, zero value otherwise.
func (*BanResponse) GetSignersOk ¶
func (o *BanResponse) GetSignersOk() ([]string, bool)
GetSignersOk returns a tuple with the Signers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BanResponse) HasBlockHeight ¶
func (o *BanResponse) HasBlockHeight() bool
HasBlockHeight returns a boolean if a field has been set.
func (*BanResponse) HasNodeAddress ¶
func (o *BanResponse) HasNodeAddress() bool
HasNodeAddress returns a boolean if a field has been set.
func (*BanResponse) HasSigners ¶
func (o *BanResponse) HasSigners() bool
HasSigners returns a boolean if a field has been set.
func (BanResponse) MarshalJSON_deprecated ¶
func (o BanResponse) MarshalJSON_deprecated() ([]byte, error)
func (*BanResponse) SetBlockHeight ¶
func (o *BanResponse) SetBlockHeight(v int64)
SetBlockHeight gets a reference to the given int64 and assigns it to the BlockHeight field.
func (*BanResponse) SetNodeAddress ¶
func (o *BanResponse) SetNodeAddress(v string)
SetNodeAddress gets a reference to the given string and assigns it to the NodeAddress field.
func (*BanResponse) SetSigners ¶
func (o *BanResponse) SetSigners(v []string)
SetSigners gets a reference to the given []string and assigns it to the Signers field.
type BankApiService ¶
type BankApiService service
BankApiService BankApi service
func (*BankApiService) Balances ¶
func (a *BankApiService) Balances(ctx context.Context, address string) ApiBalancesRequest
Balances Method for Balances
Returns balances for the provided address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address @return ApiBalancesRequest
func (*BankApiService) BalancesExecute ¶
func (a *BankApiService) BalancesExecute(r ApiBalancesRequest) (*BalancesResponse, *http.Response, error)
Execute executes the request
@return BalancesResponse
type BaseQuoteResponse ¶
type BaseQuoteResponse struct { // the inbound address for the transaction on the source chain InboundAddress *string `json:"inbound_address,omitempty"` // the approximate number of source chain blocks required before processing InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"` // the approximate seconds for block confirmations required before processing InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"` // the number of thorchain blocks the outbound will be delayed OutboundDelayBlocks *int64 `json:"outbound_delay_blocks,omitempty"` // the approximate seconds for the outbound delay before it will be sent OutboundDelaySeconds *int64 `json:"outbound_delay_seconds,omitempty"` Fees *QuoteFees `json:"fees,omitempty"` // the EVM chain router contract address Router *string `json:"router,omitempty"` // expiration timestamp in unix seconds Expiry *int64 `json:"expiry,omitempty"` // static warning message Warning *string `json:"warning,omitempty"` // chain specific quote notes Notes *string `json:"notes,omitempty"` // Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. DustThreshold *string `json:"dust_threshold,omitempty"` // The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"` // the recommended gas rate to use for the inbound to ensure timely confirmation RecommendedGasRate *string `json:"recommended_gas_rate,omitempty"` // the units of the recommended gas rate GasRateUnits *string `json:"gas_rate_units,omitempty"` }
BaseQuoteResponse struct for BaseQuoteResponse
func NewBaseQuoteResponse ¶
func NewBaseQuoteResponse() *BaseQuoteResponse
NewBaseQuoteResponse instantiates a new BaseQuoteResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBaseQuoteResponseWithDefaults ¶
func NewBaseQuoteResponseWithDefaults() *BaseQuoteResponse
NewBaseQuoteResponseWithDefaults instantiates a new BaseQuoteResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BaseQuoteResponse) GetDustThreshold ¶
func (o *BaseQuoteResponse) GetDustThreshold() string
GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetDustThresholdOk ¶
func (o *BaseQuoteResponse) GetDustThresholdOk() (*string, bool)
GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetExpiry ¶
func (o *BaseQuoteResponse) GetExpiry() int64
GetExpiry returns the Expiry field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetExpiryOk ¶
func (o *BaseQuoteResponse) GetExpiryOk() (*int64, bool)
GetExpiryOk returns a tuple with the Expiry field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetFees ¶
func (o *BaseQuoteResponse) GetFees() QuoteFees
GetFees returns the Fees field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetFeesOk ¶
func (o *BaseQuoteResponse) GetFeesOk() (*QuoteFees, bool)
GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetGasRateUnits ¶
func (o *BaseQuoteResponse) GetGasRateUnits() string
GetGasRateUnits returns the GasRateUnits field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetGasRateUnitsOk ¶
func (o *BaseQuoteResponse) GetGasRateUnitsOk() (*string, bool)
GetGasRateUnitsOk returns a tuple with the GasRateUnits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetInboundAddress ¶
func (o *BaseQuoteResponse) GetInboundAddress() string
GetInboundAddress returns the InboundAddress field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetInboundAddressOk ¶
func (o *BaseQuoteResponse) GetInboundAddressOk() (*string, bool)
GetInboundAddressOk returns a tuple with the InboundAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetInboundConfirmationBlocks ¶
func (o *BaseQuoteResponse) GetInboundConfirmationBlocks() int64
GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetInboundConfirmationBlocksOk ¶
func (o *BaseQuoteResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetInboundConfirmationSeconds ¶
func (o *BaseQuoteResponse) GetInboundConfirmationSeconds() int64
GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetInboundConfirmationSecondsOk ¶
func (o *BaseQuoteResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetNotes ¶
func (o *BaseQuoteResponse) GetNotes() string
GetNotes returns the Notes field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetNotesOk ¶
func (o *BaseQuoteResponse) GetNotesOk() (*string, bool)
GetNotesOk returns a tuple with the Notes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetOutboundDelayBlocks ¶
func (o *BaseQuoteResponse) GetOutboundDelayBlocks() int64
GetOutboundDelayBlocks returns the OutboundDelayBlocks field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetOutboundDelayBlocksOk ¶
func (o *BaseQuoteResponse) GetOutboundDelayBlocksOk() (*int64, bool)
GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetOutboundDelaySeconds ¶
func (o *BaseQuoteResponse) GetOutboundDelaySeconds() int64
GetOutboundDelaySeconds returns the OutboundDelaySeconds field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetOutboundDelaySecondsOk ¶
func (o *BaseQuoteResponse) GetOutboundDelaySecondsOk() (*int64, bool)
GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetRecommendedGasRate ¶
func (o *BaseQuoteResponse) GetRecommendedGasRate() string
GetRecommendedGasRate returns the RecommendedGasRate field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetRecommendedGasRateOk ¶
func (o *BaseQuoteResponse) GetRecommendedGasRateOk() (*string, bool)
GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetRecommendedMinAmountIn ¶
func (o *BaseQuoteResponse) GetRecommendedMinAmountIn() string
GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetRecommendedMinAmountInOk ¶
func (o *BaseQuoteResponse) GetRecommendedMinAmountInOk() (*string, bool)
GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetRouter ¶
func (o *BaseQuoteResponse) GetRouter() string
GetRouter returns the Router field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetRouterOk ¶
func (o *BaseQuoteResponse) GetRouterOk() (*string, bool)
GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) GetWarning ¶
func (o *BaseQuoteResponse) GetWarning() string
GetWarning returns the Warning field value if set, zero value otherwise.
func (*BaseQuoteResponse) GetWarningOk ¶
func (o *BaseQuoteResponse) GetWarningOk() (*string, bool)
GetWarningOk returns a tuple with the Warning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseQuoteResponse) HasDustThreshold ¶
func (o *BaseQuoteResponse) HasDustThreshold() bool
HasDustThreshold returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasExpiry ¶
func (o *BaseQuoteResponse) HasExpiry() bool
HasExpiry returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasFees ¶
func (o *BaseQuoteResponse) HasFees() bool
HasFees returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasGasRateUnits ¶
func (o *BaseQuoteResponse) HasGasRateUnits() bool
HasGasRateUnits returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasInboundAddress ¶
func (o *BaseQuoteResponse) HasInboundAddress() bool
HasInboundAddress returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasInboundConfirmationBlocks ¶
func (o *BaseQuoteResponse) HasInboundConfirmationBlocks() bool
HasInboundConfirmationBlocks returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasInboundConfirmationSeconds ¶
func (o *BaseQuoteResponse) HasInboundConfirmationSeconds() bool
HasInboundConfirmationSeconds returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasNotes ¶
func (o *BaseQuoteResponse) HasNotes() bool
HasNotes returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasOutboundDelayBlocks ¶
func (o *BaseQuoteResponse) HasOutboundDelayBlocks() bool
HasOutboundDelayBlocks returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasOutboundDelaySeconds ¶
func (o *BaseQuoteResponse) HasOutboundDelaySeconds() bool
HasOutboundDelaySeconds returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasRecommendedGasRate ¶
func (o *BaseQuoteResponse) HasRecommendedGasRate() bool
HasRecommendedGasRate returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasRecommendedMinAmountIn ¶
func (o *BaseQuoteResponse) HasRecommendedMinAmountIn() bool
HasRecommendedMinAmountIn returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasRouter ¶
func (o *BaseQuoteResponse) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (*BaseQuoteResponse) HasWarning ¶
func (o *BaseQuoteResponse) HasWarning() bool
HasWarning returns a boolean if a field has been set.
func (BaseQuoteResponse) MarshalJSON_deprecated ¶
func (o BaseQuoteResponse) MarshalJSON_deprecated() ([]byte, error)
func (*BaseQuoteResponse) SetDustThreshold ¶
func (o *BaseQuoteResponse) SetDustThreshold(v string)
SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.
func (*BaseQuoteResponse) SetExpiry ¶
func (o *BaseQuoteResponse) SetExpiry(v int64)
SetExpiry gets a reference to the given int64 and assigns it to the Expiry field.
func (*BaseQuoteResponse) SetFees ¶
func (o *BaseQuoteResponse) SetFees(v QuoteFees)
SetFees gets a reference to the given QuoteFees and assigns it to the Fees field.
func (*BaseQuoteResponse) SetGasRateUnits ¶
func (o *BaseQuoteResponse) SetGasRateUnits(v string)
SetGasRateUnits gets a reference to the given string and assigns it to the GasRateUnits field.
func (*BaseQuoteResponse) SetInboundAddress ¶
func (o *BaseQuoteResponse) SetInboundAddress(v string)
SetInboundAddress gets a reference to the given string and assigns it to the InboundAddress field.
func (*BaseQuoteResponse) SetInboundConfirmationBlocks ¶
func (o *BaseQuoteResponse) SetInboundConfirmationBlocks(v int64)
SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.
func (*BaseQuoteResponse) SetInboundConfirmationSeconds ¶
func (o *BaseQuoteResponse) SetInboundConfirmationSeconds(v int64)
SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.
func (*BaseQuoteResponse) SetNotes ¶
func (o *BaseQuoteResponse) SetNotes(v string)
SetNotes gets a reference to the given string and assigns it to the Notes field.
func (*BaseQuoteResponse) SetOutboundDelayBlocks ¶
func (o *BaseQuoteResponse) SetOutboundDelayBlocks(v int64)
SetOutboundDelayBlocks gets a reference to the given int64 and assigns it to the OutboundDelayBlocks field.
func (*BaseQuoteResponse) SetOutboundDelaySeconds ¶
func (o *BaseQuoteResponse) SetOutboundDelaySeconds(v int64)
SetOutboundDelaySeconds gets a reference to the given int64 and assigns it to the OutboundDelaySeconds field.
func (*BaseQuoteResponse) SetRecommendedGasRate ¶
func (o *BaseQuoteResponse) SetRecommendedGasRate(v string)
SetRecommendedGasRate gets a reference to the given string and assigns it to the RecommendedGasRate field.
func (*BaseQuoteResponse) SetRecommendedMinAmountIn ¶
func (o *BaseQuoteResponse) SetRecommendedMinAmountIn(v string)
SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.
func (*BaseQuoteResponse) SetRouter ¶
func (o *BaseQuoteResponse) SetRouter(v string)
SetRouter gets a reference to the given string and assigns it to the Router field.
func (*BaseQuoteResponse) SetWarning ¶
func (o *BaseQuoteResponse) SetWarning(v string)
SetWarning gets a reference to the given string and assigns it to the Warning field.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BlockApiService ¶
type BlockApiService service
BlockApiService BlockApi service
func (*BlockApiService) Block ¶
func (a *BlockApiService) Block(ctx context.Context) ApiBlockRequest
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 ¶
func (a *BlockApiService) BlockExecute(r ApiBlockRequest) (*BlockResponse, *http.Response, error)
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
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 ¶
func (o *BlockResponseHeader) GetVersion() BlockResponseHeaderVersion
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 ¶
func (o *BlockResponseHeader) SetVersion(v BlockResponseHeaderVersion)
SetVersion sets field value
type BlockResponseHeaderVersion ¶
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 ¶
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) GetHashOk ¶
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) GetTxOk ¶
GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.
func (BlockTx) MarshalJSON_deprecated ¶
type BlockTxResult ¶
type BlockTxResult struct { Code *int64 `json:"code,omitempty"` Data *string `json:"data,omitempty"` Log *string `json:"log,omitempty"` Info *string `json:"info,omitempty"` GasWanted *string `json:"gas_wanted,omitempty"` GasUsed *string `json:"gas_used,omitempty"` Events []map[string]string `json:"events,omitempty"` Codespace *string `json:"codespace,omitempty"` }
BlockTxResult struct for BlockTxResult
func NewBlockTxResult ¶
func NewBlockTxResult() *BlockTxResult
NewBlockTxResult instantiates a new BlockTxResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBlockTxResultWithDefaults ¶
func NewBlockTxResultWithDefaults() *BlockTxResult
NewBlockTxResultWithDefaults instantiates a new BlockTxResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BlockTxResult) GetCode ¶
func (o *BlockTxResult) GetCode() int64
GetCode returns the Code field value if set, zero value otherwise.
func (*BlockTxResult) GetCodeOk ¶
func (o *BlockTxResult) GetCodeOk() (*int64, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockTxResult) GetCodespace ¶
func (o *BlockTxResult) GetCodespace() string
GetCodespace returns the Codespace field value if set, zero value otherwise.
func (*BlockTxResult) GetCodespaceOk ¶
func (o *BlockTxResult) GetCodespaceOk() (*string, bool)
GetCodespaceOk returns a tuple with the Codespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockTxResult) GetData ¶
func (o *BlockTxResult) GetData() string
GetData returns the Data field value if set, zero value otherwise.
func (*BlockTxResult) GetDataOk ¶
func (o *BlockTxResult) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockTxResult) GetEvents ¶
func (o *BlockTxResult) GetEvents() []map[string]string
GetEvents returns the Events field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BlockTxResult) GetEventsOk ¶
func (o *BlockTxResult) GetEventsOk() ([]map[string]string, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BlockTxResult) GetGasUsed ¶
func (o *BlockTxResult) GetGasUsed() string
GetGasUsed returns the GasUsed field value if set, zero value otherwise.
func (*BlockTxResult) GetGasUsedOk ¶
func (o *BlockTxResult) GetGasUsedOk() (*string, bool)
GetGasUsedOk returns a tuple with the GasUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockTxResult) GetGasWanted ¶
func (o *BlockTxResult) GetGasWanted() string
GetGasWanted returns the GasWanted field value if set, zero value otherwise.
func (*BlockTxResult) GetGasWantedOk ¶
func (o *BlockTxResult) GetGasWantedOk() (*string, bool)
GetGasWantedOk returns a tuple with the GasWanted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockTxResult) GetInfo ¶
func (o *BlockTxResult) GetInfo() string
GetInfo returns the Info field value if set, zero value otherwise.
func (*BlockTxResult) GetInfoOk ¶
func (o *BlockTxResult) GetInfoOk() (*string, bool)
GetInfoOk returns a tuple with the Info field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockTxResult) GetLog ¶
func (o *BlockTxResult) GetLog() string
GetLog returns the Log field value if set, zero value otherwise.
func (*BlockTxResult) GetLogOk ¶
func (o *BlockTxResult) GetLogOk() (*string, bool)
GetLogOk returns a tuple with the Log field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockTxResult) HasCode ¶
func (o *BlockTxResult) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*BlockTxResult) HasCodespace ¶
func (o *BlockTxResult) HasCodespace() bool
HasCodespace returns a boolean if a field has been set.
func (*BlockTxResult) HasData ¶
func (o *BlockTxResult) HasData() bool
HasData returns a boolean if a field has been set.
func (*BlockTxResult) HasEvents ¶
func (o *BlockTxResult) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (*BlockTxResult) HasGasUsed ¶
func (o *BlockTxResult) HasGasUsed() bool
HasGasUsed returns a boolean if a field has been set.
func (*BlockTxResult) HasGasWanted ¶
func (o *BlockTxResult) HasGasWanted() bool
HasGasWanted returns a boolean if a field has been set.
func (*BlockTxResult) HasInfo ¶
func (o *BlockTxResult) HasInfo() bool
HasInfo returns a boolean if a field has been set.
func (*BlockTxResult) HasLog ¶
func (o *BlockTxResult) HasLog() bool
HasLog returns a boolean if a field has been set.
func (BlockTxResult) MarshalJSON_deprecated ¶
func (o BlockTxResult) MarshalJSON_deprecated() ([]byte, error)
func (*BlockTxResult) SetCode ¶
func (o *BlockTxResult) SetCode(v int64)
SetCode gets a reference to the given int64 and assigns it to the Code field.
func (*BlockTxResult) SetCodespace ¶
func (o *BlockTxResult) SetCodespace(v string)
SetCodespace gets a reference to the given string and assigns it to the Codespace field.
func (*BlockTxResult) SetData ¶
func (o *BlockTxResult) SetData(v string)
SetData gets a reference to the given string and assigns it to the Data field.
func (*BlockTxResult) SetEvents ¶
func (o *BlockTxResult) SetEvents(v []map[string]string)
SetEvents gets a reference to the given []map[string]string and assigns it to the Events field.
func (*BlockTxResult) SetGasUsed ¶
func (o *BlockTxResult) SetGasUsed(v string)
SetGasUsed gets a reference to the given string and assigns it to the GasUsed field.
func (*BlockTxResult) SetGasWanted ¶
func (o *BlockTxResult) SetGasWanted(v string)
SetGasWanted gets a reference to the given string and assigns it to the GasWanted field.
func (*BlockTxResult) SetInfo ¶
func (o *BlockTxResult) SetInfo(v string)
SetInfo gets a reference to the given string and assigns it to the Info field.
func (*BlockTxResult) SetLog ¶
func (o *BlockTxResult) SetLog(v string)
SetLog gets a reference to the given string and assigns it to the Log field.
type Borrower ¶
type Borrower struct { Owner string `json:"owner"` Asset string `json:"asset"` DebtIssued string `json:"debt_issued"` DebtRepaid string `json:"debt_repaid"` DebtCurrent string `json:"debt_current"` CollateralDeposited string `json:"collateral_deposited"` CollateralWithdrawn string `json:"collateral_withdrawn"` CollateralCurrent string `json:"collateral_current"` LastOpenHeight int64 `json:"last_open_height"` LastRepayHeight int64 `json:"last_repay_height"` }
Borrower struct for Borrower
func NewBorrower ¶
func NewBorrower(owner string, asset string, debtIssued string, debtRepaid string, debtCurrent string, collateralDeposited string, collateralWithdrawn string, collateralCurrent string, lastOpenHeight int64, lastRepayHeight int64) *Borrower
NewBorrower instantiates a new Borrower object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBorrowerWithDefaults ¶
func NewBorrowerWithDefaults() *Borrower
NewBorrowerWithDefaults instantiates a new Borrower object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Borrower) GetAssetOk ¶
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*Borrower) GetCollateralCurrent ¶
GetCollateralCurrent returns the CollateralCurrent field value
func (*Borrower) GetCollateralCurrentOk ¶
GetCollateralCurrentOk returns a tuple with the CollateralCurrent field value and a boolean to check if the value has been set.
func (*Borrower) GetCollateralDeposited ¶
GetCollateralDeposited returns the CollateralDeposited field value
func (*Borrower) GetCollateralDepositedOk ¶
GetCollateralDepositedOk returns a tuple with the CollateralDeposited field value and a boolean to check if the value has been set.
func (*Borrower) GetCollateralWithdrawn ¶
GetCollateralWithdrawn returns the CollateralWithdrawn field value
func (*Borrower) GetCollateralWithdrawnOk ¶
GetCollateralWithdrawnOk returns a tuple with the CollateralWithdrawn field value and a boolean to check if the value has been set.
func (*Borrower) GetDebtCurrent ¶
GetDebtCurrent returns the DebtCurrent field value
func (*Borrower) GetDebtCurrentOk ¶
GetDebtCurrentOk returns a tuple with the DebtCurrent field value and a boolean to check if the value has been set.
func (*Borrower) GetDebtIssued ¶
GetDebtIssued returns the DebtIssued field value
func (*Borrower) GetDebtIssuedOk ¶
GetDebtIssuedOk returns a tuple with the DebtIssued field value and a boolean to check if the value has been set.
func (*Borrower) GetDebtRepaid ¶
GetDebtRepaid returns the DebtRepaid field value
func (*Borrower) GetDebtRepaidOk ¶
GetDebtRepaidOk returns a tuple with the DebtRepaid field value and a boolean to check if the value has been set.
func (*Borrower) GetLastOpenHeight ¶
GetLastOpenHeight returns the LastOpenHeight field value
func (*Borrower) GetLastOpenHeightOk ¶
GetLastOpenHeightOk returns a tuple with the LastOpenHeight field value and a boolean to check if the value has been set.
func (*Borrower) GetLastRepayHeight ¶
GetLastRepayHeight returns the LastRepayHeight field value
func (*Borrower) GetLastRepayHeightOk ¶
GetLastRepayHeightOk returns a tuple with the LastRepayHeight field value and a boolean to check if the value has been set.
func (*Borrower) GetOwnerOk ¶
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (Borrower) MarshalJSON_deprecated ¶
func (*Borrower) SetCollateralCurrent ¶
SetCollateralCurrent sets field value
func (*Borrower) SetCollateralDeposited ¶
SetCollateralDeposited sets field value
func (*Borrower) SetCollateralWithdrawn ¶
SetCollateralWithdrawn sets field value
func (*Borrower) SetDebtCurrent ¶
SetDebtCurrent sets field value
func (*Borrower) SetDebtIssued ¶
SetDebtIssued sets field value
func (*Borrower) SetDebtRepaid ¶
SetDebtRepaid sets field value
func (*Borrower) SetLastOpenHeight ¶
SetLastOpenHeight sets field value
func (*Borrower) SetLastRepayHeight ¶
SetLastRepayHeight sets field value
type BorrowersApiService ¶
type BorrowersApiService service
BorrowersApiService BorrowersApi service
func (*BorrowersApiService) Borrower ¶
func (a *BorrowersApiService) Borrower(ctx context.Context, asset string, address string) ApiBorrowerRequest
Borrower Method for Borrower
Returns the borrower position given the pool and address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @param address @return ApiBorrowerRequest
func (*BorrowersApiService) BorrowerExecute ¶
func (a *BorrowersApiService) BorrowerExecute(r ApiBorrowerRequest) (*Borrower, *http.Response, error)
Execute executes the request
@return Borrower
func (*BorrowersApiService) Borrowers ¶
func (a *BorrowersApiService) Borrowers(ctx context.Context, asset string) ApiBorrowersRequest
Borrowers Method for Borrowers
Returns all borrowers for the given pool.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiBorrowersRequest
func (*BorrowersApiService) BorrowersExecute ¶
func (a *BorrowersApiService) BorrowersExecute(r ApiBorrowersRequest) ([]Borrower, *http.Response, error)
Execute executes the request
@return []Borrower
type ChainHeight ¶
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)
type CloutApiService ¶
type CloutApiService service
CloutApiService CloutApi service
func (*CloutApiService) SwapperClout ¶
func (a *CloutApiService) SwapperClout(ctx context.Context, address string) ApiSwapperCloutRequest
SwapperClout Method for SwapperClout
Returns the clout score of an address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address @return ApiSwapperCloutRequest
func (*CloutApiService) SwapperCloutExecute ¶
func (a *CloutApiService) SwapperCloutExecute(r ApiSwapperCloutRequest) (*SwapperCloutResponse, *http.Response, error)
Execute executes the request
@return SwapperCloutResponse
type Coin ¶
type Coin struct { Asset string `json:"asset"` Amount string `json:"amount"` Decimals *int64 `json:"decimals,omitempty"` }
Coin struct for Coin
func NewCoin ¶
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) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Coin) GetAssetOk ¶
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*Coin) GetDecimals ¶
GetDecimals returns the Decimals field value if set, zero value otherwise.
func (*Coin) GetDecimalsOk ¶
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 ¶
HasDecimals returns a boolean if a field has been set.
func (Coin) MarshalJSON_deprecated ¶
func (*Coin) SetDecimals ¶
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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConstantsResponse ¶
type ConstantsResponse struct { Int64Values *map[string]string `json:"int_64_values,omitempty"` BoolValues *map[string]string `json:"bool_values,omitempty"` StringValues *map[string]string `json:"string_values,omitempty"` }
ConstantsResponse struct for ConstantsResponse
func NewConstantsResponse ¶
func NewConstantsResponse() *ConstantsResponse
NewConstantsResponse instantiates a new ConstantsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConstantsResponseWithDefaults ¶
func NewConstantsResponseWithDefaults() *ConstantsResponse
NewConstantsResponseWithDefaults instantiates a new ConstantsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConstantsResponse) GetBoolValues ¶
func (o *ConstantsResponse) GetBoolValues() map[string]string
GetBoolValues returns the BoolValues field value if set, zero value otherwise.
func (*ConstantsResponse) GetBoolValuesOk ¶
func (o *ConstantsResponse) GetBoolValuesOk() (*map[string]string, bool)
GetBoolValuesOk returns a tuple with the BoolValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstantsResponse) GetInt64Values ¶
func (o *ConstantsResponse) GetInt64Values() map[string]string
GetInt64Values returns the Int64Values field value if set, zero value otherwise.
func (*ConstantsResponse) GetInt64ValuesOk ¶
func (o *ConstantsResponse) GetInt64ValuesOk() (*map[string]string, bool)
GetInt64ValuesOk returns a tuple with the Int64Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstantsResponse) GetStringValues ¶
func (o *ConstantsResponse) GetStringValues() map[string]string
GetStringValues returns the StringValues field value if set, zero value otherwise.
func (*ConstantsResponse) GetStringValuesOk ¶
func (o *ConstantsResponse) GetStringValuesOk() (*map[string]string, bool)
GetStringValuesOk returns a tuple with the StringValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstantsResponse) HasBoolValues ¶
func (o *ConstantsResponse) HasBoolValues() bool
HasBoolValues returns a boolean if a field has been set.
func (*ConstantsResponse) HasInt64Values ¶
func (o *ConstantsResponse) HasInt64Values() bool
HasInt64Values returns a boolean if a field has been set.
func (*ConstantsResponse) HasStringValues ¶
func (o *ConstantsResponse) HasStringValues() bool
HasStringValues returns a boolean if a field has been set.
func (ConstantsResponse) MarshalJSON_deprecated ¶
func (o ConstantsResponse) MarshalJSON_deprecated() ([]byte, error)
func (*ConstantsResponse) SetBoolValues ¶
func (o *ConstantsResponse) SetBoolValues(v map[string]string)
SetBoolValues gets a reference to the given map[string]string and assigns it to the BoolValues field.
func (*ConstantsResponse) SetInt64Values ¶
func (o *ConstantsResponse) SetInt64Values(v map[string]string)
SetInt64Values gets a reference to the given map[string]string and assigns it to the Int64Values field.
func (*ConstantsResponse) SetStringValues ¶
func (o *ConstantsResponse) SetStringValues(v map[string]string)
SetStringValues gets a reference to the given map[string]string and assigns it to the StringValues field.
type DerivedPool ¶
type DerivedPool struct { Asset string `json:"asset"` Status string `json:"status"` Decimals *int64 `json:"decimals,omitempty"` BalanceAsset string `json:"balance_asset"` BalanceRune string `json:"balance_rune"` // the depth of the derived virtual pool relative to L1 pool (in basis points) DerivedDepthBps string `json:"derived_depth_bps"` }
DerivedPool struct for DerivedPool
func NewDerivedPool ¶
func NewDerivedPool(asset string, status string, balanceAsset string, balanceRune string, derivedDepthBps string) *DerivedPool
NewDerivedPool instantiates a new DerivedPool object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDerivedPoolWithDefaults ¶
func NewDerivedPoolWithDefaults() *DerivedPool
NewDerivedPoolWithDefaults instantiates a new DerivedPool object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DerivedPool) GetAsset ¶
func (o *DerivedPool) GetAsset() string
GetAsset returns the Asset field value
func (*DerivedPool) GetAssetOk ¶
func (o *DerivedPool) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*DerivedPool) GetBalanceAsset ¶
func (o *DerivedPool) GetBalanceAsset() string
GetBalanceAsset returns the BalanceAsset field value
func (*DerivedPool) GetBalanceAssetOk ¶
func (o *DerivedPool) GetBalanceAssetOk() (*string, bool)
GetBalanceAssetOk returns a tuple with the BalanceAsset field value and a boolean to check if the value has been set.
func (*DerivedPool) GetBalanceRune ¶
func (o *DerivedPool) GetBalanceRune() string
GetBalanceRune returns the BalanceRune field value
func (*DerivedPool) GetBalanceRuneOk ¶
func (o *DerivedPool) GetBalanceRuneOk() (*string, bool)
GetBalanceRuneOk returns a tuple with the BalanceRune field value and a boolean to check if the value has been set.
func (*DerivedPool) GetDecimals ¶
func (o *DerivedPool) GetDecimals() int64
GetDecimals returns the Decimals field value if set, zero value otherwise.
func (*DerivedPool) GetDecimalsOk ¶
func (o *DerivedPool) GetDecimalsOk() (*int64, bool)
GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DerivedPool) GetDerivedDepthBps ¶
func (o *DerivedPool) GetDerivedDepthBps() string
GetDerivedDepthBps returns the DerivedDepthBps field value
func (*DerivedPool) GetDerivedDepthBpsOk ¶
func (o *DerivedPool) GetDerivedDepthBpsOk() (*string, bool)
GetDerivedDepthBpsOk returns a tuple with the DerivedDepthBps field value and a boolean to check if the value has been set.
func (*DerivedPool) GetStatus ¶
func (o *DerivedPool) GetStatus() string
GetStatus returns the Status field value
func (*DerivedPool) GetStatusOk ¶
func (o *DerivedPool) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*DerivedPool) HasDecimals ¶
func (o *DerivedPool) HasDecimals() bool
HasDecimals returns a boolean if a field has been set.
func (DerivedPool) MarshalJSON_deprecated ¶
func (o DerivedPool) MarshalJSON_deprecated() ([]byte, error)
func (*DerivedPool) SetBalanceAsset ¶
func (o *DerivedPool) SetBalanceAsset(v string)
SetBalanceAsset sets field value
func (*DerivedPool) SetBalanceRune ¶
func (o *DerivedPool) SetBalanceRune(v string)
SetBalanceRune sets field value
func (*DerivedPool) SetDecimals ¶
func (o *DerivedPool) SetDecimals(v int64)
SetDecimals gets a reference to the given int64 and assigns it to the Decimals field.
func (*DerivedPool) SetDerivedDepthBps ¶
func (o *DerivedPool) SetDerivedDepthBps(v string)
SetDerivedDepthBps sets field value
func (*DerivedPool) SetStatus ¶
func (o *DerivedPool) SetStatus(v string)
SetStatus sets field value
type ExportApiService ¶
type ExportApiService service
ExportApiService ExportApi service
func (*ExportApiService) Export ¶
func (a *ExportApiService) Export(ctx context.Context) ApiExportRequest
Export Method for Export
Returns genesis export
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiExportRequest
func (*ExportApiService) ExportExecute ¶
func (a *ExportApiService) ExportExecute(r ApiExportRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type ExportResponse ¶
type ExportResponse struct {
Content *string `json:"content,omitempty"`
}
ExportResponse struct for ExportResponse
func NewExportResponse ¶
func NewExportResponse() *ExportResponse
NewExportResponse instantiates a new ExportResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExportResponseWithDefaults ¶
func NewExportResponseWithDefaults() *ExportResponse
NewExportResponseWithDefaults instantiates a new ExportResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExportResponse) GetContent ¶
func (o *ExportResponse) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*ExportResponse) GetContentOk ¶
func (o *ExportResponse) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportResponse) HasContent ¶
func (o *ExportResponse) HasContent() bool
HasContent returns a boolean if a field has been set.
func (ExportResponse) MarshalJSON_deprecated ¶
func (o ExportResponse) MarshalJSON_deprecated() ([]byte, error)
func (*ExportResponse) SetContent ¶
func (o *ExportResponse) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type HealthApiService ¶
type HealthApiService service
HealthApiService HealthApi service
func (*HealthApiService) Ping ¶
func (a *HealthApiService) Ping(ctx context.Context) ApiPingRequest
Ping Method for Ping
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPingRequest
func (*HealthApiService) PingExecute ¶
func (a *HealthApiService) PingExecute(r ApiPingRequest) (*Ping, *http.Response, error)
Execute executes the request
@return Ping
type InboundAddress ¶
type InboundAddress struct { Chain *string `json:"chain,omitempty"` PubKey *string `json:"pub_key,omitempty"` Address *string `json:"address,omitempty"` Router *string `json:"router,omitempty"` // Returns true if trading is unavailable for this chain, either because trading is halted globally or specifically for this chain Halted bool `json:"halted"` // Returns true if trading is paused globally GlobalTradingPaused *bool `json:"global_trading_paused,omitempty"` // Returns true if trading is paused for this chain ChainTradingPaused *bool `json:"chain_trading_paused,omitempty"` // Returns true if LP actions are paused for this chain ChainLpActionsPaused *bool `json:"chain_lp_actions_paused,omitempty"` // The minimum fee rate used by vaults to send outbound TXs. The actual fee rate may be higher. For EVM chains this is returned in gwei (1e9). GasRate *string `json:"gas_rate,omitempty"` // Units of the gas_rate. GasRateUnits *string `json:"gas_rate_units,omitempty"` // Avg size of outbound TXs on each chain. For UTXO chains it may be larger than average, as it takes into account vault consolidation txs, which can have many vouts OutboundTxSize *string `json:"outbound_tx_size,omitempty"` // The total outbound fee charged to the user for outbound txs in the gas asset of the chain. OutboundFee *string `json:"outbound_fee,omitempty"` // Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. DustThreshold *string `json:"dust_threshold,omitempty"` }
InboundAddress struct for InboundAddress
func NewInboundAddress ¶
func NewInboundAddress(halted bool) *InboundAddress
NewInboundAddress instantiates a new InboundAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInboundAddressWithDefaults ¶
func NewInboundAddressWithDefaults() *InboundAddress
NewInboundAddressWithDefaults instantiates a new InboundAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InboundAddress) GetAddress ¶
func (o *InboundAddress) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*InboundAddress) GetAddressOk ¶
func (o *InboundAddress) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetChain ¶
func (o *InboundAddress) GetChain() string
GetChain returns the Chain field value if set, zero value otherwise.
func (*InboundAddress) GetChainLpActionsPaused ¶
func (o *InboundAddress) GetChainLpActionsPaused() bool
GetChainLpActionsPaused returns the ChainLpActionsPaused field value if set, zero value otherwise.
func (*InboundAddress) GetChainLpActionsPausedOk ¶
func (o *InboundAddress) GetChainLpActionsPausedOk() (*bool, bool)
GetChainLpActionsPausedOk returns a tuple with the ChainLpActionsPaused field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetChainOk ¶
func (o *InboundAddress) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetChainTradingPaused ¶
func (o *InboundAddress) GetChainTradingPaused() bool
GetChainTradingPaused returns the ChainTradingPaused field value if set, zero value otherwise.
func (*InboundAddress) GetChainTradingPausedOk ¶
func (o *InboundAddress) GetChainTradingPausedOk() (*bool, bool)
GetChainTradingPausedOk returns a tuple with the ChainTradingPaused field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetDustThreshold ¶
func (o *InboundAddress) GetDustThreshold() string
GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.
func (*InboundAddress) GetDustThresholdOk ¶
func (o *InboundAddress) GetDustThresholdOk() (*string, bool)
GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetGasRate ¶
func (o *InboundAddress) GetGasRate() string
GetGasRate returns the GasRate field value if set, zero value otherwise.
func (*InboundAddress) GetGasRateOk ¶
func (o *InboundAddress) GetGasRateOk() (*string, bool)
GetGasRateOk returns a tuple with the GasRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetGasRateUnits ¶
func (o *InboundAddress) GetGasRateUnits() string
GetGasRateUnits returns the GasRateUnits field value if set, zero value otherwise.
func (*InboundAddress) GetGasRateUnitsOk ¶
func (o *InboundAddress) GetGasRateUnitsOk() (*string, bool)
GetGasRateUnitsOk returns a tuple with the GasRateUnits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetGlobalTradingPaused ¶
func (o *InboundAddress) GetGlobalTradingPaused() bool
GetGlobalTradingPaused returns the GlobalTradingPaused field value if set, zero value otherwise.
func (*InboundAddress) GetGlobalTradingPausedOk ¶
func (o *InboundAddress) GetGlobalTradingPausedOk() (*bool, bool)
GetGlobalTradingPausedOk returns a tuple with the GlobalTradingPaused field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetHalted ¶
func (o *InboundAddress) GetHalted() bool
GetHalted returns the Halted field value
func (*InboundAddress) GetHaltedOk ¶
func (o *InboundAddress) GetHaltedOk() (*bool, bool)
GetHaltedOk returns a tuple with the Halted field value and a boolean to check if the value has been set.
func (*InboundAddress) GetOutboundFee ¶
func (o *InboundAddress) GetOutboundFee() string
GetOutboundFee returns the OutboundFee field value if set, zero value otherwise.
func (*InboundAddress) GetOutboundFeeOk ¶
func (o *InboundAddress) GetOutboundFeeOk() (*string, bool)
GetOutboundFeeOk returns a tuple with the OutboundFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetOutboundTxSize ¶
func (o *InboundAddress) GetOutboundTxSize() string
GetOutboundTxSize returns the OutboundTxSize field value if set, zero value otherwise.
func (*InboundAddress) GetOutboundTxSizeOk ¶
func (o *InboundAddress) GetOutboundTxSizeOk() (*string, bool)
GetOutboundTxSizeOk returns a tuple with the OutboundTxSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetPubKey ¶
func (o *InboundAddress) GetPubKey() string
GetPubKey returns the PubKey field value if set, zero value otherwise.
func (*InboundAddress) GetPubKeyOk ¶
func (o *InboundAddress) GetPubKeyOk() (*string, bool)
GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) GetRouter ¶
func (o *InboundAddress) GetRouter() string
GetRouter returns the Router field value if set, zero value otherwise.
func (*InboundAddress) GetRouterOk ¶
func (o *InboundAddress) GetRouterOk() (*string, bool)
GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundAddress) HasAddress ¶
func (o *InboundAddress) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*InboundAddress) HasChain ¶
func (o *InboundAddress) HasChain() bool
HasChain returns a boolean if a field has been set.
func (*InboundAddress) HasChainLpActionsPaused ¶
func (o *InboundAddress) HasChainLpActionsPaused() bool
HasChainLpActionsPaused returns a boolean if a field has been set.
func (*InboundAddress) HasChainTradingPaused ¶
func (o *InboundAddress) HasChainTradingPaused() bool
HasChainTradingPaused returns a boolean if a field has been set.
func (*InboundAddress) HasDustThreshold ¶
func (o *InboundAddress) HasDustThreshold() bool
HasDustThreshold returns a boolean if a field has been set.
func (*InboundAddress) HasGasRate ¶
func (o *InboundAddress) HasGasRate() bool
HasGasRate returns a boolean if a field has been set.
func (*InboundAddress) HasGasRateUnits ¶
func (o *InboundAddress) HasGasRateUnits() bool
HasGasRateUnits returns a boolean if a field has been set.
func (*InboundAddress) HasGlobalTradingPaused ¶
func (o *InboundAddress) HasGlobalTradingPaused() bool
HasGlobalTradingPaused returns a boolean if a field has been set.
func (*InboundAddress) HasOutboundFee ¶
func (o *InboundAddress) HasOutboundFee() bool
HasOutboundFee returns a boolean if a field has been set.
func (*InboundAddress) HasOutboundTxSize ¶
func (o *InboundAddress) HasOutboundTxSize() bool
HasOutboundTxSize returns a boolean if a field has been set.
func (*InboundAddress) HasPubKey ¶
func (o *InboundAddress) HasPubKey() bool
HasPubKey returns a boolean if a field has been set.
func (*InboundAddress) HasRouter ¶
func (o *InboundAddress) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (InboundAddress) MarshalJSON_deprecated ¶
func (o InboundAddress) MarshalJSON_deprecated() ([]byte, error)
func (*InboundAddress) SetAddress ¶
func (o *InboundAddress) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*InboundAddress) SetChain ¶
func (o *InboundAddress) SetChain(v string)
SetChain gets a reference to the given string and assigns it to the Chain field.
func (*InboundAddress) SetChainLpActionsPaused ¶
func (o *InboundAddress) SetChainLpActionsPaused(v bool)
SetChainLpActionsPaused gets a reference to the given bool and assigns it to the ChainLpActionsPaused field.
func (*InboundAddress) SetChainTradingPaused ¶
func (o *InboundAddress) SetChainTradingPaused(v bool)
SetChainTradingPaused gets a reference to the given bool and assigns it to the ChainTradingPaused field.
func (*InboundAddress) SetDustThreshold ¶
func (o *InboundAddress) SetDustThreshold(v string)
SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.
func (*InboundAddress) SetGasRate ¶
func (o *InboundAddress) SetGasRate(v string)
SetGasRate gets a reference to the given string and assigns it to the GasRate field.
func (*InboundAddress) SetGasRateUnits ¶
func (o *InboundAddress) SetGasRateUnits(v string)
SetGasRateUnits gets a reference to the given string and assigns it to the GasRateUnits field.
func (*InboundAddress) SetGlobalTradingPaused ¶
func (o *InboundAddress) SetGlobalTradingPaused(v bool)
SetGlobalTradingPaused gets a reference to the given bool and assigns it to the GlobalTradingPaused field.
func (*InboundAddress) SetHalted ¶
func (o *InboundAddress) SetHalted(v bool)
SetHalted sets field value
func (*InboundAddress) SetOutboundFee ¶
func (o *InboundAddress) SetOutboundFee(v string)
SetOutboundFee gets a reference to the given string and assigns it to the OutboundFee field.
func (*InboundAddress) SetOutboundTxSize ¶
func (o *InboundAddress) SetOutboundTxSize(v string)
SetOutboundTxSize gets a reference to the given string and assigns it to the OutboundTxSize field.
func (*InboundAddress) SetPubKey ¶
func (o *InboundAddress) SetPubKey(v string)
SetPubKey gets a reference to the given string and assigns it to the PubKey field.
func (*InboundAddress) SetRouter ¶
func (o *InboundAddress) SetRouter(v string)
SetRouter gets a reference to the given string and assigns it to the Router field.
type InboundConfirmationCountedStage ¶
type InboundConfirmationCountedStage struct { // the THORChain block height when confirmation counting began CountingStartHeight *int64 `json:"counting_start_height,omitempty"` // the external source chain for which confirmation counting takes place Chain *string `json:"chain,omitempty"` // the block height on the external source chain when the transaction was observed ExternalObservedHeight *int64 `json:"external_observed_height,omitempty"` // the block height on the external source chain when confirmation counting will be complete ExternalConfirmationDelayHeight *int64 `json:"external_confirmation_delay_height,omitempty"` // the estimated remaining seconds before confirmation counting completes RemainingConfirmationSeconds *int64 `json:"remaining_confirmation_seconds,omitempty"` // returns true if no transaction confirmation counting remains to be done Completed bool `json:"completed"` }
InboundConfirmationCountedStage struct for InboundConfirmationCountedStage
func NewInboundConfirmationCountedStage ¶
func NewInboundConfirmationCountedStage(completed bool) *InboundConfirmationCountedStage
NewInboundConfirmationCountedStage instantiates a new InboundConfirmationCountedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInboundConfirmationCountedStageWithDefaults ¶
func NewInboundConfirmationCountedStageWithDefaults() *InboundConfirmationCountedStage
NewInboundConfirmationCountedStageWithDefaults instantiates a new InboundConfirmationCountedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InboundConfirmationCountedStage) GetChain ¶
func (o *InboundConfirmationCountedStage) GetChain() string
GetChain returns the Chain field value if set, zero value otherwise.
func (*InboundConfirmationCountedStage) GetChainOk ¶
func (o *InboundConfirmationCountedStage) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundConfirmationCountedStage) GetCompleted ¶
func (o *InboundConfirmationCountedStage) GetCompleted() bool
GetCompleted returns the Completed field value
func (*InboundConfirmationCountedStage) GetCompletedOk ¶
func (o *InboundConfirmationCountedStage) GetCompletedOk() (*bool, bool)
GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.
func (*InboundConfirmationCountedStage) GetCountingStartHeight ¶
func (o *InboundConfirmationCountedStage) GetCountingStartHeight() int64
GetCountingStartHeight returns the CountingStartHeight field value if set, zero value otherwise.
func (*InboundConfirmationCountedStage) GetCountingStartHeightOk ¶
func (o *InboundConfirmationCountedStage) GetCountingStartHeightOk() (*int64, bool)
GetCountingStartHeightOk returns a tuple with the CountingStartHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundConfirmationCountedStage) GetExternalConfirmationDelayHeight ¶
func (o *InboundConfirmationCountedStage) GetExternalConfirmationDelayHeight() int64
GetExternalConfirmationDelayHeight returns the ExternalConfirmationDelayHeight field value if set, zero value otherwise.
func (*InboundConfirmationCountedStage) GetExternalConfirmationDelayHeightOk ¶
func (o *InboundConfirmationCountedStage) GetExternalConfirmationDelayHeightOk() (*int64, bool)
GetExternalConfirmationDelayHeightOk returns a tuple with the ExternalConfirmationDelayHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundConfirmationCountedStage) GetExternalObservedHeight ¶
func (o *InboundConfirmationCountedStage) GetExternalObservedHeight() int64
GetExternalObservedHeight returns the ExternalObservedHeight field value if set, zero value otherwise.
func (*InboundConfirmationCountedStage) GetExternalObservedHeightOk ¶
func (o *InboundConfirmationCountedStage) GetExternalObservedHeightOk() (*int64, bool)
GetExternalObservedHeightOk returns a tuple with the ExternalObservedHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundConfirmationCountedStage) GetRemainingConfirmationSeconds ¶
func (o *InboundConfirmationCountedStage) GetRemainingConfirmationSeconds() int64
GetRemainingConfirmationSeconds returns the RemainingConfirmationSeconds field value if set, zero value otherwise.
func (*InboundConfirmationCountedStage) GetRemainingConfirmationSecondsOk ¶
func (o *InboundConfirmationCountedStage) GetRemainingConfirmationSecondsOk() (*int64, bool)
GetRemainingConfirmationSecondsOk returns a tuple with the RemainingConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundConfirmationCountedStage) HasChain ¶
func (o *InboundConfirmationCountedStage) HasChain() bool
HasChain returns a boolean if a field has been set.
func (*InboundConfirmationCountedStage) HasCountingStartHeight ¶
func (o *InboundConfirmationCountedStage) HasCountingStartHeight() bool
HasCountingStartHeight returns a boolean if a field has been set.
func (*InboundConfirmationCountedStage) HasExternalConfirmationDelayHeight ¶
func (o *InboundConfirmationCountedStage) HasExternalConfirmationDelayHeight() bool
HasExternalConfirmationDelayHeight returns a boolean if a field has been set.
func (*InboundConfirmationCountedStage) HasExternalObservedHeight ¶
func (o *InboundConfirmationCountedStage) HasExternalObservedHeight() bool
HasExternalObservedHeight returns a boolean if a field has been set.
func (*InboundConfirmationCountedStage) HasRemainingConfirmationSeconds ¶
func (o *InboundConfirmationCountedStage) HasRemainingConfirmationSeconds() bool
HasRemainingConfirmationSeconds returns a boolean if a field has been set.
func (InboundConfirmationCountedStage) MarshalJSON_deprecated ¶
func (o InboundConfirmationCountedStage) MarshalJSON_deprecated() ([]byte, error)
func (*InboundConfirmationCountedStage) SetChain ¶
func (o *InboundConfirmationCountedStage) SetChain(v string)
SetChain gets a reference to the given string and assigns it to the Chain field.
func (*InboundConfirmationCountedStage) SetCompleted ¶
func (o *InboundConfirmationCountedStage) SetCompleted(v bool)
SetCompleted sets field value
func (*InboundConfirmationCountedStage) SetCountingStartHeight ¶
func (o *InboundConfirmationCountedStage) SetCountingStartHeight(v int64)
SetCountingStartHeight gets a reference to the given int64 and assigns it to the CountingStartHeight field.
func (*InboundConfirmationCountedStage) SetExternalConfirmationDelayHeight ¶
func (o *InboundConfirmationCountedStage) SetExternalConfirmationDelayHeight(v int64)
SetExternalConfirmationDelayHeight gets a reference to the given int64 and assigns it to the ExternalConfirmationDelayHeight field.
func (*InboundConfirmationCountedStage) SetExternalObservedHeight ¶
func (o *InboundConfirmationCountedStage) SetExternalObservedHeight(v int64)
SetExternalObservedHeight gets a reference to the given int64 and assigns it to the ExternalObservedHeight field.
func (*InboundConfirmationCountedStage) SetRemainingConfirmationSeconds ¶
func (o *InboundConfirmationCountedStage) SetRemainingConfirmationSeconds(v int64)
SetRemainingConfirmationSeconds gets a reference to the given int64 and assigns it to the RemainingConfirmationSeconds field.
type InboundFinalisedStage ¶
type InboundFinalisedStage struct { // returns true if the inbound transaction has been finalised (THORChain agreeing it exists) Completed bool `json:"completed"` }
InboundFinalisedStage struct for InboundFinalisedStage
func NewInboundFinalisedStage ¶
func NewInboundFinalisedStage(completed bool) *InboundFinalisedStage
NewInboundFinalisedStage instantiates a new InboundFinalisedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInboundFinalisedStageWithDefaults ¶
func NewInboundFinalisedStageWithDefaults() *InboundFinalisedStage
NewInboundFinalisedStageWithDefaults instantiates a new InboundFinalisedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InboundFinalisedStage) GetCompleted ¶
func (o *InboundFinalisedStage) GetCompleted() bool
GetCompleted returns the Completed field value
func (*InboundFinalisedStage) GetCompletedOk ¶
func (o *InboundFinalisedStage) GetCompletedOk() (*bool, bool)
GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.
func (InboundFinalisedStage) MarshalJSON_deprecated ¶
func (o InboundFinalisedStage) MarshalJSON_deprecated() ([]byte, error)
func (*InboundFinalisedStage) SetCompleted ¶
func (o *InboundFinalisedStage) SetCompleted(v bool)
SetCompleted sets field value
type InboundObservedStage ¶
type InboundObservedStage struct { // returns true if any nodes have observed the transaction (to be deprecated in favour of counts) Started *bool `json:"started,omitempty"` // number of signers for pre-confirmation-counting observations PreConfirmationCount *int64 `json:"pre_confirmation_count,omitempty"` // number of signers for final observations, after any confirmation counting complete FinalCount int64 `json:"final_count"` // returns true if no transaction observation remains to be done Completed bool `json:"completed"` }
InboundObservedStage struct for InboundObservedStage
func NewInboundObservedStage ¶
func NewInboundObservedStage(finalCount int64, completed bool) *InboundObservedStage
NewInboundObservedStage instantiates a new InboundObservedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInboundObservedStageWithDefaults ¶
func NewInboundObservedStageWithDefaults() *InboundObservedStage
NewInboundObservedStageWithDefaults instantiates a new InboundObservedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InboundObservedStage) GetCompleted ¶
func (o *InboundObservedStage) GetCompleted() bool
GetCompleted returns the Completed field value
func (*InboundObservedStage) GetCompletedOk ¶
func (o *InboundObservedStage) GetCompletedOk() (*bool, bool)
GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.
func (*InboundObservedStage) GetFinalCount ¶
func (o *InboundObservedStage) GetFinalCount() int64
GetFinalCount returns the FinalCount field value
func (*InboundObservedStage) GetFinalCountOk ¶
func (o *InboundObservedStage) GetFinalCountOk() (*int64, bool)
GetFinalCountOk returns a tuple with the FinalCount field value and a boolean to check if the value has been set.
func (*InboundObservedStage) GetPreConfirmationCount ¶
func (o *InboundObservedStage) GetPreConfirmationCount() int64
GetPreConfirmationCount returns the PreConfirmationCount field value if set, zero value otherwise.
func (*InboundObservedStage) GetPreConfirmationCountOk ¶
func (o *InboundObservedStage) GetPreConfirmationCountOk() (*int64, bool)
GetPreConfirmationCountOk returns a tuple with the PreConfirmationCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundObservedStage) GetStarted ¶
func (o *InboundObservedStage) GetStarted() bool
GetStarted returns the Started field value if set, zero value otherwise.
func (*InboundObservedStage) GetStartedOk ¶
func (o *InboundObservedStage) GetStartedOk() (*bool, bool)
GetStartedOk returns a tuple with the Started field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InboundObservedStage) HasPreConfirmationCount ¶
func (o *InboundObservedStage) HasPreConfirmationCount() bool
HasPreConfirmationCount returns a boolean if a field has been set.
func (*InboundObservedStage) HasStarted ¶
func (o *InboundObservedStage) HasStarted() bool
HasStarted returns a boolean if a field has been set.
func (InboundObservedStage) MarshalJSON_deprecated ¶
func (o InboundObservedStage) MarshalJSON_deprecated() ([]byte, error)
func (*InboundObservedStage) SetCompleted ¶
func (o *InboundObservedStage) SetCompleted(v bool)
SetCompleted sets field value
func (*InboundObservedStage) SetFinalCount ¶
func (o *InboundObservedStage) SetFinalCount(v int64)
SetFinalCount sets field value
func (*InboundObservedStage) SetPreConfirmationCount ¶
func (o *InboundObservedStage) SetPreConfirmationCount(v int64)
SetPreConfirmationCount gets a reference to the given int64 and assigns it to the PreConfirmationCount field.
func (*InboundObservedStage) SetStarted ¶
func (o *InboundObservedStage) SetStarted(v bool)
SetStarted gets a reference to the given bool and assigns it to the Started field.
type InvariantResponse ¶
type InvariantResponse struct { // The name of the invariant. Invariant string `json:"invariant"` // Returns true if the invariant is broken. Broken bool `json:"broken"` // Informative message about the invariant result. Msg []string `json:"msg"` }
InvariantResponse struct for InvariantResponse
func NewInvariantResponse ¶
func NewInvariantResponse(invariant string, broken bool, msg []string) *InvariantResponse
NewInvariantResponse instantiates a new InvariantResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvariantResponseWithDefaults ¶
func NewInvariantResponseWithDefaults() *InvariantResponse
NewInvariantResponseWithDefaults instantiates a new InvariantResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvariantResponse) GetBroken ¶
func (o *InvariantResponse) GetBroken() bool
GetBroken returns the Broken field value
func (*InvariantResponse) GetBrokenOk ¶
func (o *InvariantResponse) GetBrokenOk() (*bool, bool)
GetBrokenOk returns a tuple with the Broken field value and a boolean to check if the value has been set.
func (*InvariantResponse) GetInvariant ¶
func (o *InvariantResponse) GetInvariant() string
GetInvariant returns the Invariant field value
func (*InvariantResponse) GetInvariantOk ¶
func (o *InvariantResponse) GetInvariantOk() (*string, bool)
GetInvariantOk returns a tuple with the Invariant field value and a boolean to check if the value has been set.
func (*InvariantResponse) GetMsg ¶
func (o *InvariantResponse) GetMsg() []string
GetMsg returns the Msg field value
func (*InvariantResponse) GetMsgOk ¶
func (o *InvariantResponse) GetMsgOk() ([]string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (InvariantResponse) MarshalJSON_deprecated ¶
func (o InvariantResponse) MarshalJSON_deprecated() ([]byte, error)
func (*InvariantResponse) SetBroken ¶
func (o *InvariantResponse) SetBroken(v bool)
SetBroken sets field value
func (*InvariantResponse) SetInvariant ¶
func (o *InvariantResponse) SetInvariant(v string)
SetInvariant sets field value
func (*InvariantResponse) SetMsg ¶
func (o *InvariantResponse) SetMsg(v []string)
SetMsg sets field value
type InvariantsApiService ¶
type InvariantsApiService service
InvariantsApiService InvariantsApi service
func (*InvariantsApiService) Invariant ¶
func (a *InvariantsApiService) Invariant(ctx context.Context, invariant string) ApiInvariantRequest
Invariant Method for Invariant
Returns result of running the given invariant.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param invariant @return ApiInvariantRequest
func (*InvariantsApiService) InvariantExecute ¶
func (a *InvariantsApiService) InvariantExecute(r ApiInvariantRequest) (*InvariantResponse, *http.Response, error)
Execute executes the request
@return InvariantResponse
func (*InvariantsApiService) Invariants ¶
func (a *InvariantsApiService) Invariants(ctx context.Context) ApiInvariantsRequest
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 ¶
func (a *InvariantsApiService) InvariantsExecute(r ApiInvariantsRequest) (*InvariantsResponse, *http.Response, error)
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) GetIdOk ¶
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 ¶
GetMembers returns the Members field value if set, zero value otherwise.
func (*Keygen) GetMembersOk ¶
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) GetTypeOk ¶
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) HasMembers ¶
HasMembers returns a boolean if a field has been set.
func (Keygen) MarshalJSON_deprecated ¶
func (*Keygen) SetMembers ¶
SetMembers gets a reference to the given []string and assigns it to the Members field.
type KeygenBlock ¶
type KeygenBlock struct { // the height of the keygen block Height *int64 `json:"height,omitempty"` Keygens []Keygen `json:"keygens"` }
KeygenBlock struct for KeygenBlock
func NewKeygenBlock ¶
func NewKeygenBlock(keygens []Keygen) *KeygenBlock
NewKeygenBlock instantiates a new KeygenBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKeygenBlockWithDefaults ¶
func NewKeygenBlockWithDefaults() *KeygenBlock
NewKeygenBlockWithDefaults instantiates a new KeygenBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KeygenBlock) GetHeight ¶
func (o *KeygenBlock) GetHeight() int64
GetHeight returns the Height field value if set, zero value otherwise.
func (*KeygenBlock) GetHeightOk ¶
func (o *KeygenBlock) GetHeightOk() (*int64, bool)
GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeygenBlock) GetKeygens ¶
func (o *KeygenBlock) GetKeygens() []Keygen
GetKeygens returns the Keygens field value
func (*KeygenBlock) GetKeygensOk ¶
func (o *KeygenBlock) GetKeygensOk() ([]Keygen, bool)
GetKeygensOk returns a tuple with the Keygens field value and a boolean to check if the value has been set.
func (*KeygenBlock) HasHeight ¶
func (o *KeygenBlock) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (KeygenBlock) MarshalJSON_deprecated ¶
func (o KeygenBlock) MarshalJSON_deprecated() ([]byte, error)
func (*KeygenBlock) SetHeight ¶
func (o *KeygenBlock) SetHeight(v int64)
SetHeight gets a reference to the given int64 and assigns it to the Height field.
func (*KeygenBlock) SetKeygens ¶
func (o *KeygenBlock) SetKeygens(v []Keygen)
SetKeygens sets field value
type KeygenMetric ¶
type KeygenMetric struct { PubKey *string `json:"pub_key,omitempty"` NodeTssTimes []NodeKeygenMetric `json:"node_tss_times"` }
KeygenMetric struct for KeygenMetric
func NewKeygenMetric ¶
func NewKeygenMetric(nodeTssTimes []NodeKeygenMetric) *KeygenMetric
NewKeygenMetric instantiates a new KeygenMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKeygenMetricWithDefaults ¶
func NewKeygenMetricWithDefaults() *KeygenMetric
NewKeygenMetricWithDefaults instantiates a new KeygenMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KeygenMetric) GetNodeTssTimes ¶
func (o *KeygenMetric) GetNodeTssTimes() []NodeKeygenMetric
GetNodeTssTimes returns the NodeTssTimes field value
func (*KeygenMetric) GetNodeTssTimesOk ¶
func (o *KeygenMetric) GetNodeTssTimesOk() ([]NodeKeygenMetric, bool)
GetNodeTssTimesOk returns a tuple with the NodeTssTimes field value and a boolean to check if the value has been set.
func (*KeygenMetric) GetPubKey ¶
func (o *KeygenMetric) GetPubKey() string
GetPubKey returns the PubKey field value if set, zero value otherwise.
func (*KeygenMetric) GetPubKeyOk ¶
func (o *KeygenMetric) GetPubKeyOk() (*string, bool)
GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeygenMetric) HasPubKey ¶
func (o *KeygenMetric) HasPubKey() bool
HasPubKey returns a boolean if a field has been set.
func (KeygenMetric) MarshalJSON_deprecated ¶
func (o KeygenMetric) MarshalJSON_deprecated() ([]byte, error)
func (*KeygenMetric) SetNodeTssTimes ¶
func (o *KeygenMetric) SetNodeTssTimes(v []NodeKeygenMetric)
SetNodeTssTimes sets field value
func (*KeygenMetric) SetPubKey ¶
func (o *KeygenMetric) SetPubKey(v string)
SetPubKey gets a reference to the given string and assigns it to the PubKey field.
type KeygenResponse ¶
type KeygenResponse struct { KeygenBlock KeygenBlock `json:"keygen_block"` Signature string `json:"signature"` }
KeygenResponse struct for KeygenResponse
func NewKeygenResponse ¶
func NewKeygenResponse(keygenBlock KeygenBlock, signature string) *KeygenResponse
NewKeygenResponse instantiates a new KeygenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKeygenResponseWithDefaults ¶
func NewKeygenResponseWithDefaults() *KeygenResponse
NewKeygenResponseWithDefaults instantiates a new KeygenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KeygenResponse) GetKeygenBlock ¶
func (o *KeygenResponse) GetKeygenBlock() KeygenBlock
GetKeygenBlock returns the KeygenBlock field value
func (*KeygenResponse) GetKeygenBlockOk ¶
func (o *KeygenResponse) GetKeygenBlockOk() (*KeygenBlock, bool)
GetKeygenBlockOk returns a tuple with the KeygenBlock field value and a boolean to check if the value has been set.
func (*KeygenResponse) GetSignature ¶
func (o *KeygenResponse) GetSignature() string
GetSignature returns the Signature field value
func (*KeygenResponse) GetSignatureOk ¶
func (o *KeygenResponse) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.
func (KeygenResponse) MarshalJSON_deprecated ¶
func (o KeygenResponse) MarshalJSON_deprecated() ([]byte, error)
func (*KeygenResponse) SetKeygenBlock ¶
func (o *KeygenResponse) SetKeygenBlock(v KeygenBlock)
SetKeygenBlock sets field value
func (*KeygenResponse) SetSignature ¶
func (o *KeygenResponse) SetSignature(v string)
SetSignature sets field value
type KeysignInfo ¶
type KeysignInfo struct { // the block(s) in which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue Height *int64 `json:"height,omitempty"` TxArray []TxOutItem `json:"tx_array"` }
KeysignInfo struct for KeysignInfo
func NewKeysignInfo ¶
func NewKeysignInfo(txArray []TxOutItem) *KeysignInfo
NewKeysignInfo instantiates a new KeysignInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKeysignInfoWithDefaults ¶
func NewKeysignInfoWithDefaults() *KeysignInfo
NewKeysignInfoWithDefaults instantiates a new KeysignInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KeysignInfo) GetHeight ¶
func (o *KeysignInfo) GetHeight() int64
GetHeight returns the Height field value if set, zero value otherwise.
func (*KeysignInfo) GetHeightOk ¶
func (o *KeysignInfo) GetHeightOk() (*int64, bool)
GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysignInfo) GetTxArray ¶
func (o *KeysignInfo) GetTxArray() []TxOutItem
GetTxArray returns the TxArray field value
func (*KeysignInfo) GetTxArrayOk ¶
func (o *KeysignInfo) GetTxArrayOk() ([]TxOutItem, bool)
GetTxArrayOk returns a tuple with the TxArray field value and a boolean to check if the value has been set.
func (*KeysignInfo) HasHeight ¶
func (o *KeysignInfo) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (KeysignInfo) MarshalJSON_deprecated ¶
func (o KeysignInfo) MarshalJSON_deprecated() ([]byte, error)
func (*KeysignInfo) SetHeight ¶
func (o *KeysignInfo) SetHeight(v int64)
SetHeight gets a reference to the given int64 and assigns it to the Height field.
func (*KeysignInfo) SetTxArray ¶
func (o *KeysignInfo) SetTxArray(v []TxOutItem)
SetTxArray sets field value
type KeysignMetrics ¶
type KeysignMetrics struct { TxId *string `json:"tx_id,omitempty"` NodeTssTimes []TssMetric `json:"node_tss_times,omitempty"` }
KeysignMetrics struct for KeysignMetrics
func NewKeysignMetrics ¶
func NewKeysignMetrics() *KeysignMetrics
NewKeysignMetrics instantiates a new KeysignMetrics object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKeysignMetricsWithDefaults ¶
func NewKeysignMetricsWithDefaults() *KeysignMetrics
NewKeysignMetricsWithDefaults instantiates a new KeysignMetrics object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KeysignMetrics) GetNodeTssTimes ¶
func (o *KeysignMetrics) GetNodeTssTimes() []TssMetric
GetNodeTssTimes returns the NodeTssTimes field value if set, zero value otherwise.
func (*KeysignMetrics) GetNodeTssTimesOk ¶
func (o *KeysignMetrics) GetNodeTssTimesOk() ([]TssMetric, bool)
GetNodeTssTimesOk returns a tuple with the NodeTssTimes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysignMetrics) GetTxId ¶
func (o *KeysignMetrics) GetTxId() string
GetTxId returns the TxId field value if set, zero value otherwise.
func (*KeysignMetrics) GetTxIdOk ¶
func (o *KeysignMetrics) GetTxIdOk() (*string, bool)
GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysignMetrics) HasNodeTssTimes ¶
func (o *KeysignMetrics) HasNodeTssTimes() bool
HasNodeTssTimes returns a boolean if a field has been set.
func (*KeysignMetrics) HasTxId ¶
func (o *KeysignMetrics) HasTxId() bool
HasTxId returns a boolean if a field has been set.
func (KeysignMetrics) MarshalJSON_deprecated ¶
func (o KeysignMetrics) MarshalJSON_deprecated() ([]byte, error)
func (*KeysignMetrics) SetNodeTssTimes ¶
func (o *KeysignMetrics) SetNodeTssTimes(v []TssMetric)
SetNodeTssTimes gets a reference to the given []TssMetric and assigns it to the NodeTssTimes field.
func (*KeysignMetrics) SetTxId ¶
func (o *KeysignMetrics) SetTxId(v string)
SetTxId gets a reference to the given string and assigns it to the TxId field.
type KeysignResponse ¶
type KeysignResponse struct { Keysign KeysignInfo `json:"keysign"` Signature string `json:"signature"` }
KeysignResponse struct for KeysignResponse
func NewKeysignResponse ¶
func NewKeysignResponse(keysign KeysignInfo, signature string) *KeysignResponse
NewKeysignResponse instantiates a new KeysignResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKeysignResponseWithDefaults ¶
func NewKeysignResponseWithDefaults() *KeysignResponse
NewKeysignResponseWithDefaults instantiates a new KeysignResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KeysignResponse) GetKeysign ¶
func (o *KeysignResponse) GetKeysign() KeysignInfo
GetKeysign returns the Keysign field value
func (*KeysignResponse) GetKeysignOk ¶
func (o *KeysignResponse) GetKeysignOk() (*KeysignInfo, bool)
GetKeysignOk returns a tuple with the Keysign field value and a boolean to check if the value has been set.
func (*KeysignResponse) GetSignature ¶
func (o *KeysignResponse) GetSignature() string
GetSignature returns the Signature field value
func (*KeysignResponse) GetSignatureOk ¶
func (o *KeysignResponse) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.
func (KeysignResponse) MarshalJSON_deprecated ¶
func (o KeysignResponse) MarshalJSON_deprecated() ([]byte, error)
func (*KeysignResponse) SetKeysign ¶
func (o *KeysignResponse) SetKeysign(v KeysignInfo)
SetKeysign sets field value
func (*KeysignResponse) SetSignature ¶
func (o *KeysignResponse) SetSignature(v string)
SetSignature sets field value
type LastBlock ¶
type LastBlock struct { Chain string `json:"chain"` LastObservedIn int64 `json:"last_observed_in"` LastSignedOut int64 `json:"last_signed_out"` Thorchain int64 `json:"thorchain"` }
LastBlock struct for LastBlock
func NewLastBlock ¶
func NewLastBlock(chain string, lastObservedIn int64, lastSignedOut int64, thorchain int64) *LastBlock
NewLastBlock instantiates a new LastBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLastBlockWithDefaults ¶
func NewLastBlockWithDefaults() *LastBlock
NewLastBlockWithDefaults instantiates a new LastBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LastBlock) GetChainOk ¶
GetChainOk returns a tuple with the Chain field value and a boolean to check if the value has been set.
func (*LastBlock) GetLastObservedIn ¶
GetLastObservedIn returns the LastObservedIn field value
func (*LastBlock) GetLastObservedInOk ¶
GetLastObservedInOk returns a tuple with the LastObservedIn field value and a boolean to check if the value has been set.
func (*LastBlock) GetLastSignedOut ¶
GetLastSignedOut returns the LastSignedOut field value
func (*LastBlock) GetLastSignedOutOk ¶
GetLastSignedOutOk returns a tuple with the LastSignedOut field value and a boolean to check if the value has been set.
func (*LastBlock) GetThorchain ¶
GetThorchain returns the Thorchain field value
func (*LastBlock) GetThorchainOk ¶
GetThorchainOk returns a tuple with the Thorchain field value and a boolean to check if the value has been set.
func (LastBlock) MarshalJSON_deprecated ¶
func (*LastBlock) SetLastObservedIn ¶
SetLastObservedIn sets field value
func (*LastBlock) SetLastSignedOut ¶
SetLastSignedOut sets field value
func (*LastBlock) SetThorchain ¶
SetThorchain sets field value
type LiquidityProvider ¶
type LiquidityProvider struct { Asset string `json:"asset"` RuneAddress *string `json:"rune_address,omitempty"` AssetAddress *string `json:"asset_address,omitempty"` LastAddHeight *int64 `json:"last_add_height,omitempty"` LastWithdrawHeight *int64 `json:"last_withdraw_height,omitempty"` Units string `json:"units"` PendingRune string `json:"pending_rune"` PendingAsset string `json:"pending_asset"` PendingTxId *string `json:"pending_tx_id,omitempty"` RuneDepositValue string `json:"rune_deposit_value"` AssetDepositValue string `json:"asset_deposit_value"` RuneRedeemValue *string `json:"rune_redeem_value,omitempty"` AssetRedeemValue *string `json:"asset_redeem_value,omitempty"` LuviDepositValue *string `json:"luvi_deposit_value,omitempty"` LuviRedeemValue *string `json:"luvi_redeem_value,omitempty"` LuviGrowthPct *string `json:"luvi_growth_pct,omitempty"` }
LiquidityProvider struct for LiquidityProvider
func NewLiquidityProvider ¶
func NewLiquidityProvider(asset string, units string, pendingRune string, pendingAsset string, runeDepositValue string, assetDepositValue string) *LiquidityProvider
NewLiquidityProvider instantiates a new LiquidityProvider object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLiquidityProviderWithDefaults ¶
func NewLiquidityProviderWithDefaults() *LiquidityProvider
NewLiquidityProviderWithDefaults instantiates a new LiquidityProvider object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LiquidityProvider) GetAsset ¶
func (o *LiquidityProvider) GetAsset() string
GetAsset returns the Asset field value
func (*LiquidityProvider) GetAssetAddress ¶
func (o *LiquidityProvider) GetAssetAddress() string
GetAssetAddress returns the AssetAddress field value if set, zero value otherwise.
func (*LiquidityProvider) GetAssetAddressOk ¶
func (o *LiquidityProvider) GetAssetAddressOk() (*string, bool)
GetAssetAddressOk returns a tuple with the AssetAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetAssetDepositValue ¶
func (o *LiquidityProvider) GetAssetDepositValue() string
GetAssetDepositValue returns the AssetDepositValue field value
func (*LiquidityProvider) GetAssetDepositValueOk ¶
func (o *LiquidityProvider) GetAssetDepositValueOk() (*string, bool)
GetAssetDepositValueOk returns a tuple with the AssetDepositValue field value and a boolean to check if the value has been set.
func (*LiquidityProvider) GetAssetOk ¶
func (o *LiquidityProvider) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*LiquidityProvider) GetAssetRedeemValue ¶
func (o *LiquidityProvider) GetAssetRedeemValue() string
GetAssetRedeemValue returns the AssetRedeemValue field value if set, zero value otherwise.
func (*LiquidityProvider) GetAssetRedeemValueOk ¶
func (o *LiquidityProvider) GetAssetRedeemValueOk() (*string, bool)
GetAssetRedeemValueOk returns a tuple with the AssetRedeemValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetLastAddHeight ¶
func (o *LiquidityProvider) GetLastAddHeight() int64
GetLastAddHeight returns the LastAddHeight field value if set, zero value otherwise.
func (*LiquidityProvider) GetLastAddHeightOk ¶
func (o *LiquidityProvider) GetLastAddHeightOk() (*int64, bool)
GetLastAddHeightOk returns a tuple with the LastAddHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetLastWithdrawHeight ¶
func (o *LiquidityProvider) GetLastWithdrawHeight() int64
GetLastWithdrawHeight returns the LastWithdrawHeight field value if set, zero value otherwise.
func (*LiquidityProvider) GetLastWithdrawHeightOk ¶
func (o *LiquidityProvider) GetLastWithdrawHeightOk() (*int64, bool)
GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetLuviDepositValue ¶
func (o *LiquidityProvider) GetLuviDepositValue() string
GetLuviDepositValue returns the LuviDepositValue field value if set, zero value otherwise.
func (*LiquidityProvider) GetLuviDepositValueOk ¶
func (o *LiquidityProvider) GetLuviDepositValueOk() (*string, bool)
GetLuviDepositValueOk returns a tuple with the LuviDepositValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetLuviGrowthPct ¶
func (o *LiquidityProvider) GetLuviGrowthPct() string
GetLuviGrowthPct returns the LuviGrowthPct field value if set, zero value otherwise.
func (*LiquidityProvider) GetLuviGrowthPctOk ¶
func (o *LiquidityProvider) GetLuviGrowthPctOk() (*string, bool)
GetLuviGrowthPctOk returns a tuple with the LuviGrowthPct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetLuviRedeemValue ¶
func (o *LiquidityProvider) GetLuviRedeemValue() string
GetLuviRedeemValue returns the LuviRedeemValue field value if set, zero value otherwise.
func (*LiquidityProvider) GetLuviRedeemValueOk ¶
func (o *LiquidityProvider) GetLuviRedeemValueOk() (*string, bool)
GetLuviRedeemValueOk returns a tuple with the LuviRedeemValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetPendingAsset ¶
func (o *LiquidityProvider) GetPendingAsset() string
GetPendingAsset returns the PendingAsset field value
func (*LiquidityProvider) GetPendingAssetOk ¶
func (o *LiquidityProvider) GetPendingAssetOk() (*string, bool)
GetPendingAssetOk returns a tuple with the PendingAsset field value and a boolean to check if the value has been set.
func (*LiquidityProvider) GetPendingRune ¶
func (o *LiquidityProvider) GetPendingRune() string
GetPendingRune returns the PendingRune field value
func (*LiquidityProvider) GetPendingRuneOk ¶
func (o *LiquidityProvider) GetPendingRuneOk() (*string, bool)
GetPendingRuneOk returns a tuple with the PendingRune field value and a boolean to check if the value has been set.
func (*LiquidityProvider) GetPendingTxId ¶
func (o *LiquidityProvider) GetPendingTxId() string
GetPendingTxId returns the PendingTxId field value if set, zero value otherwise.
func (*LiquidityProvider) GetPendingTxIdOk ¶
func (o *LiquidityProvider) GetPendingTxIdOk() (*string, bool)
GetPendingTxIdOk returns a tuple with the PendingTxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetRuneAddress ¶
func (o *LiquidityProvider) GetRuneAddress() string
GetRuneAddress returns the RuneAddress field value if set, zero value otherwise.
func (*LiquidityProvider) GetRuneAddressOk ¶
func (o *LiquidityProvider) GetRuneAddressOk() (*string, bool)
GetRuneAddressOk returns a tuple with the RuneAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetRuneDepositValue ¶
func (o *LiquidityProvider) GetRuneDepositValue() string
GetRuneDepositValue returns the RuneDepositValue field value
func (*LiquidityProvider) GetRuneDepositValueOk ¶
func (o *LiquidityProvider) GetRuneDepositValueOk() (*string, bool)
GetRuneDepositValueOk returns a tuple with the RuneDepositValue field value and a boolean to check if the value has been set.
func (*LiquidityProvider) GetRuneRedeemValue ¶
func (o *LiquidityProvider) GetRuneRedeemValue() string
GetRuneRedeemValue returns the RuneRedeemValue field value if set, zero value otherwise.
func (*LiquidityProvider) GetRuneRedeemValueOk ¶
func (o *LiquidityProvider) GetRuneRedeemValueOk() (*string, bool)
GetRuneRedeemValueOk returns a tuple with the RuneRedeemValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProvider) GetUnits ¶
func (o *LiquidityProvider) GetUnits() string
GetUnits returns the Units field value
func (*LiquidityProvider) GetUnitsOk ¶
func (o *LiquidityProvider) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (*LiquidityProvider) HasAssetAddress ¶
func (o *LiquidityProvider) HasAssetAddress() bool
HasAssetAddress returns a boolean if a field has been set.
func (*LiquidityProvider) HasAssetRedeemValue ¶
func (o *LiquidityProvider) HasAssetRedeemValue() bool
HasAssetRedeemValue returns a boolean if a field has been set.
func (*LiquidityProvider) HasLastAddHeight ¶
func (o *LiquidityProvider) HasLastAddHeight() bool
HasLastAddHeight returns a boolean if a field has been set.
func (*LiquidityProvider) HasLastWithdrawHeight ¶
func (o *LiquidityProvider) HasLastWithdrawHeight() bool
HasLastWithdrawHeight returns a boolean if a field has been set.
func (*LiquidityProvider) HasLuviDepositValue ¶
func (o *LiquidityProvider) HasLuviDepositValue() bool
HasLuviDepositValue returns a boolean if a field has been set.
func (*LiquidityProvider) HasLuviGrowthPct ¶
func (o *LiquidityProvider) HasLuviGrowthPct() bool
HasLuviGrowthPct returns a boolean if a field has been set.
func (*LiquidityProvider) HasLuviRedeemValue ¶
func (o *LiquidityProvider) HasLuviRedeemValue() bool
HasLuviRedeemValue returns a boolean if a field has been set.
func (*LiquidityProvider) HasPendingTxId ¶
func (o *LiquidityProvider) HasPendingTxId() bool
HasPendingTxId returns a boolean if a field has been set.
func (*LiquidityProvider) HasRuneAddress ¶
func (o *LiquidityProvider) HasRuneAddress() bool
HasRuneAddress returns a boolean if a field has been set.
func (*LiquidityProvider) HasRuneRedeemValue ¶
func (o *LiquidityProvider) HasRuneRedeemValue() bool
HasRuneRedeemValue returns a boolean if a field has been set.
func (LiquidityProvider) MarshalJSON_deprecated ¶
func (o LiquidityProvider) MarshalJSON_deprecated() ([]byte, error)
func (*LiquidityProvider) SetAsset ¶
func (o *LiquidityProvider) SetAsset(v string)
SetAsset sets field value
func (*LiquidityProvider) SetAssetAddress ¶
func (o *LiquidityProvider) SetAssetAddress(v string)
SetAssetAddress gets a reference to the given string and assigns it to the AssetAddress field.
func (*LiquidityProvider) SetAssetDepositValue ¶
func (o *LiquidityProvider) SetAssetDepositValue(v string)
SetAssetDepositValue sets field value
func (*LiquidityProvider) SetAssetRedeemValue ¶
func (o *LiquidityProvider) SetAssetRedeemValue(v string)
SetAssetRedeemValue gets a reference to the given string and assigns it to the AssetRedeemValue field.
func (*LiquidityProvider) SetLastAddHeight ¶
func (o *LiquidityProvider) SetLastAddHeight(v int64)
SetLastAddHeight gets a reference to the given int64 and assigns it to the LastAddHeight field.
func (*LiquidityProvider) SetLastWithdrawHeight ¶
func (o *LiquidityProvider) SetLastWithdrawHeight(v int64)
SetLastWithdrawHeight gets a reference to the given int64 and assigns it to the LastWithdrawHeight field.
func (*LiquidityProvider) SetLuviDepositValue ¶
func (o *LiquidityProvider) SetLuviDepositValue(v string)
SetLuviDepositValue gets a reference to the given string and assigns it to the LuviDepositValue field.
func (*LiquidityProvider) SetLuviGrowthPct ¶
func (o *LiquidityProvider) SetLuviGrowthPct(v string)
SetLuviGrowthPct gets a reference to the given string and assigns it to the LuviGrowthPct field.
func (*LiquidityProvider) SetLuviRedeemValue ¶
func (o *LiquidityProvider) SetLuviRedeemValue(v string)
SetLuviRedeemValue gets a reference to the given string and assigns it to the LuviRedeemValue field.
func (*LiquidityProvider) SetPendingAsset ¶
func (o *LiquidityProvider) SetPendingAsset(v string)
SetPendingAsset sets field value
func (*LiquidityProvider) SetPendingRune ¶
func (o *LiquidityProvider) SetPendingRune(v string)
SetPendingRune sets field value
func (*LiquidityProvider) SetPendingTxId ¶
func (o *LiquidityProvider) SetPendingTxId(v string)
SetPendingTxId gets a reference to the given string and assigns it to the PendingTxId field.
func (*LiquidityProvider) SetRuneAddress ¶
func (o *LiquidityProvider) SetRuneAddress(v string)
SetRuneAddress gets a reference to the given string and assigns it to the RuneAddress field.
func (*LiquidityProvider) SetRuneDepositValue ¶
func (o *LiquidityProvider) SetRuneDepositValue(v string)
SetRuneDepositValue sets field value
func (*LiquidityProvider) SetRuneRedeemValue ¶
func (o *LiquidityProvider) SetRuneRedeemValue(v string)
SetRuneRedeemValue gets a reference to the given string and assigns it to the RuneRedeemValue field.
func (*LiquidityProvider) SetUnits ¶
func (o *LiquidityProvider) SetUnits(v string)
SetUnits sets field value
type LiquidityProviderSummary ¶
type LiquidityProviderSummary struct { Asset string `json:"asset"` RuneAddress *string `json:"rune_address,omitempty"` AssetAddress *string `json:"asset_address,omitempty"` LastAddHeight *int64 `json:"last_add_height,omitempty"` LastWithdrawHeight *int64 `json:"last_withdraw_height,omitempty"` Units string `json:"units"` PendingRune string `json:"pending_rune"` PendingAsset string `json:"pending_asset"` PendingTxId *string `json:"pending_tx_id,omitempty"` RuneDepositValue string `json:"rune_deposit_value"` AssetDepositValue string `json:"asset_deposit_value"` }
LiquidityProviderSummary struct for LiquidityProviderSummary
func NewLiquidityProviderSummary ¶
func NewLiquidityProviderSummary(asset string, units string, pendingRune string, pendingAsset string, runeDepositValue string, assetDepositValue string) *LiquidityProviderSummary
NewLiquidityProviderSummary instantiates a new LiquidityProviderSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLiquidityProviderSummaryWithDefaults ¶
func NewLiquidityProviderSummaryWithDefaults() *LiquidityProviderSummary
NewLiquidityProviderSummaryWithDefaults instantiates a new LiquidityProviderSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LiquidityProviderSummary) GetAsset ¶
func (o *LiquidityProviderSummary) GetAsset() string
GetAsset returns the Asset field value
func (*LiquidityProviderSummary) GetAssetAddress ¶
func (o *LiquidityProviderSummary) GetAssetAddress() string
GetAssetAddress returns the AssetAddress field value if set, zero value otherwise.
func (*LiquidityProviderSummary) GetAssetAddressOk ¶
func (o *LiquidityProviderSummary) GetAssetAddressOk() (*string, bool)
GetAssetAddressOk returns a tuple with the AssetAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetAssetDepositValue ¶
func (o *LiquidityProviderSummary) GetAssetDepositValue() string
GetAssetDepositValue returns the AssetDepositValue field value
func (*LiquidityProviderSummary) GetAssetDepositValueOk ¶
func (o *LiquidityProviderSummary) GetAssetDepositValueOk() (*string, bool)
GetAssetDepositValueOk returns a tuple with the AssetDepositValue field value and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetAssetOk ¶
func (o *LiquidityProviderSummary) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetLastAddHeight ¶
func (o *LiquidityProviderSummary) GetLastAddHeight() int64
GetLastAddHeight returns the LastAddHeight field value if set, zero value otherwise.
func (*LiquidityProviderSummary) GetLastAddHeightOk ¶
func (o *LiquidityProviderSummary) GetLastAddHeightOk() (*int64, bool)
GetLastAddHeightOk returns a tuple with the LastAddHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetLastWithdrawHeight ¶
func (o *LiquidityProviderSummary) GetLastWithdrawHeight() int64
GetLastWithdrawHeight returns the LastWithdrawHeight field value if set, zero value otherwise.
func (*LiquidityProviderSummary) GetLastWithdrawHeightOk ¶
func (o *LiquidityProviderSummary) GetLastWithdrawHeightOk() (*int64, bool)
GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetPendingAsset ¶
func (o *LiquidityProviderSummary) GetPendingAsset() string
GetPendingAsset returns the PendingAsset field value
func (*LiquidityProviderSummary) GetPendingAssetOk ¶
func (o *LiquidityProviderSummary) GetPendingAssetOk() (*string, bool)
GetPendingAssetOk returns a tuple with the PendingAsset field value and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetPendingRune ¶
func (o *LiquidityProviderSummary) GetPendingRune() string
GetPendingRune returns the PendingRune field value
func (*LiquidityProviderSummary) GetPendingRuneOk ¶
func (o *LiquidityProviderSummary) GetPendingRuneOk() (*string, bool)
GetPendingRuneOk returns a tuple with the PendingRune field value and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetPendingTxId ¶
func (o *LiquidityProviderSummary) GetPendingTxId() string
GetPendingTxId returns the PendingTxId field value if set, zero value otherwise.
func (*LiquidityProviderSummary) GetPendingTxIdOk ¶
func (o *LiquidityProviderSummary) GetPendingTxIdOk() (*string, bool)
GetPendingTxIdOk returns a tuple with the PendingTxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetRuneAddress ¶
func (o *LiquidityProviderSummary) GetRuneAddress() string
GetRuneAddress returns the RuneAddress field value if set, zero value otherwise.
func (*LiquidityProviderSummary) GetRuneAddressOk ¶
func (o *LiquidityProviderSummary) GetRuneAddressOk() (*string, bool)
GetRuneAddressOk returns a tuple with the RuneAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetRuneDepositValue ¶
func (o *LiquidityProviderSummary) GetRuneDepositValue() string
GetRuneDepositValue returns the RuneDepositValue field value
func (*LiquidityProviderSummary) GetRuneDepositValueOk ¶
func (o *LiquidityProviderSummary) GetRuneDepositValueOk() (*string, bool)
GetRuneDepositValueOk returns a tuple with the RuneDepositValue field value and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) GetUnits ¶
func (o *LiquidityProviderSummary) GetUnits() string
GetUnits returns the Units field value
func (*LiquidityProviderSummary) GetUnitsOk ¶
func (o *LiquidityProviderSummary) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (*LiquidityProviderSummary) HasAssetAddress ¶
func (o *LiquidityProviderSummary) HasAssetAddress() bool
HasAssetAddress returns a boolean if a field has been set.
func (*LiquidityProviderSummary) HasLastAddHeight ¶
func (o *LiquidityProviderSummary) HasLastAddHeight() bool
HasLastAddHeight returns a boolean if a field has been set.
func (*LiquidityProviderSummary) HasLastWithdrawHeight ¶
func (o *LiquidityProviderSummary) HasLastWithdrawHeight() bool
HasLastWithdrawHeight returns a boolean if a field has been set.
func (*LiquidityProviderSummary) HasPendingTxId ¶
func (o *LiquidityProviderSummary) HasPendingTxId() bool
HasPendingTxId returns a boolean if a field has been set.
func (*LiquidityProviderSummary) HasRuneAddress ¶
func (o *LiquidityProviderSummary) HasRuneAddress() bool
HasRuneAddress returns a boolean if a field has been set.
func (LiquidityProviderSummary) MarshalJSON_deprecated ¶
func (o LiquidityProviderSummary) MarshalJSON_deprecated() ([]byte, error)
func (*LiquidityProviderSummary) SetAsset ¶
func (o *LiquidityProviderSummary) SetAsset(v string)
SetAsset sets field value
func (*LiquidityProviderSummary) SetAssetAddress ¶
func (o *LiquidityProviderSummary) SetAssetAddress(v string)
SetAssetAddress gets a reference to the given string and assigns it to the AssetAddress field.
func (*LiquidityProviderSummary) SetAssetDepositValue ¶
func (o *LiquidityProviderSummary) SetAssetDepositValue(v string)
SetAssetDepositValue sets field value
func (*LiquidityProviderSummary) SetLastAddHeight ¶
func (o *LiquidityProviderSummary) SetLastAddHeight(v int64)
SetLastAddHeight gets a reference to the given int64 and assigns it to the LastAddHeight field.
func (*LiquidityProviderSummary) SetLastWithdrawHeight ¶
func (o *LiquidityProviderSummary) SetLastWithdrawHeight(v int64)
SetLastWithdrawHeight gets a reference to the given int64 and assigns it to the LastWithdrawHeight field.
func (*LiquidityProviderSummary) SetPendingAsset ¶
func (o *LiquidityProviderSummary) SetPendingAsset(v string)
SetPendingAsset sets field value
func (*LiquidityProviderSummary) SetPendingRune ¶
func (o *LiquidityProviderSummary) SetPendingRune(v string)
SetPendingRune sets field value
func (*LiquidityProviderSummary) SetPendingTxId ¶
func (o *LiquidityProviderSummary) SetPendingTxId(v string)
SetPendingTxId gets a reference to the given string and assigns it to the PendingTxId field.
func (*LiquidityProviderSummary) SetRuneAddress ¶
func (o *LiquidityProviderSummary) SetRuneAddress(v string)
SetRuneAddress gets a reference to the given string and assigns it to the RuneAddress field.
func (*LiquidityProviderSummary) SetRuneDepositValue ¶
func (o *LiquidityProviderSummary) SetRuneDepositValue(v string)
SetRuneDepositValue sets field value
func (*LiquidityProviderSummary) SetUnits ¶
func (o *LiquidityProviderSummary) SetUnits(v string)
SetUnits sets field value
type LiquidityProvidersApiService ¶
type LiquidityProvidersApiService service
LiquidityProvidersApiService LiquidityProvidersApi service
func (*LiquidityProvidersApiService) LiquidityProvider ¶
func (a *LiquidityProvidersApiService) LiquidityProvider(ctx context.Context, asset string, address string) ApiLiquidityProviderRequest
LiquidityProvider Method for LiquidityProvider
Returns the liquidity provider information for an address and asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @param address @return ApiLiquidityProviderRequest
func (*LiquidityProvidersApiService) LiquidityProviderExecute ¶
func (a *LiquidityProvidersApiService) LiquidityProviderExecute(r ApiLiquidityProviderRequest) (*LiquidityProvider, *http.Response, error)
Execute executes the request
@return LiquidityProvider
func (*LiquidityProvidersApiService) LiquidityProviders ¶
func (a *LiquidityProvidersApiService) LiquidityProviders(ctx context.Context, asset string) ApiLiquidityProvidersRequest
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 ¶
func (a *LiquidityProvidersApiService) LiquidityProvidersExecute(r ApiLiquidityProvidersRequest) ([]LiquidityProviderSummary, *http.Response, error)
Execute executes the request
@return []LiquidityProviderSummary
type MetricsResponse ¶
type MetricsResponse struct { Keygen []KeygenMetric `json:"keygen,omitempty"` Keysign *KeysignMetrics `json:"keysign,omitempty"` }
MetricsResponse struct for MetricsResponse
func NewMetricsResponse ¶
func NewMetricsResponse() *MetricsResponse
NewMetricsResponse instantiates a new MetricsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetricsResponseWithDefaults ¶
func NewMetricsResponseWithDefaults() *MetricsResponse
NewMetricsResponseWithDefaults instantiates a new MetricsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetricsResponse) GetKeygen ¶
func (o *MetricsResponse) GetKeygen() []KeygenMetric
GetKeygen returns the Keygen field value if set, zero value otherwise.
func (*MetricsResponse) GetKeygenOk ¶
func (o *MetricsResponse) GetKeygenOk() ([]KeygenMetric, bool)
GetKeygenOk returns a tuple with the Keygen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricsResponse) GetKeysign ¶
func (o *MetricsResponse) GetKeysign() KeysignMetrics
GetKeysign returns the Keysign field value if set, zero value otherwise.
func (*MetricsResponse) GetKeysignOk ¶
func (o *MetricsResponse) GetKeysignOk() (*KeysignMetrics, bool)
GetKeysignOk returns a tuple with the Keysign field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricsResponse) HasKeygen ¶
func (o *MetricsResponse) HasKeygen() bool
HasKeygen returns a boolean if a field has been set.
func (*MetricsResponse) HasKeysign ¶
func (o *MetricsResponse) HasKeysign() bool
HasKeysign returns a boolean if a field has been set.
func (MetricsResponse) MarshalJSON_deprecated ¶
func (o MetricsResponse) MarshalJSON_deprecated() ([]byte, error)
func (*MetricsResponse) SetKeygen ¶
func (o *MetricsResponse) SetKeygen(v []KeygenMetric)
SetKeygen gets a reference to the given []KeygenMetric and assigns it to the Keygen field.
func (*MetricsResponse) SetKeysign ¶
func (o *MetricsResponse) SetKeysign(v KeysignMetrics)
SetKeysign gets a reference to the given KeysignMetrics and assigns it to the Keysign field.
type MimirApiService ¶
type MimirApiService service
MimirApiService MimirApi service
func (*MimirApiService) Mimir ¶
func (a *MimirApiService) Mimir(ctx context.Context) ApiMimirRequest
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 ¶
func (a *MimirApiService) MimirAdmin(ctx context.Context) ApiMimirAdminRequest
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 ¶
func (a *MimirApiService) MimirKey(ctx context.Context, key string) ApiMimirKeyRequest
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 ¶
func (a *MimirApiService) MimirNodes(ctx context.Context) ApiMimirNodesRequest
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 ¶
func (a *MimirApiService) MimirNodesExecute(r ApiMimirNodesRequest) (*MimirNodesResponse, *http.Response, error)
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) GetKeyOk ¶
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 ¶
GetSigner returns the Signer field value if set, zero value otherwise.
func (*MimirVote) GetSignerOk ¶
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) GetValueOk ¶
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) MarshalJSON_deprecated ¶
func (*MimirVote) SetKey ¶
SetKey gets a reference to the given string and assigns it to the Key field.
type MsgSwap ¶
type MsgSwap struct { Tx Tx `json:"tx"` // the asset to be swapped to TargetAsset string `json:"target_asset"` // the destination address to receive the swap output Destination *string `json:"destination,omitempty"` // the minimum amount of output asset to receive (else cancelling and refunding the swap) TradeTarget string `json:"trade_target"` // the affiliate address which will receive any affiliate fee AffiliateAddress *string `json:"affiliate_address,omitempty"` // the affiliate fee in basis points AffiliateBasisPoints string `json:"affiliate_basis_points"` // the signer (sender) of the transaction Signer *string `json:"signer,omitempty"` // the contract address if an aggregator is specified for a non-THORChain SwapOut Aggregator *string `json:"aggregator,omitempty"` // the desired output asset of the aggregator SwapOut AggregatorTargetAddress *string `json:"aggregator_target_address,omitempty"` // the minimum amount of SwapOut asset to receive (else cancelling the SwapOut and receiving THORChain's output) AggregatorTargetLimit *string `json:"aggregator_target_limit,omitempty"` // market if immediately completed or refunded, limit if held until fulfillable OrderType *string `json:"order_type,omitempty"` // number of swaps to execute in a streaming swap StreamQuantity *int64 `json:"stream_quantity,omitempty"` // the interval (in blocks) to execute the streaming swap StreamInterval *int64 `json:"stream_interval,omitempty"` }
MsgSwap struct for MsgSwap
func NewMsgSwap ¶
func NewMsgSwap(tx Tx, targetAsset string, tradeTarget string, affiliateBasisPoints string) *MsgSwap
NewMsgSwap instantiates a new MsgSwap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMsgSwapWithDefaults ¶
func NewMsgSwapWithDefaults() *MsgSwap
NewMsgSwapWithDefaults instantiates a new MsgSwap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MsgSwap) GetAffiliateAddress ¶
GetAffiliateAddress returns the AffiliateAddress field value if set, zero value otherwise.
func (*MsgSwap) GetAffiliateAddressOk ¶
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 ¶
GetAffiliateBasisPoints returns the AffiliateBasisPoints field value
func (*MsgSwap) GetAffiliateBasisPointsOk ¶
GetAffiliateBasisPointsOk returns a tuple with the AffiliateBasisPoints field value and a boolean to check if the value has been set.
func (*MsgSwap) GetAggregator ¶
GetAggregator returns the Aggregator field value if set, zero value otherwise.
func (*MsgSwap) GetAggregatorOk ¶
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 ¶
GetAggregatorTargetAddress returns the AggregatorTargetAddress field value if set, zero value otherwise.
func (*MsgSwap) GetAggregatorTargetAddressOk ¶
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 ¶
GetAggregatorTargetLimit returns the AggregatorTargetLimit field value if set, zero value otherwise.
func (*MsgSwap) GetAggregatorTargetLimitOk ¶
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 ¶
GetDestination returns the Destination field value if set, zero value otherwise.
func (*MsgSwap) GetDestinationOk ¶
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 ¶
GetOrderType returns the OrderType field value if set, zero value otherwise.
func (*MsgSwap) GetOrderTypeOk ¶
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) GetSignerOk ¶
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 ¶
GetStreamInterval returns the StreamInterval field value if set, zero value otherwise.
func (*MsgSwap) GetStreamIntervalOk ¶
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 ¶
GetStreamQuantity returns the StreamQuantity field value if set, zero value otherwise.
func (*MsgSwap) GetStreamQuantityOk ¶
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 ¶
GetTargetAsset returns the TargetAsset field value
func (*MsgSwap) GetTargetAssetOk ¶
GetTargetAssetOk returns a tuple with the TargetAsset field value and a boolean to check if the value has been set.
func (*MsgSwap) GetTradeTarget ¶
GetTradeTarget returns the TradeTarget field value
func (*MsgSwap) GetTradeTargetOk ¶
GetTradeTargetOk returns a tuple with the TradeTarget field value and a boolean to check if the value has been set.
func (*MsgSwap) GetTxOk ¶
GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.
func (*MsgSwap) HasAffiliateAddress ¶
HasAffiliateAddress returns a boolean if a field has been set.
func (*MsgSwap) HasAggregator ¶
HasAggregator returns a boolean if a field has been set.
func (*MsgSwap) HasAggregatorTargetAddress ¶
HasAggregatorTargetAddress returns a boolean if a field has been set.
func (*MsgSwap) HasAggregatorTargetLimit ¶
HasAggregatorTargetLimit returns a boolean if a field has been set.
func (*MsgSwap) HasDestination ¶
HasDestination returns a boolean if a field has been set.
func (*MsgSwap) HasOrderType ¶
HasOrderType returns a boolean if a field has been set.
func (*MsgSwap) HasStreamInterval ¶
HasStreamInterval returns a boolean if a field has been set.
func (*MsgSwap) HasStreamQuantity ¶
HasStreamQuantity returns a boolean if a field has been set.
func (MsgSwap) MarshalJSON_deprecated ¶
func (*MsgSwap) SetAffiliateAddress ¶
SetAffiliateAddress gets a reference to the given string and assigns it to the AffiliateAddress field.
func (*MsgSwap) SetAffiliateBasisPoints ¶
SetAffiliateBasisPoints sets field value
func (*MsgSwap) SetAggregator ¶
SetAggregator gets a reference to the given string and assigns it to the Aggregator field.
func (*MsgSwap) SetAggregatorTargetAddress ¶
SetAggregatorTargetAddress gets a reference to the given string and assigns it to the AggregatorTargetAddress field.
func (*MsgSwap) SetAggregatorTargetLimit ¶
SetAggregatorTargetLimit gets a reference to the given string and assigns it to the AggregatorTargetLimit field.
func (*MsgSwap) SetDestination ¶
SetDestination gets a reference to the given string and assigns it to the Destination field.
func (*MsgSwap) SetOrderType ¶
SetOrderType gets a reference to the given string and assigns it to the OrderType field.
func (*MsgSwap) SetSigner ¶
SetSigner gets a reference to the given string and assigns it to the Signer field.
func (*MsgSwap) SetStreamInterval ¶
SetStreamInterval gets a reference to the given int64 and assigns it to the StreamInterval field.
func (*MsgSwap) SetStreamQuantity ¶
SetStreamQuantity gets a reference to the given int64 and assigns it to the StreamQuantity field.
func (*MsgSwap) SetTargetAsset ¶
SetTargetAsset sets field value
func (*MsgSwap) SetTradeTarget ¶
SetTradeTarget 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 ¶
func (a *NetworkApiService) BanExecute(r ApiBanRequest) (*BanResponse, *http.Response, error)
Execute executes the request
@return BanResponse
func (*NetworkApiService) Constants ¶
func (a *NetworkApiService) Constants(ctx context.Context) ApiConstantsRequest
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 ¶
func (a *NetworkApiService) ConstantsExecute(r ApiConstantsRequest) (*ConstantsResponse, *http.Response, error)
Execute executes the request
@return ConstantsResponse
func (*NetworkApiService) InboundAddresses ¶
func (a *NetworkApiService) InboundAddresses(ctx context.Context) ApiInboundAddressesRequest
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 ¶
func (a *NetworkApiService) Lastblock(ctx context.Context) ApiLastblockRequest
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 ¶
func (a *NetworkApiService) Network(ctx context.Context) ApiNetworkRequest
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 ¶
func (a *NetworkApiService) NetworkExecute(r ApiNetworkRequest) (*NetworkResponse, *http.Response, error)
Execute executes the request
@return NetworkResponse
func (*NetworkApiService) OutboundFeeAsset ¶
func (a *NetworkApiService) OutboundFeeAsset(ctx context.Context, asset string) ApiOutboundFeeAssetRequest
OutboundFeeAsset Method for OutboundFeeAsset
Returns the outbound fee information for the provided asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiOutboundFeeAssetRequest
func (*NetworkApiService) OutboundFeeAssetExecute ¶
func (a *NetworkApiService) OutboundFeeAssetExecute(r ApiOutboundFeeAssetRequest) ([]OutboundFee, *http.Response, error)
Execute executes the request
@return []OutboundFee
func (*NetworkApiService) OutboundFees ¶
func (a *NetworkApiService) OutboundFees(ctx context.Context) ApiOutboundFeesRequest
OutboundFees Method for OutboundFees
Returns the last block information for all chains.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiOutboundFeesRequest
func (*NetworkApiService) OutboundFeesExecute ¶
func (a *NetworkApiService) OutboundFeesExecute(r ApiOutboundFeesRequest) ([]OutboundFee, *http.Response, error)
Execute executes the request
@return []OutboundFee
func (*NetworkApiService) Ragnarok ¶
func (a *NetworkApiService) Ragnarok(ctx context.Context) ApiRagnarokRequest
Ragnarok Method for Ragnarok
Returns a boolean indicating whether the chain is in ragnarok.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRagnarokRequest
func (*NetworkApiService) RagnarokExecute ¶
func (a *NetworkApiService) RagnarokExecute(r ApiRagnarokRequest) (bool, *http.Response, error)
Execute executes the request
@return bool
func (*NetworkApiService) UpgradeProposal ¶
func (a *NetworkApiService) UpgradeProposal(ctx context.Context, name string) ApiUpgradeProposalRequest
UpgradeProposal Method for UpgradeProposal
Returns the upgrade proposal for the provided name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiUpgradeProposalRequest
func (*NetworkApiService) UpgradeProposalExecute ¶
func (a *NetworkApiService) UpgradeProposalExecute(r ApiUpgradeProposalRequest) (*UpgradeProposal, *http.Response, error)
Execute executes the request
@return UpgradeProposal
func (*NetworkApiService) UpgradeProposals ¶
func (a *NetworkApiService) UpgradeProposals(ctx context.Context) ApiUpgradeProposalsRequest
UpgradeProposals Method for UpgradeProposals
Returns the current upgrade proposals.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpgradeProposalsRequest
func (*NetworkApiService) UpgradeProposalsExecute ¶
func (a *NetworkApiService) UpgradeProposalsExecute(r ApiUpgradeProposalsRequest) ([]UpgradeProposal, *http.Response, error)
Execute executes the request
@return []UpgradeProposal
func (*NetworkApiService) UpgradeVotes ¶
func (a *NetworkApiService) UpgradeVotes(ctx context.Context, name string) ApiUpgradeVotesRequest
UpgradeVotes Method for UpgradeVotes
Returns the upgrade votes for the provided name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiUpgradeVotesRequest
func (*NetworkApiService) UpgradeVotesExecute ¶
func (a *NetworkApiService) UpgradeVotesExecute(r ApiUpgradeVotesRequest) ([]UpgradeVote, *http.Response, error)
Execute executes the request
@return []UpgradeVote
func (*NetworkApiService) Version ¶
func (a *NetworkApiService) Version(ctx context.Context) ApiVersionRequest
Version Method for Version
Returns the network's current THORNode version, the network's next THORNode version, and the querier's THORNode version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVersionRequest
func (*NetworkApiService) VersionExecute ¶
func (a *NetworkApiService) VersionExecute(r ApiVersionRequest) (*VersionResponse, *http.Response, error)
Execute executes the request
@return VersionResponse
type NetworkResponse ¶
type NetworkResponse struct { // total amount of RUNE awarded to node operators BondRewardRune string `json:"bond_reward_rune"` // total bonded RUNE TotalBondUnits string `json:"total_bond_units"` // effective security bond used to determine maximum pooled RUNE EffectiveSecurityBond string `json:"effective_security_bond"` // total reserve RUNE TotalReserve string `json:"total_reserve"` // Returns true if there exist RetiringVaults which have not finished migrating funds to new ActiveVaults VaultsMigrating bool `json:"vaults_migrating"` // Sum of the gas the network has spent to send outbounds GasSpentRune string `json:"gas_spent_rune"` // Sum of the gas withheld from users to cover outbound gas GasWithheldRune string `json:"gas_withheld_rune"` // Current outbound fee multiplier, in basis points OutboundFeeMultiplier *string `json:"outbound_fee_multiplier,omitempty"` // the outbound transaction fee in rune, converted from the NativeOutboundFeeUSD mimir (after USD fees are enabled) NativeOutboundFeeRune string `json:"native_outbound_fee_rune"` // the native transaction fee in rune, converted from the NativeTransactionFeeUSD mimir (after USD fees are enabled) NativeTxFeeRune string `json:"native_tx_fee_rune"` // the thorname register fee in rune, converted from the TNSRegisterFeeUSD mimir (after USD fees are enabled) TnsRegisterFeeRune string `json:"tns_register_fee_rune"` // the thorname fee per block in rune, converted from the TNSFeePerBlockUSD mimir (after USD fees are enabled) TnsFeePerBlockRune string `json:"tns_fee_per_block_rune"` // the rune price in tor RunePriceInTor string `json:"rune_price_in_tor"` // the tor price in rune TorPriceInRune string `json:"tor_price_in_rune"` }
NetworkResponse struct for NetworkResponse
func NewNetworkResponse ¶
func NewNetworkResponse(bondRewardRune string, totalBondUnits string, effectiveSecurityBond string, totalReserve string, vaultsMigrating bool, gasSpentRune string, gasWithheldRune string, nativeOutboundFeeRune string, nativeTxFeeRune string, tnsRegisterFeeRune string, tnsFeePerBlockRune string, runePriceInTor string, torPriceInRune string) *NetworkResponse
NewNetworkResponse instantiates a new NetworkResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkResponseWithDefaults ¶
func NewNetworkResponseWithDefaults() *NetworkResponse
NewNetworkResponseWithDefaults instantiates a new NetworkResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetworkResponse) GetBondRewardRune ¶
func (o *NetworkResponse) GetBondRewardRune() string
GetBondRewardRune returns the BondRewardRune field value
func (*NetworkResponse) GetBondRewardRuneOk ¶
func (o *NetworkResponse) GetBondRewardRuneOk() (*string, bool)
GetBondRewardRuneOk returns a tuple with the BondRewardRune field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetEffectiveSecurityBond ¶
func (o *NetworkResponse) GetEffectiveSecurityBond() string
GetEffectiveSecurityBond returns the EffectiveSecurityBond field value
func (*NetworkResponse) GetEffectiveSecurityBondOk ¶
func (o *NetworkResponse) GetEffectiveSecurityBondOk() (*string, bool)
GetEffectiveSecurityBondOk returns a tuple with the EffectiveSecurityBond field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetGasSpentRune ¶
func (o *NetworkResponse) GetGasSpentRune() string
GetGasSpentRune returns the GasSpentRune field value
func (*NetworkResponse) GetGasSpentRuneOk ¶
func (o *NetworkResponse) GetGasSpentRuneOk() (*string, bool)
GetGasSpentRuneOk returns a tuple with the GasSpentRune field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetGasWithheldRune ¶
func (o *NetworkResponse) GetGasWithheldRune() string
GetGasWithheldRune returns the GasWithheldRune field value
func (*NetworkResponse) GetGasWithheldRuneOk ¶
func (o *NetworkResponse) GetGasWithheldRuneOk() (*string, bool)
GetGasWithheldRuneOk returns a tuple with the GasWithheldRune field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetNativeOutboundFeeRune ¶
func (o *NetworkResponse) GetNativeOutboundFeeRune() string
GetNativeOutboundFeeRune returns the NativeOutboundFeeRune field value
func (*NetworkResponse) GetNativeOutboundFeeRuneOk ¶
func (o *NetworkResponse) GetNativeOutboundFeeRuneOk() (*string, bool)
GetNativeOutboundFeeRuneOk returns a tuple with the NativeOutboundFeeRune field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetNativeTxFeeRune ¶
func (o *NetworkResponse) GetNativeTxFeeRune() string
GetNativeTxFeeRune returns the NativeTxFeeRune field value
func (*NetworkResponse) GetNativeTxFeeRuneOk ¶
func (o *NetworkResponse) GetNativeTxFeeRuneOk() (*string, bool)
GetNativeTxFeeRuneOk returns a tuple with the NativeTxFeeRune field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetOutboundFeeMultiplier ¶
func (o *NetworkResponse) GetOutboundFeeMultiplier() string
GetOutboundFeeMultiplier returns the OutboundFeeMultiplier field value if set, zero value otherwise.
func (*NetworkResponse) GetOutboundFeeMultiplierOk ¶
func (o *NetworkResponse) GetOutboundFeeMultiplierOk() (*string, bool)
GetOutboundFeeMultiplierOk returns a tuple with the OutboundFeeMultiplier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResponse) GetRunePriceInTor ¶
func (o *NetworkResponse) GetRunePriceInTor() string
GetRunePriceInTor returns the RunePriceInTor field value
func (*NetworkResponse) GetRunePriceInTorOk ¶
func (o *NetworkResponse) GetRunePriceInTorOk() (*string, bool)
GetRunePriceInTorOk returns a tuple with the RunePriceInTor field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetTnsFeePerBlockRune ¶
func (o *NetworkResponse) GetTnsFeePerBlockRune() string
GetTnsFeePerBlockRune returns the TnsFeePerBlockRune field value
func (*NetworkResponse) GetTnsFeePerBlockRuneOk ¶
func (o *NetworkResponse) GetTnsFeePerBlockRuneOk() (*string, bool)
GetTnsFeePerBlockRuneOk returns a tuple with the TnsFeePerBlockRune field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetTnsRegisterFeeRune ¶
func (o *NetworkResponse) GetTnsRegisterFeeRune() string
GetTnsRegisterFeeRune returns the TnsRegisterFeeRune field value
func (*NetworkResponse) GetTnsRegisterFeeRuneOk ¶
func (o *NetworkResponse) GetTnsRegisterFeeRuneOk() (*string, bool)
GetTnsRegisterFeeRuneOk returns a tuple with the TnsRegisterFeeRune field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetTorPriceInRune ¶
func (o *NetworkResponse) GetTorPriceInRune() string
GetTorPriceInRune returns the TorPriceInRune field value
func (*NetworkResponse) GetTorPriceInRuneOk ¶
func (o *NetworkResponse) GetTorPriceInRuneOk() (*string, bool)
GetTorPriceInRuneOk returns a tuple with the TorPriceInRune field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetTotalBondUnits ¶
func (o *NetworkResponse) GetTotalBondUnits() string
GetTotalBondUnits returns the TotalBondUnits field value
func (*NetworkResponse) GetTotalBondUnitsOk ¶
func (o *NetworkResponse) GetTotalBondUnitsOk() (*string, bool)
GetTotalBondUnitsOk returns a tuple with the TotalBondUnits field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetTotalReserve ¶
func (o *NetworkResponse) GetTotalReserve() string
GetTotalReserve returns the TotalReserve field value
func (*NetworkResponse) GetTotalReserveOk ¶
func (o *NetworkResponse) GetTotalReserveOk() (*string, bool)
GetTotalReserveOk returns a tuple with the TotalReserve field value and a boolean to check if the value has been set.
func (*NetworkResponse) GetVaultsMigrating ¶
func (o *NetworkResponse) GetVaultsMigrating() bool
GetVaultsMigrating returns the VaultsMigrating field value
func (*NetworkResponse) GetVaultsMigratingOk ¶
func (o *NetworkResponse) GetVaultsMigratingOk() (*bool, bool)
GetVaultsMigratingOk returns a tuple with the VaultsMigrating field value and a boolean to check if the value has been set.
func (*NetworkResponse) HasOutboundFeeMultiplier ¶
func (o *NetworkResponse) HasOutboundFeeMultiplier() bool
HasOutboundFeeMultiplier returns a boolean if a field has been set.
func (NetworkResponse) MarshalJSON_deprecated ¶
func (o NetworkResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NetworkResponse) SetBondRewardRune ¶
func (o *NetworkResponse) SetBondRewardRune(v string)
SetBondRewardRune sets field value
func (*NetworkResponse) SetEffectiveSecurityBond ¶
func (o *NetworkResponse) SetEffectiveSecurityBond(v string)
SetEffectiveSecurityBond sets field value
func (*NetworkResponse) SetGasSpentRune ¶
func (o *NetworkResponse) SetGasSpentRune(v string)
SetGasSpentRune sets field value
func (*NetworkResponse) SetGasWithheldRune ¶
func (o *NetworkResponse) SetGasWithheldRune(v string)
SetGasWithheldRune sets field value
func (*NetworkResponse) SetNativeOutboundFeeRune ¶
func (o *NetworkResponse) SetNativeOutboundFeeRune(v string)
SetNativeOutboundFeeRune sets field value
func (*NetworkResponse) SetNativeTxFeeRune ¶
func (o *NetworkResponse) SetNativeTxFeeRune(v string)
SetNativeTxFeeRune sets field value
func (*NetworkResponse) SetOutboundFeeMultiplier ¶
func (o *NetworkResponse) SetOutboundFeeMultiplier(v string)
SetOutboundFeeMultiplier gets a reference to the given string and assigns it to the OutboundFeeMultiplier field.
func (*NetworkResponse) SetRunePriceInTor ¶
func (o *NetworkResponse) SetRunePriceInTor(v string)
SetRunePriceInTor sets field value
func (*NetworkResponse) SetTnsFeePerBlockRune ¶
func (o *NetworkResponse) SetTnsFeePerBlockRune(v string)
SetTnsFeePerBlockRune sets field value
func (*NetworkResponse) SetTnsRegisterFeeRune ¶
func (o *NetworkResponse) SetTnsRegisterFeeRune(v string)
SetTnsRegisterFeeRune sets field value
func (*NetworkResponse) SetTorPriceInRune ¶
func (o *NetworkResponse) SetTorPriceInRune(v string)
SetTorPriceInRune sets field value
func (*NetworkResponse) SetTotalBondUnits ¶
func (o *NetworkResponse) SetTotalBondUnits(v string)
SetTotalBondUnits sets field value
func (*NetworkResponse) SetTotalReserve ¶
func (o *NetworkResponse) SetTotalReserve(v string)
SetTotalReserve sets field value
func (*NetworkResponse) SetVaultsMigrating ¶
func (o *NetworkResponse) SetVaultsMigrating(v bool)
SetVaultsMigrating sets field value
type Node ¶
type Node struct { NodeAddress string `json:"node_address"` Status string `json:"status"` PubKeySet NodePubKeySet `json:"pub_key_set"` // the consensus pub key for the node ValidatorConsPubKey string `json:"validator_cons_pub_key"` // the P2PID (:6040/p2pid endpoint) of the node PeerId string `json:"peer_id"` // the block height at which the node became active ActiveBlockHeight int64 `json:"active_block_height"` // the block height of the current provided information for the node StatusSince int64 `json:"status_since"` NodeOperatorAddress string `json:"node_operator_address"` // current node bond TotalBond string `json:"total_bond"` BondProviders NodeBondProviders `json:"bond_providers"` // the set of vault public keys of which the node is a member SignerMembership []string `json:"signer_membership"` RequestedToLeave bool `json:"requested_to_leave"` // indicates whether the node has been forced to leave by the network, typically via ban ForcedToLeave bool `json:"forced_to_leave"` LeaveHeight int64 `json:"leave_height"` IpAddress string `json:"ip_address"` // the currently set version of the node Version string `json:"version"` // the accumulated slash points, reset at churn but excessive slash points may carry over SlashPoints int64 `json:"slash_points"` Jail NodeJail `json:"jail"` CurrentAward string `json:"current_award"` // the last observed heights for all chain by the node ObserveChains []ChainHeight `json:"observe_chains"` PreflightStatus NodePreflightStatus `json:"preflight_status"` }
Node struct for Node
func NewNode ¶
func NewNode(nodeAddress string, status string, pubKeySet NodePubKeySet, validatorConsPubKey string, peerId string, activeBlockHeight int64, statusSince int64, nodeOperatorAddress string, totalBond string, bondProviders NodeBondProviders, signerMembership []string, requestedToLeave bool, forcedToLeave bool, leaveHeight int64, ipAddress string, version string, slashPoints int64, jail NodeJail, currentAward string, observeChains []ChainHeight, preflightStatus NodePreflightStatus) *Node
NewNode instantiates a new Node object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNodeWithDefaults ¶
func NewNodeWithDefaults() *Node
NewNodeWithDefaults instantiates a new Node object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Node) GetActiveBlockHeight ¶
GetActiveBlockHeight returns the ActiveBlockHeight field value
func (*Node) GetActiveBlockHeightOk ¶
GetActiveBlockHeightOk returns a tuple with the ActiveBlockHeight field value and a boolean to check if the value has been set.
func (*Node) GetBondProviders ¶
func (o *Node) GetBondProviders() NodeBondProviders
GetBondProviders returns the BondProviders field value
func (*Node) GetBondProvidersOk ¶
func (o *Node) GetBondProvidersOk() (*NodeBondProviders, bool)
GetBondProvidersOk returns a tuple with the BondProviders field value and a boolean to check if the value has been set.
func (*Node) GetCurrentAward ¶
GetCurrentAward returns the CurrentAward field value
func (*Node) GetCurrentAwardOk ¶
GetCurrentAwardOk returns a tuple with the CurrentAward field value and a boolean to check if the value has been set.
func (*Node) GetForcedToLeave ¶
GetForcedToLeave returns the ForcedToLeave field value
func (*Node) GetForcedToLeaveOk ¶
GetForcedToLeaveOk returns a tuple with the ForcedToLeave field value and a boolean to check if the value has been set.
func (*Node) GetIpAddress ¶
GetIpAddress returns the IpAddress field value
func (*Node) GetIpAddressOk ¶
GetIpAddressOk returns a tuple with the IpAddress field value and a boolean to check if the value has been set.
func (*Node) GetJailOk ¶
GetJailOk returns a tuple with the Jail field value and a boolean to check if the value has been set.
func (*Node) GetLeaveHeight ¶
GetLeaveHeight returns the LeaveHeight field value
func (*Node) GetLeaveHeightOk ¶
GetLeaveHeightOk returns a tuple with the LeaveHeight field value and a boolean to check if the value has been set.
func (*Node) GetNodeAddress ¶
GetNodeAddress returns the NodeAddress field value
func (*Node) GetNodeAddressOk ¶
GetNodeAddressOk returns a tuple with the NodeAddress field value and a boolean to check if the value has been set.
func (*Node) GetNodeOperatorAddress ¶
GetNodeOperatorAddress returns the NodeOperatorAddress field value
func (*Node) GetNodeOperatorAddressOk ¶
GetNodeOperatorAddressOk returns a tuple with the NodeOperatorAddress field value and a boolean to check if the value has been set.
func (*Node) GetObserveChains ¶
func (o *Node) GetObserveChains() []ChainHeight
GetObserveChains returns the ObserveChains field value
func (*Node) GetObserveChainsOk ¶
func (o *Node) GetObserveChainsOk() ([]ChainHeight, bool)
GetObserveChainsOk returns a tuple with the ObserveChains field value and a boolean to check if the value has been set.
func (*Node) GetPeerIdOk ¶
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 ¶
GetRequestedToLeave returns the RequestedToLeave field value
func (*Node) GetRequestedToLeaveOk ¶
GetRequestedToLeaveOk returns a tuple with the RequestedToLeave field value and a boolean to check if the value has been set.
func (*Node) GetSignerMembership ¶
GetSignerMembership returns the SignerMembership field value
func (*Node) GetSignerMembershipOk ¶
GetSignerMembershipOk returns a tuple with the SignerMembership field value and a boolean to check if the value has been set.
func (*Node) GetSlashPoints ¶
GetSlashPoints returns the SlashPoints field value
func (*Node) GetSlashPointsOk ¶
GetSlashPointsOk returns a tuple with the SlashPoints field value and a boolean to check if the value has been set.
func (*Node) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Node) GetStatusSince ¶
GetStatusSince returns the StatusSince field value
func (*Node) GetStatusSinceOk ¶
GetStatusSinceOk returns a tuple with the StatusSince field value and a boolean to check if the value has been set.
func (*Node) GetTotalBond ¶
GetTotalBond returns the TotalBond field value
func (*Node) GetTotalBondOk ¶
GetTotalBondOk returns a tuple with the TotalBond field value and a boolean to check if the value has been set.
func (*Node) GetValidatorConsPubKey ¶
GetValidatorConsPubKey returns the ValidatorConsPubKey field value
func (*Node) GetValidatorConsPubKeyOk ¶
GetValidatorConsPubKeyOk returns a tuple with the ValidatorConsPubKey field value and a boolean to check if the value has been set.
func (*Node) GetVersion ¶
GetVersion returns the Version field value
func (*Node) GetVersionOk ¶
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 (*Node) SetActiveBlockHeight ¶
SetActiveBlockHeight sets field value
func (*Node) SetBondProviders ¶
func (o *Node) SetBondProviders(v NodeBondProviders)
SetBondProviders sets field value
func (*Node) SetCurrentAward ¶
SetCurrentAward sets field value
func (*Node) SetForcedToLeave ¶
SetForcedToLeave sets field value
func (*Node) SetLeaveHeight ¶
SetLeaveHeight sets field value
func (*Node) SetNodeAddress ¶
SetNodeAddress sets field value
func (*Node) SetNodeOperatorAddress ¶
SetNodeOperatorAddress sets field value
func (*Node) SetObserveChains ¶
func (o *Node) SetObserveChains(v []ChainHeight)
SetObserveChains 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 ¶
SetRequestedToLeave sets field value
func (*Node) SetSignerMembership ¶
SetSignerMembership sets field value
func (*Node) SetSlashPoints ¶
SetSlashPoints sets field value
func (*Node) SetStatusSince ¶
SetStatusSince sets field value
func (*Node) SetValidatorConsPubKey ¶
SetValidatorConsPubKey sets field value
type NodeBondProvider ¶
type NodeBondProvider struct { BondAddress *string `json:"bond_address,omitempty"` Bond *string `json:"bond,omitempty"` }
NodeBondProvider struct for NodeBondProvider
func NewNodeBondProvider ¶
func NewNodeBondProvider() *NodeBondProvider
NewNodeBondProvider instantiates a new NodeBondProvider object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNodeBondProviderWithDefaults ¶
func NewNodeBondProviderWithDefaults() *NodeBondProvider
NewNodeBondProviderWithDefaults instantiates a new NodeBondProvider object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NodeBondProvider) GetBond ¶
func (o *NodeBondProvider) GetBond() string
GetBond returns the Bond field value if set, zero value otherwise.
func (*NodeBondProvider) GetBondAddress ¶
func (o *NodeBondProvider) GetBondAddress() string
GetBondAddress returns the BondAddress field value if set, zero value otherwise.
func (*NodeBondProvider) GetBondAddressOk ¶
func (o *NodeBondProvider) GetBondAddressOk() (*string, bool)
GetBondAddressOk returns a tuple with the BondAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NodeBondProvider) GetBondOk ¶
func (o *NodeBondProvider) GetBondOk() (*string, bool)
GetBondOk returns a tuple with the Bond field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NodeBondProvider) HasBond ¶
func (o *NodeBondProvider) HasBond() bool
HasBond returns a boolean if a field has been set.
func (*NodeBondProvider) HasBondAddress ¶
func (o *NodeBondProvider) HasBondAddress() bool
HasBondAddress returns a boolean if a field has been set.
func (NodeBondProvider) MarshalJSON_deprecated ¶
func (o NodeBondProvider) MarshalJSON_deprecated() ([]byte, error)
func (*NodeBondProvider) SetBond ¶
func (o *NodeBondProvider) SetBond(v string)
SetBond gets a reference to the given string and assigns it to the Bond field.
func (*NodeBondProvider) SetBondAddress ¶
func (o *NodeBondProvider) SetBondAddress(v string)
SetBondAddress gets a reference to the given string and assigns it to the BondAddress field.
type NodeBondProviders ¶
type NodeBondProviders struct { // node operator fee in basis points NodeOperatorFee string `json:"node_operator_fee"` // all the bond providers for the node Providers []NodeBondProvider `json:"providers"` }
NodeBondProviders struct for NodeBondProviders
func NewNodeBondProviders ¶
func NewNodeBondProviders(nodeOperatorFee string, providers []NodeBondProvider) *NodeBondProviders
NewNodeBondProviders instantiates a new NodeBondProviders object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNodeBondProvidersWithDefaults ¶
func NewNodeBondProvidersWithDefaults() *NodeBondProviders
NewNodeBondProvidersWithDefaults instantiates a new NodeBondProviders object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NodeBondProviders) GetNodeOperatorFee ¶
func (o *NodeBondProviders) GetNodeOperatorFee() string
GetNodeOperatorFee returns the NodeOperatorFee field value
func (*NodeBondProviders) GetNodeOperatorFeeOk ¶
func (o *NodeBondProviders) GetNodeOperatorFeeOk() (*string, bool)
GetNodeOperatorFeeOk returns a tuple with the NodeOperatorFee field value and a boolean to check if the value has been set.
func (*NodeBondProviders) GetProviders ¶
func (o *NodeBondProviders) GetProviders() []NodeBondProvider
GetProviders returns the Providers field value
func (*NodeBondProviders) GetProvidersOk ¶
func (o *NodeBondProviders) GetProvidersOk() ([]NodeBondProvider, bool)
GetProvidersOk returns a tuple with the Providers field value and a boolean to check if the value has been set.
func (NodeBondProviders) MarshalJSON_deprecated ¶
func (o NodeBondProviders) MarshalJSON_deprecated() ([]byte, error)
func (*NodeBondProviders) SetNodeOperatorFee ¶
func (o *NodeBondProviders) SetNodeOperatorFee(v string)
SetNodeOperatorFee sets field value
func (*NodeBondProviders) SetProviders ¶
func (o *NodeBondProviders) SetProviders(v []NodeBondProvider)
SetProviders sets field value
type NodeJail ¶
type NodeJail struct { ReleaseHeight *int64 `json:"release_height,omitempty"` Reason *string `json:"reason,omitempty"` }
NodeJail struct for NodeJail
func NewNodeJail ¶
func NewNodeJail() *NodeJail
NewNodeJail instantiates a new NodeJail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNodeJailWithDefaults ¶
func NewNodeJailWithDefaults() *NodeJail
NewNodeJailWithDefaults instantiates a new NodeJail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NodeJail) GetReasonOk ¶
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 ¶
GetReleaseHeight returns the ReleaseHeight field value if set, zero value otherwise.
func (*NodeJail) GetReleaseHeightOk ¶
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) HasReleaseHeight ¶
HasReleaseHeight returns a boolean if a field has been set.
func (NodeJail) MarshalJSON_deprecated ¶
func (*NodeJail) SetReason ¶
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*NodeJail) SetReleaseHeight ¶
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 ¶
func (a *NodesApiService) Nodes(ctx context.Context) ApiNodesRequest
Nodes Method for Nodes
Returns node information for all registered validators.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiNodesRequest
func (*NodesApiService) NodesExecute ¶
func (a *NodesApiService) NodesExecute(r ApiNodesRequest) ([]Node, *http.Response, error)
Execute executes the request
@return []Node
type NullableAccount ¶
type NullableAccount struct {
// contains filtered or unexported fields
}
func NewNullableAccount ¶
func NewNullableAccount(val *Account) *NullableAccount
func (NullableAccount) Get ¶
func (v NullableAccount) Get() *Account
func (NullableAccount) IsSet ¶
func (v NullableAccount) IsSet() bool
func (NullableAccount) MarshalJSON_deprecated ¶
func (v NullableAccount) MarshalJSON_deprecated() ([]byte, error)
func (*NullableAccount) Set ¶
func (v *NullableAccount) Set(val *Account)
func (*NullableAccount) UnmarshalJSON ¶
func (v *NullableAccount) UnmarshalJSON(src []byte) error
func (*NullableAccount) Unset ¶
func (v *NullableAccount) Unset()
type NullableAccountResponse ¶
type NullableAccountResponse struct {
// contains filtered or unexported fields
}
func NewNullableAccountResponse ¶
func NewNullableAccountResponse(val *AccountResponse) *NullableAccountResponse
func (NullableAccountResponse) Get ¶
func (v NullableAccountResponse) Get() *AccountResponse
func (NullableAccountResponse) IsSet ¶
func (v NullableAccountResponse) IsSet() bool
func (NullableAccountResponse) MarshalJSON_deprecated ¶
func (v NullableAccountResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableAccountResponse) Set ¶
func (v *NullableAccountResponse) Set(val *AccountResponse)
func (*NullableAccountResponse) UnmarshalJSON ¶
func (v *NullableAccountResponse) UnmarshalJSON(src []byte) error
func (*NullableAccountResponse) Unset ¶
func (v *NullableAccountResponse) Unset()
type NullableAccountResponseResult ¶
type NullableAccountResponseResult struct {
// contains filtered or unexported fields
}
func NewNullableAccountResponseResult ¶
func NewNullableAccountResponseResult(val *AccountResponseResult) *NullableAccountResponseResult
func (NullableAccountResponseResult) Get ¶
func (v NullableAccountResponseResult) Get() *AccountResponseResult
func (NullableAccountResponseResult) IsSet ¶
func (v NullableAccountResponseResult) IsSet() bool
func (NullableAccountResponseResult) MarshalJSON_deprecated ¶
func (v NullableAccountResponseResult) MarshalJSON_deprecated() ([]byte, error)
func (*NullableAccountResponseResult) Set ¶
func (v *NullableAccountResponseResult) Set(val *AccountResponseResult)
func (*NullableAccountResponseResult) UnmarshalJSON ¶
func (v *NullableAccountResponseResult) UnmarshalJSON(src []byte) error
func (*NullableAccountResponseResult) Unset ¶
func (v *NullableAccountResponseResult) Unset()
type NullableAmount ¶
type NullableAmount struct {
// contains filtered or unexported fields
}
func NewNullableAmount ¶
func NewNullableAmount(val *Amount) *NullableAmount
func (NullableAmount) Get ¶
func (v NullableAmount) Get() *Amount
func (NullableAmount) IsSet ¶
func (v NullableAmount) IsSet() bool
func (NullableAmount) MarshalJSON_deprecated ¶
func (v NullableAmount) MarshalJSON_deprecated() ([]byte, error)
func (*NullableAmount) Set ¶
func (v *NullableAmount) Set(val *Amount)
func (*NullableAmount) UnmarshalJSON ¶
func (v *NullableAmount) UnmarshalJSON(src []byte) error
func (*NullableAmount) Unset ¶
func (v *NullableAmount) Unset()
type NullableBalancesResponse ¶
type NullableBalancesResponse struct {
// contains filtered or unexported fields
}
func NewNullableBalancesResponse ¶
func NewNullableBalancesResponse(val *BalancesResponse) *NullableBalancesResponse
func (NullableBalancesResponse) Get ¶
func (v NullableBalancesResponse) Get() *BalancesResponse
func (NullableBalancesResponse) IsSet ¶
func (v NullableBalancesResponse) IsSet() bool
func (NullableBalancesResponse) MarshalJSON_deprecated ¶
func (v NullableBalancesResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableBalancesResponse) Set ¶
func (v *NullableBalancesResponse) Set(val *BalancesResponse)
func (*NullableBalancesResponse) UnmarshalJSON ¶
func (v *NullableBalancesResponse) UnmarshalJSON(src []byte) error
func (*NullableBalancesResponse) Unset ¶
func (v *NullableBalancesResponse) Unset()
type NullableBanResponse ¶
type NullableBanResponse struct {
// contains filtered or unexported fields
}
func NewNullableBanResponse ¶
func NewNullableBanResponse(val *BanResponse) *NullableBanResponse
func (NullableBanResponse) Get ¶
func (v NullableBanResponse) Get() *BanResponse
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 (v NullableBaseQuoteResponse) Get() *BaseQuoteResponse
func (NullableBaseQuoteResponse) IsSet ¶
func (v NullableBaseQuoteResponse) IsSet() bool
func (NullableBaseQuoteResponse) MarshalJSON_deprecated ¶
func (v NullableBaseQuoteResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableBaseQuoteResponse) Set ¶
func (v *NullableBaseQuoteResponse) Set(val *BaseQuoteResponse)
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 (v NullableBlockResponse) Get() *BlockResponse
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 (v NullableBlockResponseHeader) Get() *BlockResponseHeader
func (NullableBlockResponseHeader) IsSet ¶
func (v NullableBlockResponseHeader) IsSet() bool
func (NullableBlockResponseHeader) MarshalJSON_deprecated ¶
func (v NullableBlockResponseHeader) MarshalJSON_deprecated() ([]byte, error)
func (*NullableBlockResponseHeader) Set ¶
func (v *NullableBlockResponseHeader) Set(val *BlockResponseHeader)
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 NewNullableBlockResponseHeaderVersion ¶
func NewNullableBlockResponseHeaderVersion(val *BlockResponseHeaderVersion) *NullableBlockResponseHeaderVersion
func (NullableBlockResponseHeaderVersion) Get ¶
func (v NullableBlockResponseHeaderVersion) Get() *BlockResponseHeaderVersion
func (NullableBlockResponseHeaderVersion) IsSet ¶
func (v NullableBlockResponseHeaderVersion) IsSet() bool
func (NullableBlockResponseHeaderVersion) MarshalJSON_deprecated ¶
func (v NullableBlockResponseHeaderVersion) MarshalJSON_deprecated() ([]byte, error)
func (*NullableBlockResponseHeaderVersion) Set ¶
func (v *NullableBlockResponseHeaderVersion) Set(val *BlockResponseHeaderVersion)
func (*NullableBlockResponseHeaderVersion) UnmarshalJSON ¶
func (v *NullableBlockResponseHeaderVersion) UnmarshalJSON(src []byte) error
func (*NullableBlockResponseHeaderVersion) Unset ¶
func (v *NullableBlockResponseHeaderVersion) Unset()
type NullableBlockResponseId ¶
type NullableBlockResponseId struct {
// contains filtered or unexported fields
}
func NewNullableBlockResponseId ¶
func NewNullableBlockResponseId(val *BlockResponseId) *NullableBlockResponseId
func (NullableBlockResponseId) Get ¶
func (v NullableBlockResponseId) Get() *BlockResponseId
func (NullableBlockResponseId) IsSet ¶
func (v NullableBlockResponseId) IsSet() bool
func (NullableBlockResponseId) MarshalJSON_deprecated ¶
func (v NullableBlockResponseId) MarshalJSON_deprecated() ([]byte, error)
func (*NullableBlockResponseId) Set ¶
func (v *NullableBlockResponseId) Set(val *BlockResponseId)
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 (v NullableBlockResponseIdParts) Get() *BlockResponseIdParts
func (NullableBlockResponseIdParts) IsSet ¶
func (v NullableBlockResponseIdParts) IsSet() bool
func (NullableBlockResponseIdParts) MarshalJSON_deprecated ¶
func (v NullableBlockResponseIdParts) MarshalJSON_deprecated() ([]byte, error)
func (*NullableBlockResponseIdParts) Set ¶
func (v *NullableBlockResponseIdParts) Set(val *BlockResponseIdParts)
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 (v NullableBlockTxResult) Get() *BlockTxResult
func (NullableBlockTxResult) IsSet ¶
func (v NullableBlockTxResult) IsSet() bool
func (NullableBlockTxResult) MarshalJSON_deprecated ¶
func (v NullableBlockTxResult) MarshalJSON_deprecated() ([]byte, error)
func (*NullableBlockTxResult) Set ¶
func (v *NullableBlockTxResult) Set(val *BlockTxResult)
func (*NullableBlockTxResult) UnmarshalJSON ¶
func (v *NullableBlockTxResult) UnmarshalJSON(src []byte) error
func (*NullableBlockTxResult) Unset ¶
func (v *NullableBlockTxResult) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBorrower ¶
type NullableBorrower struct {
// contains filtered or unexported fields
}
func NewNullableBorrower ¶
func NewNullableBorrower(val *Borrower) *NullableBorrower
func (NullableBorrower) Get ¶
func (v NullableBorrower) Get() *Borrower
func (NullableBorrower) IsSet ¶
func (v NullableBorrower) IsSet() bool
func (NullableBorrower) MarshalJSON_deprecated ¶
func (v NullableBorrower) MarshalJSON_deprecated() ([]byte, error)
func (*NullableBorrower) Set ¶
func (v *NullableBorrower) Set(val *Borrower)
func (*NullableBorrower) UnmarshalJSON ¶
func (v *NullableBorrower) UnmarshalJSON(src []byte) error
func (*NullableBorrower) Unset ¶
func (v *NullableBorrower) Unset()
type NullableChainHeight ¶
type NullableChainHeight struct {
// contains filtered or unexported fields
}
func NewNullableChainHeight ¶
func NewNullableChainHeight(val *ChainHeight) *NullableChainHeight
func (NullableChainHeight) Get ¶
func (v NullableChainHeight) Get() *ChainHeight
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 (v NullableConstantsResponse) Get() *ConstantsResponse
func (NullableConstantsResponse) IsSet ¶
func (v NullableConstantsResponse) IsSet() bool
func (NullableConstantsResponse) MarshalJSON_deprecated ¶
func (v NullableConstantsResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableConstantsResponse) Set ¶
func (v *NullableConstantsResponse) Set(val *ConstantsResponse)
func (*NullableConstantsResponse) UnmarshalJSON ¶
func (v *NullableConstantsResponse) UnmarshalJSON(src []byte) error
func (*NullableConstantsResponse) Unset ¶
func (v *NullableConstantsResponse) Unset()
type NullableDerivedPool ¶
type NullableDerivedPool struct {
// contains filtered or unexported fields
}
func NewNullableDerivedPool ¶
func NewNullableDerivedPool(val *DerivedPool) *NullableDerivedPool
func (NullableDerivedPool) Get ¶
func (v NullableDerivedPool) Get() *DerivedPool
func (NullableDerivedPool) IsSet ¶
func (v NullableDerivedPool) IsSet() bool
func (NullableDerivedPool) MarshalJSON_deprecated ¶
func (v NullableDerivedPool) MarshalJSON_deprecated() ([]byte, error)
func (*NullableDerivedPool) Set ¶
func (v *NullableDerivedPool) Set(val *DerivedPool)
func (*NullableDerivedPool) UnmarshalJSON ¶
func (v *NullableDerivedPool) UnmarshalJSON(src []byte) error
func (*NullableDerivedPool) Unset ¶
func (v *NullableDerivedPool) Unset()
type NullableExportResponse ¶
type NullableExportResponse struct {
// contains filtered or unexported fields
}
func NewNullableExportResponse ¶
func NewNullableExportResponse(val *ExportResponse) *NullableExportResponse
func (NullableExportResponse) Get ¶
func (v NullableExportResponse) Get() *ExportResponse
func (NullableExportResponse) IsSet ¶
func (v NullableExportResponse) IsSet() bool
func (NullableExportResponse) MarshalJSON_deprecated ¶
func (v NullableExportResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableExportResponse) Set ¶
func (v *NullableExportResponse) Set(val *ExportResponse)
func (*NullableExportResponse) UnmarshalJSON ¶
func (v *NullableExportResponse) UnmarshalJSON(src []byte) error
func (*NullableExportResponse) Unset ¶
func (v *NullableExportResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInboundAddress ¶
type NullableInboundAddress struct {
// contains filtered or unexported fields
}
func NewNullableInboundAddress ¶
func NewNullableInboundAddress(val *InboundAddress) *NullableInboundAddress
func (NullableInboundAddress) Get ¶
func (v NullableInboundAddress) Get() *InboundAddress
func (NullableInboundAddress) IsSet ¶
func (v NullableInboundAddress) IsSet() bool
func (NullableInboundAddress) MarshalJSON_deprecated ¶
func (v NullableInboundAddress) MarshalJSON_deprecated() ([]byte, error)
func (*NullableInboundAddress) Set ¶
func (v *NullableInboundAddress) Set(val *InboundAddress)
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 NewNullableInboundConfirmationCountedStage ¶
func NewNullableInboundConfirmationCountedStage(val *InboundConfirmationCountedStage) *NullableInboundConfirmationCountedStage
func (NullableInboundConfirmationCountedStage) IsSet ¶
func (v NullableInboundConfirmationCountedStage) IsSet() bool
func (NullableInboundConfirmationCountedStage) MarshalJSON_deprecated ¶
func (v NullableInboundConfirmationCountedStage) MarshalJSON_deprecated() ([]byte, error)
func (*NullableInboundConfirmationCountedStage) Set ¶
func (v *NullableInboundConfirmationCountedStage) Set(val *InboundConfirmationCountedStage)
func (*NullableInboundConfirmationCountedStage) UnmarshalJSON ¶
func (v *NullableInboundConfirmationCountedStage) UnmarshalJSON(src []byte) error
func (*NullableInboundConfirmationCountedStage) Unset ¶
func (v *NullableInboundConfirmationCountedStage) Unset()
type NullableInboundFinalisedStage ¶
type NullableInboundFinalisedStage struct {
// contains filtered or unexported fields
}
func NewNullableInboundFinalisedStage ¶
func NewNullableInboundFinalisedStage(val *InboundFinalisedStage) *NullableInboundFinalisedStage
func (NullableInboundFinalisedStage) Get ¶
func (v NullableInboundFinalisedStage) Get() *InboundFinalisedStage
func (NullableInboundFinalisedStage) IsSet ¶
func (v NullableInboundFinalisedStage) IsSet() bool
func (NullableInboundFinalisedStage) MarshalJSON_deprecated ¶
func (v NullableInboundFinalisedStage) MarshalJSON_deprecated() ([]byte, error)
func (*NullableInboundFinalisedStage) Set ¶
func (v *NullableInboundFinalisedStage) Set(val *InboundFinalisedStage)
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 (v NullableInboundObservedStage) Get() *InboundObservedStage
func (NullableInboundObservedStage) IsSet ¶
func (v NullableInboundObservedStage) IsSet() bool
func (NullableInboundObservedStage) MarshalJSON_deprecated ¶
func (v NullableInboundObservedStage) MarshalJSON_deprecated() ([]byte, error)
func (*NullableInboundObservedStage) Set ¶
func (v *NullableInboundObservedStage) Set(val *InboundObservedStage)
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 (v NullableInvariantResponse) Get() *InvariantResponse
func (NullableInvariantResponse) IsSet ¶
func (v NullableInvariantResponse) IsSet() bool
func (NullableInvariantResponse) MarshalJSON_deprecated ¶
func (v NullableInvariantResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableInvariantResponse) Set ¶
func (v *NullableInvariantResponse) Set(val *InvariantResponse)
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 (v NullableInvariantsResponse) Get() *InvariantsResponse
func (NullableInvariantsResponse) IsSet ¶
func (v NullableInvariantsResponse) IsSet() bool
func (NullableInvariantsResponse) MarshalJSON_deprecated ¶
func (v NullableInvariantsResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableInvariantsResponse) Set ¶
func (v *NullableInvariantsResponse) Set(val *InvariantsResponse)
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 (v NullableKeygenBlock) Get() *KeygenBlock
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 (v NullableKeygenMetric) Get() *KeygenMetric
func (NullableKeygenMetric) IsSet ¶
func (v NullableKeygenMetric) IsSet() bool
func (NullableKeygenMetric) MarshalJSON_deprecated ¶
func (v NullableKeygenMetric) MarshalJSON_deprecated() ([]byte, error)
func (*NullableKeygenMetric) Set ¶
func (v *NullableKeygenMetric) Set(val *KeygenMetric)
func (*NullableKeygenMetric) UnmarshalJSON ¶
func (v *NullableKeygenMetric) UnmarshalJSON(src []byte) error
func (*NullableKeygenMetric) Unset ¶
func (v *NullableKeygenMetric) Unset()
type NullableKeygenResponse ¶
type NullableKeygenResponse struct {
// contains filtered or unexported fields
}
func NewNullableKeygenResponse ¶
func NewNullableKeygenResponse(val *KeygenResponse) *NullableKeygenResponse
func (NullableKeygenResponse) Get ¶
func (v NullableKeygenResponse) Get() *KeygenResponse
func (NullableKeygenResponse) IsSet ¶
func (v NullableKeygenResponse) IsSet() bool
func (NullableKeygenResponse) MarshalJSON_deprecated ¶
func (v NullableKeygenResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableKeygenResponse) Set ¶
func (v *NullableKeygenResponse) Set(val *KeygenResponse)
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 (v NullableKeysignInfo) Get() *KeysignInfo
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 (v NullableKeysignMetrics) Get() *KeysignMetrics
func (NullableKeysignMetrics) IsSet ¶
func (v NullableKeysignMetrics) IsSet() bool
func (NullableKeysignMetrics) MarshalJSON_deprecated ¶
func (v NullableKeysignMetrics) MarshalJSON_deprecated() ([]byte, error)
func (*NullableKeysignMetrics) Set ¶
func (v *NullableKeysignMetrics) Set(val *KeysignMetrics)
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 (v NullableKeysignResponse) Get() *KeysignResponse
func (NullableKeysignResponse) IsSet ¶
func (v NullableKeysignResponse) IsSet() bool
func (NullableKeysignResponse) MarshalJSON_deprecated ¶
func (v NullableKeysignResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableKeysignResponse) Set ¶
func (v *NullableKeysignResponse) Set(val *KeysignResponse)
func (*NullableKeysignResponse) UnmarshalJSON ¶
func (v *NullableKeysignResponse) UnmarshalJSON(src []byte) error
func (*NullableKeysignResponse) Unset ¶
func (v *NullableKeysignResponse) Unset()
type NullableLastBlock ¶
type NullableLastBlock struct {
// contains filtered or unexported fields
}
func NewNullableLastBlock ¶
func NewNullableLastBlock(val *LastBlock) *NullableLastBlock
func (NullableLastBlock) Get ¶
func (v NullableLastBlock) Get() *LastBlock
func (NullableLastBlock) IsSet ¶
func (v NullableLastBlock) IsSet() bool
func (NullableLastBlock) MarshalJSON_deprecated ¶
func (v NullableLastBlock) MarshalJSON_deprecated() ([]byte, error)
func (*NullableLastBlock) Set ¶
func (v *NullableLastBlock) Set(val *LastBlock)
func (*NullableLastBlock) UnmarshalJSON ¶
func (v *NullableLastBlock) UnmarshalJSON(src []byte) error
func (*NullableLastBlock) Unset ¶
func (v *NullableLastBlock) Unset()
type NullableLiquidityProvider ¶
type NullableLiquidityProvider struct {
// contains filtered or unexported fields
}
func NewNullableLiquidityProvider ¶
func NewNullableLiquidityProvider(val *LiquidityProvider) *NullableLiquidityProvider
func (NullableLiquidityProvider) Get ¶
func (v NullableLiquidityProvider) Get() *LiquidityProvider
func (NullableLiquidityProvider) IsSet ¶
func (v NullableLiquidityProvider) IsSet() bool
func (NullableLiquidityProvider) MarshalJSON_deprecated ¶
func (v NullableLiquidityProvider) MarshalJSON_deprecated() ([]byte, error)
func (*NullableLiquidityProvider) Set ¶
func (v *NullableLiquidityProvider) Set(val *LiquidityProvider)
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 NewNullableLiquidityProviderSummary ¶
func NewNullableLiquidityProviderSummary(val *LiquidityProviderSummary) *NullableLiquidityProviderSummary
func (NullableLiquidityProviderSummary) Get ¶
func (v NullableLiquidityProviderSummary) Get() *LiquidityProviderSummary
func (NullableLiquidityProviderSummary) IsSet ¶
func (v NullableLiquidityProviderSummary) IsSet() bool
func (NullableLiquidityProviderSummary) MarshalJSON_deprecated ¶
func (v NullableLiquidityProviderSummary) MarshalJSON_deprecated() ([]byte, error)
func (*NullableLiquidityProviderSummary) Set ¶
func (v *NullableLiquidityProviderSummary) Set(val *LiquidityProviderSummary)
func (*NullableLiquidityProviderSummary) UnmarshalJSON ¶
func (v *NullableLiquidityProviderSummary) UnmarshalJSON(src []byte) error
func (*NullableLiquidityProviderSummary) Unset ¶
func (v *NullableLiquidityProviderSummary) Unset()
type NullableMetricsResponse ¶
type NullableMetricsResponse struct {
// contains filtered or unexported fields
}
func NewNullableMetricsResponse ¶
func NewNullableMetricsResponse(val *MetricsResponse) *NullableMetricsResponse
func (NullableMetricsResponse) Get ¶
func (v NullableMetricsResponse) Get() *MetricsResponse
func (NullableMetricsResponse) IsSet ¶
func (v NullableMetricsResponse) IsSet() bool
func (NullableMetricsResponse) MarshalJSON_deprecated ¶
func (v NullableMetricsResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableMetricsResponse) Set ¶
func (v *NullableMetricsResponse) Set(val *MetricsResponse)
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 (v NullableMimirNodesResponse) Get() *MimirNodesResponse
func (NullableMimirNodesResponse) IsSet ¶
func (v NullableMimirNodesResponse) IsSet() bool
func (NullableMimirNodesResponse) MarshalJSON_deprecated ¶
func (v NullableMimirNodesResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableMimirNodesResponse) Set ¶
func (v *NullableMimirNodesResponse) Set(val *MimirNodesResponse)
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 (v NullableNetworkResponse) Get() *NetworkResponse
func (NullableNetworkResponse) IsSet ¶
func (v NullableNetworkResponse) IsSet() bool
func (NullableNetworkResponse) MarshalJSON_deprecated ¶
func (v NullableNetworkResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableNetworkResponse) Set ¶
func (v *NullableNetworkResponse) Set(val *NetworkResponse)
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 (v NullableNodeBondProvider) Get() *NodeBondProvider
func (NullableNodeBondProvider) IsSet ¶
func (v NullableNodeBondProvider) IsSet() bool
func (NullableNodeBondProvider) MarshalJSON_deprecated ¶
func (v NullableNodeBondProvider) MarshalJSON_deprecated() ([]byte, error)
func (*NullableNodeBondProvider) Set ¶
func (v *NullableNodeBondProvider) Set(val *NodeBondProvider)
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 (v NullableNodeBondProviders) Get() *NodeBondProviders
func (NullableNodeBondProviders) IsSet ¶
func (v NullableNodeBondProviders) IsSet() bool
func (NullableNodeBondProviders) MarshalJSON_deprecated ¶
func (v NullableNodeBondProviders) MarshalJSON_deprecated() ([]byte, error)
func (*NullableNodeBondProviders) Set ¶
func (v *NullableNodeBondProviders) Set(val *NodeBondProviders)
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 (v NullableNodeKeygenMetric) Get() *NodeKeygenMetric
func (NullableNodeKeygenMetric) IsSet ¶
func (v NullableNodeKeygenMetric) IsSet() bool
func (NullableNodeKeygenMetric) MarshalJSON_deprecated ¶
func (v NullableNodeKeygenMetric) MarshalJSON_deprecated() ([]byte, error)
func (*NullableNodeKeygenMetric) Set ¶
func (v *NullableNodeKeygenMetric) Set(val *NodeKeygenMetric)
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 (v NullableNodePreflightStatus) Get() *NodePreflightStatus
func (NullableNodePreflightStatus) IsSet ¶
func (v NullableNodePreflightStatus) IsSet() bool
func (NullableNodePreflightStatus) MarshalJSON_deprecated ¶
func (v NullableNodePreflightStatus) MarshalJSON_deprecated() ([]byte, error)
func (*NullableNodePreflightStatus) Set ¶
func (v *NullableNodePreflightStatus) Set(val *NodePreflightStatus)
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 (v NullableNodePubKeySet) Get() *NodePubKeySet
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 (v NullableOutboundDelayStage) Get() *OutboundDelayStage
func (NullableOutboundDelayStage) IsSet ¶
func (v NullableOutboundDelayStage) IsSet() bool
func (NullableOutboundDelayStage) MarshalJSON_deprecated ¶
func (v NullableOutboundDelayStage) MarshalJSON_deprecated() ([]byte, error)
func (*NullableOutboundDelayStage) Set ¶
func (v *NullableOutboundDelayStage) Set(val *OutboundDelayStage)
func (*NullableOutboundDelayStage) UnmarshalJSON ¶
func (v *NullableOutboundDelayStage) UnmarshalJSON(src []byte) error
func (*NullableOutboundDelayStage) Unset ¶
func (v *NullableOutboundDelayStage) Unset()
type NullableOutboundFee ¶
type NullableOutboundFee struct {
// contains filtered or unexported fields
}
func NewNullableOutboundFee ¶
func NewNullableOutboundFee(val *OutboundFee) *NullableOutboundFee
func (NullableOutboundFee) Get ¶
func (v NullableOutboundFee) Get() *OutboundFee
func (NullableOutboundFee) IsSet ¶
func (v NullableOutboundFee) IsSet() bool
func (NullableOutboundFee) MarshalJSON_deprecated ¶
func (v NullableOutboundFee) MarshalJSON_deprecated() ([]byte, error)
func (*NullableOutboundFee) Set ¶
func (v *NullableOutboundFee) Set(val *OutboundFee)
func (*NullableOutboundFee) UnmarshalJSON ¶
func (v *NullableOutboundFee) UnmarshalJSON(src []byte) error
func (*NullableOutboundFee) Unset ¶
func (v *NullableOutboundFee) Unset()
type NullableOutboundSignedStage ¶
type NullableOutboundSignedStage struct {
// contains filtered or unexported fields
}
func NewNullableOutboundSignedStage ¶
func NewNullableOutboundSignedStage(val *OutboundSignedStage) *NullableOutboundSignedStage
func (NullableOutboundSignedStage) Get ¶
func (v NullableOutboundSignedStage) Get() *OutboundSignedStage
func (NullableOutboundSignedStage) IsSet ¶
func (v NullableOutboundSignedStage) IsSet() bool
func (NullableOutboundSignedStage) MarshalJSON_deprecated ¶
func (v NullableOutboundSignedStage) MarshalJSON_deprecated() ([]byte, error)
func (*NullableOutboundSignedStage) Set ¶
func (v *NullableOutboundSignedStage) Set(val *OutboundSignedStage)
func (*NullableOutboundSignedStage) UnmarshalJSON ¶
func (v *NullableOutboundSignedStage) UnmarshalJSON(src []byte) error
func (*NullableOutboundSignedStage) Unset ¶
func (v *NullableOutboundSignedStage) Unset()
type NullablePOL ¶
type NullablePOL struct {
// contains filtered or unexported fields
}
func NewNullablePOL ¶
func NewNullablePOL(val *POL) *NullablePOL
func (NullablePOL) Get ¶
func (v NullablePOL) Get() *POL
func (NullablePOL) IsSet ¶
func (v NullablePOL) IsSet() bool
func (NullablePOL) MarshalJSON_deprecated ¶
func (v NullablePOL) MarshalJSON_deprecated() ([]byte, error)
func (*NullablePOL) Set ¶
func (v *NullablePOL) Set(val *POL)
func (*NullablePOL) UnmarshalJSON ¶
func (v *NullablePOL) UnmarshalJSON(src []byte) error
func (*NullablePOL) Unset ¶
func (v *NullablePOL) Unset()
type NullablePing ¶
type NullablePing struct {
// contains filtered or unexported fields
}
func NewNullablePing ¶
func NewNullablePing(val *Ping) *NullablePing
func (NullablePing) Get ¶
func (v NullablePing) Get() *Ping
func (NullablePing) IsSet ¶
func (v NullablePing) IsSet() bool
func (NullablePing) MarshalJSON_deprecated ¶
func (v NullablePing) MarshalJSON_deprecated() ([]byte, error)
func (*NullablePing) Set ¶
func (v *NullablePing) Set(val *Ping)
func (*NullablePing) UnmarshalJSON ¶
func (v *NullablePing) UnmarshalJSON(src []byte) error
func (*NullablePing) Unset ¶
func (v *NullablePing) Unset()
type NullablePlannedOutTx ¶
type NullablePlannedOutTx struct {
// contains filtered or unexported fields
}
func NewNullablePlannedOutTx ¶
func NewNullablePlannedOutTx(val *PlannedOutTx) *NullablePlannedOutTx
func (NullablePlannedOutTx) Get ¶
func (v NullablePlannedOutTx) Get() *PlannedOutTx
func (NullablePlannedOutTx) IsSet ¶
func (v NullablePlannedOutTx) IsSet() bool
func (NullablePlannedOutTx) MarshalJSON_deprecated ¶
func (v NullablePlannedOutTx) MarshalJSON_deprecated() ([]byte, error)
func (*NullablePlannedOutTx) Set ¶
func (v *NullablePlannedOutTx) Set(val *PlannedOutTx)
func (*NullablePlannedOutTx) UnmarshalJSON ¶
func (v *NullablePlannedOutTx) UnmarshalJSON(src []byte) error
func (*NullablePlannedOutTx) Unset ¶
func (v *NullablePlannedOutTx) Unset()
type NullablePool ¶
type NullablePool struct {
// contains filtered or unexported fields
}
func NewNullablePool ¶
func NewNullablePool(val *Pool) *NullablePool
func (NullablePool) Get ¶
func (v NullablePool) Get() *Pool
func (NullablePool) IsSet ¶
func (v NullablePool) IsSet() bool
func (NullablePool) MarshalJSON_deprecated ¶
func (v NullablePool) MarshalJSON_deprecated() ([]byte, error)
func (*NullablePool) Set ¶
func (v *NullablePool) Set(val *Pool)
func (*NullablePool) UnmarshalJSON ¶
func (v *NullablePool) UnmarshalJSON(src []byte) error
func (*NullablePool) Unset ¶
func (v *NullablePool) Unset()
type NullablePoolSlipResponseInner ¶
type NullablePoolSlipResponseInner struct {
// contains filtered or unexported fields
}
func NewNullablePoolSlipResponseInner ¶
func NewNullablePoolSlipResponseInner(val *PoolSlipResponseInner) *NullablePoolSlipResponseInner
func (NullablePoolSlipResponseInner) Get ¶
func (v NullablePoolSlipResponseInner) Get() *PoolSlipResponseInner
func (NullablePoolSlipResponseInner) IsSet ¶
func (v NullablePoolSlipResponseInner) IsSet() bool
func (NullablePoolSlipResponseInner) MarshalJSON_deprecated ¶
func (v NullablePoolSlipResponseInner) MarshalJSON_deprecated() ([]byte, error)
func (*NullablePoolSlipResponseInner) Set ¶
func (v *NullablePoolSlipResponseInner) Set(val *PoolSlipResponseInner)
func (*NullablePoolSlipResponseInner) UnmarshalJSON ¶
func (v *NullablePoolSlipResponseInner) UnmarshalJSON(src []byte) error
func (*NullablePoolSlipResponseInner) Unset ¶
func (v *NullablePoolSlipResponseInner) Unset()
type NullableQueueResponse ¶
type NullableQueueResponse struct {
// contains filtered or unexported fields
}
func NewNullableQueueResponse ¶
func NewNullableQueueResponse(val *QueueResponse) *NullableQueueResponse
func (NullableQueueResponse) Get ¶
func (v NullableQueueResponse) Get() *QueueResponse
func (NullableQueueResponse) IsSet ¶
func (v NullableQueueResponse) IsSet() bool
func (NullableQueueResponse) MarshalJSON_deprecated ¶
func (v NullableQueueResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableQueueResponse) Set ¶
func (v *NullableQueueResponse) Set(val *QueueResponse)
func (*NullableQueueResponse) UnmarshalJSON ¶
func (v *NullableQueueResponse) UnmarshalJSON(src []byte) error
func (*NullableQueueResponse) Unset ¶
func (v *NullableQueueResponse) Unset()
type NullableQuoteFees ¶
type NullableQuoteFees struct {
// contains filtered or unexported fields
}
func NewNullableQuoteFees ¶
func NewNullableQuoteFees(val *QuoteFees) *NullableQuoteFees
func (NullableQuoteFees) Get ¶
func (v NullableQuoteFees) Get() *QuoteFees
func (NullableQuoteFees) IsSet ¶
func (v NullableQuoteFees) IsSet() bool
func (NullableQuoteFees) MarshalJSON_deprecated ¶
func (v NullableQuoteFees) MarshalJSON_deprecated() ([]byte, error)
func (*NullableQuoteFees) Set ¶
func (v *NullableQuoteFees) Set(val *QuoteFees)
func (*NullableQuoteFees) UnmarshalJSON ¶
func (v *NullableQuoteFees) UnmarshalJSON(src []byte) error
func (*NullableQuoteFees) Unset ¶
func (v *NullableQuoteFees) Unset()
type NullableQuoteLoanCloseResponse ¶
type NullableQuoteLoanCloseResponse struct {
// contains filtered or unexported fields
}
func NewNullableQuoteLoanCloseResponse ¶
func NewNullableQuoteLoanCloseResponse(val *QuoteLoanCloseResponse) *NullableQuoteLoanCloseResponse
func (NullableQuoteLoanCloseResponse) Get ¶
func (v NullableQuoteLoanCloseResponse) Get() *QuoteLoanCloseResponse
func (NullableQuoteLoanCloseResponse) IsSet ¶
func (v NullableQuoteLoanCloseResponse) IsSet() bool
func (NullableQuoteLoanCloseResponse) MarshalJSON_deprecated ¶
func (v NullableQuoteLoanCloseResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableQuoteLoanCloseResponse) Set ¶
func (v *NullableQuoteLoanCloseResponse) Set(val *QuoteLoanCloseResponse)
func (*NullableQuoteLoanCloseResponse) UnmarshalJSON ¶
func (v *NullableQuoteLoanCloseResponse) UnmarshalJSON(src []byte) error
func (*NullableQuoteLoanCloseResponse) Unset ¶
func (v *NullableQuoteLoanCloseResponse) Unset()
type NullableQuoteLoanOpenResponse ¶
type NullableQuoteLoanOpenResponse struct {
// contains filtered or unexported fields
}
func NewNullableQuoteLoanOpenResponse ¶
func NewNullableQuoteLoanOpenResponse(val *QuoteLoanOpenResponse) *NullableQuoteLoanOpenResponse
func (NullableQuoteLoanOpenResponse) Get ¶
func (v NullableQuoteLoanOpenResponse) Get() *QuoteLoanOpenResponse
func (NullableQuoteLoanOpenResponse) IsSet ¶
func (v NullableQuoteLoanOpenResponse) IsSet() bool
func (NullableQuoteLoanOpenResponse) MarshalJSON_deprecated ¶
func (v NullableQuoteLoanOpenResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableQuoteLoanOpenResponse) Set ¶
func (v *NullableQuoteLoanOpenResponse) Set(val *QuoteLoanOpenResponse)
func (*NullableQuoteLoanOpenResponse) UnmarshalJSON ¶
func (v *NullableQuoteLoanOpenResponse) UnmarshalJSON(src []byte) error
func (*NullableQuoteLoanOpenResponse) Unset ¶
func (v *NullableQuoteLoanOpenResponse) Unset()
type NullableQuoteSaverDepositResponse ¶
type NullableQuoteSaverDepositResponse struct {
// contains filtered or unexported fields
}
func NewNullableQuoteSaverDepositResponse ¶
func NewNullableQuoteSaverDepositResponse(val *QuoteSaverDepositResponse) *NullableQuoteSaverDepositResponse
func (NullableQuoteSaverDepositResponse) Get ¶
func (v NullableQuoteSaverDepositResponse) Get() *QuoteSaverDepositResponse
func (NullableQuoteSaverDepositResponse) IsSet ¶
func (v NullableQuoteSaverDepositResponse) IsSet() bool
func (NullableQuoteSaverDepositResponse) MarshalJSON_deprecated ¶
func (v NullableQuoteSaverDepositResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableQuoteSaverDepositResponse) Set ¶
func (v *NullableQuoteSaverDepositResponse) Set(val *QuoteSaverDepositResponse)
func (*NullableQuoteSaverDepositResponse) UnmarshalJSON ¶
func (v *NullableQuoteSaverDepositResponse) UnmarshalJSON(src []byte) error
func (*NullableQuoteSaverDepositResponse) Unset ¶
func (v *NullableQuoteSaverDepositResponse) Unset()
type NullableQuoteSaverWithdrawResponse ¶
type NullableQuoteSaverWithdrawResponse struct {
// contains filtered or unexported fields
}
func NewNullableQuoteSaverWithdrawResponse ¶
func NewNullableQuoteSaverWithdrawResponse(val *QuoteSaverWithdrawResponse) *NullableQuoteSaverWithdrawResponse
func (NullableQuoteSaverWithdrawResponse) Get ¶
func (v NullableQuoteSaverWithdrawResponse) Get() *QuoteSaverWithdrawResponse
func (NullableQuoteSaverWithdrawResponse) IsSet ¶
func (v NullableQuoteSaverWithdrawResponse) IsSet() bool
func (NullableQuoteSaverWithdrawResponse) MarshalJSON_deprecated ¶
func (v NullableQuoteSaverWithdrawResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableQuoteSaverWithdrawResponse) Set ¶
func (v *NullableQuoteSaverWithdrawResponse) Set(val *QuoteSaverWithdrawResponse)
func (*NullableQuoteSaverWithdrawResponse) UnmarshalJSON ¶
func (v *NullableQuoteSaverWithdrawResponse) UnmarshalJSON(src []byte) error
func (*NullableQuoteSaverWithdrawResponse) Unset ¶
func (v *NullableQuoteSaverWithdrawResponse) Unset()
type NullableQuoteSwapResponse ¶
type NullableQuoteSwapResponse struct {
// contains filtered or unexported fields
}
func NewNullableQuoteSwapResponse ¶
func NewNullableQuoteSwapResponse(val *QuoteSwapResponse) *NullableQuoteSwapResponse
func (NullableQuoteSwapResponse) Get ¶
func (v NullableQuoteSwapResponse) Get() *QuoteSwapResponse
func (NullableQuoteSwapResponse) IsSet ¶
func (v NullableQuoteSwapResponse) IsSet() bool
func (NullableQuoteSwapResponse) MarshalJSON_deprecated ¶
func (v NullableQuoteSwapResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableQuoteSwapResponse) Set ¶
func (v *NullableQuoteSwapResponse) Set(val *QuoteSwapResponse)
func (*NullableQuoteSwapResponse) UnmarshalJSON ¶
func (v *NullableQuoteSwapResponse) UnmarshalJSON(src []byte) error
func (*NullableQuoteSwapResponse) Unset ¶
func (v *NullableQuoteSwapResponse) Unset()
type NullableRUNEPool ¶
type NullableRUNEPool struct {
// contains filtered or unexported fields
}
func NewNullableRUNEPool ¶
func NewNullableRUNEPool(val *RUNEPool) *NullableRUNEPool
func (NullableRUNEPool) Get ¶
func (v NullableRUNEPool) Get() *RUNEPool
func (NullableRUNEPool) IsSet ¶
func (v NullableRUNEPool) IsSet() bool
func (NullableRUNEPool) MarshalJSON_deprecated ¶
func (v NullableRUNEPool) MarshalJSON_deprecated() ([]byte, error)
func (*NullableRUNEPool) Set ¶
func (v *NullableRUNEPool) Set(val *RUNEPool)
func (*NullableRUNEPool) UnmarshalJSON ¶
func (v *NullableRUNEPool) UnmarshalJSON(src []byte) error
func (*NullableRUNEPool) Unset ¶
func (v *NullableRUNEPool) Unset()
type NullableRUNEPoolResponse ¶
type NullableRUNEPoolResponse struct {
// contains filtered or unexported fields
}
func NewNullableRUNEPoolResponse ¶
func NewNullableRUNEPoolResponse(val *RUNEPoolResponse) *NullableRUNEPoolResponse
func (NullableRUNEPoolResponse) Get ¶
func (v NullableRUNEPoolResponse) Get() *RUNEPoolResponse
func (NullableRUNEPoolResponse) IsSet ¶
func (v NullableRUNEPoolResponse) IsSet() bool
func (NullableRUNEPoolResponse) MarshalJSON_deprecated ¶
func (v NullableRUNEPoolResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableRUNEPoolResponse) Set ¶
func (v *NullableRUNEPoolResponse) Set(val *RUNEPoolResponse)
func (*NullableRUNEPoolResponse) UnmarshalJSON ¶
func (v *NullableRUNEPoolResponse) UnmarshalJSON(src []byte) error
func (*NullableRUNEPoolResponse) Unset ¶
func (v *NullableRUNEPoolResponse) Unset()
type NullableRUNEPoolResponseProviders ¶
type NullableRUNEPoolResponseProviders struct {
// contains filtered or unexported fields
}
func NewNullableRUNEPoolResponseProviders ¶
func NewNullableRUNEPoolResponseProviders(val *RUNEPoolResponseProviders) *NullableRUNEPoolResponseProviders
func (NullableRUNEPoolResponseProviders) Get ¶
func (v NullableRUNEPoolResponseProviders) Get() *RUNEPoolResponseProviders
func (NullableRUNEPoolResponseProviders) IsSet ¶
func (v NullableRUNEPoolResponseProviders) IsSet() bool
func (NullableRUNEPoolResponseProviders) MarshalJSON_deprecated ¶
func (v NullableRUNEPoolResponseProviders) MarshalJSON_deprecated() ([]byte, error)
func (*NullableRUNEPoolResponseProviders) Set ¶
func (v *NullableRUNEPoolResponseProviders) Set(val *RUNEPoolResponseProviders)
func (*NullableRUNEPoolResponseProviders) UnmarshalJSON ¶
func (v *NullableRUNEPoolResponseProviders) UnmarshalJSON(src []byte) error
func (*NullableRUNEPoolResponseProviders) Unset ¶
func (v *NullableRUNEPoolResponseProviders) Unset()
type NullableRUNEPoolResponseReserve ¶
type NullableRUNEPoolResponseReserve struct {
// contains filtered or unexported fields
}
func NewNullableRUNEPoolResponseReserve ¶
func NewNullableRUNEPoolResponseReserve(val *RUNEPoolResponseReserve) *NullableRUNEPoolResponseReserve
func (NullableRUNEPoolResponseReserve) Get ¶
func (v NullableRUNEPoolResponseReserve) Get() *RUNEPoolResponseReserve
func (NullableRUNEPoolResponseReserve) IsSet ¶
func (v NullableRUNEPoolResponseReserve) IsSet() bool
func (NullableRUNEPoolResponseReserve) MarshalJSON_deprecated ¶
func (v NullableRUNEPoolResponseReserve) MarshalJSON_deprecated() ([]byte, error)
func (*NullableRUNEPoolResponseReserve) Set ¶
func (v *NullableRUNEPoolResponseReserve) Set(val *RUNEPoolResponseReserve)
func (*NullableRUNEPoolResponseReserve) UnmarshalJSON ¶
func (v *NullableRUNEPoolResponseReserve) UnmarshalJSON(src []byte) error
func (*NullableRUNEPoolResponseReserve) Unset ¶
func (v *NullableRUNEPoolResponseReserve) Unset()
type NullableRUNEProvider ¶
type NullableRUNEProvider struct {
// contains filtered or unexported fields
}
func NewNullableRUNEProvider ¶
func NewNullableRUNEProvider(val *RUNEProvider) *NullableRUNEProvider
func (NullableRUNEProvider) Get ¶
func (v NullableRUNEProvider) Get() *RUNEProvider
func (NullableRUNEProvider) IsSet ¶
func (v NullableRUNEProvider) IsSet() bool
func (NullableRUNEProvider) MarshalJSON_deprecated ¶
func (v NullableRUNEProvider) MarshalJSON_deprecated() ([]byte, error)
func (*NullableRUNEProvider) Set ¶
func (v *NullableRUNEProvider) Set(val *RUNEProvider)
func (*NullableRUNEProvider) UnmarshalJSON ¶
func (v *NullableRUNEProvider) UnmarshalJSON(src []byte) error
func (*NullableRUNEProvider) Unset ¶
func (v *NullableRUNEProvider) Unset()
type NullableSaver ¶
type NullableSaver struct {
// contains filtered or unexported fields
}
func NewNullableSaver ¶
func NewNullableSaver(val *Saver) *NullableSaver
func (NullableSaver) Get ¶
func (v NullableSaver) Get() *Saver
func (NullableSaver) IsSet ¶
func (v NullableSaver) IsSet() bool
func (NullableSaver) MarshalJSON_deprecated ¶
func (v NullableSaver) MarshalJSON_deprecated() ([]byte, error)
func (*NullableSaver) Set ¶
func (v *NullableSaver) Set(val *Saver)
func (*NullableSaver) UnmarshalJSON ¶
func (v *NullableSaver) UnmarshalJSON(src []byte) error
func (*NullableSaver) Unset ¶
func (v *NullableSaver) Unset()
type NullableSecuredAssetResponse ¶
type NullableSecuredAssetResponse struct {
// contains filtered or unexported fields
}
func NewNullableSecuredAssetResponse ¶
func NewNullableSecuredAssetResponse(val *SecuredAssetResponse) *NullableSecuredAssetResponse
func (NullableSecuredAssetResponse) Get ¶
func (v NullableSecuredAssetResponse) Get() *SecuredAssetResponse
func (NullableSecuredAssetResponse) IsSet ¶
func (v NullableSecuredAssetResponse) IsSet() bool
func (NullableSecuredAssetResponse) MarshalJSON_deprecated ¶
func (v NullableSecuredAssetResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableSecuredAssetResponse) Set ¶
func (v *NullableSecuredAssetResponse) Set(val *SecuredAssetResponse)
func (*NullableSecuredAssetResponse) UnmarshalJSON ¶
func (v *NullableSecuredAssetResponse) UnmarshalJSON(src []byte) error
func (*NullableSecuredAssetResponse) Unset ¶
func (v *NullableSecuredAssetResponse) Unset()
type NullableStreamingStatus ¶
type NullableStreamingStatus struct {
// contains filtered or unexported fields
}
func NewNullableStreamingStatus ¶
func NewNullableStreamingStatus(val *StreamingStatus) *NullableStreamingStatus
func (NullableStreamingStatus) Get ¶
func (v NullableStreamingStatus) Get() *StreamingStatus
func (NullableStreamingStatus) IsSet ¶
func (v NullableStreamingStatus) IsSet() bool
func (NullableStreamingStatus) MarshalJSON_deprecated ¶
func (v NullableStreamingStatus) MarshalJSON_deprecated() ([]byte, error)
func (*NullableStreamingStatus) Set ¶
func (v *NullableStreamingStatus) Set(val *StreamingStatus)
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 (v NullableStreamingSwap) Get() *StreamingSwap
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 (v NullableSwapFinalisedStage) Get() *SwapFinalisedStage
func (NullableSwapFinalisedStage) IsSet ¶
func (v NullableSwapFinalisedStage) IsSet() bool
func (NullableSwapFinalisedStage) MarshalJSON_deprecated ¶
func (v NullableSwapFinalisedStage) MarshalJSON_deprecated() ([]byte, error)
func (*NullableSwapFinalisedStage) Set ¶
func (v *NullableSwapFinalisedStage) Set(val *SwapFinalisedStage)
func (*NullableSwapFinalisedStage) UnmarshalJSON ¶
func (v *NullableSwapFinalisedStage) UnmarshalJSON(src []byte) error
func (*NullableSwapFinalisedStage) Unset ¶
func (v *NullableSwapFinalisedStage) Unset()
type NullableSwapStatus ¶
type NullableSwapStatus struct {
// contains filtered or unexported fields
}
func NewNullableSwapStatus ¶
func NewNullableSwapStatus(val *SwapStatus) *NullableSwapStatus
func (NullableSwapStatus) Get ¶
func (v NullableSwapStatus) Get() *SwapStatus
func (NullableSwapStatus) IsSet ¶
func (v NullableSwapStatus) IsSet() bool
func (NullableSwapStatus) MarshalJSON_deprecated ¶
func (v NullableSwapStatus) MarshalJSON_deprecated() ([]byte, error)
func (*NullableSwapStatus) Set ¶
func (v *NullableSwapStatus) Set(val *SwapStatus)
func (*NullableSwapStatus) UnmarshalJSON ¶
func (v *NullableSwapStatus) UnmarshalJSON(src []byte) error
func (*NullableSwapStatus) Unset ¶
func (v *NullableSwapStatus) Unset()
type NullableSwapperCloutResponse ¶
type NullableSwapperCloutResponse struct {
// contains filtered or unexported fields
}
func NewNullableSwapperCloutResponse ¶
func NewNullableSwapperCloutResponse(val *SwapperCloutResponse) *NullableSwapperCloutResponse
func (NullableSwapperCloutResponse) Get ¶
func (v NullableSwapperCloutResponse) Get() *SwapperCloutResponse
func (NullableSwapperCloutResponse) IsSet ¶
func (v NullableSwapperCloutResponse) IsSet() bool
func (NullableSwapperCloutResponse) MarshalJSON_deprecated ¶
func (v NullableSwapperCloutResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableSwapperCloutResponse) Set ¶
func (v *NullableSwapperCloutResponse) Set(val *SwapperCloutResponse)
func (*NullableSwapperCloutResponse) UnmarshalJSON ¶
func (v *NullableSwapperCloutResponse) UnmarshalJSON(src []byte) error
func (*NullableSwapperCloutResponse) Unset ¶
func (v *NullableSwapperCloutResponse) Unset()
type NullableThorname ¶
type NullableThorname struct {
// contains filtered or unexported fields
}
func NewNullableThorname ¶
func NewNullableThorname(val *Thorname) *NullableThorname
func (NullableThorname) Get ¶
func (v NullableThorname) Get() *Thorname
func (NullableThorname) IsSet ¶
func (v NullableThorname) IsSet() bool
func (NullableThorname) MarshalJSON_deprecated ¶
func (v NullableThorname) MarshalJSON_deprecated() ([]byte, error)
func (*NullableThorname) Set ¶
func (v *NullableThorname) Set(val *Thorname)
func (*NullableThorname) UnmarshalJSON ¶
func (v *NullableThorname) UnmarshalJSON(src []byte) error
func (*NullableThorname) Unset ¶
func (v *NullableThorname) Unset()
type NullableThornameAlias ¶
type NullableThornameAlias struct {
// contains filtered or unexported fields
}
func NewNullableThornameAlias ¶
func NewNullableThornameAlias(val *ThornameAlias) *NullableThornameAlias
func (NullableThornameAlias) Get ¶
func (v NullableThornameAlias) Get() *ThornameAlias
func (NullableThornameAlias) IsSet ¶
func (v NullableThornameAlias) IsSet() bool
func (NullableThornameAlias) MarshalJSON_deprecated ¶
func (v NullableThornameAlias) MarshalJSON_deprecated() ([]byte, error)
func (*NullableThornameAlias) Set ¶
func (v *NullableThornameAlias) Set(val *ThornameAlias)
func (*NullableThornameAlias) UnmarshalJSON ¶
func (v *NullableThornameAlias) UnmarshalJSON(src []byte) error
func (*NullableThornameAlias) Unset ¶
func (v *NullableThornameAlias) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTradeAccountResponse ¶
type NullableTradeAccountResponse struct {
// contains filtered or unexported fields
}
func NewNullableTradeAccountResponse ¶
func NewNullableTradeAccountResponse(val *TradeAccountResponse) *NullableTradeAccountResponse
func (NullableTradeAccountResponse) Get ¶
func (v NullableTradeAccountResponse) Get() *TradeAccountResponse
func (NullableTradeAccountResponse) IsSet ¶
func (v NullableTradeAccountResponse) IsSet() bool
func (NullableTradeAccountResponse) MarshalJSON_deprecated ¶
func (v NullableTradeAccountResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableTradeAccountResponse) Set ¶
func (v *NullableTradeAccountResponse) Set(val *TradeAccountResponse)
func (*NullableTradeAccountResponse) UnmarshalJSON ¶
func (v *NullableTradeAccountResponse) UnmarshalJSON(src []byte) error
func (*NullableTradeAccountResponse) Unset ¶
func (v *NullableTradeAccountResponse) Unset()
type NullableTradeUnitResponse ¶
type NullableTradeUnitResponse struct {
// contains filtered or unexported fields
}
func NewNullableTradeUnitResponse ¶
func NewNullableTradeUnitResponse(val *TradeUnitResponse) *NullableTradeUnitResponse
func (NullableTradeUnitResponse) Get ¶
func (v NullableTradeUnitResponse) Get() *TradeUnitResponse
func (NullableTradeUnitResponse) IsSet ¶
func (v NullableTradeUnitResponse) IsSet() bool
func (NullableTradeUnitResponse) MarshalJSON_deprecated ¶
func (v NullableTradeUnitResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableTradeUnitResponse) Set ¶
func (v *NullableTradeUnitResponse) Set(val *TradeUnitResponse)
func (*NullableTradeUnitResponse) UnmarshalJSON ¶
func (v *NullableTradeUnitResponse) UnmarshalJSON(src []byte) error
func (*NullableTradeUnitResponse) Unset ¶
func (v *NullableTradeUnitResponse) Unset()
type NullableTssKeysignMetric ¶
type NullableTssKeysignMetric struct {
// contains filtered or unexported fields
}
func NewNullableTssKeysignMetric ¶
func NewNullableTssKeysignMetric(val *TssKeysignMetric) *NullableTssKeysignMetric
func (NullableTssKeysignMetric) Get ¶
func (v NullableTssKeysignMetric) Get() *TssKeysignMetric
func (NullableTssKeysignMetric) IsSet ¶
func (v NullableTssKeysignMetric) IsSet() bool
func (NullableTssKeysignMetric) MarshalJSON_deprecated ¶
func (v NullableTssKeysignMetric) MarshalJSON_deprecated() ([]byte, error)
func (*NullableTssKeysignMetric) Set ¶
func (v *NullableTssKeysignMetric) Set(val *TssKeysignMetric)
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 (v NullableTxDetailsResponse) Get() *TxDetailsResponse
func (NullableTxDetailsResponse) IsSet ¶
func (v NullableTxDetailsResponse) IsSet() bool
func (NullableTxDetailsResponse) MarshalJSON_deprecated ¶
func (v NullableTxDetailsResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableTxDetailsResponse) Set ¶
func (v *NullableTxDetailsResponse) Set(val *TxDetailsResponse)
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 (v NullableTxSignersResponse) Get() *TxSignersResponse
func (NullableTxSignersResponse) IsSet ¶
func (v NullableTxSignersResponse) IsSet() bool
func (NullableTxSignersResponse) MarshalJSON_deprecated ¶
func (v NullableTxSignersResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableTxSignersResponse) Set ¶
func (v *NullableTxSignersResponse) Set(val *TxSignersResponse)
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 (v NullableTxStagesResponse) Get() *TxStagesResponse
func (NullableTxStagesResponse) IsSet ¶
func (v NullableTxStagesResponse) IsSet() bool
func (NullableTxStagesResponse) MarshalJSON_deprecated ¶
func (v NullableTxStagesResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableTxStagesResponse) Set ¶
func (v *NullableTxStagesResponse) Set(val *TxStagesResponse)
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 (v NullableTxStatusResponse) Get() *TxStatusResponse
func (NullableTxStatusResponse) IsSet ¶
func (v NullableTxStatusResponse) IsSet() bool
func (NullableTxStatusResponse) MarshalJSON_deprecated ¶
func (v NullableTxStatusResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableTxStatusResponse) Set ¶
func (v *NullableTxStatusResponse) Set(val *TxStatusResponse)
func (*NullableTxStatusResponse) UnmarshalJSON ¶
func (v *NullableTxStatusResponse) UnmarshalJSON(src []byte) error
func (*NullableTxStatusResponse) Unset ¶
func (v *NullableTxStatusResponse) Unset()
type NullableUpgradeProposal ¶
type NullableUpgradeProposal struct {
// contains filtered or unexported fields
}
func NewNullableUpgradeProposal ¶
func NewNullableUpgradeProposal(val *UpgradeProposal) *NullableUpgradeProposal
func (NullableUpgradeProposal) Get ¶
func (v NullableUpgradeProposal) Get() *UpgradeProposal
func (NullableUpgradeProposal) IsSet ¶
func (v NullableUpgradeProposal) IsSet() bool
func (NullableUpgradeProposal) MarshalJSON_deprecated ¶
func (v NullableUpgradeProposal) MarshalJSON_deprecated() ([]byte, error)
func (*NullableUpgradeProposal) Set ¶
func (v *NullableUpgradeProposal) Set(val *UpgradeProposal)
func (*NullableUpgradeProposal) UnmarshalJSON ¶
func (v *NullableUpgradeProposal) UnmarshalJSON(src []byte) error
func (*NullableUpgradeProposal) Unset ¶
func (v *NullableUpgradeProposal) Unset()
type NullableUpgradeVote ¶
type NullableUpgradeVote struct {
// contains filtered or unexported fields
}
func NewNullableUpgradeVote ¶
func NewNullableUpgradeVote(val *UpgradeVote) *NullableUpgradeVote
func (NullableUpgradeVote) Get ¶
func (v NullableUpgradeVote) Get() *UpgradeVote
func (NullableUpgradeVote) IsSet ¶
func (v NullableUpgradeVote) IsSet() bool
func (NullableUpgradeVote) MarshalJSON_deprecated ¶
func (v NullableUpgradeVote) MarshalJSON_deprecated() ([]byte, error)
func (*NullableUpgradeVote) Set ¶
func (v *NullableUpgradeVote) Set(val *UpgradeVote)
func (*NullableUpgradeVote) UnmarshalJSON ¶
func (v *NullableUpgradeVote) UnmarshalJSON(src []byte) error
func (*NullableUpgradeVote) Unset ¶
func (v *NullableUpgradeVote) Unset()
type NullableVault ¶
type NullableVault struct {
// contains filtered or unexported fields
}
func NewNullableVault ¶
func NewNullableVault(val *Vault) *NullableVault
func (NullableVault) Get ¶
func (v NullableVault) Get() *Vault
func (NullableVault) IsSet ¶
func (v NullableVault) IsSet() bool
func (NullableVault) MarshalJSON_deprecated ¶
func (v NullableVault) MarshalJSON_deprecated() ([]byte, error)
func (*NullableVault) Set ¶
func (v *NullableVault) Set(val *Vault)
func (*NullableVault) UnmarshalJSON ¶
func (v *NullableVault) UnmarshalJSON(src []byte) error
func (*NullableVault) Unset ¶
func (v *NullableVault) Unset()
type NullableVaultAddress ¶
type NullableVaultAddress struct {
// contains filtered or unexported fields
}
func NewNullableVaultAddress ¶
func NewNullableVaultAddress(val *VaultAddress) *NullableVaultAddress
func (NullableVaultAddress) Get ¶
func (v NullableVaultAddress) Get() *VaultAddress
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 (v NullableVaultPubkeysResponse) Get() *VaultPubkeysResponse
func (NullableVaultPubkeysResponse) IsSet ¶
func (v NullableVaultPubkeysResponse) IsSet() bool
func (NullableVaultPubkeysResponse) MarshalJSON_deprecated ¶
func (v NullableVaultPubkeysResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableVaultPubkeysResponse) Set ¶
func (v *NullableVaultPubkeysResponse) Set(val *VaultPubkeysResponse)
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 (v NullableVaultRouter) Get() *VaultRouter
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 (v NullableVersionResponse) Get() *VersionResponse
func (NullableVersionResponse) IsSet ¶
func (v NullableVersionResponse) IsSet() bool
func (NullableVersionResponse) MarshalJSON_deprecated ¶
func (v NullableVersionResponse) MarshalJSON_deprecated() ([]byte, error)
func (*NullableVersionResponse) Set ¶
func (v *NullableVersionResponse) Set(val *VersionResponse)
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 (v NullableYggdrasilVault) Get() *YggdrasilVault
func (NullableYggdrasilVault) IsSet ¶
func (v NullableYggdrasilVault) IsSet() bool
func (NullableYggdrasilVault) MarshalJSON_deprecated ¶
func (v NullableYggdrasilVault) MarshalJSON_deprecated() ([]byte, error)
func (*NullableYggdrasilVault) Set ¶
func (v *NullableYggdrasilVault) Set(val *YggdrasilVault)
func (*NullableYggdrasilVault) UnmarshalJSON ¶
func (v *NullableYggdrasilVault) UnmarshalJSON(src []byte) error
func (*NullableYggdrasilVault) Unset ¶
func (v *NullableYggdrasilVault) Unset()
type ObservedTx ¶
type ObservedTx struct { Tx Tx `json:"tx"` ObservedPubKey *string `json:"observed_pub_key,omitempty"` // the block height on the external source chain when the transaction was observed, not provided if chain is THOR ExternalObservedHeight *int64 `json:"external_observed_height,omitempty"` // the block height on the external source chain when confirmation counting will be complete, not provided if chain is THOR ExternalConfirmationDelayHeight *int64 `json:"external_confirmation_delay_height,omitempty"` // the outbound aggregator to use, will also match a suffix Aggregator *string `json:"aggregator,omitempty"` // the aggregator target asset provided to transferOutAndCall AggregatorTarget *string `json:"aggregator_target,omitempty"` // the aggregator target asset limit provided to transferOutAndCall AggregatorTargetLimit *string `json:"aggregator_target_limit,omitempty"` Signers []string `json:"signers,omitempty"` KeysignMs *int64 `json:"keysign_ms,omitempty"` OutHashes []string `json:"out_hashes,omitempty"` Status *string `json:"status,omitempty"` }
ObservedTx struct for ObservedTx
func NewObservedTx ¶
func NewObservedTx(tx Tx) *ObservedTx
NewObservedTx instantiates a new ObservedTx object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObservedTxWithDefaults ¶
func NewObservedTxWithDefaults() *ObservedTx
NewObservedTxWithDefaults instantiates a new ObservedTx object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObservedTx) GetAggregator ¶
func (o *ObservedTx) GetAggregator() string
GetAggregator returns the Aggregator field value if set, zero value otherwise.
func (*ObservedTx) GetAggregatorOk ¶
func (o *ObservedTx) GetAggregatorOk() (*string, bool)
GetAggregatorOk returns a tuple with the Aggregator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetAggregatorTarget ¶
func (o *ObservedTx) GetAggregatorTarget() string
GetAggregatorTarget returns the AggregatorTarget field value if set, zero value otherwise.
func (*ObservedTx) GetAggregatorTargetLimit ¶
func (o *ObservedTx) GetAggregatorTargetLimit() string
GetAggregatorTargetLimit returns the AggregatorTargetLimit field value if set, zero value otherwise.
func (*ObservedTx) GetAggregatorTargetLimitOk ¶
func (o *ObservedTx) GetAggregatorTargetLimitOk() (*string, bool)
GetAggregatorTargetLimitOk returns a tuple with the AggregatorTargetLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetAggregatorTargetOk ¶
func (o *ObservedTx) GetAggregatorTargetOk() (*string, bool)
GetAggregatorTargetOk returns a tuple with the AggregatorTarget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetExternalConfirmationDelayHeight ¶
func (o *ObservedTx) GetExternalConfirmationDelayHeight() int64
GetExternalConfirmationDelayHeight returns the ExternalConfirmationDelayHeight field value if set, zero value otherwise.
func (*ObservedTx) GetExternalConfirmationDelayHeightOk ¶
func (o *ObservedTx) GetExternalConfirmationDelayHeightOk() (*int64, bool)
GetExternalConfirmationDelayHeightOk returns a tuple with the ExternalConfirmationDelayHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetExternalObservedHeight ¶
func (o *ObservedTx) GetExternalObservedHeight() int64
GetExternalObservedHeight returns the ExternalObservedHeight field value if set, zero value otherwise.
func (*ObservedTx) GetExternalObservedHeightOk ¶
func (o *ObservedTx) GetExternalObservedHeightOk() (*int64, bool)
GetExternalObservedHeightOk returns a tuple with the ExternalObservedHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetKeysignMs ¶
func (o *ObservedTx) GetKeysignMs() int64
GetKeysignMs returns the KeysignMs field value if set, zero value otherwise.
func (*ObservedTx) GetKeysignMsOk ¶
func (o *ObservedTx) GetKeysignMsOk() (*int64, bool)
GetKeysignMsOk returns a tuple with the KeysignMs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetObservedPubKey ¶
func (o *ObservedTx) GetObservedPubKey() string
GetObservedPubKey returns the ObservedPubKey field value if set, zero value otherwise.
func (*ObservedTx) GetObservedPubKeyOk ¶
func (o *ObservedTx) GetObservedPubKeyOk() (*string, bool)
GetObservedPubKeyOk returns a tuple with the ObservedPubKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetOutHashes ¶
func (o *ObservedTx) GetOutHashes() []string
GetOutHashes returns the OutHashes field value if set, zero value otherwise.
func (*ObservedTx) GetOutHashesOk ¶
func (o *ObservedTx) GetOutHashesOk() ([]string, bool)
GetOutHashesOk returns a tuple with the OutHashes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetSigners ¶
func (o *ObservedTx) GetSigners() []string
GetSigners returns the Signers field value if set, zero value otherwise.
func (*ObservedTx) GetSignersOk ¶
func (o *ObservedTx) GetSignersOk() ([]string, bool)
GetSignersOk returns a tuple with the Signers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetStatus ¶
func (o *ObservedTx) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ObservedTx) GetStatusOk ¶
func (o *ObservedTx) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObservedTx) GetTxOk ¶
func (o *ObservedTx) GetTxOk() (*Tx, bool)
GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.
func (*ObservedTx) HasAggregator ¶
func (o *ObservedTx) HasAggregator() bool
HasAggregator returns a boolean if a field has been set.
func (*ObservedTx) HasAggregatorTarget ¶
func (o *ObservedTx) HasAggregatorTarget() bool
HasAggregatorTarget returns a boolean if a field has been set.
func (*ObservedTx) HasAggregatorTargetLimit ¶
func (o *ObservedTx) HasAggregatorTargetLimit() bool
HasAggregatorTargetLimit returns a boolean if a field has been set.
func (*ObservedTx) HasExternalConfirmationDelayHeight ¶
func (o *ObservedTx) HasExternalConfirmationDelayHeight() bool
HasExternalConfirmationDelayHeight returns a boolean if a field has been set.
func (*ObservedTx) HasExternalObservedHeight ¶
func (o *ObservedTx) HasExternalObservedHeight() bool
HasExternalObservedHeight returns a boolean if a field has been set.
func (*ObservedTx) HasKeysignMs ¶
func (o *ObservedTx) HasKeysignMs() bool
HasKeysignMs returns a boolean if a field has been set.
func (*ObservedTx) HasObservedPubKey ¶
func (o *ObservedTx) HasObservedPubKey() bool
HasObservedPubKey returns a boolean if a field has been set.
func (*ObservedTx) HasOutHashes ¶
func (o *ObservedTx) HasOutHashes() bool
HasOutHashes returns a boolean if a field has been set.
func (*ObservedTx) HasSigners ¶
func (o *ObservedTx) HasSigners() bool
HasSigners returns a boolean if a field has been set.
func (*ObservedTx) HasStatus ¶
func (o *ObservedTx) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ObservedTx) MarshalJSON_deprecated ¶
func (o ObservedTx) MarshalJSON_deprecated() ([]byte, error)
func (*ObservedTx) SetAggregator ¶
func (o *ObservedTx) SetAggregator(v string)
SetAggregator gets a reference to the given string and assigns it to the Aggregator field.
func (*ObservedTx) SetAggregatorTarget ¶
func (o *ObservedTx) SetAggregatorTarget(v string)
SetAggregatorTarget gets a reference to the given string and assigns it to the AggregatorTarget field.
func (*ObservedTx) SetAggregatorTargetLimit ¶
func (o *ObservedTx) SetAggregatorTargetLimit(v string)
SetAggregatorTargetLimit gets a reference to the given string and assigns it to the AggregatorTargetLimit field.
func (*ObservedTx) SetExternalConfirmationDelayHeight ¶
func (o *ObservedTx) SetExternalConfirmationDelayHeight(v int64)
SetExternalConfirmationDelayHeight gets a reference to the given int64 and assigns it to the ExternalConfirmationDelayHeight field.
func (*ObservedTx) SetExternalObservedHeight ¶
func (o *ObservedTx) SetExternalObservedHeight(v int64)
SetExternalObservedHeight gets a reference to the given int64 and assigns it to the ExternalObservedHeight field.
func (*ObservedTx) SetKeysignMs ¶
func (o *ObservedTx) SetKeysignMs(v int64)
SetKeysignMs gets a reference to the given int64 and assigns it to the KeysignMs field.
func (*ObservedTx) SetObservedPubKey ¶
func (o *ObservedTx) SetObservedPubKey(v string)
SetObservedPubKey gets a reference to the given string and assigns it to the ObservedPubKey field.
func (*ObservedTx) SetOutHashes ¶
func (o *ObservedTx) SetOutHashes(v []string)
SetOutHashes gets a reference to the given []string and assigns it to the OutHashes field.
func (*ObservedTx) SetSigners ¶
func (o *ObservedTx) SetSigners(v []string)
SetSigners gets a reference to the given []string and assigns it to the Signers field.
func (*ObservedTx) SetStatus ¶
func (o *ObservedTx) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type OutboundDelayStage ¶
type OutboundDelayStage struct { // the number of remaining THORChain blocks the outbound will be delayed RemainingDelayBlocks *int64 `json:"remaining_delay_blocks,omitempty"` // the estimated remaining seconds of the outbound delay before it will be sent RemainingDelaySeconds *int64 `json:"remaining_delay_seconds,omitempty"` // returns true if no transaction outbound delay remains Completed bool `json:"completed"` }
OutboundDelayStage struct for OutboundDelayStage
func NewOutboundDelayStage ¶
func NewOutboundDelayStage(completed bool) *OutboundDelayStage
NewOutboundDelayStage instantiates a new OutboundDelayStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutboundDelayStageWithDefaults ¶
func NewOutboundDelayStageWithDefaults() *OutboundDelayStage
NewOutboundDelayStageWithDefaults instantiates a new OutboundDelayStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutboundDelayStage) GetCompleted ¶
func (o *OutboundDelayStage) GetCompleted() bool
GetCompleted returns the Completed field value
func (*OutboundDelayStage) GetCompletedOk ¶
func (o *OutboundDelayStage) GetCompletedOk() (*bool, bool)
GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.
func (*OutboundDelayStage) GetRemainingDelayBlocks ¶
func (o *OutboundDelayStage) GetRemainingDelayBlocks() int64
GetRemainingDelayBlocks returns the RemainingDelayBlocks field value if set, zero value otherwise.
func (*OutboundDelayStage) GetRemainingDelayBlocksOk ¶
func (o *OutboundDelayStage) GetRemainingDelayBlocksOk() (*int64, bool)
GetRemainingDelayBlocksOk returns a tuple with the RemainingDelayBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutboundDelayStage) GetRemainingDelaySeconds ¶
func (o *OutboundDelayStage) GetRemainingDelaySeconds() int64
GetRemainingDelaySeconds returns the RemainingDelaySeconds field value if set, zero value otherwise.
func (*OutboundDelayStage) GetRemainingDelaySecondsOk ¶
func (o *OutboundDelayStage) GetRemainingDelaySecondsOk() (*int64, bool)
GetRemainingDelaySecondsOk returns a tuple with the RemainingDelaySeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutboundDelayStage) HasRemainingDelayBlocks ¶
func (o *OutboundDelayStage) HasRemainingDelayBlocks() bool
HasRemainingDelayBlocks returns a boolean if a field has been set.
func (*OutboundDelayStage) HasRemainingDelaySeconds ¶
func (o *OutboundDelayStage) HasRemainingDelaySeconds() bool
HasRemainingDelaySeconds returns a boolean if a field has been set.
func (OutboundDelayStage) MarshalJSON_deprecated ¶
func (o OutboundDelayStage) MarshalJSON_deprecated() ([]byte, error)
func (*OutboundDelayStage) SetCompleted ¶
func (o *OutboundDelayStage) SetCompleted(v bool)
SetCompleted sets field value
func (*OutboundDelayStage) SetRemainingDelayBlocks ¶
func (o *OutboundDelayStage) SetRemainingDelayBlocks(v int64)
SetRemainingDelayBlocks gets a reference to the given int64 and assigns it to the RemainingDelayBlocks field.
func (*OutboundDelayStage) SetRemainingDelaySeconds ¶
func (o *OutboundDelayStage) SetRemainingDelaySeconds(v int64)
SetRemainingDelaySeconds gets a reference to the given int64 and assigns it to the RemainingDelaySeconds field.
type OutboundFee ¶
type OutboundFee struct { // the asset to display the outbound fee for Asset string `json:"asset"` // the asset's outbound fee, in (1e8-format) units of the asset OutboundFee string `json:"outbound_fee"` // Total RUNE the network has withheld as fees to later cover gas costs for this asset's outbounds FeeWithheldRune *string `json:"fee_withheld_rune,omitempty"` // Total RUNE the network has spent to reimburse gas costs for this asset's outbounds FeeSpentRune *string `json:"fee_spent_rune,omitempty"` // amount of RUNE by which the fee_withheld_rune exceeds the fee_spent_rune SurplusRune *string `json:"surplus_rune,omitempty"` // dynamic multiplier basis points, based on the surplus_rune, affecting the size of the outbound_fee DynamicMultiplierBasisPoints *string `json:"dynamic_multiplier_basis_points,omitempty"` }
OutboundFee struct for OutboundFee
func NewOutboundFee ¶
func NewOutboundFee(asset string, outboundFee string) *OutboundFee
NewOutboundFee instantiates a new OutboundFee object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutboundFeeWithDefaults ¶
func NewOutboundFeeWithDefaults() *OutboundFee
NewOutboundFeeWithDefaults instantiates a new OutboundFee object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutboundFee) GetAsset ¶
func (o *OutboundFee) GetAsset() string
GetAsset returns the Asset field value
func (*OutboundFee) GetAssetOk ¶
func (o *OutboundFee) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*OutboundFee) GetDynamicMultiplierBasisPoints ¶
func (o *OutboundFee) GetDynamicMultiplierBasisPoints() string
GetDynamicMultiplierBasisPoints returns the DynamicMultiplierBasisPoints field value if set, zero value otherwise.
func (*OutboundFee) GetDynamicMultiplierBasisPointsOk ¶
func (o *OutboundFee) GetDynamicMultiplierBasisPointsOk() (*string, bool)
GetDynamicMultiplierBasisPointsOk returns a tuple with the DynamicMultiplierBasisPoints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutboundFee) GetFeeSpentRune ¶
func (o *OutboundFee) GetFeeSpentRune() string
GetFeeSpentRune returns the FeeSpentRune field value if set, zero value otherwise.
func (*OutboundFee) GetFeeSpentRuneOk ¶
func (o *OutboundFee) GetFeeSpentRuneOk() (*string, bool)
GetFeeSpentRuneOk returns a tuple with the FeeSpentRune field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutboundFee) GetFeeWithheldRune ¶
func (o *OutboundFee) GetFeeWithheldRune() string
GetFeeWithheldRune returns the FeeWithheldRune field value if set, zero value otherwise.
func (*OutboundFee) GetFeeWithheldRuneOk ¶
func (o *OutboundFee) GetFeeWithheldRuneOk() (*string, bool)
GetFeeWithheldRuneOk returns a tuple with the FeeWithheldRune field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutboundFee) GetOutboundFee ¶
func (o *OutboundFee) GetOutboundFee() string
GetOutboundFee returns the OutboundFee field value
func (*OutboundFee) GetOutboundFeeOk ¶
func (o *OutboundFee) GetOutboundFeeOk() (*string, bool)
GetOutboundFeeOk returns a tuple with the OutboundFee field value and a boolean to check if the value has been set.
func (*OutboundFee) GetSurplusRune ¶
func (o *OutboundFee) GetSurplusRune() string
GetSurplusRune returns the SurplusRune field value if set, zero value otherwise.
func (*OutboundFee) GetSurplusRuneOk ¶
func (o *OutboundFee) GetSurplusRuneOk() (*string, bool)
GetSurplusRuneOk returns a tuple with the SurplusRune field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutboundFee) HasDynamicMultiplierBasisPoints ¶
func (o *OutboundFee) HasDynamicMultiplierBasisPoints() bool
HasDynamicMultiplierBasisPoints returns a boolean if a field has been set.
func (*OutboundFee) HasFeeSpentRune ¶
func (o *OutboundFee) HasFeeSpentRune() bool
HasFeeSpentRune returns a boolean if a field has been set.
func (*OutboundFee) HasFeeWithheldRune ¶
func (o *OutboundFee) HasFeeWithheldRune() bool
HasFeeWithheldRune returns a boolean if a field has been set.
func (*OutboundFee) HasSurplusRune ¶
func (o *OutboundFee) HasSurplusRune() bool
HasSurplusRune returns a boolean if a field has been set.
func (OutboundFee) MarshalJSON_deprecated ¶
func (o OutboundFee) MarshalJSON_deprecated() ([]byte, error)
func (*OutboundFee) SetDynamicMultiplierBasisPoints ¶
func (o *OutboundFee) SetDynamicMultiplierBasisPoints(v string)
SetDynamicMultiplierBasisPoints gets a reference to the given string and assigns it to the DynamicMultiplierBasisPoints field.
func (*OutboundFee) SetFeeSpentRune ¶
func (o *OutboundFee) SetFeeSpentRune(v string)
SetFeeSpentRune gets a reference to the given string and assigns it to the FeeSpentRune field.
func (*OutboundFee) SetFeeWithheldRune ¶
func (o *OutboundFee) SetFeeWithheldRune(v string)
SetFeeWithheldRune gets a reference to the given string and assigns it to the FeeWithheldRune field.
func (*OutboundFee) SetOutboundFee ¶
func (o *OutboundFee) SetOutboundFee(v string)
SetOutboundFee sets field value
func (*OutboundFee) SetSurplusRune ¶
func (o *OutboundFee) SetSurplusRune(v string)
SetSurplusRune gets a reference to the given string and assigns it to the SurplusRune field.
type OutboundSignedStage ¶
type OutboundSignedStage struct { // THORChain height for which the external outbound is scheduled ScheduledOutboundHeight *int64 `json:"scheduled_outbound_height,omitempty"` // THORChain blocks since the scheduled outbound height BlocksSinceScheduled *int64 `json:"blocks_since_scheduled,omitempty"` // returns true if an external transaction has been signed and broadcast (and observed in its mempool) Completed bool `json:"completed"` }
OutboundSignedStage struct for OutboundSignedStage
func NewOutboundSignedStage ¶
func NewOutboundSignedStage(completed bool) *OutboundSignedStage
NewOutboundSignedStage instantiates a new OutboundSignedStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutboundSignedStageWithDefaults ¶
func NewOutboundSignedStageWithDefaults() *OutboundSignedStage
NewOutboundSignedStageWithDefaults instantiates a new OutboundSignedStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OutboundSignedStage) GetBlocksSinceScheduled ¶
func (o *OutboundSignedStage) GetBlocksSinceScheduled() int64
GetBlocksSinceScheduled returns the BlocksSinceScheduled field value if set, zero value otherwise.
func (*OutboundSignedStage) GetBlocksSinceScheduledOk ¶
func (o *OutboundSignedStage) GetBlocksSinceScheduledOk() (*int64, bool)
GetBlocksSinceScheduledOk returns a tuple with the BlocksSinceScheduled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutboundSignedStage) GetCompleted ¶
func (o *OutboundSignedStage) GetCompleted() bool
GetCompleted returns the Completed field value
func (*OutboundSignedStage) GetCompletedOk ¶
func (o *OutboundSignedStage) GetCompletedOk() (*bool, bool)
GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.
func (*OutboundSignedStage) GetScheduledOutboundHeight ¶
func (o *OutboundSignedStage) GetScheduledOutboundHeight() int64
GetScheduledOutboundHeight returns the ScheduledOutboundHeight field value if set, zero value otherwise.
func (*OutboundSignedStage) GetScheduledOutboundHeightOk ¶
func (o *OutboundSignedStage) GetScheduledOutboundHeightOk() (*int64, bool)
GetScheduledOutboundHeightOk returns a tuple with the ScheduledOutboundHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutboundSignedStage) HasBlocksSinceScheduled ¶
func (o *OutboundSignedStage) HasBlocksSinceScheduled() bool
HasBlocksSinceScheduled returns a boolean if a field has been set.
func (*OutboundSignedStage) HasScheduledOutboundHeight ¶
func (o *OutboundSignedStage) HasScheduledOutboundHeight() bool
HasScheduledOutboundHeight returns a boolean if a field has been set.
func (OutboundSignedStage) MarshalJSON_deprecated ¶
func (o OutboundSignedStage) MarshalJSON_deprecated() ([]byte, error)
func (*OutboundSignedStage) SetBlocksSinceScheduled ¶
func (o *OutboundSignedStage) SetBlocksSinceScheduled(v int64)
SetBlocksSinceScheduled gets a reference to the given int64 and assigns it to the BlocksSinceScheduled field.
func (*OutboundSignedStage) SetCompleted ¶
func (o *OutboundSignedStage) SetCompleted(v bool)
SetCompleted sets field value
func (*OutboundSignedStage) SetScheduledOutboundHeight ¶
func (o *OutboundSignedStage) SetScheduledOutboundHeight(v int64)
SetScheduledOutboundHeight gets a reference to the given int64 and assigns it to the ScheduledOutboundHeight field.
type POL ¶
type POL struct { // total amount of RUNE deposited into the pools RuneDeposited string `json:"rune_deposited"` // total amount of RUNE withdrawn from the pools RuneWithdrawn string `json:"rune_withdrawn"` // total value of protocol's LP position in RUNE value Value string `json:"value"` // profit and loss of protocol owned liquidity Pnl string `json:"pnl"` // current amount of rune deposited CurrentDeposit string `json:"current_deposit"` }
POL struct for POL
func NewPOL ¶
func NewPOL(runeDeposited string, runeWithdrawn string, value string, pnl string, currentDeposit string) *POL
NewPOL instantiates a new POL object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPOLWithDefaults ¶
func NewPOLWithDefaults() *POL
NewPOLWithDefaults instantiates a new POL object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*POL) GetCurrentDeposit ¶
GetCurrentDeposit returns the CurrentDeposit field value
func (*POL) GetCurrentDepositOk ¶
GetCurrentDepositOk returns a tuple with the CurrentDeposit field value and a boolean to check if the value has been set.
func (*POL) GetPnlOk ¶
GetPnlOk returns a tuple with the Pnl field value and a boolean to check if the value has been set.
func (*POL) GetRuneDeposited ¶
GetRuneDeposited returns the RuneDeposited field value
func (*POL) GetRuneDepositedOk ¶
GetRuneDepositedOk returns a tuple with the RuneDeposited field value and a boolean to check if the value has been set.
func (*POL) GetRuneWithdrawn ¶
GetRuneWithdrawn returns the RuneWithdrawn field value
func (*POL) GetRuneWithdrawnOk ¶
GetRuneWithdrawnOk returns a tuple with the RuneWithdrawn field value and a boolean to check if the value has been set.
func (*POL) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (POL) MarshalJSON_deprecated ¶
func (*POL) SetCurrentDeposit ¶
SetCurrentDeposit sets field value
func (*POL) SetRuneDeposited ¶
SetRuneDeposited sets field value
func (*POL) SetRuneWithdrawn ¶
SetRuneWithdrawn 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) GetPingOk ¶
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) MarshalJSON_deprecated ¶
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) SetRefund ¶
func (o *PlannedOutTx) SetRefund(v bool)
SetRefund sets field value
func (*PlannedOutTx) SetToAddress ¶
func (o *PlannedOutTx) SetToAddress(v string)
SetToAddress sets field value
type Pool ¶
type Pool struct { Asset string `json:"asset"` ShortCode *string `json:"short_code,omitempty"` Status string `json:"status"` Decimals *int64 `json:"decimals,omitempty"` PendingInboundAsset string `json:"pending_inbound_asset"` PendingInboundRune string `json:"pending_inbound_rune"` BalanceAsset string `json:"balance_asset"` BalanceRune string `json:"balance_rune"` // the USD (TOR) price of the asset in 1e8 AssetTorPrice string `json:"asset_tor_price"` // the total pool units, this is the sum of LP and synth units PoolUnits string `json:"pool_units"` // the total pool liquidity provider units LPUnits string `json:"LP_units"` // the total synth units in the pool SynthUnits string `json:"synth_units"` // the total supply of synths for the asset SynthSupply string `json:"synth_supply"` // the balance of L1 asset deposited into the Savers Vault SaversDepth string `json:"savers_depth"` // the number of units owned by Savers SaversUnits string `json:"savers_units"` // the filled savers capacity in basis points, 4500/10000 = 45% SaversFillBps string `json:"savers_fill_bps"` // amount of remaining capacity in asset SaversCapacityRemaining string `json:"savers_capacity_remaining"` // whether additional synths cannot be minted SynthMintPaused bool `json:"synth_mint_paused"` // the amount of synth supply remaining before the current max supply is reached SynthSupplyRemaining string `json:"synth_supply_remaining"` // the amount of collateral collects for loans LoanCollateral string `json:"loan_collateral"` // the amount of remaining collateral collects for loans LoanCollateralRemaining string `json:"loan_collateral_remaining"` // the current loan collateralization ratio LoanCr string `json:"loan_cr"` // the depth of the derived virtual pool relative to L1 pool (in basis points) DerivedDepthBps string `json:"derived_depth_bps"` }
Pool struct for Pool
func NewPool ¶
func NewPool(asset string, status string, pendingInboundAsset string, pendingInboundRune string, balanceAsset string, balanceRune string, assetTorPrice string, poolUnits string, lPUnits string, synthUnits string, synthSupply string, saversDepth string, saversUnits string, saversFillBps string, saversCapacityRemaining string, synthMintPaused bool, synthSupplyRemaining string, loanCollateral string, loanCollateralRemaining string, loanCr string, derivedDepthBps string) *Pool
NewPool instantiates a new Pool object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolWithDefaults ¶
func NewPoolWithDefaults() *Pool
NewPoolWithDefaults instantiates a new Pool object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Pool) GetAssetOk ¶
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*Pool) GetAssetTorPrice ¶
GetAssetTorPrice returns the AssetTorPrice field value
func (*Pool) GetAssetTorPriceOk ¶
GetAssetTorPriceOk returns a tuple with the AssetTorPrice field value and a boolean to check if the value has been set.
func (*Pool) GetBalanceAsset ¶
GetBalanceAsset returns the BalanceAsset field value
func (*Pool) GetBalanceAssetOk ¶
GetBalanceAssetOk returns a tuple with the BalanceAsset field value and a boolean to check if the value has been set.
func (*Pool) GetBalanceRune ¶
GetBalanceRune returns the BalanceRune field value
func (*Pool) GetBalanceRuneOk ¶
GetBalanceRuneOk returns a tuple with the BalanceRune field value and a boolean to check if the value has been set.
func (*Pool) GetDecimals ¶
GetDecimals returns the Decimals field value if set, zero value otherwise.
func (*Pool) GetDecimalsOk ¶
GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pool) GetDerivedDepthBps ¶
GetDerivedDepthBps returns the DerivedDepthBps field value
func (*Pool) GetDerivedDepthBpsOk ¶
GetDerivedDepthBpsOk returns a tuple with the DerivedDepthBps field value and a boolean to check if the value has been set.
func (*Pool) GetLPUnits ¶
GetLPUnits returns the LPUnits field value
func (*Pool) GetLPUnitsOk ¶
GetLPUnitsOk returns a tuple with the LPUnits field value and a boolean to check if the value has been set.
func (*Pool) GetLoanCollateral ¶
GetLoanCollateral returns the LoanCollateral field value
func (*Pool) GetLoanCollateralOk ¶
GetLoanCollateralOk returns a tuple with the LoanCollateral field value and a boolean to check if the value has been set.
func (*Pool) GetLoanCollateralRemaining ¶
GetLoanCollateralRemaining returns the LoanCollateralRemaining field value
func (*Pool) GetLoanCollateralRemainingOk ¶
GetLoanCollateralRemainingOk returns a tuple with the LoanCollateralRemaining field value and a boolean to check if the value has been set.
func (*Pool) GetLoanCrOk ¶
GetLoanCrOk returns a tuple with the LoanCr field value and a boolean to check if the value has been set.
func (*Pool) GetPendingInboundAsset ¶
GetPendingInboundAsset returns the PendingInboundAsset field value
func (*Pool) GetPendingInboundAssetOk ¶
GetPendingInboundAssetOk returns a tuple with the PendingInboundAsset field value and a boolean to check if the value has been set.
func (*Pool) GetPendingInboundRune ¶
GetPendingInboundRune returns the PendingInboundRune field value
func (*Pool) GetPendingInboundRuneOk ¶
GetPendingInboundRuneOk returns a tuple with the PendingInboundRune field value and a boolean to check if the value has been set.
func (*Pool) GetPoolUnits ¶
GetPoolUnits returns the PoolUnits field value
func (*Pool) GetPoolUnitsOk ¶
GetPoolUnitsOk returns a tuple with the PoolUnits field value and a boolean to check if the value has been set.
func (*Pool) GetSaversCapacityRemaining ¶
GetSaversCapacityRemaining returns the SaversCapacityRemaining field value
func (*Pool) GetSaversCapacityRemainingOk ¶
GetSaversCapacityRemainingOk returns a tuple with the SaversCapacityRemaining field value and a boolean to check if the value has been set.
func (*Pool) GetSaversDepth ¶
GetSaversDepth returns the SaversDepth field value
func (*Pool) GetSaversDepthOk ¶
GetSaversDepthOk returns a tuple with the SaversDepth field value and a boolean to check if the value has been set.
func (*Pool) GetSaversFillBps ¶
GetSaversFillBps returns the SaversFillBps field value
func (*Pool) GetSaversFillBpsOk ¶
GetSaversFillBpsOk returns a tuple with the SaversFillBps field value and a boolean to check if the value has been set.
func (*Pool) GetSaversUnits ¶
GetSaversUnits returns the SaversUnits field value
func (*Pool) GetSaversUnitsOk ¶
GetSaversUnitsOk returns a tuple with the SaversUnits field value and a boolean to check if the value has been set.
func (*Pool) GetShortCode ¶
GetShortCode returns the ShortCode field value if set, zero value otherwise.
func (*Pool) GetShortCodeOk ¶
GetShortCodeOk returns a tuple with the ShortCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pool) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Pool) GetSynthMintPaused ¶
GetSynthMintPaused returns the SynthMintPaused field value
func (*Pool) GetSynthMintPausedOk ¶
GetSynthMintPausedOk returns a tuple with the SynthMintPaused field value and a boolean to check if the value has been set.
func (*Pool) GetSynthSupply ¶
GetSynthSupply returns the SynthSupply field value
func (*Pool) GetSynthSupplyOk ¶
GetSynthSupplyOk returns a tuple with the SynthSupply field value and a boolean to check if the value has been set.
func (*Pool) GetSynthSupplyRemaining ¶
GetSynthSupplyRemaining returns the SynthSupplyRemaining field value
func (*Pool) GetSynthSupplyRemainingOk ¶
GetSynthSupplyRemainingOk returns a tuple with the SynthSupplyRemaining field value and a boolean to check if the value has been set.
func (*Pool) GetSynthUnits ¶
GetSynthUnits returns the SynthUnits field value
func (*Pool) GetSynthUnitsOk ¶
GetSynthUnitsOk returns a tuple with the SynthUnits field value and a boolean to check if the value has been set.
func (*Pool) HasDecimals ¶
HasDecimals returns a boolean if a field has been set.
func (*Pool) HasShortCode ¶
HasShortCode returns a boolean if a field has been set.
func (Pool) MarshalJSON_deprecated ¶
func (*Pool) SetAssetTorPrice ¶
SetAssetTorPrice sets field value
func (*Pool) SetBalanceAsset ¶
SetBalanceAsset sets field value
func (*Pool) SetBalanceRune ¶
SetBalanceRune sets field value
func (*Pool) SetDecimals ¶
SetDecimals gets a reference to the given int64 and assigns it to the Decimals field.
func (*Pool) SetDerivedDepthBps ¶
SetDerivedDepthBps sets field value
func (*Pool) SetLoanCollateral ¶
SetLoanCollateral sets field value
func (*Pool) SetLoanCollateralRemaining ¶
SetLoanCollateralRemaining sets field value
func (*Pool) SetPendingInboundAsset ¶
SetPendingInboundAsset sets field value
func (*Pool) SetPendingInboundRune ¶
SetPendingInboundRune sets field value
func (*Pool) SetSaversCapacityRemaining ¶
SetSaversCapacityRemaining sets field value
func (*Pool) SetSaversDepth ¶
SetSaversDepth sets field value
func (*Pool) SetSaversFillBps ¶
SetSaversFillBps sets field value
func (*Pool) SetSaversUnits ¶
SetSaversUnits sets field value
func (*Pool) SetShortCode ¶
SetShortCode gets a reference to the given string and assigns it to the ShortCode field.
func (*Pool) SetSynthMintPaused ¶
SetSynthMintPaused sets field value
func (*Pool) SetSynthSupply ¶
SetSynthSupply sets field value
func (*Pool) SetSynthSupplyRemaining ¶
SetSynthSupplyRemaining sets field value
type PoolSlipApiService ¶
type PoolSlipApiService service
PoolSlipApiService PoolSlipApi service
func (*PoolSlipApiService) Poolslip ¶
func (a *PoolSlipApiService) Poolslip(ctx context.Context, asset string) ApiPoolslipRequest
Poolslip Method for Poolslip
Returns the pool slip information for the provided asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiPoolslipRequest
func (*PoolSlipApiService) PoolslipExecute ¶
func (a *PoolSlipApiService) PoolslipExecute(r ApiPoolslipRequest) ([]PoolSlipResponseInner, *http.Response, error)
Execute executes the request
@return []PoolSlipResponseInner
func (*PoolSlipApiService) Poolslips ¶
func (a *PoolSlipApiService) Poolslips(ctx context.Context) ApiPoolslipsRequest
Poolslips Method for Poolslips
Returns the pool slip information for all Available Layer 1 pool assets.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPoolslipsRequest
func (*PoolSlipApiService) PoolslipsExecute ¶
func (a *PoolSlipApiService) PoolslipsExecute(r ApiPoolslipsRequest) ([]PoolSlipResponseInner, *http.Response, error)
Execute executes the request
@return []PoolSlipResponseInner
type PoolSlipResponseInner ¶
type PoolSlipResponseInner struct { Asset string `json:"asset"` // Pool slip for this asset's pool for the current height PoolSlip int64 `json:"pool_slip"` // Number of stored pool slips contributing to the current stored rollup RollupCount int64 `json:"rollup_count"` // Median of rollup snapshots over a long period LongRollup int64 `json:"long_rollup"` // Stored sum of pool slips over a number of previous block heights Rollup int64 `json:"rollup"` // Summed pool slips over a number of previous block heights, to checksum the stored rollup SummedRollup *int64 `json:"summed_rollup,omitempty"` }
PoolSlipResponseInner struct for PoolSlipResponseInner
func NewPoolSlipResponseInner ¶
func NewPoolSlipResponseInner(asset string, poolSlip int64, rollupCount int64, longRollup int64, rollup int64) *PoolSlipResponseInner
NewPoolSlipResponseInner instantiates a new PoolSlipResponseInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolSlipResponseInnerWithDefaults ¶
func NewPoolSlipResponseInnerWithDefaults() *PoolSlipResponseInner
NewPoolSlipResponseInnerWithDefaults instantiates a new PoolSlipResponseInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolSlipResponseInner) GetAsset ¶
func (o *PoolSlipResponseInner) GetAsset() string
GetAsset returns the Asset field value
func (*PoolSlipResponseInner) GetAssetOk ¶
func (o *PoolSlipResponseInner) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*PoolSlipResponseInner) GetLongRollup ¶
func (o *PoolSlipResponseInner) GetLongRollup() int64
GetLongRollup returns the LongRollup field value
func (*PoolSlipResponseInner) GetLongRollupOk ¶
func (o *PoolSlipResponseInner) GetLongRollupOk() (*int64, bool)
GetLongRollupOk returns a tuple with the LongRollup field value and a boolean to check if the value has been set.
func (*PoolSlipResponseInner) GetPoolSlip ¶
func (o *PoolSlipResponseInner) GetPoolSlip() int64
GetPoolSlip returns the PoolSlip field value
func (*PoolSlipResponseInner) GetPoolSlipOk ¶
func (o *PoolSlipResponseInner) GetPoolSlipOk() (*int64, bool)
GetPoolSlipOk returns a tuple with the PoolSlip field value and a boolean to check if the value has been set.
func (*PoolSlipResponseInner) GetRollup ¶
func (o *PoolSlipResponseInner) GetRollup() int64
GetRollup returns the Rollup field value
func (*PoolSlipResponseInner) GetRollupCount ¶
func (o *PoolSlipResponseInner) GetRollupCount() int64
GetRollupCount returns the RollupCount field value
func (*PoolSlipResponseInner) GetRollupCountOk ¶
func (o *PoolSlipResponseInner) GetRollupCountOk() (*int64, bool)
GetRollupCountOk returns a tuple with the RollupCount field value and a boolean to check if the value has been set.
func (*PoolSlipResponseInner) GetRollupOk ¶
func (o *PoolSlipResponseInner) GetRollupOk() (*int64, bool)
GetRollupOk returns a tuple with the Rollup field value and a boolean to check if the value has been set.
func (*PoolSlipResponseInner) GetSummedRollup ¶
func (o *PoolSlipResponseInner) GetSummedRollup() int64
GetSummedRollup returns the SummedRollup field value if set, zero value otherwise.
func (*PoolSlipResponseInner) GetSummedRollupOk ¶
func (o *PoolSlipResponseInner) GetSummedRollupOk() (*int64, bool)
GetSummedRollupOk returns a tuple with the SummedRollup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolSlipResponseInner) HasSummedRollup ¶
func (o *PoolSlipResponseInner) HasSummedRollup() bool
HasSummedRollup returns a boolean if a field has been set.
func (PoolSlipResponseInner) MarshalJSON_deprecated ¶
func (o PoolSlipResponseInner) MarshalJSON_deprecated() ([]byte, error)
func (*PoolSlipResponseInner) SetAsset ¶
func (o *PoolSlipResponseInner) SetAsset(v string)
SetAsset sets field value
func (*PoolSlipResponseInner) SetLongRollup ¶
func (o *PoolSlipResponseInner) SetLongRollup(v int64)
SetLongRollup sets field value
func (*PoolSlipResponseInner) SetPoolSlip ¶
func (o *PoolSlipResponseInner) SetPoolSlip(v int64)
SetPoolSlip sets field value
func (*PoolSlipResponseInner) SetRollup ¶
func (o *PoolSlipResponseInner) SetRollup(v int64)
SetRollup sets field value
func (*PoolSlipResponseInner) SetRollupCount ¶
func (o *PoolSlipResponseInner) SetRollupCount(v int64)
SetRollupCount sets field value
func (*PoolSlipResponseInner) SetSummedRollup ¶
func (o *PoolSlipResponseInner) SetSummedRollup(v int64)
SetSummedRollup gets a reference to the given int64 and assigns it to the SummedRollup field.
type PoolsApiService ¶
type PoolsApiService service
PoolsApiService PoolsApi service
func (*PoolsApiService) Dpool ¶
func (a *PoolsApiService) Dpool(ctx context.Context, asset string) ApiDpoolRequest
Dpool Method for Dpool
Returns the pool information for the provided derived asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiDpoolRequest
func (*PoolsApiService) DpoolExecute ¶
func (a *PoolsApiService) DpoolExecute(r ApiDpoolRequest) (*DerivedPool, *http.Response, error)
Execute executes the request
@return DerivedPool
func (*PoolsApiService) Dpools ¶
func (a *PoolsApiService) Dpools(ctx context.Context) ApiDpoolsRequest
Dpools Method for Dpools
Returns the pool information for all derived assets.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDpoolsRequest
func (*PoolsApiService) DpoolsExecute ¶
func (a *PoolsApiService) DpoolsExecute(r ApiDpoolsRequest) ([]DerivedPool, *http.Response, error)
Execute executes the request
@return []DerivedPool
func (*PoolsApiService) Pool ¶
func (a *PoolsApiService) Pool(ctx context.Context, asset string) ApiPoolRequest
Pool Method for Pool
Returns the pool information for the provided asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiPoolRequest
func (*PoolsApiService) PoolExecute ¶
func (a *PoolsApiService) PoolExecute(r ApiPoolRequest) (*Pool, *http.Response, error)
Execute executes the request
@return Pool
func (*PoolsApiService) Pools ¶
func (a *PoolsApiService) Pools(ctx context.Context) ApiPoolsRequest
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 ¶
func (a *QueueApiService) Queue(ctx context.Context) ApiQueueRequest
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 ¶
func (a *QueueApiService) QueueExecute(r ApiQueueRequest) (*QueueResponse, *http.Response, error)
Execute executes the request
@return QueueResponse
func (*QueueApiService) QueueOutbound ¶
func (a *QueueApiService) QueueOutbound(ctx context.Context) ApiQueueOutboundRequest
QueueOutbound Method for QueueOutbound
Returns the outbound queue including estimated RUNE values.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiQueueOutboundRequest
func (*QueueApiService) QueueOutboundExecute ¶
func (a *QueueApiService) QueueOutboundExecute(r ApiQueueOutboundRequest) ([]TxOutItem, *http.Response, error)
Execute executes the request
@return []TxOutItem
func (*QueueApiService) QueueScheduled ¶
func (a *QueueApiService) QueueScheduled(ctx context.Context) ApiQueueScheduledRequest
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 ¶
func (a *QueueApiService) QueueSwap(ctx context.Context) ApiQueueSwapRequest
QueueSwap Method for QueueSwap
Returns the swap queue.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiQueueSwapRequest
func (*QueueApiService) QueueSwapExecute ¶
func (a *QueueApiService) QueueSwapExecute(r ApiQueueSwapRequest) ([]MsgSwap, *http.Response, error)
Execute executes the request
@return []MsgSwap
type QueueResponse ¶
type QueueResponse struct { Swap int64 `json:"swap"` // number of signed outbound tx in the queue Outbound int64 `json:"outbound"` Internal int64 `json:"internal"` // scheduled outbound value in RUNE ScheduledOutboundValue string `json:"scheduled_outbound_value"` // scheduled outbound clout in RUNE ScheduledOutboundClout string `json:"scheduled_outbound_clout"` }
QueueResponse struct for QueueResponse
func NewQueueResponse ¶
func NewQueueResponse(swap int64, outbound int64, internal int64, scheduledOutboundValue string, scheduledOutboundClout string) *QueueResponse
NewQueueResponse instantiates a new QueueResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueueResponseWithDefaults ¶
func NewQueueResponseWithDefaults() *QueueResponse
NewQueueResponseWithDefaults instantiates a new QueueResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QueueResponse) GetInternal ¶
func (o *QueueResponse) GetInternal() int64
GetInternal returns the Internal field value
func (*QueueResponse) GetInternalOk ¶
func (o *QueueResponse) GetInternalOk() (*int64, bool)
GetInternalOk returns a tuple with the Internal field value and a boolean to check if the value has been set.
func (*QueueResponse) GetOutbound ¶
func (o *QueueResponse) GetOutbound() int64
GetOutbound returns the Outbound field value
func (*QueueResponse) GetOutboundOk ¶
func (o *QueueResponse) GetOutboundOk() (*int64, bool)
GetOutboundOk returns a tuple with the Outbound field value and a boolean to check if the value has been set.
func (*QueueResponse) GetScheduledOutboundClout ¶
func (o *QueueResponse) GetScheduledOutboundClout() string
GetScheduledOutboundClout returns the ScheduledOutboundClout field value
func (*QueueResponse) GetScheduledOutboundCloutOk ¶
func (o *QueueResponse) GetScheduledOutboundCloutOk() (*string, bool)
GetScheduledOutboundCloutOk returns a tuple with the ScheduledOutboundClout field value and a boolean to check if the value has been set.
func (*QueueResponse) GetScheduledOutboundValue ¶
func (o *QueueResponse) GetScheduledOutboundValue() string
GetScheduledOutboundValue returns the ScheduledOutboundValue field value
func (*QueueResponse) GetScheduledOutboundValueOk ¶
func (o *QueueResponse) GetScheduledOutboundValueOk() (*string, bool)
GetScheduledOutboundValueOk returns a tuple with the ScheduledOutboundValue field value and a boolean to check if the value has been set.
func (*QueueResponse) GetSwap ¶
func (o *QueueResponse) GetSwap() int64
GetSwap returns the Swap field value
func (*QueueResponse) GetSwapOk ¶
func (o *QueueResponse) GetSwapOk() (*int64, bool)
GetSwapOk returns a tuple with the Swap field value and a boolean to check if the value has been set.
func (QueueResponse) MarshalJSON_deprecated ¶
func (o QueueResponse) MarshalJSON_deprecated() ([]byte, error)
func (*QueueResponse) SetInternal ¶
func (o *QueueResponse) SetInternal(v int64)
SetInternal sets field value
func (*QueueResponse) SetOutbound ¶
func (o *QueueResponse) SetOutbound(v int64)
SetOutbound sets field value
func (*QueueResponse) SetScheduledOutboundClout ¶
func (o *QueueResponse) SetScheduledOutboundClout(v string)
SetScheduledOutboundClout sets field value
func (*QueueResponse) SetScheduledOutboundValue ¶
func (o *QueueResponse) SetScheduledOutboundValue(v string)
SetScheduledOutboundValue sets field value
type QuoteApiService ¶
type QuoteApiService service
QuoteApiService QuoteApi service
func (*QuoteApiService) Quoteloanclose ¶
func (a *QuoteApiService) Quoteloanclose(ctx context.Context) ApiQuoteloancloseRequest
Quoteloanclose Method for Quoteloanclose
Provide a quote estimate for the provided loan close.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiQuoteloancloseRequest
func (*QuoteApiService) QuoteloancloseExecute ¶
func (a *QuoteApiService) QuoteloancloseExecute(r ApiQuoteloancloseRequest) (*QuoteLoanCloseResponse, *http.Response, error)
Execute executes the request
@return QuoteLoanCloseResponse
func (*QuoteApiService) Quoteloanopen ¶
func (a *QuoteApiService) Quoteloanopen(ctx context.Context) ApiQuoteloanopenRequest
Quoteloanopen Method for Quoteloanopen
Provide a quote estimate for the provided loan open.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiQuoteloanopenRequest
func (*QuoteApiService) QuoteloanopenExecute ¶
func (a *QuoteApiService) QuoteloanopenExecute(r ApiQuoteloanopenRequest) (*QuoteLoanOpenResponse, *http.Response, error)
Execute executes the request
@return QuoteLoanOpenResponse
func (*QuoteApiService) Quotesaverdeposit ¶
func (a *QuoteApiService) Quotesaverdeposit(ctx context.Context) ApiQuotesaverdepositRequest
Quotesaverdeposit Method for Quotesaverdeposit
Provide a quote estimate for the provided saver deposit.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiQuotesaverdepositRequest
func (*QuoteApiService) QuotesaverdepositExecute ¶
func (a *QuoteApiService) QuotesaverdepositExecute(r ApiQuotesaverdepositRequest) (*QuoteSaverDepositResponse, *http.Response, error)
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 ¶
func (a *QuoteApiService) QuotesaverwithdrawExecute(r ApiQuotesaverwithdrawRequest) (*QuoteSaverWithdrawResponse, *http.Response, error)
Execute executes the request
@return QuoteSaverWithdrawResponse
func (*QuoteApiService) Quoteswap ¶
func (a *QuoteApiService) Quoteswap(ctx context.Context) ApiQuoteswapRequest
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 ¶
func (a *QuoteApiService) QuoteswapExecute(r ApiQuoteswapRequest) (*QuoteSwapResponse, *http.Response, error)
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 ¶
GetAffiliate returns the Affiliate field value if set, zero value otherwise.
func (*QuoteFees) GetAffiliateOk ¶
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) GetAssetOk ¶
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*QuoteFees) GetLiquidity ¶
GetLiquidity returns the Liquidity field value
func (*QuoteFees) GetLiquidityOk ¶
GetLiquidityOk returns a tuple with the Liquidity field value and a boolean to check if the value has been set.
func (*QuoteFees) GetOutbound ¶
GetOutbound returns the Outbound field value if set, zero value otherwise.
func (*QuoteFees) GetOutboundOk ¶
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 ¶
GetSlippageBps returns the SlippageBps field value
func (*QuoteFees) GetSlippageBpsOk ¶
GetSlippageBpsOk returns a tuple with the SlippageBps field value and a boolean to check if the value has been set.
func (*QuoteFees) GetTotalBps ¶
GetTotalBps returns the TotalBps field value
func (*QuoteFees) GetTotalBpsOk ¶
GetTotalBpsOk returns a tuple with the TotalBps field value and a boolean to check if the value has been set.
func (*QuoteFees) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (*QuoteFees) HasAffiliate ¶
HasAffiliate returns a boolean if a field has been set.
func (*QuoteFees) HasOutbound ¶
HasOutbound returns a boolean if a field has been set.
func (QuoteFees) MarshalJSON_deprecated ¶
func (*QuoteFees) SetAffiliate ¶
SetAffiliate gets a reference to the given string and assigns it to the Affiliate field.
func (*QuoteFees) SetLiquidity ¶
SetLiquidity sets field value
func (*QuoteFees) SetOutbound ¶
SetOutbound gets a reference to the given string and assigns it to the Outbound field.
func (*QuoteFees) SetSlippageBps ¶
SetSlippageBps sets field value
func (*QuoteFees) SetTotalBps ¶
SetTotalBps sets field value
type QuoteLoanCloseResponse ¶
type QuoteLoanCloseResponse struct { // the inbound address for the transaction on the source chain InboundAddress *string `json:"inbound_address,omitempty"` // the approximate number of source chain blocks required before processing InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"` // the approximate seconds for block confirmations required before processing InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"` // the number of thorchain blocks the outbound will be delayed OutboundDelayBlocks int64 `json:"outbound_delay_blocks"` // the approximate seconds for the outbound delay before it will be sent OutboundDelaySeconds int64 `json:"outbound_delay_seconds"` Fees QuoteFees `json:"fees"` // the EVM chain router contract address Router *string `json:"router,omitempty"` // expiration timestamp in unix seconds Expiry int64 `json:"expiry"` // static warning message Warning string `json:"warning"` // chain specific quote notes Notes string `json:"notes"` // Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. DustThreshold *string `json:"dust_threshold,omitempty"` // The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"` // the recommended gas rate to use for the inbound to ensure timely confirmation RecommendedGasRate *string `json:"recommended_gas_rate,omitempty"` // the units of the recommended gas rate GasRateUnits *string `json:"gas_rate_units,omitempty"` // generated memo for the loan close Memo string `json:"memo"` // the amount of collateral asset the user can expect to receive after fees in 1e8 decimals ExpectedAmountOut string `json:"expected_amount_out"` // The quantity of the repayment asset to be sent by the user, calculated as the desired percentage of the loan's value, expressed in units of 1e8 ExpectedAmountIn string `json:"expected_amount_in"` // the expected amount of collateral decrease on the loan ExpectedCollateralWithdrawn string `json:"expected_collateral_withdrawn"` // the expected amount of TOR debt decrease on the loan ExpectedDebtRepaid string `json:"expected_debt_repaid"` // The number of blocks involved in the streaming swaps during the repayment process. StreamingSwapBlocks int64 `json:"streaming_swap_blocks"` // The approximate number of seconds taken by the streaming swaps involved in the repayment process. StreamingSwapSeconds int64 `json:"streaming_swap_seconds"` // The total expected duration for a repayment, measured in seconds, which includes the time for inbound confirmation, the duration of streaming swaps, and any outbound delays. TotalRepaySeconds int64 `json:"total_repay_seconds"` }
QuoteLoanCloseResponse struct for QuoteLoanCloseResponse
func NewQuoteLoanCloseResponse ¶
func NewQuoteLoanCloseResponse(outboundDelayBlocks int64, outboundDelaySeconds int64, fees QuoteFees, expiry int64, warning string, notes string, memo string, expectedAmountOut string, expectedAmountIn string, expectedCollateralWithdrawn string, expectedDebtRepaid string, streamingSwapBlocks int64, streamingSwapSeconds int64, totalRepaySeconds int64) *QuoteLoanCloseResponse
NewQuoteLoanCloseResponse instantiates a new QuoteLoanCloseResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuoteLoanCloseResponseWithDefaults ¶
func NewQuoteLoanCloseResponseWithDefaults() *QuoteLoanCloseResponse
NewQuoteLoanCloseResponseWithDefaults instantiates a new QuoteLoanCloseResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QuoteLoanCloseResponse) GetDustThreshold ¶
func (o *QuoteLoanCloseResponse) GetDustThreshold() string
GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.
func (*QuoteLoanCloseResponse) GetDustThresholdOk ¶
func (o *QuoteLoanCloseResponse) GetDustThresholdOk() (*string, bool)
GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetExpectedAmountIn ¶
func (o *QuoteLoanCloseResponse) GetExpectedAmountIn() string
GetExpectedAmountIn returns the ExpectedAmountIn field value
func (*QuoteLoanCloseResponse) GetExpectedAmountInOk ¶
func (o *QuoteLoanCloseResponse) GetExpectedAmountInOk() (*string, bool)
GetExpectedAmountInOk returns a tuple with the ExpectedAmountIn field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetExpectedAmountOut ¶
func (o *QuoteLoanCloseResponse) GetExpectedAmountOut() string
GetExpectedAmountOut returns the ExpectedAmountOut field value
func (*QuoteLoanCloseResponse) GetExpectedAmountOutOk ¶
func (o *QuoteLoanCloseResponse) GetExpectedAmountOutOk() (*string, bool)
GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetExpectedCollateralWithdrawn ¶
func (o *QuoteLoanCloseResponse) GetExpectedCollateralWithdrawn() string
GetExpectedCollateralWithdrawn returns the ExpectedCollateralWithdrawn field value
func (*QuoteLoanCloseResponse) GetExpectedCollateralWithdrawnOk ¶
func (o *QuoteLoanCloseResponse) GetExpectedCollateralWithdrawnOk() (*string, bool)
GetExpectedCollateralWithdrawnOk returns a tuple with the ExpectedCollateralWithdrawn field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetExpectedDebtRepaid ¶
func (o *QuoteLoanCloseResponse) GetExpectedDebtRepaid() string
GetExpectedDebtRepaid returns the ExpectedDebtRepaid field value
func (*QuoteLoanCloseResponse) GetExpectedDebtRepaidOk ¶
func (o *QuoteLoanCloseResponse) GetExpectedDebtRepaidOk() (*string, bool)
GetExpectedDebtRepaidOk returns a tuple with the ExpectedDebtRepaid field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetExpiry ¶
func (o *QuoteLoanCloseResponse) GetExpiry() int64
GetExpiry returns the Expiry field value
func (*QuoteLoanCloseResponse) GetExpiryOk ¶
func (o *QuoteLoanCloseResponse) GetExpiryOk() (*int64, bool)
GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetFees ¶
func (o *QuoteLoanCloseResponse) GetFees() QuoteFees
GetFees returns the Fees field value
func (*QuoteLoanCloseResponse) GetFeesOk ¶
func (o *QuoteLoanCloseResponse) GetFeesOk() (*QuoteFees, bool)
GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetGasRateUnits ¶
func (o *QuoteLoanCloseResponse) GetGasRateUnits() string
GetGasRateUnits returns the GasRateUnits field value if set, zero value otherwise.
func (*QuoteLoanCloseResponse) GetGasRateUnitsOk ¶
func (o *QuoteLoanCloseResponse) GetGasRateUnitsOk() (*string, bool)
GetGasRateUnitsOk returns a tuple with the GasRateUnits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetInboundAddress ¶
func (o *QuoteLoanCloseResponse) GetInboundAddress() string
GetInboundAddress returns the InboundAddress field value if set, zero value otherwise.
func (*QuoteLoanCloseResponse) GetInboundAddressOk ¶
func (o *QuoteLoanCloseResponse) GetInboundAddressOk() (*string, bool)
GetInboundAddressOk returns a tuple with the InboundAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetInboundConfirmationBlocks ¶
func (o *QuoteLoanCloseResponse) GetInboundConfirmationBlocks() int64
GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.
func (*QuoteLoanCloseResponse) GetInboundConfirmationBlocksOk ¶
func (o *QuoteLoanCloseResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetInboundConfirmationSeconds ¶
func (o *QuoteLoanCloseResponse) GetInboundConfirmationSeconds() int64
GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.
func (*QuoteLoanCloseResponse) GetInboundConfirmationSecondsOk ¶
func (o *QuoteLoanCloseResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetMemo ¶
func (o *QuoteLoanCloseResponse) GetMemo() string
GetMemo returns the Memo field value
func (*QuoteLoanCloseResponse) GetMemoOk ¶
func (o *QuoteLoanCloseResponse) GetMemoOk() (*string, bool)
GetMemoOk returns a tuple with the Memo field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetNotes ¶
func (o *QuoteLoanCloseResponse) GetNotes() string
GetNotes returns the Notes field value
func (*QuoteLoanCloseResponse) GetNotesOk ¶
func (o *QuoteLoanCloseResponse) GetNotesOk() (*string, bool)
GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetOutboundDelayBlocks ¶
func (o *QuoteLoanCloseResponse) GetOutboundDelayBlocks() int64
GetOutboundDelayBlocks returns the OutboundDelayBlocks field value
func (*QuoteLoanCloseResponse) GetOutboundDelayBlocksOk ¶
func (o *QuoteLoanCloseResponse) GetOutboundDelayBlocksOk() (*int64, bool)
GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetOutboundDelaySeconds ¶
func (o *QuoteLoanCloseResponse) GetOutboundDelaySeconds() int64
GetOutboundDelaySeconds returns the OutboundDelaySeconds field value
func (*QuoteLoanCloseResponse) GetOutboundDelaySecondsOk ¶
func (o *QuoteLoanCloseResponse) GetOutboundDelaySecondsOk() (*int64, bool)
GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetRecommendedGasRate ¶
func (o *QuoteLoanCloseResponse) GetRecommendedGasRate() string
GetRecommendedGasRate returns the RecommendedGasRate field value if set, zero value otherwise.
func (*QuoteLoanCloseResponse) GetRecommendedGasRateOk ¶
func (o *QuoteLoanCloseResponse) GetRecommendedGasRateOk() (*string, bool)
GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetRecommendedMinAmountIn ¶
func (o *QuoteLoanCloseResponse) GetRecommendedMinAmountIn() string
GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.
func (*QuoteLoanCloseResponse) GetRecommendedMinAmountInOk ¶
func (o *QuoteLoanCloseResponse) GetRecommendedMinAmountInOk() (*string, bool)
GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetRouter ¶
func (o *QuoteLoanCloseResponse) GetRouter() string
GetRouter returns the Router field value if set, zero value otherwise.
func (*QuoteLoanCloseResponse) GetRouterOk ¶
func (o *QuoteLoanCloseResponse) GetRouterOk() (*string, bool)
GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetStreamingSwapBlocks ¶
func (o *QuoteLoanCloseResponse) GetStreamingSwapBlocks() int64
GetStreamingSwapBlocks returns the StreamingSwapBlocks field value
func (*QuoteLoanCloseResponse) GetStreamingSwapBlocksOk ¶
func (o *QuoteLoanCloseResponse) GetStreamingSwapBlocksOk() (*int64, bool)
GetStreamingSwapBlocksOk returns a tuple with the StreamingSwapBlocks field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetStreamingSwapSeconds ¶
func (o *QuoteLoanCloseResponse) GetStreamingSwapSeconds() int64
GetStreamingSwapSeconds returns the StreamingSwapSeconds field value
func (*QuoteLoanCloseResponse) GetStreamingSwapSecondsOk ¶
func (o *QuoteLoanCloseResponse) GetStreamingSwapSecondsOk() (*int64, bool)
GetStreamingSwapSecondsOk returns a tuple with the StreamingSwapSeconds field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetTotalRepaySeconds ¶
func (o *QuoteLoanCloseResponse) GetTotalRepaySeconds() int64
GetTotalRepaySeconds returns the TotalRepaySeconds field value
func (*QuoteLoanCloseResponse) GetTotalRepaySecondsOk ¶
func (o *QuoteLoanCloseResponse) GetTotalRepaySecondsOk() (*int64, bool)
GetTotalRepaySecondsOk returns a tuple with the TotalRepaySeconds field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) GetWarning ¶
func (o *QuoteLoanCloseResponse) GetWarning() string
GetWarning returns the Warning field value
func (*QuoteLoanCloseResponse) GetWarningOk ¶
func (o *QuoteLoanCloseResponse) GetWarningOk() (*string, bool)
GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.
func (*QuoteLoanCloseResponse) HasDustThreshold ¶
func (o *QuoteLoanCloseResponse) HasDustThreshold() bool
HasDustThreshold returns a boolean if a field has been set.
func (*QuoteLoanCloseResponse) HasGasRateUnits ¶
func (o *QuoteLoanCloseResponse) HasGasRateUnits() bool
HasGasRateUnits returns a boolean if a field has been set.
func (*QuoteLoanCloseResponse) HasInboundAddress ¶
func (o *QuoteLoanCloseResponse) HasInboundAddress() bool
HasInboundAddress returns a boolean if a field has been set.
func (*QuoteLoanCloseResponse) HasInboundConfirmationBlocks ¶
func (o *QuoteLoanCloseResponse) HasInboundConfirmationBlocks() bool
HasInboundConfirmationBlocks returns a boolean if a field has been set.
func (*QuoteLoanCloseResponse) HasInboundConfirmationSeconds ¶
func (o *QuoteLoanCloseResponse) HasInboundConfirmationSeconds() bool
HasInboundConfirmationSeconds returns a boolean if a field has been set.
func (*QuoteLoanCloseResponse) HasRecommendedGasRate ¶
func (o *QuoteLoanCloseResponse) HasRecommendedGasRate() bool
HasRecommendedGasRate returns a boolean if a field has been set.
func (*QuoteLoanCloseResponse) HasRecommendedMinAmountIn ¶
func (o *QuoteLoanCloseResponse) HasRecommendedMinAmountIn() bool
HasRecommendedMinAmountIn returns a boolean if a field has been set.
func (*QuoteLoanCloseResponse) HasRouter ¶
func (o *QuoteLoanCloseResponse) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (QuoteLoanCloseResponse) MarshalJSON_deprecated ¶
func (o QuoteLoanCloseResponse) MarshalJSON_deprecated() ([]byte, error)
func (*QuoteLoanCloseResponse) SetDustThreshold ¶
func (o *QuoteLoanCloseResponse) SetDustThreshold(v string)
SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.
func (*QuoteLoanCloseResponse) SetExpectedAmountIn ¶
func (o *QuoteLoanCloseResponse) SetExpectedAmountIn(v string)
SetExpectedAmountIn sets field value
func (*QuoteLoanCloseResponse) SetExpectedAmountOut ¶
func (o *QuoteLoanCloseResponse) SetExpectedAmountOut(v string)
SetExpectedAmountOut sets field value
func (*QuoteLoanCloseResponse) SetExpectedCollateralWithdrawn ¶
func (o *QuoteLoanCloseResponse) SetExpectedCollateralWithdrawn(v string)
SetExpectedCollateralWithdrawn sets field value
func (*QuoteLoanCloseResponse) SetExpectedDebtRepaid ¶
func (o *QuoteLoanCloseResponse) SetExpectedDebtRepaid(v string)
SetExpectedDebtRepaid sets field value
func (*QuoteLoanCloseResponse) SetExpiry ¶
func (o *QuoteLoanCloseResponse) SetExpiry(v int64)
SetExpiry sets field value
func (*QuoteLoanCloseResponse) SetFees ¶
func (o *QuoteLoanCloseResponse) SetFees(v QuoteFees)
SetFees sets field value
func (*QuoteLoanCloseResponse) SetGasRateUnits ¶
func (o *QuoteLoanCloseResponse) SetGasRateUnits(v string)
SetGasRateUnits gets a reference to the given string and assigns it to the GasRateUnits field.
func (*QuoteLoanCloseResponse) SetInboundAddress ¶
func (o *QuoteLoanCloseResponse) SetInboundAddress(v string)
SetInboundAddress gets a reference to the given string and assigns it to the InboundAddress field.
func (*QuoteLoanCloseResponse) SetInboundConfirmationBlocks ¶
func (o *QuoteLoanCloseResponse) SetInboundConfirmationBlocks(v int64)
SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.
func (*QuoteLoanCloseResponse) SetInboundConfirmationSeconds ¶
func (o *QuoteLoanCloseResponse) SetInboundConfirmationSeconds(v int64)
SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.
func (*QuoteLoanCloseResponse) SetMemo ¶
func (o *QuoteLoanCloseResponse) SetMemo(v string)
SetMemo sets field value
func (*QuoteLoanCloseResponse) SetNotes ¶
func (o *QuoteLoanCloseResponse) SetNotes(v string)
SetNotes sets field value
func (*QuoteLoanCloseResponse) SetOutboundDelayBlocks ¶
func (o *QuoteLoanCloseResponse) SetOutboundDelayBlocks(v int64)
SetOutboundDelayBlocks sets field value
func (*QuoteLoanCloseResponse) SetOutboundDelaySeconds ¶
func (o *QuoteLoanCloseResponse) SetOutboundDelaySeconds(v int64)
SetOutboundDelaySeconds sets field value
func (*QuoteLoanCloseResponse) SetRecommendedGasRate ¶
func (o *QuoteLoanCloseResponse) SetRecommendedGasRate(v string)
SetRecommendedGasRate gets a reference to the given string and assigns it to the RecommendedGasRate field.
func (*QuoteLoanCloseResponse) SetRecommendedMinAmountIn ¶
func (o *QuoteLoanCloseResponse) SetRecommendedMinAmountIn(v string)
SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.
func (*QuoteLoanCloseResponse) SetRouter ¶
func (o *QuoteLoanCloseResponse) SetRouter(v string)
SetRouter gets a reference to the given string and assigns it to the Router field.
func (*QuoteLoanCloseResponse) SetStreamingSwapBlocks ¶
func (o *QuoteLoanCloseResponse) SetStreamingSwapBlocks(v int64)
SetStreamingSwapBlocks sets field value
func (*QuoteLoanCloseResponse) SetStreamingSwapSeconds ¶
func (o *QuoteLoanCloseResponse) SetStreamingSwapSeconds(v int64)
SetStreamingSwapSeconds sets field value
func (*QuoteLoanCloseResponse) SetTotalRepaySeconds ¶
func (o *QuoteLoanCloseResponse) SetTotalRepaySeconds(v int64)
SetTotalRepaySeconds sets field value
func (*QuoteLoanCloseResponse) SetWarning ¶
func (o *QuoteLoanCloseResponse) SetWarning(v string)
SetWarning sets field value
type QuoteLoanOpenResponse ¶
type QuoteLoanOpenResponse struct { // the inbound address for the transaction on the source chain InboundAddress *string `json:"inbound_address,omitempty"` // the approximate number of source chain blocks required before processing InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"` // the approximate seconds for block confirmations required before processing InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"` // the number of thorchain blocks the outbound will be delayed OutboundDelayBlocks int64 `json:"outbound_delay_blocks"` // the approximate seconds for the outbound delay before it will be sent OutboundDelaySeconds int64 `json:"outbound_delay_seconds"` Fees QuoteFees `json:"fees"` // the EVM chain router contract address Router *string `json:"router,omitempty"` // expiration timestamp in unix seconds Expiry int64 `json:"expiry"` // static warning message Warning string `json:"warning"` // chain specific quote notes Notes string `json:"notes"` // Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. DustThreshold *string `json:"dust_threshold,omitempty"` // The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"` // the recommended gas rate to use for the inbound to ensure timely confirmation RecommendedGasRate string `json:"recommended_gas_rate"` // the units of the recommended gas rate GasRateUnits string `json:"gas_rate_units"` // generated memo for the loan open Memo *string `json:"memo,omitempty"` // the amount of the target asset the user can expect to receive after fees in 1e8 decimals ExpectedAmountOut string `json:"expected_amount_out"` // the expected collateralization ratio in basis points ExpectedCollateralizationRatio string `json:"expected_collateralization_ratio"` // the expected amount of collateral increase on the loan ExpectedCollateralDeposited string `json:"expected_collateral_deposited"` // the expected amount of TOR debt increase on the loan ExpectedDebtIssued string `json:"expected_debt_issued"` // The number of blocks involved in the streaming swaps during the open loan process. StreamingSwapBlocks int64 `json:"streaming_swap_blocks"` // The approximate number of seconds taken by the streaming swaps involved in the open loan process. StreamingSwapSeconds int64 `json:"streaming_swap_seconds"` // The total expected duration for a open loan, measured in seconds, which includes the time for inbound confirmation, the duration of streaming swaps, and any outbound delays. TotalOpenLoanSeconds int64 `json:"total_open_loan_seconds"` }
QuoteLoanOpenResponse struct for QuoteLoanOpenResponse
func NewQuoteLoanOpenResponse ¶
func NewQuoteLoanOpenResponse(outboundDelayBlocks int64, outboundDelaySeconds int64, fees QuoteFees, expiry int64, warning string, notes string, recommendedGasRate string, gasRateUnits string, expectedAmountOut string, expectedCollateralizationRatio string, expectedCollateralDeposited string, expectedDebtIssued string, streamingSwapBlocks int64, streamingSwapSeconds int64, totalOpenLoanSeconds int64) *QuoteLoanOpenResponse
NewQuoteLoanOpenResponse instantiates a new QuoteLoanOpenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuoteLoanOpenResponseWithDefaults ¶
func NewQuoteLoanOpenResponseWithDefaults() *QuoteLoanOpenResponse
NewQuoteLoanOpenResponseWithDefaults instantiates a new QuoteLoanOpenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QuoteLoanOpenResponse) GetDustThreshold ¶
func (o *QuoteLoanOpenResponse) GetDustThreshold() string
GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.
func (*QuoteLoanOpenResponse) GetDustThresholdOk ¶
func (o *QuoteLoanOpenResponse) GetDustThresholdOk() (*string, bool)
GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetExpectedAmountOut ¶
func (o *QuoteLoanOpenResponse) GetExpectedAmountOut() string
GetExpectedAmountOut returns the ExpectedAmountOut field value
func (*QuoteLoanOpenResponse) GetExpectedAmountOutOk ¶
func (o *QuoteLoanOpenResponse) GetExpectedAmountOutOk() (*string, bool)
GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetExpectedCollateralDeposited ¶
func (o *QuoteLoanOpenResponse) GetExpectedCollateralDeposited() string
GetExpectedCollateralDeposited returns the ExpectedCollateralDeposited field value
func (*QuoteLoanOpenResponse) GetExpectedCollateralDepositedOk ¶
func (o *QuoteLoanOpenResponse) GetExpectedCollateralDepositedOk() (*string, bool)
GetExpectedCollateralDepositedOk returns a tuple with the ExpectedCollateralDeposited field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetExpectedCollateralizationRatio ¶
func (o *QuoteLoanOpenResponse) GetExpectedCollateralizationRatio() string
GetExpectedCollateralizationRatio returns the ExpectedCollateralizationRatio field value
func (*QuoteLoanOpenResponse) GetExpectedCollateralizationRatioOk ¶
func (o *QuoteLoanOpenResponse) GetExpectedCollateralizationRatioOk() (*string, bool)
GetExpectedCollateralizationRatioOk returns a tuple with the ExpectedCollateralizationRatio field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetExpectedDebtIssued ¶
func (o *QuoteLoanOpenResponse) GetExpectedDebtIssued() string
GetExpectedDebtIssued returns the ExpectedDebtIssued field value
func (*QuoteLoanOpenResponse) GetExpectedDebtIssuedOk ¶
func (o *QuoteLoanOpenResponse) GetExpectedDebtIssuedOk() (*string, bool)
GetExpectedDebtIssuedOk returns a tuple with the ExpectedDebtIssued field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetExpiry ¶
func (o *QuoteLoanOpenResponse) GetExpiry() int64
GetExpiry returns the Expiry field value
func (*QuoteLoanOpenResponse) GetExpiryOk ¶
func (o *QuoteLoanOpenResponse) GetExpiryOk() (*int64, bool)
GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetFees ¶
func (o *QuoteLoanOpenResponse) GetFees() QuoteFees
GetFees returns the Fees field value
func (*QuoteLoanOpenResponse) GetFeesOk ¶
func (o *QuoteLoanOpenResponse) GetFeesOk() (*QuoteFees, bool)
GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetGasRateUnits ¶
func (o *QuoteLoanOpenResponse) GetGasRateUnits() string
GetGasRateUnits returns the GasRateUnits field value
func (*QuoteLoanOpenResponse) GetGasRateUnitsOk ¶
func (o *QuoteLoanOpenResponse) GetGasRateUnitsOk() (*string, bool)
GetGasRateUnitsOk returns a tuple with the GasRateUnits field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetInboundAddress ¶
func (o *QuoteLoanOpenResponse) GetInboundAddress() string
GetInboundAddress returns the InboundAddress field value if set, zero value otherwise.
func (*QuoteLoanOpenResponse) GetInboundAddressOk ¶
func (o *QuoteLoanOpenResponse) GetInboundAddressOk() (*string, bool)
GetInboundAddressOk returns a tuple with the InboundAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetInboundConfirmationBlocks ¶
func (o *QuoteLoanOpenResponse) GetInboundConfirmationBlocks() int64
GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.
func (*QuoteLoanOpenResponse) GetInboundConfirmationBlocksOk ¶
func (o *QuoteLoanOpenResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetInboundConfirmationSeconds ¶
func (o *QuoteLoanOpenResponse) GetInboundConfirmationSeconds() int64
GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.
func (*QuoteLoanOpenResponse) GetInboundConfirmationSecondsOk ¶
func (o *QuoteLoanOpenResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetMemo ¶
func (o *QuoteLoanOpenResponse) GetMemo() string
GetMemo returns the Memo field value if set, zero value otherwise.
func (*QuoteLoanOpenResponse) GetMemoOk ¶
func (o *QuoteLoanOpenResponse) GetMemoOk() (*string, bool)
GetMemoOk returns a tuple with the Memo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetNotes ¶
func (o *QuoteLoanOpenResponse) GetNotes() string
GetNotes returns the Notes field value
func (*QuoteLoanOpenResponse) GetNotesOk ¶
func (o *QuoteLoanOpenResponse) GetNotesOk() (*string, bool)
GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetOutboundDelayBlocks ¶
func (o *QuoteLoanOpenResponse) GetOutboundDelayBlocks() int64
GetOutboundDelayBlocks returns the OutboundDelayBlocks field value
func (*QuoteLoanOpenResponse) GetOutboundDelayBlocksOk ¶
func (o *QuoteLoanOpenResponse) GetOutboundDelayBlocksOk() (*int64, bool)
GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetOutboundDelaySeconds ¶
func (o *QuoteLoanOpenResponse) GetOutboundDelaySeconds() int64
GetOutboundDelaySeconds returns the OutboundDelaySeconds field value
func (*QuoteLoanOpenResponse) GetOutboundDelaySecondsOk ¶
func (o *QuoteLoanOpenResponse) GetOutboundDelaySecondsOk() (*int64, bool)
GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetRecommendedGasRate ¶
func (o *QuoteLoanOpenResponse) GetRecommendedGasRate() string
GetRecommendedGasRate returns the RecommendedGasRate field value
func (*QuoteLoanOpenResponse) GetRecommendedGasRateOk ¶
func (o *QuoteLoanOpenResponse) GetRecommendedGasRateOk() (*string, bool)
GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetRecommendedMinAmountIn ¶
func (o *QuoteLoanOpenResponse) GetRecommendedMinAmountIn() string
GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.
func (*QuoteLoanOpenResponse) GetRecommendedMinAmountInOk ¶
func (o *QuoteLoanOpenResponse) GetRecommendedMinAmountInOk() (*string, bool)
GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetRouter ¶
func (o *QuoteLoanOpenResponse) GetRouter() string
GetRouter returns the Router field value if set, zero value otherwise.
func (*QuoteLoanOpenResponse) GetRouterOk ¶
func (o *QuoteLoanOpenResponse) GetRouterOk() (*string, bool)
GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetStreamingSwapBlocks ¶
func (o *QuoteLoanOpenResponse) GetStreamingSwapBlocks() int64
GetStreamingSwapBlocks returns the StreamingSwapBlocks field value
func (*QuoteLoanOpenResponse) GetStreamingSwapBlocksOk ¶
func (o *QuoteLoanOpenResponse) GetStreamingSwapBlocksOk() (*int64, bool)
GetStreamingSwapBlocksOk returns a tuple with the StreamingSwapBlocks field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetStreamingSwapSeconds ¶
func (o *QuoteLoanOpenResponse) GetStreamingSwapSeconds() int64
GetStreamingSwapSeconds returns the StreamingSwapSeconds field value
func (*QuoteLoanOpenResponse) GetStreamingSwapSecondsOk ¶
func (o *QuoteLoanOpenResponse) GetStreamingSwapSecondsOk() (*int64, bool)
GetStreamingSwapSecondsOk returns a tuple with the StreamingSwapSeconds field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetTotalOpenLoanSeconds ¶
func (o *QuoteLoanOpenResponse) GetTotalOpenLoanSeconds() int64
GetTotalOpenLoanSeconds returns the TotalOpenLoanSeconds field value
func (*QuoteLoanOpenResponse) GetTotalOpenLoanSecondsOk ¶
func (o *QuoteLoanOpenResponse) GetTotalOpenLoanSecondsOk() (*int64, bool)
GetTotalOpenLoanSecondsOk returns a tuple with the TotalOpenLoanSeconds field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) GetWarning ¶
func (o *QuoteLoanOpenResponse) GetWarning() string
GetWarning returns the Warning field value
func (*QuoteLoanOpenResponse) GetWarningOk ¶
func (o *QuoteLoanOpenResponse) GetWarningOk() (*string, bool)
GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.
func (*QuoteLoanOpenResponse) HasDustThreshold ¶
func (o *QuoteLoanOpenResponse) HasDustThreshold() bool
HasDustThreshold returns a boolean if a field has been set.
func (*QuoteLoanOpenResponse) HasInboundAddress ¶
func (o *QuoteLoanOpenResponse) HasInboundAddress() bool
HasInboundAddress returns a boolean if a field has been set.
func (*QuoteLoanOpenResponse) HasInboundConfirmationBlocks ¶
func (o *QuoteLoanOpenResponse) HasInboundConfirmationBlocks() bool
HasInboundConfirmationBlocks returns a boolean if a field has been set.
func (*QuoteLoanOpenResponse) HasInboundConfirmationSeconds ¶
func (o *QuoteLoanOpenResponse) HasInboundConfirmationSeconds() bool
HasInboundConfirmationSeconds returns a boolean if a field has been set.
func (*QuoteLoanOpenResponse) HasMemo ¶
func (o *QuoteLoanOpenResponse) HasMemo() bool
HasMemo returns a boolean if a field has been set.
func (*QuoteLoanOpenResponse) HasRecommendedMinAmountIn ¶
func (o *QuoteLoanOpenResponse) HasRecommendedMinAmountIn() bool
HasRecommendedMinAmountIn returns a boolean if a field has been set.
func (*QuoteLoanOpenResponse) HasRouter ¶
func (o *QuoteLoanOpenResponse) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (QuoteLoanOpenResponse) MarshalJSON_deprecated ¶
func (o QuoteLoanOpenResponse) MarshalJSON_deprecated() ([]byte, error)
func (*QuoteLoanOpenResponse) SetDustThreshold ¶
func (o *QuoteLoanOpenResponse) SetDustThreshold(v string)
SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.
func (*QuoteLoanOpenResponse) SetExpectedAmountOut ¶
func (o *QuoteLoanOpenResponse) SetExpectedAmountOut(v string)
SetExpectedAmountOut sets field value
func (*QuoteLoanOpenResponse) SetExpectedCollateralDeposited ¶
func (o *QuoteLoanOpenResponse) SetExpectedCollateralDeposited(v string)
SetExpectedCollateralDeposited sets field value
func (*QuoteLoanOpenResponse) SetExpectedCollateralizationRatio ¶
func (o *QuoteLoanOpenResponse) SetExpectedCollateralizationRatio(v string)
SetExpectedCollateralizationRatio sets field value
func (*QuoteLoanOpenResponse) SetExpectedDebtIssued ¶
func (o *QuoteLoanOpenResponse) SetExpectedDebtIssued(v string)
SetExpectedDebtIssued sets field value
func (*QuoteLoanOpenResponse) SetExpiry ¶
func (o *QuoteLoanOpenResponse) SetExpiry(v int64)
SetExpiry sets field value
func (*QuoteLoanOpenResponse) SetFees ¶
func (o *QuoteLoanOpenResponse) SetFees(v QuoteFees)
SetFees sets field value
func (*QuoteLoanOpenResponse) SetGasRateUnits ¶
func (o *QuoteLoanOpenResponse) SetGasRateUnits(v string)
SetGasRateUnits sets field value
func (*QuoteLoanOpenResponse) SetInboundAddress ¶
func (o *QuoteLoanOpenResponse) SetInboundAddress(v string)
SetInboundAddress gets a reference to the given string and assigns it to the InboundAddress field.
func (*QuoteLoanOpenResponse) SetInboundConfirmationBlocks ¶
func (o *QuoteLoanOpenResponse) SetInboundConfirmationBlocks(v int64)
SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.
func (*QuoteLoanOpenResponse) SetInboundConfirmationSeconds ¶
func (o *QuoteLoanOpenResponse) SetInboundConfirmationSeconds(v int64)
SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.
func (*QuoteLoanOpenResponse) SetMemo ¶
func (o *QuoteLoanOpenResponse) SetMemo(v string)
SetMemo gets a reference to the given string and assigns it to the Memo field.
func (*QuoteLoanOpenResponse) SetNotes ¶
func (o *QuoteLoanOpenResponse) SetNotes(v string)
SetNotes sets field value
func (*QuoteLoanOpenResponse) SetOutboundDelayBlocks ¶
func (o *QuoteLoanOpenResponse) SetOutboundDelayBlocks(v int64)
SetOutboundDelayBlocks sets field value
func (*QuoteLoanOpenResponse) SetOutboundDelaySeconds ¶
func (o *QuoteLoanOpenResponse) SetOutboundDelaySeconds(v int64)
SetOutboundDelaySeconds sets field value
func (*QuoteLoanOpenResponse) SetRecommendedGasRate ¶
func (o *QuoteLoanOpenResponse) SetRecommendedGasRate(v string)
SetRecommendedGasRate sets field value
func (*QuoteLoanOpenResponse) SetRecommendedMinAmountIn ¶
func (o *QuoteLoanOpenResponse) SetRecommendedMinAmountIn(v string)
SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.
func (*QuoteLoanOpenResponse) SetRouter ¶
func (o *QuoteLoanOpenResponse) SetRouter(v string)
SetRouter gets a reference to the given string and assigns it to the Router field.
func (*QuoteLoanOpenResponse) SetStreamingSwapBlocks ¶
func (o *QuoteLoanOpenResponse) SetStreamingSwapBlocks(v int64)
SetStreamingSwapBlocks sets field value
func (*QuoteLoanOpenResponse) SetStreamingSwapSeconds ¶
func (o *QuoteLoanOpenResponse) SetStreamingSwapSeconds(v int64)
SetStreamingSwapSeconds sets field value
func (*QuoteLoanOpenResponse) SetTotalOpenLoanSeconds ¶
func (o *QuoteLoanOpenResponse) SetTotalOpenLoanSeconds(v int64)
SetTotalOpenLoanSeconds sets field value
func (*QuoteLoanOpenResponse) SetWarning ¶
func (o *QuoteLoanOpenResponse) SetWarning(v string)
SetWarning sets field value
type QuoteSaverDepositResponse ¶
type QuoteSaverDepositResponse struct { // the inbound address for the transaction on the source chain InboundAddress string `json:"inbound_address"` // the approximate number of source chain blocks required before processing InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"` // the approximate seconds for block confirmations required before processing InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"` // the number of thorchain blocks the outbound will be delayed OutboundDelayBlocks *int64 `json:"outbound_delay_blocks,omitempty"` // the approximate seconds for the outbound delay before it will be sent OutboundDelaySeconds *int64 `json:"outbound_delay_seconds,omitempty"` Fees QuoteFees `json:"fees"` // the EVM chain router contract address Router *string `json:"router,omitempty"` // expiration timestamp in unix seconds Expiry int64 `json:"expiry"` // static warning message Warning string `json:"warning"` // chain specific quote notes Notes string `json:"notes"` // Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. DustThreshold *string `json:"dust_threshold,omitempty"` // The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"` // the recommended gas rate to use for the inbound to ensure timely confirmation RecommendedGasRate string `json:"recommended_gas_rate"` // the units of the recommended gas rate GasRateUnits string `json:"gas_rate_units"` // generated memo for the deposit Memo string `json:"memo"` // same as expected_amount_deposit, to be deprecated in favour of expected_amount_deposit ExpectedAmountOut *string `json:"expected_amount_out,omitempty"` // the amount of the target asset the user can expect to deposit after fees ExpectedAmountDeposit string `json:"expected_amount_deposit"` }
QuoteSaverDepositResponse struct for QuoteSaverDepositResponse
func NewQuoteSaverDepositResponse ¶
func NewQuoteSaverDepositResponse(inboundAddress string, fees QuoteFees, expiry int64, warning string, notes string, recommendedGasRate string, gasRateUnits string, memo string, expectedAmountDeposit string) *QuoteSaverDepositResponse
NewQuoteSaverDepositResponse instantiates a new QuoteSaverDepositResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuoteSaverDepositResponseWithDefaults ¶
func NewQuoteSaverDepositResponseWithDefaults() *QuoteSaverDepositResponse
NewQuoteSaverDepositResponseWithDefaults instantiates a new QuoteSaverDepositResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QuoteSaverDepositResponse) GetDustThreshold ¶
func (o *QuoteSaverDepositResponse) GetDustThreshold() string
GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.
func (*QuoteSaverDepositResponse) GetDustThresholdOk ¶
func (o *QuoteSaverDepositResponse) GetDustThresholdOk() (*string, bool)
GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetExpectedAmountDeposit ¶
func (o *QuoteSaverDepositResponse) GetExpectedAmountDeposit() string
GetExpectedAmountDeposit returns the ExpectedAmountDeposit field value
func (*QuoteSaverDepositResponse) GetExpectedAmountDepositOk ¶
func (o *QuoteSaverDepositResponse) GetExpectedAmountDepositOk() (*string, bool)
GetExpectedAmountDepositOk returns a tuple with the ExpectedAmountDeposit field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetExpectedAmountOut ¶
func (o *QuoteSaverDepositResponse) GetExpectedAmountOut() string
GetExpectedAmountOut returns the ExpectedAmountOut field value if set, zero value otherwise.
func (*QuoteSaverDepositResponse) GetExpectedAmountOutOk ¶
func (o *QuoteSaverDepositResponse) GetExpectedAmountOutOk() (*string, bool)
GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetExpiry ¶
func (o *QuoteSaverDepositResponse) GetExpiry() int64
GetExpiry returns the Expiry field value
func (*QuoteSaverDepositResponse) GetExpiryOk ¶
func (o *QuoteSaverDepositResponse) GetExpiryOk() (*int64, bool)
GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetFees ¶
func (o *QuoteSaverDepositResponse) GetFees() QuoteFees
GetFees returns the Fees field value
func (*QuoteSaverDepositResponse) GetFeesOk ¶
func (o *QuoteSaverDepositResponse) GetFeesOk() (*QuoteFees, bool)
GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetGasRateUnits ¶
func (o *QuoteSaverDepositResponse) GetGasRateUnits() string
GetGasRateUnits returns the GasRateUnits field value
func (*QuoteSaverDepositResponse) GetGasRateUnitsOk ¶
func (o *QuoteSaverDepositResponse) GetGasRateUnitsOk() (*string, bool)
GetGasRateUnitsOk returns a tuple with the GasRateUnits field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetInboundAddress ¶
func (o *QuoteSaverDepositResponse) GetInboundAddress() string
GetInboundAddress returns the InboundAddress field value
func (*QuoteSaverDepositResponse) GetInboundAddressOk ¶
func (o *QuoteSaverDepositResponse) GetInboundAddressOk() (*string, bool)
GetInboundAddressOk returns a tuple with the InboundAddress field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetInboundConfirmationBlocks ¶
func (o *QuoteSaverDepositResponse) GetInboundConfirmationBlocks() int64
GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.
func (*QuoteSaverDepositResponse) GetInboundConfirmationBlocksOk ¶
func (o *QuoteSaverDepositResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetInboundConfirmationSeconds ¶
func (o *QuoteSaverDepositResponse) GetInboundConfirmationSeconds() int64
GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.
func (*QuoteSaverDepositResponse) GetInboundConfirmationSecondsOk ¶
func (o *QuoteSaverDepositResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetMemo ¶
func (o *QuoteSaverDepositResponse) GetMemo() string
GetMemo returns the Memo field value
func (*QuoteSaverDepositResponse) GetMemoOk ¶
func (o *QuoteSaverDepositResponse) GetMemoOk() (*string, bool)
GetMemoOk returns a tuple with the Memo field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetNotes ¶
func (o *QuoteSaverDepositResponse) GetNotes() string
GetNotes returns the Notes field value
func (*QuoteSaverDepositResponse) GetNotesOk ¶
func (o *QuoteSaverDepositResponse) GetNotesOk() (*string, bool)
GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetOutboundDelayBlocks ¶
func (o *QuoteSaverDepositResponse) GetOutboundDelayBlocks() int64
GetOutboundDelayBlocks returns the OutboundDelayBlocks field value if set, zero value otherwise.
func (*QuoteSaverDepositResponse) GetOutboundDelayBlocksOk ¶
func (o *QuoteSaverDepositResponse) GetOutboundDelayBlocksOk() (*int64, bool)
GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetOutboundDelaySeconds ¶
func (o *QuoteSaverDepositResponse) GetOutboundDelaySeconds() int64
GetOutboundDelaySeconds returns the OutboundDelaySeconds field value if set, zero value otherwise.
func (*QuoteSaverDepositResponse) GetOutboundDelaySecondsOk ¶
func (o *QuoteSaverDepositResponse) GetOutboundDelaySecondsOk() (*int64, bool)
GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetRecommendedGasRate ¶
func (o *QuoteSaverDepositResponse) GetRecommendedGasRate() string
GetRecommendedGasRate returns the RecommendedGasRate field value
func (*QuoteSaverDepositResponse) GetRecommendedGasRateOk ¶
func (o *QuoteSaverDepositResponse) GetRecommendedGasRateOk() (*string, bool)
GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetRecommendedMinAmountIn ¶
func (o *QuoteSaverDepositResponse) GetRecommendedMinAmountIn() string
GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.
func (*QuoteSaverDepositResponse) GetRecommendedMinAmountInOk ¶
func (o *QuoteSaverDepositResponse) GetRecommendedMinAmountInOk() (*string, bool)
GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetRouter ¶
func (o *QuoteSaverDepositResponse) GetRouter() string
GetRouter returns the Router field value if set, zero value otherwise.
func (*QuoteSaverDepositResponse) GetRouterOk ¶
func (o *QuoteSaverDepositResponse) GetRouterOk() (*string, bool)
GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) GetWarning ¶
func (o *QuoteSaverDepositResponse) GetWarning() string
GetWarning returns the Warning field value
func (*QuoteSaverDepositResponse) GetWarningOk ¶
func (o *QuoteSaverDepositResponse) GetWarningOk() (*string, bool)
GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.
func (*QuoteSaverDepositResponse) HasDustThreshold ¶
func (o *QuoteSaverDepositResponse) HasDustThreshold() bool
HasDustThreshold returns a boolean if a field has been set.
func (*QuoteSaverDepositResponse) HasExpectedAmountOut ¶
func (o *QuoteSaverDepositResponse) HasExpectedAmountOut() bool
HasExpectedAmountOut returns a boolean if a field has been set.
func (*QuoteSaverDepositResponse) HasInboundConfirmationBlocks ¶
func (o *QuoteSaverDepositResponse) HasInboundConfirmationBlocks() bool
HasInboundConfirmationBlocks returns a boolean if a field has been set.
func (*QuoteSaverDepositResponse) HasInboundConfirmationSeconds ¶
func (o *QuoteSaverDepositResponse) HasInboundConfirmationSeconds() bool
HasInboundConfirmationSeconds returns a boolean if a field has been set.
func (*QuoteSaverDepositResponse) HasOutboundDelayBlocks ¶
func (o *QuoteSaverDepositResponse) HasOutboundDelayBlocks() bool
HasOutboundDelayBlocks returns a boolean if a field has been set.
func (*QuoteSaverDepositResponse) HasOutboundDelaySeconds ¶
func (o *QuoteSaverDepositResponse) HasOutboundDelaySeconds() bool
HasOutboundDelaySeconds returns a boolean if a field has been set.
func (*QuoteSaverDepositResponse) HasRecommendedMinAmountIn ¶
func (o *QuoteSaverDepositResponse) HasRecommendedMinAmountIn() bool
HasRecommendedMinAmountIn returns a boolean if a field has been set.
func (*QuoteSaverDepositResponse) HasRouter ¶
func (o *QuoteSaverDepositResponse) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (QuoteSaverDepositResponse) MarshalJSON_deprecated ¶
func (o QuoteSaverDepositResponse) MarshalJSON_deprecated() ([]byte, error)
func (*QuoteSaverDepositResponse) SetDustThreshold ¶
func (o *QuoteSaverDepositResponse) SetDustThreshold(v string)
SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.
func (*QuoteSaverDepositResponse) SetExpectedAmountDeposit ¶
func (o *QuoteSaverDepositResponse) SetExpectedAmountDeposit(v string)
SetExpectedAmountDeposit sets field value
func (*QuoteSaverDepositResponse) SetExpectedAmountOut ¶
func (o *QuoteSaverDepositResponse) SetExpectedAmountOut(v string)
SetExpectedAmountOut gets a reference to the given string and assigns it to the ExpectedAmountOut field.
func (*QuoteSaverDepositResponse) SetExpiry ¶
func (o *QuoteSaverDepositResponse) SetExpiry(v int64)
SetExpiry sets field value
func (*QuoteSaverDepositResponse) SetFees ¶
func (o *QuoteSaverDepositResponse) SetFees(v QuoteFees)
SetFees sets field value
func (*QuoteSaverDepositResponse) SetGasRateUnits ¶
func (o *QuoteSaverDepositResponse) SetGasRateUnits(v string)
SetGasRateUnits sets field value
func (*QuoteSaverDepositResponse) SetInboundAddress ¶
func (o *QuoteSaverDepositResponse) SetInboundAddress(v string)
SetInboundAddress sets field value
func (*QuoteSaverDepositResponse) SetInboundConfirmationBlocks ¶
func (o *QuoteSaverDepositResponse) SetInboundConfirmationBlocks(v int64)
SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.
func (*QuoteSaverDepositResponse) SetInboundConfirmationSeconds ¶
func (o *QuoteSaverDepositResponse) SetInboundConfirmationSeconds(v int64)
SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.
func (*QuoteSaverDepositResponse) SetMemo ¶
func (o *QuoteSaverDepositResponse) SetMemo(v string)
SetMemo sets field value
func (*QuoteSaverDepositResponse) SetNotes ¶
func (o *QuoteSaverDepositResponse) SetNotes(v string)
SetNotes sets field value
func (*QuoteSaverDepositResponse) SetOutboundDelayBlocks ¶
func (o *QuoteSaverDepositResponse) SetOutboundDelayBlocks(v int64)
SetOutboundDelayBlocks gets a reference to the given int64 and assigns it to the OutboundDelayBlocks field.
func (*QuoteSaverDepositResponse) SetOutboundDelaySeconds ¶
func (o *QuoteSaverDepositResponse) SetOutboundDelaySeconds(v int64)
SetOutboundDelaySeconds gets a reference to the given int64 and assigns it to the OutboundDelaySeconds field.
func (*QuoteSaverDepositResponse) SetRecommendedGasRate ¶
func (o *QuoteSaverDepositResponse) SetRecommendedGasRate(v string)
SetRecommendedGasRate sets field value
func (*QuoteSaverDepositResponse) SetRecommendedMinAmountIn ¶
func (o *QuoteSaverDepositResponse) SetRecommendedMinAmountIn(v string)
SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.
func (*QuoteSaverDepositResponse) SetRouter ¶
func (o *QuoteSaverDepositResponse) SetRouter(v string)
SetRouter gets a reference to the given string and assigns it to the Router field.
func (*QuoteSaverDepositResponse) SetWarning ¶
func (o *QuoteSaverDepositResponse) SetWarning(v string)
SetWarning sets field value
type QuoteSaverWithdrawResponse ¶
type QuoteSaverWithdrawResponse struct { // the inbound address for the transaction on the source chain InboundAddress string `json:"inbound_address"` // the approximate number of source chain blocks required before processing InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"` // the approximate seconds for block confirmations required before processing InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"` // the number of thorchain blocks the outbound will be delayed OutboundDelayBlocks int64 `json:"outbound_delay_blocks"` // the approximate seconds for the outbound delay before it will be sent OutboundDelaySeconds int64 `json:"outbound_delay_seconds"` Fees QuoteFees `json:"fees"` // the EVM chain router contract address Router *string `json:"router,omitempty"` // expiration timestamp in unix seconds Expiry int64 `json:"expiry"` // static warning message Warning string `json:"warning"` // chain specific quote notes Notes string `json:"notes"` // Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. DustThreshold *string `json:"dust_threshold,omitempty"` // The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"` // the recommended gas rate to use for the inbound to ensure timely confirmation RecommendedGasRate string `json:"recommended_gas_rate"` // the units of the recommended gas rate GasRateUnits string `json:"gas_rate_units"` // generated memo for the withdraw, the client can use this OR send the dust amount Memo string `json:"memo"` // the dust amount of the target asset the user should send to initialize the withdraw, the client can send this OR provide the memo DustAmount string `json:"dust_amount"` // the amount of the target asset the user can expect to withdraw after fees in 1e8 decimals ExpectedAmountOut string `json:"expected_amount_out"` }
QuoteSaverWithdrawResponse struct for QuoteSaverWithdrawResponse
func NewQuoteSaverWithdrawResponse ¶
func NewQuoteSaverWithdrawResponse(inboundAddress string, outboundDelayBlocks int64, outboundDelaySeconds int64, fees QuoteFees, expiry int64, warning string, notes string, recommendedGasRate string, gasRateUnits string, memo string, dustAmount string, expectedAmountOut string) *QuoteSaverWithdrawResponse
NewQuoteSaverWithdrawResponse instantiates a new QuoteSaverWithdrawResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuoteSaverWithdrawResponseWithDefaults ¶
func NewQuoteSaverWithdrawResponseWithDefaults() *QuoteSaverWithdrawResponse
NewQuoteSaverWithdrawResponseWithDefaults instantiates a new QuoteSaverWithdrawResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QuoteSaverWithdrawResponse) GetDustAmount ¶
func (o *QuoteSaverWithdrawResponse) GetDustAmount() string
GetDustAmount returns the DustAmount field value
func (*QuoteSaverWithdrawResponse) GetDustAmountOk ¶
func (o *QuoteSaverWithdrawResponse) GetDustAmountOk() (*string, bool)
GetDustAmountOk returns a tuple with the DustAmount field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetDustThreshold ¶
func (o *QuoteSaverWithdrawResponse) GetDustThreshold() string
GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.
func (*QuoteSaverWithdrawResponse) GetDustThresholdOk ¶
func (o *QuoteSaverWithdrawResponse) GetDustThresholdOk() (*string, bool)
GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetExpectedAmountOut ¶
func (o *QuoteSaverWithdrawResponse) GetExpectedAmountOut() string
GetExpectedAmountOut returns the ExpectedAmountOut field value
func (*QuoteSaverWithdrawResponse) GetExpectedAmountOutOk ¶
func (o *QuoteSaverWithdrawResponse) GetExpectedAmountOutOk() (*string, bool)
GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetExpiry ¶
func (o *QuoteSaverWithdrawResponse) GetExpiry() int64
GetExpiry returns the Expiry field value
func (*QuoteSaverWithdrawResponse) GetExpiryOk ¶
func (o *QuoteSaverWithdrawResponse) GetExpiryOk() (*int64, bool)
GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetFees ¶
func (o *QuoteSaverWithdrawResponse) GetFees() QuoteFees
GetFees returns the Fees field value
func (*QuoteSaverWithdrawResponse) GetFeesOk ¶
func (o *QuoteSaverWithdrawResponse) GetFeesOk() (*QuoteFees, bool)
GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetGasRateUnits ¶
func (o *QuoteSaverWithdrawResponse) GetGasRateUnits() string
GetGasRateUnits returns the GasRateUnits field value
func (*QuoteSaverWithdrawResponse) GetGasRateUnitsOk ¶
func (o *QuoteSaverWithdrawResponse) GetGasRateUnitsOk() (*string, bool)
GetGasRateUnitsOk returns a tuple with the GasRateUnits field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetInboundAddress ¶
func (o *QuoteSaverWithdrawResponse) GetInboundAddress() string
GetInboundAddress returns the InboundAddress field value
func (*QuoteSaverWithdrawResponse) GetInboundAddressOk ¶
func (o *QuoteSaverWithdrawResponse) GetInboundAddressOk() (*string, bool)
GetInboundAddressOk returns a tuple with the InboundAddress field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetInboundConfirmationBlocks ¶
func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationBlocks() int64
GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.
func (*QuoteSaverWithdrawResponse) GetInboundConfirmationBlocksOk ¶
func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetInboundConfirmationSeconds ¶
func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationSeconds() int64
GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.
func (*QuoteSaverWithdrawResponse) GetInboundConfirmationSecondsOk ¶
func (o *QuoteSaverWithdrawResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetMemo ¶
func (o *QuoteSaverWithdrawResponse) GetMemo() string
GetMemo returns the Memo field value
func (*QuoteSaverWithdrawResponse) GetMemoOk ¶
func (o *QuoteSaverWithdrawResponse) GetMemoOk() (*string, bool)
GetMemoOk returns a tuple with the Memo field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetNotes ¶
func (o *QuoteSaverWithdrawResponse) GetNotes() string
GetNotes returns the Notes field value
func (*QuoteSaverWithdrawResponse) GetNotesOk ¶
func (o *QuoteSaverWithdrawResponse) GetNotesOk() (*string, bool)
GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetOutboundDelayBlocks ¶
func (o *QuoteSaverWithdrawResponse) GetOutboundDelayBlocks() int64
GetOutboundDelayBlocks returns the OutboundDelayBlocks field value
func (*QuoteSaverWithdrawResponse) GetOutboundDelayBlocksOk ¶
func (o *QuoteSaverWithdrawResponse) GetOutboundDelayBlocksOk() (*int64, bool)
GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetOutboundDelaySeconds ¶
func (o *QuoteSaverWithdrawResponse) GetOutboundDelaySeconds() int64
GetOutboundDelaySeconds returns the OutboundDelaySeconds field value
func (*QuoteSaverWithdrawResponse) GetOutboundDelaySecondsOk ¶
func (o *QuoteSaverWithdrawResponse) GetOutboundDelaySecondsOk() (*int64, bool)
GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetRecommendedGasRate ¶
func (o *QuoteSaverWithdrawResponse) GetRecommendedGasRate() string
GetRecommendedGasRate returns the RecommendedGasRate field value
func (*QuoteSaverWithdrawResponse) GetRecommendedGasRateOk ¶
func (o *QuoteSaverWithdrawResponse) GetRecommendedGasRateOk() (*string, bool)
GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetRecommendedMinAmountIn ¶
func (o *QuoteSaverWithdrawResponse) GetRecommendedMinAmountIn() string
GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.
func (*QuoteSaverWithdrawResponse) GetRecommendedMinAmountInOk ¶
func (o *QuoteSaverWithdrawResponse) GetRecommendedMinAmountInOk() (*string, bool)
GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetRouter ¶
func (o *QuoteSaverWithdrawResponse) GetRouter() string
GetRouter returns the Router field value if set, zero value otherwise.
func (*QuoteSaverWithdrawResponse) GetRouterOk ¶
func (o *QuoteSaverWithdrawResponse) GetRouterOk() (*string, bool)
GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) GetWarning ¶
func (o *QuoteSaverWithdrawResponse) GetWarning() string
GetWarning returns the Warning field value
func (*QuoteSaverWithdrawResponse) GetWarningOk ¶
func (o *QuoteSaverWithdrawResponse) GetWarningOk() (*string, bool)
GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.
func (*QuoteSaverWithdrawResponse) HasDustThreshold ¶
func (o *QuoteSaverWithdrawResponse) HasDustThreshold() bool
HasDustThreshold returns a boolean if a field has been set.
func (*QuoteSaverWithdrawResponse) HasInboundConfirmationBlocks ¶
func (o *QuoteSaverWithdrawResponse) HasInboundConfirmationBlocks() bool
HasInboundConfirmationBlocks returns a boolean if a field has been set.
func (*QuoteSaverWithdrawResponse) HasInboundConfirmationSeconds ¶
func (o *QuoteSaverWithdrawResponse) HasInboundConfirmationSeconds() bool
HasInboundConfirmationSeconds returns a boolean if a field has been set.
func (*QuoteSaverWithdrawResponse) HasRecommendedMinAmountIn ¶
func (o *QuoteSaverWithdrawResponse) HasRecommendedMinAmountIn() bool
HasRecommendedMinAmountIn returns a boolean if a field has been set.
func (*QuoteSaverWithdrawResponse) HasRouter ¶
func (o *QuoteSaverWithdrawResponse) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (QuoteSaverWithdrawResponse) MarshalJSON_deprecated ¶
func (o QuoteSaverWithdrawResponse) MarshalJSON_deprecated() ([]byte, error)
func (*QuoteSaverWithdrawResponse) SetDustAmount ¶
func (o *QuoteSaverWithdrawResponse) SetDustAmount(v string)
SetDustAmount sets field value
func (*QuoteSaverWithdrawResponse) SetDustThreshold ¶
func (o *QuoteSaverWithdrawResponse) SetDustThreshold(v string)
SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.
func (*QuoteSaverWithdrawResponse) SetExpectedAmountOut ¶
func (o *QuoteSaverWithdrawResponse) SetExpectedAmountOut(v string)
SetExpectedAmountOut sets field value
func (*QuoteSaverWithdrawResponse) SetExpiry ¶
func (o *QuoteSaverWithdrawResponse) SetExpiry(v int64)
SetExpiry sets field value
func (*QuoteSaverWithdrawResponse) SetFees ¶
func (o *QuoteSaverWithdrawResponse) SetFees(v QuoteFees)
SetFees sets field value
func (*QuoteSaverWithdrawResponse) SetGasRateUnits ¶
func (o *QuoteSaverWithdrawResponse) SetGasRateUnits(v string)
SetGasRateUnits sets field value
func (*QuoteSaverWithdrawResponse) SetInboundAddress ¶
func (o *QuoteSaverWithdrawResponse) SetInboundAddress(v string)
SetInboundAddress sets field value
func (*QuoteSaverWithdrawResponse) SetInboundConfirmationBlocks ¶
func (o *QuoteSaverWithdrawResponse) SetInboundConfirmationBlocks(v int64)
SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.
func (*QuoteSaverWithdrawResponse) SetInboundConfirmationSeconds ¶
func (o *QuoteSaverWithdrawResponse) SetInboundConfirmationSeconds(v int64)
SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.
func (*QuoteSaverWithdrawResponse) SetMemo ¶
func (o *QuoteSaverWithdrawResponse) SetMemo(v string)
SetMemo sets field value
func (*QuoteSaverWithdrawResponse) SetNotes ¶
func (o *QuoteSaverWithdrawResponse) SetNotes(v string)
SetNotes sets field value
func (*QuoteSaverWithdrawResponse) SetOutboundDelayBlocks ¶
func (o *QuoteSaverWithdrawResponse) SetOutboundDelayBlocks(v int64)
SetOutboundDelayBlocks sets field value
func (*QuoteSaverWithdrawResponse) SetOutboundDelaySeconds ¶
func (o *QuoteSaverWithdrawResponse) SetOutboundDelaySeconds(v int64)
SetOutboundDelaySeconds sets field value
func (*QuoteSaverWithdrawResponse) SetRecommendedGasRate ¶
func (o *QuoteSaverWithdrawResponse) SetRecommendedGasRate(v string)
SetRecommendedGasRate sets field value
func (*QuoteSaverWithdrawResponse) SetRecommendedMinAmountIn ¶
func (o *QuoteSaverWithdrawResponse) SetRecommendedMinAmountIn(v string)
SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.
func (*QuoteSaverWithdrawResponse) SetRouter ¶
func (o *QuoteSaverWithdrawResponse) SetRouter(v string)
SetRouter gets a reference to the given string and assigns it to the Router field.
func (*QuoteSaverWithdrawResponse) SetWarning ¶
func (o *QuoteSaverWithdrawResponse) SetWarning(v string)
SetWarning sets field value
type QuoteSwapResponse ¶
type QuoteSwapResponse struct { // the inbound address for the transaction on the source chain InboundAddress *string `json:"inbound_address,omitempty"` // the approximate number of source chain blocks required before processing InboundConfirmationBlocks *int64 `json:"inbound_confirmation_blocks,omitempty"` // the approximate seconds for block confirmations required before processing InboundConfirmationSeconds *int64 `json:"inbound_confirmation_seconds,omitempty"` // the number of thorchain blocks the outbound will be delayed OutboundDelayBlocks int64 `json:"outbound_delay_blocks"` // the approximate seconds for the outbound delay before it will be sent OutboundDelaySeconds int64 `json:"outbound_delay_seconds"` Fees QuoteFees `json:"fees"` // the EVM chain router contract address Router *string `json:"router,omitempty"` // expiration timestamp in unix seconds Expiry int64 `json:"expiry"` // static warning message Warning string `json:"warning"` // chain specific quote notes Notes string `json:"notes"` // Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. DustThreshold *string `json:"dust_threshold,omitempty"` // The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. RecommendedMinAmountIn *string `json:"recommended_min_amount_in,omitempty"` // the recommended gas rate to use for the inbound to ensure timely confirmation RecommendedGasRate *string `json:"recommended_gas_rate,omitempty"` // the units of the recommended gas rate GasRateUnits *string `json:"gas_rate_units,omitempty"` // generated memo for the swap Memo *string `json:"memo,omitempty"` // the amount of the target asset the user can expect to receive after fees ExpectedAmountOut string `json:"expected_amount_out"` // the maximum amount of trades a streaming swap can do for a trade MaxStreamingQuantity *int64 `json:"max_streaming_quantity,omitempty"` // the number of blocks the streaming swap will execute over StreamingSwapBlocks *int64 `json:"streaming_swap_blocks,omitempty"` // approx the number of seconds the streaming swap will execute over StreamingSwapSeconds *int64 `json:"streaming_swap_seconds,omitempty"` // total number of seconds a swap is expected to take (inbound conf + streaming swap + outbound delay) TotalSwapSeconds *int64 `json:"total_swap_seconds,omitempty"` }
QuoteSwapResponse struct for QuoteSwapResponse
func NewQuoteSwapResponse ¶
func NewQuoteSwapResponse(outboundDelayBlocks int64, outboundDelaySeconds int64, fees QuoteFees, expiry int64, warning string, notes string, expectedAmountOut string) *QuoteSwapResponse
NewQuoteSwapResponse instantiates a new QuoteSwapResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuoteSwapResponseWithDefaults ¶
func NewQuoteSwapResponseWithDefaults() *QuoteSwapResponse
NewQuoteSwapResponseWithDefaults instantiates a new QuoteSwapResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QuoteSwapResponse) GetDustThreshold ¶
func (o *QuoteSwapResponse) GetDustThreshold() string
GetDustThreshold returns the DustThreshold field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetDustThresholdOk ¶
func (o *QuoteSwapResponse) GetDustThresholdOk() (*string, bool)
GetDustThresholdOk returns a tuple with the DustThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetExpectedAmountOut ¶
func (o *QuoteSwapResponse) GetExpectedAmountOut() string
GetExpectedAmountOut returns the ExpectedAmountOut field value
func (*QuoteSwapResponse) GetExpectedAmountOutOk ¶
func (o *QuoteSwapResponse) GetExpectedAmountOutOk() (*string, bool)
GetExpectedAmountOutOk returns a tuple with the ExpectedAmountOut field value and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetExpiry ¶
func (o *QuoteSwapResponse) GetExpiry() int64
GetExpiry returns the Expiry field value
func (*QuoteSwapResponse) GetExpiryOk ¶
func (o *QuoteSwapResponse) GetExpiryOk() (*int64, bool)
GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetFees ¶
func (o *QuoteSwapResponse) GetFees() QuoteFees
GetFees returns the Fees field value
func (*QuoteSwapResponse) GetFeesOk ¶
func (o *QuoteSwapResponse) GetFeesOk() (*QuoteFees, bool)
GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetGasRateUnits ¶
func (o *QuoteSwapResponse) GetGasRateUnits() string
GetGasRateUnits returns the GasRateUnits field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetGasRateUnitsOk ¶
func (o *QuoteSwapResponse) GetGasRateUnitsOk() (*string, bool)
GetGasRateUnitsOk returns a tuple with the GasRateUnits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetInboundAddress ¶
func (o *QuoteSwapResponse) GetInboundAddress() string
GetInboundAddress returns the InboundAddress field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetInboundAddressOk ¶
func (o *QuoteSwapResponse) GetInboundAddressOk() (*string, bool)
GetInboundAddressOk returns a tuple with the InboundAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetInboundConfirmationBlocks ¶
func (o *QuoteSwapResponse) GetInboundConfirmationBlocks() int64
GetInboundConfirmationBlocks returns the InboundConfirmationBlocks field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetInboundConfirmationBlocksOk ¶
func (o *QuoteSwapResponse) GetInboundConfirmationBlocksOk() (*int64, bool)
GetInboundConfirmationBlocksOk returns a tuple with the InboundConfirmationBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetInboundConfirmationSeconds ¶
func (o *QuoteSwapResponse) GetInboundConfirmationSeconds() int64
GetInboundConfirmationSeconds returns the InboundConfirmationSeconds field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetInboundConfirmationSecondsOk ¶
func (o *QuoteSwapResponse) GetInboundConfirmationSecondsOk() (*int64, bool)
GetInboundConfirmationSecondsOk returns a tuple with the InboundConfirmationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetMaxStreamingQuantity ¶
func (o *QuoteSwapResponse) GetMaxStreamingQuantity() int64
GetMaxStreamingQuantity returns the MaxStreamingQuantity field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetMaxStreamingQuantityOk ¶
func (o *QuoteSwapResponse) GetMaxStreamingQuantityOk() (*int64, bool)
GetMaxStreamingQuantityOk returns a tuple with the MaxStreamingQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetMemo ¶
func (o *QuoteSwapResponse) GetMemo() string
GetMemo returns the Memo field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetMemoOk ¶
func (o *QuoteSwapResponse) GetMemoOk() (*string, bool)
GetMemoOk returns a tuple with the Memo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetNotes ¶
func (o *QuoteSwapResponse) GetNotes() string
GetNotes returns the Notes field value
func (*QuoteSwapResponse) GetNotesOk ¶
func (o *QuoteSwapResponse) GetNotesOk() (*string, bool)
GetNotesOk returns a tuple with the Notes field value and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetOutboundDelayBlocks ¶
func (o *QuoteSwapResponse) GetOutboundDelayBlocks() int64
GetOutboundDelayBlocks returns the OutboundDelayBlocks field value
func (*QuoteSwapResponse) GetOutboundDelayBlocksOk ¶
func (o *QuoteSwapResponse) GetOutboundDelayBlocksOk() (*int64, bool)
GetOutboundDelayBlocksOk returns a tuple with the OutboundDelayBlocks field value and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetOutboundDelaySeconds ¶
func (o *QuoteSwapResponse) GetOutboundDelaySeconds() int64
GetOutboundDelaySeconds returns the OutboundDelaySeconds field value
func (*QuoteSwapResponse) GetOutboundDelaySecondsOk ¶
func (o *QuoteSwapResponse) GetOutboundDelaySecondsOk() (*int64, bool)
GetOutboundDelaySecondsOk returns a tuple with the OutboundDelaySeconds field value and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetRecommendedGasRate ¶
func (o *QuoteSwapResponse) GetRecommendedGasRate() string
GetRecommendedGasRate returns the RecommendedGasRate field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetRecommendedGasRateOk ¶
func (o *QuoteSwapResponse) GetRecommendedGasRateOk() (*string, bool)
GetRecommendedGasRateOk returns a tuple with the RecommendedGasRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetRecommendedMinAmountIn ¶
func (o *QuoteSwapResponse) GetRecommendedMinAmountIn() string
GetRecommendedMinAmountIn returns the RecommendedMinAmountIn field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetRecommendedMinAmountInOk ¶
func (o *QuoteSwapResponse) GetRecommendedMinAmountInOk() (*string, bool)
GetRecommendedMinAmountInOk returns a tuple with the RecommendedMinAmountIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetRouter ¶
func (o *QuoteSwapResponse) GetRouter() string
GetRouter returns the Router field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetRouterOk ¶
func (o *QuoteSwapResponse) GetRouterOk() (*string, bool)
GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetStreamingSwapBlocks ¶
func (o *QuoteSwapResponse) GetStreamingSwapBlocks() int64
GetStreamingSwapBlocks returns the StreamingSwapBlocks field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetStreamingSwapBlocksOk ¶
func (o *QuoteSwapResponse) GetStreamingSwapBlocksOk() (*int64, bool)
GetStreamingSwapBlocksOk returns a tuple with the StreamingSwapBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetStreamingSwapSeconds ¶
func (o *QuoteSwapResponse) GetStreamingSwapSeconds() int64
GetStreamingSwapSeconds returns the StreamingSwapSeconds field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetStreamingSwapSecondsOk ¶
func (o *QuoteSwapResponse) GetStreamingSwapSecondsOk() (*int64, bool)
GetStreamingSwapSecondsOk returns a tuple with the StreamingSwapSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetTotalSwapSeconds ¶
func (o *QuoteSwapResponse) GetTotalSwapSeconds() int64
GetTotalSwapSeconds returns the TotalSwapSeconds field value if set, zero value otherwise.
func (*QuoteSwapResponse) GetTotalSwapSecondsOk ¶
func (o *QuoteSwapResponse) GetTotalSwapSecondsOk() (*int64, bool)
GetTotalSwapSecondsOk returns a tuple with the TotalSwapSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuoteSwapResponse) GetWarning ¶
func (o *QuoteSwapResponse) GetWarning() string
GetWarning returns the Warning field value
func (*QuoteSwapResponse) GetWarningOk ¶
func (o *QuoteSwapResponse) GetWarningOk() (*string, bool)
GetWarningOk returns a tuple with the Warning field value and a boolean to check if the value has been set.
func (*QuoteSwapResponse) HasDustThreshold ¶
func (o *QuoteSwapResponse) HasDustThreshold() bool
HasDustThreshold returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasGasRateUnits ¶
func (o *QuoteSwapResponse) HasGasRateUnits() bool
HasGasRateUnits returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasInboundAddress ¶
func (o *QuoteSwapResponse) HasInboundAddress() bool
HasInboundAddress returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasInboundConfirmationBlocks ¶
func (o *QuoteSwapResponse) HasInboundConfirmationBlocks() bool
HasInboundConfirmationBlocks returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasInboundConfirmationSeconds ¶
func (o *QuoteSwapResponse) HasInboundConfirmationSeconds() bool
HasInboundConfirmationSeconds returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasMaxStreamingQuantity ¶
func (o *QuoteSwapResponse) HasMaxStreamingQuantity() bool
HasMaxStreamingQuantity returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasMemo ¶
func (o *QuoteSwapResponse) HasMemo() bool
HasMemo returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasRecommendedGasRate ¶
func (o *QuoteSwapResponse) HasRecommendedGasRate() bool
HasRecommendedGasRate returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasRecommendedMinAmountIn ¶
func (o *QuoteSwapResponse) HasRecommendedMinAmountIn() bool
HasRecommendedMinAmountIn returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasRouter ¶
func (o *QuoteSwapResponse) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasStreamingSwapBlocks ¶
func (o *QuoteSwapResponse) HasStreamingSwapBlocks() bool
HasStreamingSwapBlocks returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasStreamingSwapSeconds ¶
func (o *QuoteSwapResponse) HasStreamingSwapSeconds() bool
HasStreamingSwapSeconds returns a boolean if a field has been set.
func (*QuoteSwapResponse) HasTotalSwapSeconds ¶
func (o *QuoteSwapResponse) HasTotalSwapSeconds() bool
HasTotalSwapSeconds returns a boolean if a field has been set.
func (QuoteSwapResponse) MarshalJSON_deprecated ¶
func (o QuoteSwapResponse) MarshalJSON_deprecated() ([]byte, error)
func (*QuoteSwapResponse) SetDustThreshold ¶
func (o *QuoteSwapResponse) SetDustThreshold(v string)
SetDustThreshold gets a reference to the given string and assigns it to the DustThreshold field.
func (*QuoteSwapResponse) SetExpectedAmountOut ¶
func (o *QuoteSwapResponse) SetExpectedAmountOut(v string)
SetExpectedAmountOut sets field value
func (*QuoteSwapResponse) SetExpiry ¶
func (o *QuoteSwapResponse) SetExpiry(v int64)
SetExpiry sets field value
func (*QuoteSwapResponse) SetFees ¶
func (o *QuoteSwapResponse) SetFees(v QuoteFees)
SetFees sets field value
func (*QuoteSwapResponse) SetGasRateUnits ¶
func (o *QuoteSwapResponse) SetGasRateUnits(v string)
SetGasRateUnits gets a reference to the given string and assigns it to the GasRateUnits field.
func (*QuoteSwapResponse) SetInboundAddress ¶
func (o *QuoteSwapResponse) SetInboundAddress(v string)
SetInboundAddress gets a reference to the given string and assigns it to the InboundAddress field.
func (*QuoteSwapResponse) SetInboundConfirmationBlocks ¶
func (o *QuoteSwapResponse) SetInboundConfirmationBlocks(v int64)
SetInboundConfirmationBlocks gets a reference to the given int64 and assigns it to the InboundConfirmationBlocks field.
func (*QuoteSwapResponse) SetInboundConfirmationSeconds ¶
func (o *QuoteSwapResponse) SetInboundConfirmationSeconds(v int64)
SetInboundConfirmationSeconds gets a reference to the given int64 and assigns it to the InboundConfirmationSeconds field.
func (*QuoteSwapResponse) SetMaxStreamingQuantity ¶
func (o *QuoteSwapResponse) SetMaxStreamingQuantity(v int64)
SetMaxStreamingQuantity gets a reference to the given int64 and assigns it to the MaxStreamingQuantity field.
func (*QuoteSwapResponse) SetMemo ¶
func (o *QuoteSwapResponse) SetMemo(v string)
SetMemo gets a reference to the given string and assigns it to the Memo field.
func (*QuoteSwapResponse) SetNotes ¶
func (o *QuoteSwapResponse) SetNotes(v string)
SetNotes sets field value
func (*QuoteSwapResponse) SetOutboundDelayBlocks ¶
func (o *QuoteSwapResponse) SetOutboundDelayBlocks(v int64)
SetOutboundDelayBlocks sets field value
func (*QuoteSwapResponse) SetOutboundDelaySeconds ¶
func (o *QuoteSwapResponse) SetOutboundDelaySeconds(v int64)
SetOutboundDelaySeconds sets field value
func (*QuoteSwapResponse) SetRecommendedGasRate ¶
func (o *QuoteSwapResponse) SetRecommendedGasRate(v string)
SetRecommendedGasRate gets a reference to the given string and assigns it to the RecommendedGasRate field.
func (*QuoteSwapResponse) SetRecommendedMinAmountIn ¶
func (o *QuoteSwapResponse) SetRecommendedMinAmountIn(v string)
SetRecommendedMinAmountIn gets a reference to the given string and assigns it to the RecommendedMinAmountIn field.
func (*QuoteSwapResponse) SetRouter ¶
func (o *QuoteSwapResponse) SetRouter(v string)
SetRouter gets a reference to the given string and assigns it to the Router field.
func (*QuoteSwapResponse) SetStreamingSwapBlocks ¶
func (o *QuoteSwapResponse) SetStreamingSwapBlocks(v int64)
SetStreamingSwapBlocks gets a reference to the given int64 and assigns it to the StreamingSwapBlocks field.
func (*QuoteSwapResponse) SetStreamingSwapSeconds ¶
func (o *QuoteSwapResponse) SetStreamingSwapSeconds(v int64)
SetStreamingSwapSeconds gets a reference to the given int64 and assigns it to the StreamingSwapSeconds field.
func (*QuoteSwapResponse) SetTotalSwapSeconds ¶
func (o *QuoteSwapResponse) SetTotalSwapSeconds(v int64)
SetTotalSwapSeconds gets a reference to the given int64 and assigns it to the TotalSwapSeconds field.
func (*QuoteSwapResponse) SetWarning ¶
func (o *QuoteSwapResponse) SetWarning(v string)
SetWarning sets field value
type RUNEPool ¶
type RUNEPool struct { // the units of RUNEPool owned by the reserve ReserveUnits string `json:"reserve_units"` // the units of RUNEPool owned by providers (including pending) PoolUnits string `json:"pool_units"` // the units of RUNEPool owned by providers that remain pending PendingPoolUnits string `json:"pending_pool_units"` }
RUNEPool struct for RUNEPool
func NewRUNEPool ¶
NewRUNEPool instantiates a new RUNEPool object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRUNEPoolWithDefaults ¶
func NewRUNEPoolWithDefaults() *RUNEPool
NewRUNEPoolWithDefaults instantiates a new RUNEPool object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RUNEPool) GetPendingPoolUnits ¶
GetPendingPoolUnits returns the PendingPoolUnits field value
func (*RUNEPool) GetPendingPoolUnitsOk ¶
GetPendingPoolUnitsOk returns a tuple with the PendingPoolUnits field value and a boolean to check if the value has been set.
func (*RUNEPool) GetPoolUnits ¶
GetPoolUnits returns the PoolUnits field value
func (*RUNEPool) GetPoolUnitsOk ¶
GetPoolUnitsOk returns a tuple with the PoolUnits field value and a boolean to check if the value has been set.
func (*RUNEPool) GetReserveUnits ¶
GetReserveUnits returns the ReserveUnits field value
func (*RUNEPool) GetReserveUnitsOk ¶
GetReserveUnitsOk returns a tuple with the ReserveUnits field value and a boolean to check if the value has been set.
func (RUNEPool) MarshalJSON_deprecated ¶
func (*RUNEPool) SetPendingPoolUnits ¶
SetPendingPoolUnits sets field value
func (*RUNEPool) SetPoolUnits ¶
SetPoolUnits sets field value
func (*RUNEPool) SetReserveUnits ¶
SetReserveUnits sets field value
type RUNEPoolApiService ¶
type RUNEPoolApiService service
RUNEPoolApiService RUNEPoolApi service
func (*RUNEPoolApiService) RunePool ¶
func (a *RUNEPoolApiService) RunePool(ctx context.Context) ApiRunePoolRequest
RunePool Method for RunePool
Returns the pool information for the RUNE pool.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRunePoolRequest
func (*RUNEPoolApiService) RunePoolExecute ¶
func (a *RUNEPoolApiService) RunePoolExecute(r ApiRunePoolRequest) (*RUNEPoolResponse, *http.Response, error)
Execute executes the request
@return RUNEPoolResponse
func (*RUNEPoolApiService) RuneProvider ¶
func (a *RUNEPoolApiService) RuneProvider(ctx context.Context, address string) ApiRuneProviderRequest
RuneProvider Method for RuneProvider
Returns the RUNE Provider information for an address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address @return ApiRuneProviderRequest
func (*RUNEPoolApiService) RuneProviderExecute ¶
func (a *RUNEPoolApiService) RuneProviderExecute(r ApiRuneProviderRequest) (*RUNEProvider, *http.Response, error)
Execute executes the request
@return RUNEProvider
func (*RUNEPoolApiService) RuneProviders ¶
func (a *RUNEPoolApiService) RuneProviders(ctx context.Context) ApiRuneProvidersRequest
RuneProviders Method for RuneProviders
Returns all RUNE Providers.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRuneProvidersRequest
func (*RUNEPoolApiService) RuneProvidersExecute ¶
func (a *RUNEPoolApiService) RuneProvidersExecute(r ApiRuneProvidersRequest) ([]RUNEProvider, *http.Response, error)
Execute executes the request
@return []RUNEProvider
type RUNEPoolResponse ¶
type RUNEPoolResponse struct { Pol POL `json:"pol"` Providers RUNEPoolResponseProviders `json:"providers"` Reserve RUNEPoolResponseReserve `json:"reserve"` }
RUNEPoolResponse struct for RUNEPoolResponse
func NewRUNEPoolResponse ¶
func NewRUNEPoolResponse(pol POL, providers RUNEPoolResponseProviders, reserve RUNEPoolResponseReserve) *RUNEPoolResponse
NewRUNEPoolResponse instantiates a new RUNEPoolResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRUNEPoolResponseWithDefaults ¶
func NewRUNEPoolResponseWithDefaults() *RUNEPoolResponse
NewRUNEPoolResponseWithDefaults instantiates a new RUNEPoolResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RUNEPoolResponse) GetPol ¶
func (o *RUNEPoolResponse) GetPol() POL
GetPol returns the Pol field value
func (*RUNEPoolResponse) GetPolOk ¶
func (o *RUNEPoolResponse) GetPolOk() (*POL, bool)
GetPolOk returns a tuple with the Pol field value and a boolean to check if the value has been set.
func (*RUNEPoolResponse) GetProviders ¶
func (o *RUNEPoolResponse) GetProviders() RUNEPoolResponseProviders
GetProviders returns the Providers field value
func (*RUNEPoolResponse) GetProvidersOk ¶
func (o *RUNEPoolResponse) GetProvidersOk() (*RUNEPoolResponseProviders, bool)
GetProvidersOk returns a tuple with the Providers field value and a boolean to check if the value has been set.
func (*RUNEPoolResponse) GetReserve ¶
func (o *RUNEPoolResponse) GetReserve() RUNEPoolResponseReserve
GetReserve returns the Reserve field value
func (*RUNEPoolResponse) GetReserveOk ¶
func (o *RUNEPoolResponse) GetReserveOk() (*RUNEPoolResponseReserve, bool)
GetReserveOk returns a tuple with the Reserve field value and a boolean to check if the value has been set.
func (RUNEPoolResponse) MarshalJSON_deprecated ¶
func (o RUNEPoolResponse) MarshalJSON_deprecated() ([]byte, error)
func (*RUNEPoolResponse) SetProviders ¶
func (o *RUNEPoolResponse) SetProviders(v RUNEPoolResponseProviders)
SetProviders sets field value
func (*RUNEPoolResponse) SetReserve ¶
func (o *RUNEPoolResponse) SetReserve(v RUNEPoolResponseReserve)
SetReserve sets field value
type RUNEPoolResponseProviders ¶
type RUNEPoolResponseProviders struct { // the units of RUNEPool owned by providers (including pending) Units string `json:"units"` // the units of RUNEPool owned by providers that remain pending PendingUnits string `json:"pending_units"` // the amount of RUNE pending PendingRune string `json:"pending_rune"` // the value of the provider share of the RUNEPool (includes pending RUNE) Value string `json:"value"` // the profit and loss of the provider share of the RUNEPool Pnl string `json:"pnl"` // the current RUNE deposited by providers CurrentDeposit string `json:"current_deposit"` }
RUNEPoolResponseProviders struct for RUNEPoolResponseProviders
func NewRUNEPoolResponseProviders ¶
func NewRUNEPoolResponseProviders(units string, pendingUnits string, pendingRune string, value string, pnl string, currentDeposit string) *RUNEPoolResponseProviders
NewRUNEPoolResponseProviders instantiates a new RUNEPoolResponseProviders object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRUNEPoolResponseProvidersWithDefaults ¶
func NewRUNEPoolResponseProvidersWithDefaults() *RUNEPoolResponseProviders
NewRUNEPoolResponseProvidersWithDefaults instantiates a new RUNEPoolResponseProviders object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RUNEPoolResponseProviders) GetCurrentDeposit ¶
func (o *RUNEPoolResponseProviders) GetCurrentDeposit() string
GetCurrentDeposit returns the CurrentDeposit field value
func (*RUNEPoolResponseProviders) GetCurrentDepositOk ¶
func (o *RUNEPoolResponseProviders) GetCurrentDepositOk() (*string, bool)
GetCurrentDepositOk returns a tuple with the CurrentDeposit field value and a boolean to check if the value has been set.
func (*RUNEPoolResponseProviders) GetPendingRune ¶
func (o *RUNEPoolResponseProviders) GetPendingRune() string
GetPendingRune returns the PendingRune field value
func (*RUNEPoolResponseProviders) GetPendingRuneOk ¶
func (o *RUNEPoolResponseProviders) GetPendingRuneOk() (*string, bool)
GetPendingRuneOk returns a tuple with the PendingRune field value and a boolean to check if the value has been set.
func (*RUNEPoolResponseProviders) GetPendingUnits ¶
func (o *RUNEPoolResponseProviders) GetPendingUnits() string
GetPendingUnits returns the PendingUnits field value
func (*RUNEPoolResponseProviders) GetPendingUnitsOk ¶
func (o *RUNEPoolResponseProviders) GetPendingUnitsOk() (*string, bool)
GetPendingUnitsOk returns a tuple with the PendingUnits field value and a boolean to check if the value has been set.
func (*RUNEPoolResponseProviders) GetPnl ¶
func (o *RUNEPoolResponseProviders) GetPnl() string
GetPnl returns the Pnl field value
func (*RUNEPoolResponseProviders) GetPnlOk ¶
func (o *RUNEPoolResponseProviders) GetPnlOk() (*string, bool)
GetPnlOk returns a tuple with the Pnl field value and a boolean to check if the value has been set.
func (*RUNEPoolResponseProviders) GetUnits ¶
func (o *RUNEPoolResponseProviders) GetUnits() string
GetUnits returns the Units field value
func (*RUNEPoolResponseProviders) GetUnitsOk ¶
func (o *RUNEPoolResponseProviders) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (*RUNEPoolResponseProviders) GetValue ¶
func (o *RUNEPoolResponseProviders) GetValue() string
GetValue returns the Value field value
func (*RUNEPoolResponseProviders) GetValueOk ¶
func (o *RUNEPoolResponseProviders) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (RUNEPoolResponseProviders) MarshalJSON_deprecated ¶
func (o RUNEPoolResponseProviders) MarshalJSON_deprecated() ([]byte, error)
func (*RUNEPoolResponseProviders) SetCurrentDeposit ¶
func (o *RUNEPoolResponseProviders) SetCurrentDeposit(v string)
SetCurrentDeposit sets field value
func (*RUNEPoolResponseProviders) SetPendingRune ¶
func (o *RUNEPoolResponseProviders) SetPendingRune(v string)
SetPendingRune sets field value
func (*RUNEPoolResponseProviders) SetPendingUnits ¶
func (o *RUNEPoolResponseProviders) SetPendingUnits(v string)
SetPendingUnits sets field value
func (*RUNEPoolResponseProviders) SetPnl ¶
func (o *RUNEPoolResponseProviders) SetPnl(v string)
SetPnl sets field value
func (*RUNEPoolResponseProviders) SetUnits ¶
func (o *RUNEPoolResponseProviders) SetUnits(v string)
SetUnits sets field value
func (*RUNEPoolResponseProviders) SetValue ¶
func (o *RUNEPoolResponseProviders) SetValue(v string)
SetValue sets field value
type RUNEPoolResponseReserve ¶
type RUNEPoolResponseReserve struct { // the units of RUNEPool owned by the reserve Units string `json:"units"` // the value of the reserve share of the RUNEPool Value string `json:"value"` // the profit and loss of the reserve share of the RUNEPool Pnl string `json:"pnl"` // the current RUNE deposited by the reserve CurrentDeposit string `json:"current_deposit"` }
RUNEPoolResponseReserve struct for RUNEPoolResponseReserve
func NewRUNEPoolResponseReserve ¶
func NewRUNEPoolResponseReserve(units string, value string, pnl string, currentDeposit string) *RUNEPoolResponseReserve
NewRUNEPoolResponseReserve instantiates a new RUNEPoolResponseReserve object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRUNEPoolResponseReserveWithDefaults ¶
func NewRUNEPoolResponseReserveWithDefaults() *RUNEPoolResponseReserve
NewRUNEPoolResponseReserveWithDefaults instantiates a new RUNEPoolResponseReserve object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RUNEPoolResponseReserve) GetCurrentDeposit ¶
func (o *RUNEPoolResponseReserve) GetCurrentDeposit() string
GetCurrentDeposit returns the CurrentDeposit field value
func (*RUNEPoolResponseReserve) GetCurrentDepositOk ¶
func (o *RUNEPoolResponseReserve) GetCurrentDepositOk() (*string, bool)
GetCurrentDepositOk returns a tuple with the CurrentDeposit field value and a boolean to check if the value has been set.
func (*RUNEPoolResponseReserve) GetPnl ¶
func (o *RUNEPoolResponseReserve) GetPnl() string
GetPnl returns the Pnl field value
func (*RUNEPoolResponseReserve) GetPnlOk ¶
func (o *RUNEPoolResponseReserve) GetPnlOk() (*string, bool)
GetPnlOk returns a tuple with the Pnl field value and a boolean to check if the value has been set.
func (*RUNEPoolResponseReserve) GetUnits ¶
func (o *RUNEPoolResponseReserve) GetUnits() string
GetUnits returns the Units field value
func (*RUNEPoolResponseReserve) GetUnitsOk ¶
func (o *RUNEPoolResponseReserve) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (*RUNEPoolResponseReserve) GetValue ¶
func (o *RUNEPoolResponseReserve) GetValue() string
GetValue returns the Value field value
func (*RUNEPoolResponseReserve) GetValueOk ¶
func (o *RUNEPoolResponseReserve) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (RUNEPoolResponseReserve) MarshalJSON_deprecated ¶
func (o RUNEPoolResponseReserve) MarshalJSON_deprecated() ([]byte, error)
func (*RUNEPoolResponseReserve) SetCurrentDeposit ¶
func (o *RUNEPoolResponseReserve) SetCurrentDeposit(v string)
SetCurrentDeposit sets field value
func (*RUNEPoolResponseReserve) SetPnl ¶
func (o *RUNEPoolResponseReserve) SetPnl(v string)
SetPnl sets field value
func (*RUNEPoolResponseReserve) SetUnits ¶
func (o *RUNEPoolResponseReserve) SetUnits(v string)
SetUnits sets field value
func (*RUNEPoolResponseReserve) SetValue ¶
func (o *RUNEPoolResponseReserve) SetValue(v string)
SetValue sets field value
type RUNEProvider ¶
type RUNEProvider struct { RuneAddress string `json:"rune_address"` Units string `json:"units"` Value string `json:"value"` Pnl string `json:"pnl"` DepositAmount string `json:"deposit_amount"` WithdrawAmount string `json:"withdraw_amount"` LastDepositHeight int64 `json:"last_deposit_height"` LastWithdrawHeight int64 `json:"last_withdraw_height"` }
RUNEProvider struct for RUNEProvider
func NewRUNEProvider ¶
func NewRUNEProvider(runeAddress string, units string, value string, pnl string, depositAmount string, withdrawAmount string, lastDepositHeight int64, lastWithdrawHeight int64) *RUNEProvider
NewRUNEProvider instantiates a new RUNEProvider object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRUNEProviderWithDefaults ¶
func NewRUNEProviderWithDefaults() *RUNEProvider
NewRUNEProviderWithDefaults instantiates a new RUNEProvider object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RUNEProvider) GetDepositAmount ¶
func (o *RUNEProvider) GetDepositAmount() string
GetDepositAmount returns the DepositAmount field value
func (*RUNEProvider) GetDepositAmountOk ¶
func (o *RUNEProvider) GetDepositAmountOk() (*string, bool)
GetDepositAmountOk returns a tuple with the DepositAmount field value and a boolean to check if the value has been set.
func (*RUNEProvider) GetLastDepositHeight ¶
func (o *RUNEProvider) GetLastDepositHeight() int64
GetLastDepositHeight returns the LastDepositHeight field value
func (*RUNEProvider) GetLastDepositHeightOk ¶
func (o *RUNEProvider) GetLastDepositHeightOk() (*int64, bool)
GetLastDepositHeightOk returns a tuple with the LastDepositHeight field value and a boolean to check if the value has been set.
func (*RUNEProvider) GetLastWithdrawHeight ¶
func (o *RUNEProvider) GetLastWithdrawHeight() int64
GetLastWithdrawHeight returns the LastWithdrawHeight field value
func (*RUNEProvider) GetLastWithdrawHeightOk ¶
func (o *RUNEProvider) GetLastWithdrawHeightOk() (*int64, bool)
GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value and a boolean to check if the value has been set.
func (*RUNEProvider) GetPnl ¶
func (o *RUNEProvider) GetPnl() string
GetPnl returns the Pnl field value
func (*RUNEProvider) GetPnlOk ¶
func (o *RUNEProvider) GetPnlOk() (*string, bool)
GetPnlOk returns a tuple with the Pnl field value and a boolean to check if the value has been set.
func (*RUNEProvider) GetRuneAddress ¶
func (o *RUNEProvider) GetRuneAddress() string
GetRuneAddress returns the RuneAddress field value
func (*RUNEProvider) GetRuneAddressOk ¶
func (o *RUNEProvider) GetRuneAddressOk() (*string, bool)
GetRuneAddressOk returns a tuple with the RuneAddress field value and a boolean to check if the value has been set.
func (*RUNEProvider) GetUnits ¶
func (o *RUNEProvider) GetUnits() string
GetUnits returns the Units field value
func (*RUNEProvider) GetUnitsOk ¶
func (o *RUNEProvider) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (*RUNEProvider) GetValue ¶
func (o *RUNEProvider) GetValue() string
GetValue returns the Value field value
func (*RUNEProvider) GetValueOk ¶
func (o *RUNEProvider) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*RUNEProvider) GetWithdrawAmount ¶
func (o *RUNEProvider) GetWithdrawAmount() string
GetWithdrawAmount returns the WithdrawAmount field value
func (*RUNEProvider) GetWithdrawAmountOk ¶
func (o *RUNEProvider) GetWithdrawAmountOk() (*string, bool)
GetWithdrawAmountOk returns a tuple with the WithdrawAmount field value and a boolean to check if the value has been set.
func (RUNEProvider) MarshalJSON_deprecated ¶
func (o RUNEProvider) MarshalJSON_deprecated() ([]byte, error)
func (*RUNEProvider) SetDepositAmount ¶
func (o *RUNEProvider) SetDepositAmount(v string)
SetDepositAmount sets field value
func (*RUNEProvider) SetLastDepositHeight ¶
func (o *RUNEProvider) SetLastDepositHeight(v int64)
SetLastDepositHeight sets field value
func (*RUNEProvider) SetLastWithdrawHeight ¶
func (o *RUNEProvider) SetLastWithdrawHeight(v int64)
SetLastWithdrawHeight sets field value
func (*RUNEProvider) SetRuneAddress ¶
func (o *RUNEProvider) SetRuneAddress(v string)
SetRuneAddress sets field value
func (*RUNEProvider) SetWithdrawAmount ¶
func (o *RUNEProvider) SetWithdrawAmount(v string)
SetWithdrawAmount sets field value
type Saver ¶
type Saver struct { Asset string `json:"asset"` AssetAddress string `json:"asset_address"` LastAddHeight *int64 `json:"last_add_height,omitempty"` LastWithdrawHeight *int64 `json:"last_withdraw_height,omitempty"` Units string `json:"units"` AssetDepositValue string `json:"asset_deposit_value"` AssetRedeemValue string `json:"asset_redeem_value"` GrowthPct string `json:"growth_pct"` }
Saver struct for Saver
func NewSaver ¶
func NewSaver(asset string, assetAddress string, units string, assetDepositValue string, assetRedeemValue string, growthPct string) *Saver
NewSaver instantiates a new Saver object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSaverWithDefaults ¶
func NewSaverWithDefaults() *Saver
NewSaverWithDefaults instantiates a new Saver object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Saver) GetAssetAddress ¶
GetAssetAddress returns the AssetAddress field value
func (*Saver) GetAssetAddressOk ¶
GetAssetAddressOk returns a tuple with the AssetAddress field value and a boolean to check if the value has been set.
func (*Saver) GetAssetDepositValue ¶
GetAssetDepositValue returns the AssetDepositValue field value
func (*Saver) GetAssetDepositValueOk ¶
GetAssetDepositValueOk returns a tuple with the AssetDepositValue field value and a boolean to check if the value has been set.
func (*Saver) GetAssetOk ¶
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*Saver) GetAssetRedeemValue ¶
GetAssetRedeemValue returns the AssetRedeemValue field value
func (*Saver) GetAssetRedeemValueOk ¶
GetAssetRedeemValueOk returns a tuple with the AssetRedeemValue field value and a boolean to check if the value has been set.
func (*Saver) GetGrowthPct ¶
GetGrowthPct returns the GrowthPct field value
func (*Saver) GetGrowthPctOk ¶
GetGrowthPctOk returns a tuple with the GrowthPct field value and a boolean to check if the value has been set.
func (*Saver) GetLastAddHeight ¶
GetLastAddHeight returns the LastAddHeight field value if set, zero value otherwise.
func (*Saver) GetLastAddHeightOk ¶
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 ¶
GetLastWithdrawHeight returns the LastWithdrawHeight field value if set, zero value otherwise.
func (*Saver) GetLastWithdrawHeightOk ¶
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) GetUnitsOk ¶
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (*Saver) HasLastAddHeight ¶
HasLastAddHeight returns a boolean if a field has been set.
func (*Saver) HasLastWithdrawHeight ¶
HasLastWithdrawHeight returns a boolean if a field has been set.
func (Saver) MarshalJSON_deprecated ¶
func (*Saver) SetAssetAddress ¶
SetAssetAddress sets field value
func (*Saver) SetAssetDepositValue ¶
SetAssetDepositValue sets field value
func (*Saver) SetAssetRedeemValue ¶
SetAssetRedeemValue sets field value
func (*Saver) SetLastAddHeight ¶
SetLastAddHeight gets a reference to the given int64 and assigns it to the LastAddHeight field.
func (*Saver) SetLastWithdrawHeight ¶
SetLastWithdrawHeight gets a reference to the given int64 and assigns it to the LastWithdrawHeight field.
type SaversApiService ¶
type SaversApiService service
SaversApiService SaversApi service
func (*SaversApiService) Saver ¶
func (a *SaversApiService) Saver(ctx context.Context, asset string, address string) ApiSaverRequest
Saver Method for Saver
Returns the saver position given then savers pool and address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @param address @return ApiSaverRequest
func (*SaversApiService) SaverExecute ¶
func (a *SaversApiService) SaverExecute(r ApiSaverRequest) (*Saver, *http.Response, error)
Execute executes the request
@return Saver
func (*SaversApiService) Savers ¶
func (a *SaversApiService) Savers(ctx context.Context, asset string) ApiSaversRequest
Savers Method for Savers
Returns all savers for the savers pool.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiSaversRequest
func (*SaversApiService) SaversExecute ¶
func (a *SaversApiService) SaversExecute(r ApiSaversRequest) ([]Saver, *http.Response, error)
Execute executes the request
@return []Saver
type SecuredAssetApiService ¶
type SecuredAssetApiService service
SecuredAssetApiService SecuredAssetApi service
func (*SecuredAssetApiService) SecuredAsset ¶
func (a *SecuredAssetApiService) SecuredAsset(ctx context.Context, asset string) ApiSecuredAssetRequest
SecuredAsset Method for SecuredAsset
Returns the total size and ratio of a secured asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiSecuredAssetRequest
func (*SecuredAssetApiService) SecuredAssetExecute ¶
func (a *SecuredAssetApiService) SecuredAssetExecute(r ApiSecuredAssetRequest) (*SecuredAssetResponse, *http.Response, error)
Execute executes the request
@return SecuredAssetResponse
type SecuredAssetResponse ¶
type SecuredAssetResponse struct { // secured account asset with \"-\" separator Asset string `json:"asset"` // total share tokens issued for the asset Supply string `json:"supply"` // total deposits of the asset Depth string `json:"depth"` }
SecuredAssetResponse struct for SecuredAssetResponse
func NewSecuredAssetResponse ¶
func NewSecuredAssetResponse(asset string, supply string, depth string) *SecuredAssetResponse
NewSecuredAssetResponse instantiates a new SecuredAssetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSecuredAssetResponseWithDefaults ¶
func NewSecuredAssetResponseWithDefaults() *SecuredAssetResponse
NewSecuredAssetResponseWithDefaults instantiates a new SecuredAssetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SecuredAssetResponse) GetAsset ¶
func (o *SecuredAssetResponse) GetAsset() string
GetAsset returns the Asset field value
func (*SecuredAssetResponse) GetAssetOk ¶
func (o *SecuredAssetResponse) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*SecuredAssetResponse) GetDepth ¶
func (o *SecuredAssetResponse) GetDepth() string
GetDepth returns the Depth field value
func (*SecuredAssetResponse) GetDepthOk ¶
func (o *SecuredAssetResponse) GetDepthOk() (*string, bool)
GetDepthOk returns a tuple with the Depth field value and a boolean to check if the value has been set.
func (*SecuredAssetResponse) GetSupply ¶
func (o *SecuredAssetResponse) GetSupply() string
GetSupply returns the Supply field value
func (*SecuredAssetResponse) GetSupplyOk ¶
func (o *SecuredAssetResponse) GetSupplyOk() (*string, bool)
GetSupplyOk returns a tuple with the Supply field value and a boolean to check if the value has been set.
func (SecuredAssetResponse) MarshalJSON_deprecated ¶
func (o SecuredAssetResponse) MarshalJSON_deprecated() ([]byte, error)
func (*SecuredAssetResponse) SetAsset ¶
func (o *SecuredAssetResponse) SetAsset(v string)
SetAsset sets field value
func (*SecuredAssetResponse) SetDepth ¶
func (o *SecuredAssetResponse) SetDepth(v string)
SetDepth sets field value
func (*SecuredAssetResponse) SetSupply ¶
func (o *SecuredAssetResponse) SetSupply(v string)
SetSupply sets field value
type SecuredAssetsApiService ¶
type SecuredAssetsApiService service
SecuredAssetsApiService SecuredAssetsApi service
func (*SecuredAssetsApiService) SecuredAssets ¶
func (a *SecuredAssetsApiService) SecuredAssets(ctx context.Context) ApiSecuredAssetsRequest
SecuredAssets Method for SecuredAssets
Returns the total size and ratio of all secured asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSecuredAssetsRequest
func (*SecuredAssetsApiService) SecuredAssetsExecute ¶
func (a *SecuredAssetsApiService) SecuredAssetsExecute(r ApiSecuredAssetsRequest) ([]SecuredAssetResponse, *http.Response, error)
Execute executes the request
@return []SecuredAssetResponse
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
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) 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) 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 ¶
func (a *StreamingSwapApiService) StreamSwap(ctx context.Context, hash string) ApiStreamSwapRequest
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 ¶
func (a *StreamingSwapApiService) StreamSwapExecute(r ApiStreamSwapRequest) (*StreamingSwap, *http.Response, error)
Execute executes the request
@return StreamingSwap
func (*StreamingSwapApiService) StreamSwaps ¶
func (a *StreamingSwapApiService) StreamSwaps(ctx context.Context) ApiStreamSwapsRequest
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 ¶
func (a *StreamingSwapApiService) StreamSwapsExecute(r ApiStreamSwapsRequest) ([]StreamingSwap, *http.Response, error)
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) SetStreaming ¶
func (o *SwapStatus) SetStreaming(v StreamingStatus)
SetStreaming gets a reference to the given StreamingStatus and assigns it to the Streaming field.
type SwapperCloutResponse ¶
type SwapperCloutResponse struct { // address associated with this clout account Address string `json:"address"` // clout score, which is the amount of rune spent on swap fees Score *string `json:"score,omitempty"` // amount of clout that has been reclaimed in total over time (observed clout spent) Reclaimed *string `json:"reclaimed,omitempty"` // amount of clout that has been spent in total over time Spent *string `json:"spent,omitempty"` // last block height that clout was spent LastSpentHeight *int64 `json:"last_spent_height,omitempty"` // last block height that clout was reclaimed LastReclaimHeight *int64 `json:"last_reclaim_height,omitempty"` }
SwapperCloutResponse struct for SwapperCloutResponse
func NewSwapperCloutResponse ¶
func NewSwapperCloutResponse(address string) *SwapperCloutResponse
NewSwapperCloutResponse instantiates a new SwapperCloutResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSwapperCloutResponseWithDefaults ¶
func NewSwapperCloutResponseWithDefaults() *SwapperCloutResponse
NewSwapperCloutResponseWithDefaults instantiates a new SwapperCloutResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SwapperCloutResponse) GetAddress ¶
func (o *SwapperCloutResponse) GetAddress() string
GetAddress returns the Address field value
func (*SwapperCloutResponse) GetAddressOk ¶
func (o *SwapperCloutResponse) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*SwapperCloutResponse) GetLastReclaimHeight ¶
func (o *SwapperCloutResponse) GetLastReclaimHeight() int64
GetLastReclaimHeight returns the LastReclaimHeight field value if set, zero value otherwise.
func (*SwapperCloutResponse) GetLastReclaimHeightOk ¶
func (o *SwapperCloutResponse) GetLastReclaimHeightOk() (*int64, bool)
GetLastReclaimHeightOk returns a tuple with the LastReclaimHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SwapperCloutResponse) GetLastSpentHeight ¶
func (o *SwapperCloutResponse) GetLastSpentHeight() int64
GetLastSpentHeight returns the LastSpentHeight field value if set, zero value otherwise.
func (*SwapperCloutResponse) GetLastSpentHeightOk ¶
func (o *SwapperCloutResponse) GetLastSpentHeightOk() (*int64, bool)
GetLastSpentHeightOk returns a tuple with the LastSpentHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SwapperCloutResponse) GetReclaimed ¶
func (o *SwapperCloutResponse) GetReclaimed() string
GetReclaimed returns the Reclaimed field value if set, zero value otherwise.
func (*SwapperCloutResponse) GetReclaimedOk ¶
func (o *SwapperCloutResponse) GetReclaimedOk() (*string, bool)
GetReclaimedOk returns a tuple with the Reclaimed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SwapperCloutResponse) GetScore ¶
func (o *SwapperCloutResponse) GetScore() string
GetScore returns the Score field value if set, zero value otherwise.
func (*SwapperCloutResponse) GetScoreOk ¶
func (o *SwapperCloutResponse) GetScoreOk() (*string, bool)
GetScoreOk returns a tuple with the Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SwapperCloutResponse) GetSpent ¶
func (o *SwapperCloutResponse) GetSpent() string
GetSpent returns the Spent field value if set, zero value otherwise.
func (*SwapperCloutResponse) GetSpentOk ¶
func (o *SwapperCloutResponse) GetSpentOk() (*string, bool)
GetSpentOk returns a tuple with the Spent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SwapperCloutResponse) HasLastReclaimHeight ¶
func (o *SwapperCloutResponse) HasLastReclaimHeight() bool
HasLastReclaimHeight returns a boolean if a field has been set.
func (*SwapperCloutResponse) HasLastSpentHeight ¶
func (o *SwapperCloutResponse) HasLastSpentHeight() bool
HasLastSpentHeight returns a boolean if a field has been set.
func (*SwapperCloutResponse) HasReclaimed ¶
func (o *SwapperCloutResponse) HasReclaimed() bool
HasReclaimed returns a boolean if a field has been set.
func (*SwapperCloutResponse) HasScore ¶
func (o *SwapperCloutResponse) HasScore() bool
HasScore returns a boolean if a field has been set.
func (*SwapperCloutResponse) HasSpent ¶
func (o *SwapperCloutResponse) HasSpent() bool
HasSpent returns a boolean if a field has been set.
func (SwapperCloutResponse) MarshalJSON_deprecated ¶
func (o SwapperCloutResponse) MarshalJSON_deprecated() ([]byte, error)
func (*SwapperCloutResponse) SetAddress ¶
func (o *SwapperCloutResponse) SetAddress(v string)
SetAddress sets field value
func (*SwapperCloutResponse) SetLastReclaimHeight ¶
func (o *SwapperCloutResponse) SetLastReclaimHeight(v int64)
SetLastReclaimHeight gets a reference to the given int64 and assigns it to the LastReclaimHeight field.
func (*SwapperCloutResponse) SetLastSpentHeight ¶
func (o *SwapperCloutResponse) SetLastSpentHeight(v int64)
SetLastSpentHeight gets a reference to the given int64 and assigns it to the LastSpentHeight field.
func (*SwapperCloutResponse) SetReclaimed ¶
func (o *SwapperCloutResponse) SetReclaimed(v string)
SetReclaimed gets a reference to the given string and assigns it to the Reclaimed field.
func (*SwapperCloutResponse) SetScore ¶
func (o *SwapperCloutResponse) SetScore(v string)
SetScore gets a reference to the given string and assigns it to the Score field.
func (*SwapperCloutResponse) SetSpent ¶
func (o *SwapperCloutResponse) SetSpent(v string)
SetSpent gets a reference to the given string and assigns it to the Spent field.
type TSSApiService ¶
type TSSApiService service
TSSApiService TSSApi service
func (*TSSApiService) KeygenPubkey ¶
func (a *TSSApiService) KeygenPubkey(ctx context.Context, height int64, pubkey string) ApiKeygenPubkeyRequest
KeygenPubkey Method for KeygenPubkey
Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param height @param pubkey @return ApiKeygenPubkeyRequest
func (*TSSApiService) KeygenPubkeyExecute ¶
func (a *TSSApiService) KeygenPubkeyExecute(r ApiKeygenPubkeyRequest) (*KeygenResponse, *http.Response, error)
Execute executes the request
@return KeygenResponse
func (*TSSApiService) Keysign ¶
func (a *TSSApiService) Keysign(ctx context.Context, height int64) ApiKeysignRequest
Keysign Method for Keysign
Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param height @return ApiKeysignRequest
func (*TSSApiService) KeysignExecute ¶
func (a *TSSApiService) KeysignExecute(r ApiKeysignRequest) (*KeysignResponse, *http.Response, error)
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 ¶
func (a *TSSApiService) Metrics(ctx context.Context) ApiMetricsRequest
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 ¶
func (a *TSSApiService) MetricsExecute(r ApiMetricsRequest) (*MetricsResponse, *http.Response, error)
Execute executes the request
@return MetricsResponse
func (*TSSApiService) MetricsKeygen ¶
func (a *TSSApiService) MetricsKeygen(ctx context.Context, pubkey string) ApiMetricsKeygenRequest
MetricsKeygen Method for MetricsKeygen
Returns keygen metrics for the provided vault pubkey.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param pubkey @return ApiMetricsKeygenRequest
func (*TSSApiService) MetricsKeygenExecute ¶
func (a *TSSApiService) MetricsKeygenExecute(r ApiMetricsKeygenRequest) ([]KeygenMetric, *http.Response, error)
Execute executes the request
@return []KeygenMetric
type Thorname ¶
type Thorname struct { Name *string `json:"name,omitempty"` ExpireBlockHeight *int64 `json:"expire_block_height,omitempty"` Owner *string `json:"owner,omitempty"` PreferredAsset string `json:"preferred_asset"` // Amount of RUNE currently accrued by this thorname in affiliate fees waiting to be swapped to preferred asset. AffiliateCollectorRune *string `json:"affiliate_collector_rune,omitempty"` Aliases []ThornameAlias `json:"aliases"` }
Thorname struct for Thorname
func NewThorname ¶
func NewThorname(preferredAsset string, aliases []ThornameAlias) *Thorname
NewThorname instantiates a new Thorname object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewThornameWithDefaults ¶
func NewThornameWithDefaults() *Thorname
NewThornameWithDefaults instantiates a new Thorname object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Thorname) GetAffiliateCollectorRune ¶
GetAffiliateCollectorRune returns the AffiliateCollectorRune field value if set, zero value otherwise.
func (*Thorname) GetAffiliateCollectorRuneOk ¶
GetAffiliateCollectorRuneOk returns a tuple with the AffiliateCollectorRune field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Thorname) GetAliases ¶
func (o *Thorname) GetAliases() []ThornameAlias
GetAliases returns the Aliases field value
func (*Thorname) GetAliasesOk ¶
func (o *Thorname) GetAliasesOk() ([]ThornameAlias, bool)
GetAliasesOk returns a tuple with the Aliases field value and a boolean to check if the value has been set.
func (*Thorname) GetExpireBlockHeight ¶
GetExpireBlockHeight returns the ExpireBlockHeight field value if set, zero value otherwise.
func (*Thorname) GetExpireBlockHeightOk ¶
GetExpireBlockHeightOk returns a tuple with the ExpireBlockHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Thorname) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Thorname) GetOwnerOk ¶
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Thorname) GetPreferredAsset ¶
GetPreferredAsset returns the PreferredAsset field value
func (*Thorname) GetPreferredAssetOk ¶
GetPreferredAssetOk returns a tuple with the PreferredAsset field value and a boolean to check if the value has been set.
func (*Thorname) HasAffiliateCollectorRune ¶
HasAffiliateCollectorRune returns a boolean if a field has been set.
func (*Thorname) HasExpireBlockHeight ¶
HasExpireBlockHeight returns a boolean if a field has been set.
func (Thorname) MarshalJSON_deprecated ¶
func (*Thorname) SetAffiliateCollectorRune ¶
SetAffiliateCollectorRune gets a reference to the given string and assigns it to the AffiliateCollectorRune field.
func (*Thorname) SetAliases ¶
func (o *Thorname) SetAliases(v []ThornameAlias)
SetAliases sets field value
func (*Thorname) SetExpireBlockHeight ¶
SetExpireBlockHeight gets a reference to the given int64 and assigns it to the ExpireBlockHeight field.
func (*Thorname) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Thorname) SetOwner ¶
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (*Thorname) SetPreferredAsset ¶
SetPreferredAsset sets field value
type ThornameAlias ¶
type ThornameAlias struct { Chain *string `json:"chain,omitempty"` Address *string `json:"address,omitempty"` }
ThornameAlias struct for ThornameAlias
func NewThornameAlias ¶
func NewThornameAlias() *ThornameAlias
NewThornameAlias instantiates a new ThornameAlias object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewThornameAliasWithDefaults ¶
func NewThornameAliasWithDefaults() *ThornameAlias
NewThornameAliasWithDefaults instantiates a new ThornameAlias object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ThornameAlias) GetAddress ¶
func (o *ThornameAlias) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*ThornameAlias) GetAddressOk ¶
func (o *ThornameAlias) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ThornameAlias) GetChain ¶
func (o *ThornameAlias) GetChain() string
GetChain returns the Chain field value if set, zero value otherwise.
func (*ThornameAlias) GetChainOk ¶
func (o *ThornameAlias) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ThornameAlias) HasAddress ¶
func (o *ThornameAlias) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*ThornameAlias) HasChain ¶
func (o *ThornameAlias) HasChain() bool
HasChain returns a boolean if a field has been set.
func (ThornameAlias) MarshalJSON_deprecated ¶
func (o ThornameAlias) MarshalJSON_deprecated() ([]byte, error)
func (*ThornameAlias) SetAddress ¶
func (o *ThornameAlias) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*ThornameAlias) SetChain ¶
func (o *ThornameAlias) SetChain(v string)
SetChain gets a reference to the given string and assigns it to the Chain field.
type ThornamesApiService ¶
type ThornamesApiService service
ThornamesApiService ThornamesApi service
func (*ThornamesApiService) Thorname ¶
func (a *ThornamesApiService) Thorname(ctx context.Context, name string) ApiThornameRequest
Thorname Method for Thorname
Returns addresses registered to the provided thorname.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name the thornode to lookup @return ApiThornameRequest
func (*ThornamesApiService) ThornameExecute ¶
func (a *ThornamesApiService) ThornameExecute(r ApiThornameRequest) (*Thorname, *http.Response, error)
Execute executes the request
@return Thorname
type TradeAccountApiService ¶
type TradeAccountApiService service
TradeAccountApiService TradeAccountApi service
func (*TradeAccountApiService) TradeAccount ¶
func (a *TradeAccountApiService) TradeAccount(ctx context.Context, address string) ApiTradeAccountRequest
TradeAccount Method for TradeAccount
Returns the units and depth of a trade account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address @return ApiTradeAccountRequest
func (*TradeAccountApiService) TradeAccountExecute ¶
func (a *TradeAccountApiService) TradeAccountExecute(r ApiTradeAccountRequest) (*TradeAccountResponse, *http.Response, error)
Execute executes the request
@return TradeAccountResponse
type TradeAccountResponse ¶
type TradeAccountResponse struct { // trade account asset with \"~\" separator Asset string `json:"asset"` // units of trade asset belonging to this owner Units string `json:"units"` // thor address of trade account owner Owner string `json:"owner"` // last thorchain height trade assets were added to trade account LastAddHeight *int64 `json:"last_add_height,omitempty"` // last thorchain height trade assets were withdrawn from trade account LastWithdrawHeight *int64 `json:"last_withdraw_height,omitempty"` }
TradeAccountResponse struct for TradeAccountResponse
func NewTradeAccountResponse ¶
func NewTradeAccountResponse(asset string, units string, owner string) *TradeAccountResponse
NewTradeAccountResponse instantiates a new TradeAccountResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTradeAccountResponseWithDefaults ¶
func NewTradeAccountResponseWithDefaults() *TradeAccountResponse
NewTradeAccountResponseWithDefaults instantiates a new TradeAccountResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TradeAccountResponse) GetAsset ¶
func (o *TradeAccountResponse) GetAsset() string
GetAsset returns the Asset field value
func (*TradeAccountResponse) GetAssetOk ¶
func (o *TradeAccountResponse) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*TradeAccountResponse) GetLastAddHeight ¶
func (o *TradeAccountResponse) GetLastAddHeight() int64
GetLastAddHeight returns the LastAddHeight field value if set, zero value otherwise.
func (*TradeAccountResponse) GetLastAddHeightOk ¶
func (o *TradeAccountResponse) GetLastAddHeightOk() (*int64, bool)
GetLastAddHeightOk returns a tuple with the LastAddHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TradeAccountResponse) GetLastWithdrawHeight ¶
func (o *TradeAccountResponse) GetLastWithdrawHeight() int64
GetLastWithdrawHeight returns the LastWithdrawHeight field value if set, zero value otherwise.
func (*TradeAccountResponse) GetLastWithdrawHeightOk ¶
func (o *TradeAccountResponse) GetLastWithdrawHeightOk() (*int64, bool)
GetLastWithdrawHeightOk returns a tuple with the LastWithdrawHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TradeAccountResponse) GetOwner ¶
func (o *TradeAccountResponse) GetOwner() string
GetOwner returns the Owner field value
func (*TradeAccountResponse) GetOwnerOk ¶
func (o *TradeAccountResponse) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (*TradeAccountResponse) GetUnits ¶
func (o *TradeAccountResponse) GetUnits() string
GetUnits returns the Units field value
func (*TradeAccountResponse) GetUnitsOk ¶
func (o *TradeAccountResponse) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (*TradeAccountResponse) HasLastAddHeight ¶
func (o *TradeAccountResponse) HasLastAddHeight() bool
HasLastAddHeight returns a boolean if a field has been set.
func (*TradeAccountResponse) HasLastWithdrawHeight ¶
func (o *TradeAccountResponse) HasLastWithdrawHeight() bool
HasLastWithdrawHeight returns a boolean if a field has been set.
func (TradeAccountResponse) MarshalJSON_deprecated ¶
func (o TradeAccountResponse) MarshalJSON_deprecated() ([]byte, error)
func (*TradeAccountResponse) SetAsset ¶
func (o *TradeAccountResponse) SetAsset(v string)
SetAsset sets field value
func (*TradeAccountResponse) SetLastAddHeight ¶
func (o *TradeAccountResponse) SetLastAddHeight(v int64)
SetLastAddHeight gets a reference to the given int64 and assigns it to the LastAddHeight field.
func (*TradeAccountResponse) SetLastWithdrawHeight ¶
func (o *TradeAccountResponse) SetLastWithdrawHeight(v int64)
SetLastWithdrawHeight gets a reference to the given int64 and assigns it to the LastWithdrawHeight field.
func (*TradeAccountResponse) SetOwner ¶
func (o *TradeAccountResponse) SetOwner(v string)
SetOwner sets field value
func (*TradeAccountResponse) SetUnits ¶
func (o *TradeAccountResponse) SetUnits(v string)
SetUnits sets field value
type TradeAccountsApiService ¶
type TradeAccountsApiService service
TradeAccountsApiService TradeAccountsApi service
func (*TradeAccountsApiService) TradeAccounts ¶
func (a *TradeAccountsApiService) TradeAccounts(ctx context.Context, asset string) ApiTradeAccountsRequest
TradeAccounts Method for TradeAccounts
Returns all trade accounts for an asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiTradeAccountsRequest
func (*TradeAccountsApiService) TradeAccountsExecute ¶
func (a *TradeAccountsApiService) TradeAccountsExecute(r ApiTradeAccountsRequest) ([]TradeAccountResponse, *http.Response, error)
Execute executes the request
@return []TradeAccountResponse
type TradeUnitApiService ¶
type TradeUnitApiService service
TradeUnitApiService TradeUnitApi service
func (*TradeUnitApiService) TradeUnit ¶
func (a *TradeUnitApiService) TradeUnit(ctx context.Context, asset string) ApiTradeUnitRequest
TradeUnit Method for TradeUnit
Returns the total units and depth of a trade asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset @return ApiTradeUnitRequest
func (*TradeUnitApiService) TradeUnitExecute ¶
func (a *TradeUnitApiService) TradeUnitExecute(r ApiTradeUnitRequest) (*TradeUnitResponse, *http.Response, error)
Execute executes the request
@return TradeUnitResponse
type TradeUnitResponse ¶
type TradeUnitResponse struct { // trade account asset with \"~\" separator Asset string `json:"asset"` // total units of trade asset Units string `json:"units"` // total depth of trade asset Depth string `json:"depth"` }
TradeUnitResponse struct for TradeUnitResponse
func NewTradeUnitResponse ¶
func NewTradeUnitResponse(asset string, units string, depth string) *TradeUnitResponse
NewTradeUnitResponse instantiates a new TradeUnitResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTradeUnitResponseWithDefaults ¶
func NewTradeUnitResponseWithDefaults() *TradeUnitResponse
NewTradeUnitResponseWithDefaults instantiates a new TradeUnitResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TradeUnitResponse) GetAsset ¶
func (o *TradeUnitResponse) GetAsset() string
GetAsset returns the Asset field value
func (*TradeUnitResponse) GetAssetOk ¶
func (o *TradeUnitResponse) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*TradeUnitResponse) GetDepth ¶
func (o *TradeUnitResponse) GetDepth() string
GetDepth returns the Depth field value
func (*TradeUnitResponse) GetDepthOk ¶
func (o *TradeUnitResponse) GetDepthOk() (*string, bool)
GetDepthOk returns a tuple with the Depth field value and a boolean to check if the value has been set.
func (*TradeUnitResponse) GetUnits ¶
func (o *TradeUnitResponse) GetUnits() string
GetUnits returns the Units field value
func (*TradeUnitResponse) GetUnitsOk ¶
func (o *TradeUnitResponse) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (TradeUnitResponse) MarshalJSON_deprecated ¶
func (o TradeUnitResponse) MarshalJSON_deprecated() ([]byte, error)
func (*TradeUnitResponse) SetAsset ¶
func (o *TradeUnitResponse) SetAsset(v string)
SetAsset sets field value
func (*TradeUnitResponse) SetDepth ¶
func (o *TradeUnitResponse) SetDepth(v string)
SetDepth sets field value
func (*TradeUnitResponse) SetUnits ¶
func (o *TradeUnitResponse) SetUnits(v string)
SetUnits sets field value
type TradeUnitsApiService ¶
type TradeUnitsApiService service
TradeUnitsApiService TradeUnitsApi service
func (*TradeUnitsApiService) TradeUnits ¶
func (a *TradeUnitsApiService) TradeUnits(ctx context.Context) ApiTradeUnitsRequest
TradeUnits Method for TradeUnits
Returns the total units and depth for each trade asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTradeUnitsRequest
func (*TradeUnitsApiService) TradeUnitsExecute ¶
func (a *TradeUnitsApiService) TradeUnitsExecute(r ApiTradeUnitsRequest) ([]TradeUnitResponse, *http.Response, error)
Execute executes the request
@return []TradeUnitResponse
type TransactionsApiService ¶
type TransactionsApiService service
TransactionsApiService TransactionsApi service
func (*TransactionsApiService) Tx ¶
func (a *TransactionsApiService) Tx(ctx context.Context, hash string) ApiTxRequest
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 ¶
func (a *TransactionsApiService) TxExecute(r ApiTxRequest) (*TxResponse, *http.Response, error)
Execute executes the request
@return TxResponse
func (*TransactionsApiService) TxSigners ¶
func (a *TransactionsApiService) TxSigners(ctx context.Context, hash string) ApiTxSignersRequest
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 ¶
func (a *TransactionsApiService) TxSignersExecute(r ApiTxSignersRequest) (*TxDetailsResponse, *http.Response, error)
Execute executes the request
@return TxDetailsResponse
func (*TransactionsApiService) TxSignersOld ¶
func (a *TransactionsApiService) TxSignersOld(ctx context.Context, hash string) ApiTxSignersOldRequest
TxSignersOld Method for TxSignersOld
Deprecated - migrate to /thorchain/tx/details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param hash @return ApiTxSignersOldRequest
func (*TransactionsApiService) TxSignersOldExecute ¶
func (a *TransactionsApiService) TxSignersOldExecute(r ApiTxSignersOldRequest) (*TxSignersResponse, *http.Response, error)
Execute executes the request
@return TxSignersResponse
func (*TransactionsApiService) TxStages ¶
func (a *TransactionsApiService) TxStages(ctx context.Context, hash string) ApiTxStagesRequest
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 ¶
func (a *TransactionsApiService) TxStagesExecute(r ApiTxStagesRequest) (*TxStagesResponse, *http.Response, error)
Execute executes the request
@return TxStagesResponse
func (*TransactionsApiService) TxStatus ¶
func (a *TransactionsApiService) TxStatus(ctx context.Context, hash string) ApiTxStatusRequest
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 ¶
func (a *TransactionsApiService) TxStatusExecute(r ApiTxStatusRequest) (*TxStatusResponse, *http.Response, error)
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 ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*TssMetric) GetAddressOk ¶
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 ¶
GetTssTime returns the TssTime field value if set, zero value otherwise.
func (*TssMetric) GetTssTimeOk ¶
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 ¶
HasAddress returns a boolean if a field has been set.
func (*TssMetric) HasTssTime ¶
HasTssTime returns a boolean if a field has been set.
func (TssMetric) MarshalJSON_deprecated ¶
func (*TssMetric) SetAddress ¶
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*TssMetric) SetTssTime ¶
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 ¶
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) GetChainOk ¶
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) GetCoinsOk ¶
GetCoinsOk returns a tuple with the Coins field value and a boolean to check if the value has been set.
func (*Tx) GetFromAddress ¶
GetFromAddress returns the FromAddress field value if set, zero value otherwise.
func (*Tx) GetFromAddressOk ¶
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) GetGasOk ¶
GetGasOk returns a tuple with the Gas field value and a boolean to check if the value has been set.
func (*Tx) GetIdOk ¶
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) GetMemoOk ¶
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 ¶
GetToAddress returns the ToAddress field value if set, zero value otherwise.
func (*Tx) GetToAddressOk ¶
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) HasFromAddress ¶
HasFromAddress returns a boolean if a field has been set.
func (*Tx) HasToAddress ¶
HasToAddress returns a boolean if a field has been set.
func (Tx) MarshalJSON_deprecated ¶
func (*Tx) SetChain ¶
SetChain gets a reference to the given string and assigns it to the Chain field.
func (*Tx) SetFromAddress ¶
SetFromAddress gets a reference to the given string and assigns it to the FromAddress field.
func (*Tx) SetToAddress ¶
SetToAddress gets a reference to the given string and assigns it to the ToAddress field.
type TxDetailsResponse ¶
type TxDetailsResponse struct { TxId *string `json:"tx_id,omitempty"` Tx ObservedTx `json:"tx"` Txs []ObservedTx `json:"txs"` Actions []TxOutItem `json:"actions"` OutTxs []Tx `json:"out_txs"` // the thorchain height at which the inbound reached consensus ConsensusHeight *int64 `json:"consensus_height,omitempty"` // the thorchain height at which the outbound was finalised FinalisedHeight *int64 `json:"finalised_height,omitempty"` UpdatedVault *bool `json:"updated_vault,omitempty"` Reverted *bool `json:"reverted,omitempty"` // the thorchain height for which the outbound was scheduled OutboundHeight *int64 `json:"outbound_height,omitempty"` }
TxDetailsResponse struct for TxDetailsResponse
func NewTxDetailsResponse ¶
func NewTxDetailsResponse(tx ObservedTx, txs []ObservedTx, actions []TxOutItem, outTxs []Tx) *TxDetailsResponse
NewTxDetailsResponse instantiates a new TxDetailsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTxDetailsResponseWithDefaults ¶
func NewTxDetailsResponseWithDefaults() *TxDetailsResponse
NewTxDetailsResponseWithDefaults instantiates a new TxDetailsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TxDetailsResponse) GetActions ¶
func (o *TxDetailsResponse) GetActions() []TxOutItem
GetActions returns the Actions field value
func (*TxDetailsResponse) GetActionsOk ¶
func (o *TxDetailsResponse) GetActionsOk() ([]TxOutItem, bool)
GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetConsensusHeight ¶
func (o *TxDetailsResponse) GetConsensusHeight() int64
GetConsensusHeight returns the ConsensusHeight field value if set, zero value otherwise.
func (*TxDetailsResponse) GetConsensusHeightOk ¶
func (o *TxDetailsResponse) GetConsensusHeightOk() (*int64, bool)
GetConsensusHeightOk returns a tuple with the ConsensusHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetFinalisedHeight ¶
func (o *TxDetailsResponse) GetFinalisedHeight() int64
GetFinalisedHeight returns the FinalisedHeight field value if set, zero value otherwise.
func (*TxDetailsResponse) GetFinalisedHeightOk ¶
func (o *TxDetailsResponse) GetFinalisedHeightOk() (*int64, bool)
GetFinalisedHeightOk returns a tuple with the FinalisedHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetOutTxs ¶
func (o *TxDetailsResponse) GetOutTxs() []Tx
GetOutTxs returns the OutTxs field value
func (*TxDetailsResponse) GetOutTxsOk ¶
func (o *TxDetailsResponse) GetOutTxsOk() ([]Tx, bool)
GetOutTxsOk returns a tuple with the OutTxs field value and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetOutboundHeight ¶
func (o *TxDetailsResponse) GetOutboundHeight() int64
GetOutboundHeight returns the OutboundHeight field value if set, zero value otherwise.
func (*TxDetailsResponse) GetOutboundHeightOk ¶
func (o *TxDetailsResponse) GetOutboundHeightOk() (*int64, bool)
GetOutboundHeightOk returns a tuple with the OutboundHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetReverted ¶
func (o *TxDetailsResponse) GetReverted() bool
GetReverted returns the Reverted field value if set, zero value otherwise.
func (*TxDetailsResponse) GetRevertedOk ¶
func (o *TxDetailsResponse) GetRevertedOk() (*bool, bool)
GetRevertedOk returns a tuple with the Reverted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetTx ¶
func (o *TxDetailsResponse) GetTx() ObservedTx
GetTx returns the Tx field value
func (*TxDetailsResponse) GetTxId ¶
func (o *TxDetailsResponse) GetTxId() string
GetTxId returns the TxId field value if set, zero value otherwise.
func (*TxDetailsResponse) GetTxIdOk ¶
func (o *TxDetailsResponse) GetTxIdOk() (*string, bool)
GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetTxOk ¶
func (o *TxDetailsResponse) GetTxOk() (*ObservedTx, bool)
GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetTxs ¶
func (o *TxDetailsResponse) GetTxs() []ObservedTx
GetTxs returns the Txs field value
func (*TxDetailsResponse) GetTxsOk ¶
func (o *TxDetailsResponse) GetTxsOk() ([]ObservedTx, bool)
GetTxsOk returns a tuple with the Txs field value and a boolean to check if the value has been set.
func (*TxDetailsResponse) GetUpdatedVault ¶
func (o *TxDetailsResponse) GetUpdatedVault() bool
GetUpdatedVault returns the UpdatedVault field value if set, zero value otherwise.
func (*TxDetailsResponse) GetUpdatedVaultOk ¶
func (o *TxDetailsResponse) GetUpdatedVaultOk() (*bool, bool)
GetUpdatedVaultOk returns a tuple with the UpdatedVault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxDetailsResponse) HasConsensusHeight ¶
func (o *TxDetailsResponse) HasConsensusHeight() bool
HasConsensusHeight returns a boolean if a field has been set.
func (*TxDetailsResponse) HasFinalisedHeight ¶
func (o *TxDetailsResponse) HasFinalisedHeight() bool
HasFinalisedHeight returns a boolean if a field has been set.
func (*TxDetailsResponse) HasOutboundHeight ¶
func (o *TxDetailsResponse) HasOutboundHeight() bool
HasOutboundHeight returns a boolean if a field has been set.
func (*TxDetailsResponse) HasReverted ¶
func (o *TxDetailsResponse) HasReverted() bool
HasReverted returns a boolean if a field has been set.
func (*TxDetailsResponse) HasTxId ¶
func (o *TxDetailsResponse) HasTxId() bool
HasTxId returns a boolean if a field has been set.
func (*TxDetailsResponse) HasUpdatedVault ¶
func (o *TxDetailsResponse) HasUpdatedVault() bool
HasUpdatedVault returns a boolean if a field has been set.
func (TxDetailsResponse) MarshalJSON_deprecated ¶
func (o TxDetailsResponse) MarshalJSON_deprecated() ([]byte, error)
func (*TxDetailsResponse) SetActions ¶
func (o *TxDetailsResponse) SetActions(v []TxOutItem)
SetActions sets field value
func (*TxDetailsResponse) SetConsensusHeight ¶
func (o *TxDetailsResponse) SetConsensusHeight(v int64)
SetConsensusHeight gets a reference to the given int64 and assigns it to the ConsensusHeight field.
func (*TxDetailsResponse) SetFinalisedHeight ¶
func (o *TxDetailsResponse) SetFinalisedHeight(v int64)
SetFinalisedHeight gets a reference to the given int64 and assigns it to the FinalisedHeight field.
func (*TxDetailsResponse) SetOutTxs ¶
func (o *TxDetailsResponse) SetOutTxs(v []Tx)
SetOutTxs sets field value
func (*TxDetailsResponse) SetOutboundHeight ¶
func (o *TxDetailsResponse) SetOutboundHeight(v int64)
SetOutboundHeight gets a reference to the given int64 and assigns it to the OutboundHeight field.
func (*TxDetailsResponse) SetReverted ¶
func (o *TxDetailsResponse) SetReverted(v bool)
SetReverted gets a reference to the given bool and assigns it to the Reverted field.
func (*TxDetailsResponse) SetTx ¶
func (o *TxDetailsResponse) SetTx(v ObservedTx)
SetTx sets field value
func (*TxDetailsResponse) SetTxId ¶
func (o *TxDetailsResponse) SetTxId(v string)
SetTxId gets a reference to the given string and assigns it to the TxId field.
func (*TxDetailsResponse) SetTxs ¶
func (o *TxDetailsResponse) SetTxs(v []ObservedTx)
SetTxs sets field value
func (*TxDetailsResponse) SetUpdatedVault ¶
func (o *TxDetailsResponse) SetUpdatedVault(v bool)
SetUpdatedVault gets a reference to the given bool and assigns it to the UpdatedVault field.
type TxOutItem ¶
type TxOutItem struct { Chain string `json:"chain"` ToAddress string `json:"to_address"` VaultPubKey *string `json:"vault_pub_key,omitempty"` Coin Coin `json:"coin"` Memo *string `json:"memo,omitempty"` MaxGas []Coin `json:"max_gas"` GasRate *int64 `json:"gas_rate,omitempty"` InHash *string `json:"in_hash,omitempty"` OutHash *string `json:"out_hash,omitempty"` Height *int64 `json:"height,omitempty"` // clout spent in RUNE for the outbound CloutSpent *string `json:"clout_spent,omitempty"` }
TxOutItem struct for TxOutItem
func NewTxOutItem ¶
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) GetChainOk ¶
GetChainOk returns a tuple with the Chain field value and a boolean to check if the value has been set.
func (*TxOutItem) GetCloutSpent ¶
GetCloutSpent returns the CloutSpent field value if set, zero value otherwise.
func (*TxOutItem) GetCloutSpentOk ¶
GetCloutSpentOk returns a tuple with the CloutSpent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutItem) GetCoinOk ¶
GetCoinOk returns a tuple with the Coin field value and a boolean to check if the value has been set.
func (*TxOutItem) GetGasRate ¶
GetGasRate returns the GasRate field value if set, zero value otherwise.
func (*TxOutItem) GetGasRateOk ¶
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 ¶
GetHeight returns the Height field value if set, zero value otherwise.
func (*TxOutItem) GetHeightOk ¶
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 ¶
GetInHash returns the InHash field value if set, zero value otherwise.
func (*TxOutItem) GetInHashOk ¶
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) GetMaxGasOk ¶
GetMaxGasOk returns a tuple with the MaxGas field value and a boolean to check if the value has been set.
func (*TxOutItem) GetMemoOk ¶
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 ¶
GetOutHash returns the OutHash field value if set, zero value otherwise.
func (*TxOutItem) GetOutHashOk ¶
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 ¶
GetToAddress returns the ToAddress field value
func (*TxOutItem) GetToAddressOk ¶
GetToAddressOk returns a tuple with the ToAddress field value and a boolean to check if the value has been set.
func (*TxOutItem) GetVaultPubKey ¶
GetVaultPubKey returns the VaultPubKey field value if set, zero value otherwise.
func (*TxOutItem) GetVaultPubKeyOk ¶
GetVaultPubKeyOk returns a tuple with the VaultPubKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutItem) HasCloutSpent ¶
HasCloutSpent returns a boolean if a field has been set.
func (*TxOutItem) HasGasRate ¶
HasGasRate returns a boolean if a field has been set.
func (*TxOutItem) HasOutHash ¶
HasOutHash returns a boolean if a field has been set.
func (*TxOutItem) HasVaultPubKey ¶
HasVaultPubKey returns a boolean if a field has been set.
func (TxOutItem) MarshalJSON_deprecated ¶
func (*TxOutItem) SetCloutSpent ¶
SetCloutSpent gets a reference to the given string and assigns it to the CloutSpent field.
func (*TxOutItem) SetGasRate ¶
SetGasRate gets a reference to the given int64 and assigns it to the GasRate field.
func (*TxOutItem) SetHeight ¶
SetHeight gets a reference to the given int64 and assigns it to the Height field.
func (*TxOutItem) SetInHash ¶
SetInHash gets a reference to the given string and assigns it to the InHash field.
func (*TxOutItem) SetMemo ¶
SetMemo gets a reference to the given string and assigns it to the Memo field.
func (*TxOutItem) SetOutHash ¶
SetOutHash gets a reference to the given string and assigns it to the OutHash field.
func (*TxOutItem) SetToAddress ¶
SetToAddress sets field value
func (*TxOutItem) SetVaultPubKey ¶
SetVaultPubKey gets a reference to the given string and assigns it to the VaultPubKey field.
type TxResponse ¶
type TxResponse struct { ObservedTx *ObservedTx `json:"observed_tx,omitempty"` // the thorchain height at which the inbound reached consensus ConsensusHeight *int64 `json:"consensus_height,omitempty"` // the thorchain height at which the outbound was finalised FinalisedHeight *int64 `json:"finalised_height,omitempty"` // the thorchain height for which the outbound was scheduled OutboundHeight *int64 `json:"outbound_height,omitempty"` KeysignMetric *TssKeysignMetric `json:"keysign_metric,omitempty"` }
TxResponse struct for TxResponse
func NewTxResponse ¶
func NewTxResponse() *TxResponse
NewTxResponse instantiates a new TxResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTxResponseWithDefaults ¶
func NewTxResponseWithDefaults() *TxResponse
NewTxResponseWithDefaults instantiates a new TxResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TxResponse) GetConsensusHeight ¶
func (o *TxResponse) GetConsensusHeight() int64
GetConsensusHeight returns the ConsensusHeight field value if set, zero value otherwise.
func (*TxResponse) GetConsensusHeightOk ¶
func (o *TxResponse) GetConsensusHeightOk() (*int64, bool)
GetConsensusHeightOk returns a tuple with the ConsensusHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxResponse) GetFinalisedHeight ¶
func (o *TxResponse) GetFinalisedHeight() int64
GetFinalisedHeight returns the FinalisedHeight field value if set, zero value otherwise.
func (*TxResponse) GetFinalisedHeightOk ¶
func (o *TxResponse) GetFinalisedHeightOk() (*int64, bool)
GetFinalisedHeightOk returns a tuple with the FinalisedHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxResponse) GetKeysignMetric ¶
func (o *TxResponse) GetKeysignMetric() TssKeysignMetric
GetKeysignMetric returns the KeysignMetric field value if set, zero value otherwise.
func (*TxResponse) GetKeysignMetricOk ¶
func (o *TxResponse) GetKeysignMetricOk() (*TssKeysignMetric, bool)
GetKeysignMetricOk returns a tuple with the KeysignMetric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxResponse) GetObservedTx ¶
func (o *TxResponse) GetObservedTx() ObservedTx
GetObservedTx returns the ObservedTx field value if set, zero value otherwise.
func (*TxResponse) GetObservedTxOk ¶
func (o *TxResponse) GetObservedTxOk() (*ObservedTx, bool)
GetObservedTxOk returns a tuple with the ObservedTx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxResponse) GetOutboundHeight ¶
func (o *TxResponse) GetOutboundHeight() int64
GetOutboundHeight returns the OutboundHeight field value if set, zero value otherwise.
func (*TxResponse) GetOutboundHeightOk ¶
func (o *TxResponse) GetOutboundHeightOk() (*int64, bool)
GetOutboundHeightOk returns a tuple with the OutboundHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxResponse) HasConsensusHeight ¶
func (o *TxResponse) HasConsensusHeight() bool
HasConsensusHeight returns a boolean if a field has been set.
func (*TxResponse) HasFinalisedHeight ¶
func (o *TxResponse) HasFinalisedHeight() bool
HasFinalisedHeight returns a boolean if a field has been set.
func (*TxResponse) HasKeysignMetric ¶
func (o *TxResponse) HasKeysignMetric() bool
HasKeysignMetric returns a boolean if a field has been set.
func (*TxResponse) HasObservedTx ¶
func (o *TxResponse) HasObservedTx() bool
HasObservedTx returns a boolean if a field has been set.
func (*TxResponse) HasOutboundHeight ¶
func (o *TxResponse) HasOutboundHeight() bool
HasOutboundHeight returns a boolean if a field has been set.
func (TxResponse) MarshalJSON_deprecated ¶
func (o TxResponse) MarshalJSON_deprecated() ([]byte, error)
func (*TxResponse) SetConsensusHeight ¶
func (o *TxResponse) SetConsensusHeight(v int64)
SetConsensusHeight gets a reference to the given int64 and assigns it to the ConsensusHeight field.
func (*TxResponse) SetFinalisedHeight ¶
func (o *TxResponse) SetFinalisedHeight(v int64)
SetFinalisedHeight gets a reference to the given int64 and assigns it to the FinalisedHeight field.
func (*TxResponse) SetKeysignMetric ¶
func (o *TxResponse) SetKeysignMetric(v TssKeysignMetric)
SetKeysignMetric gets a reference to the given TssKeysignMetric and assigns it to the KeysignMetric field.
func (*TxResponse) SetObservedTx ¶
func (o *TxResponse) SetObservedTx(v ObservedTx)
SetObservedTx gets a reference to the given ObservedTx and assigns it to the ObservedTx field.
func (*TxResponse) SetOutboundHeight ¶
func (o *TxResponse) SetOutboundHeight(v int64)
SetOutboundHeight gets a reference to the given int64 and assigns it to the OutboundHeight field.
type TxSignersResponse ¶
type TxSignersResponse struct { TxId *string `json:"tx_id,omitempty"` Tx ObservedTx `json:"tx"` Txs []ObservedTx `json:"txs"` Actions []TxOutItem `json:"actions"` OutTxs []Tx `json:"out_txs"` // the thorchain height at which the inbound reached consensus ConsensusHeight *int64 `json:"consensus_height,omitempty"` // the thorchain height at which the outbound was finalised FinalisedHeight *int64 `json:"finalised_height,omitempty"` UpdatedVault *bool `json:"updated_vault,omitempty"` Reverted *bool `json:"reverted,omitempty"` // the thorchain height for which the outbound was scheduled OutboundHeight *int64 `json:"outbound_height,omitempty"` }
TxSignersResponse struct for TxSignersResponse
func NewTxSignersResponse ¶
func NewTxSignersResponse(tx ObservedTx, txs []ObservedTx, actions []TxOutItem, outTxs []Tx) *TxSignersResponse
NewTxSignersResponse instantiates a new TxSignersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTxSignersResponseWithDefaults ¶
func NewTxSignersResponseWithDefaults() *TxSignersResponse
NewTxSignersResponseWithDefaults instantiates a new TxSignersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TxSignersResponse) GetActions ¶
func (o *TxSignersResponse) GetActions() []TxOutItem
GetActions returns the Actions field value
func (*TxSignersResponse) GetActionsOk ¶
func (o *TxSignersResponse) GetActionsOk() ([]TxOutItem, bool)
GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.
func (*TxSignersResponse) GetConsensusHeight ¶
func (o *TxSignersResponse) GetConsensusHeight() int64
GetConsensusHeight returns the ConsensusHeight field value if set, zero value otherwise.
func (*TxSignersResponse) GetConsensusHeightOk ¶
func (o *TxSignersResponse) GetConsensusHeightOk() (*int64, bool)
GetConsensusHeightOk returns a tuple with the ConsensusHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxSignersResponse) GetFinalisedHeight ¶
func (o *TxSignersResponse) GetFinalisedHeight() int64
GetFinalisedHeight returns the FinalisedHeight field value if set, zero value otherwise.
func (*TxSignersResponse) GetFinalisedHeightOk ¶
func (o *TxSignersResponse) GetFinalisedHeightOk() (*int64, bool)
GetFinalisedHeightOk returns a tuple with the FinalisedHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxSignersResponse) GetOutTxs ¶
func (o *TxSignersResponse) GetOutTxs() []Tx
GetOutTxs returns the OutTxs field value
func (*TxSignersResponse) GetOutTxsOk ¶
func (o *TxSignersResponse) GetOutTxsOk() ([]Tx, bool)
GetOutTxsOk returns a tuple with the OutTxs field value and a boolean to check if the value has been set.
func (*TxSignersResponse) GetOutboundHeight ¶
func (o *TxSignersResponse) GetOutboundHeight() int64
GetOutboundHeight returns the OutboundHeight field value if set, zero value otherwise.
func (*TxSignersResponse) GetOutboundHeightOk ¶
func (o *TxSignersResponse) GetOutboundHeightOk() (*int64, bool)
GetOutboundHeightOk returns a tuple with the OutboundHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxSignersResponse) GetReverted ¶
func (o *TxSignersResponse) GetReverted() bool
GetReverted returns the Reverted field value if set, zero value otherwise.
func (*TxSignersResponse) GetRevertedOk ¶
func (o *TxSignersResponse) GetRevertedOk() (*bool, bool)
GetRevertedOk returns a tuple with the Reverted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxSignersResponse) GetTx ¶
func (o *TxSignersResponse) GetTx() ObservedTx
GetTx returns the Tx field value
func (*TxSignersResponse) GetTxId ¶
func (o *TxSignersResponse) GetTxId() string
GetTxId returns the TxId field value if set, zero value otherwise.
func (*TxSignersResponse) GetTxIdOk ¶
func (o *TxSignersResponse) GetTxIdOk() (*string, bool)
GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxSignersResponse) GetTxOk ¶
func (o *TxSignersResponse) GetTxOk() (*ObservedTx, bool)
GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.
func (*TxSignersResponse) GetTxs ¶
func (o *TxSignersResponse) GetTxs() []ObservedTx
GetTxs returns the Txs field value
func (*TxSignersResponse) GetTxsOk ¶
func (o *TxSignersResponse) GetTxsOk() ([]ObservedTx, bool)
GetTxsOk returns a tuple with the Txs field value and a boolean to check if the value has been set.
func (*TxSignersResponse) GetUpdatedVault ¶
func (o *TxSignersResponse) GetUpdatedVault() bool
GetUpdatedVault returns the UpdatedVault field value if set, zero value otherwise.
func (*TxSignersResponse) GetUpdatedVaultOk ¶
func (o *TxSignersResponse) GetUpdatedVaultOk() (*bool, bool)
GetUpdatedVaultOk returns a tuple with the UpdatedVault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxSignersResponse) HasConsensusHeight ¶
func (o *TxSignersResponse) HasConsensusHeight() bool
HasConsensusHeight returns a boolean if a field has been set.
func (*TxSignersResponse) HasFinalisedHeight ¶
func (o *TxSignersResponse) HasFinalisedHeight() bool
HasFinalisedHeight returns a boolean if a field has been set.
func (*TxSignersResponse) HasOutboundHeight ¶
func (o *TxSignersResponse) HasOutboundHeight() bool
HasOutboundHeight returns a boolean if a field has been set.
func (*TxSignersResponse) HasReverted ¶
func (o *TxSignersResponse) HasReverted() bool
HasReverted returns a boolean if a field has been set.
func (*TxSignersResponse) HasTxId ¶
func (o *TxSignersResponse) HasTxId() bool
HasTxId returns a boolean if a field has been set.
func (*TxSignersResponse) HasUpdatedVault ¶
func (o *TxSignersResponse) HasUpdatedVault() bool
HasUpdatedVault returns a boolean if a field has been set.
func (TxSignersResponse) MarshalJSON_deprecated ¶
func (o TxSignersResponse) MarshalJSON_deprecated() ([]byte, error)
func (*TxSignersResponse) SetActions ¶
func (o *TxSignersResponse) SetActions(v []TxOutItem)
SetActions sets field value
func (*TxSignersResponse) SetConsensusHeight ¶
func (o *TxSignersResponse) SetConsensusHeight(v int64)
SetConsensusHeight gets a reference to the given int64 and assigns it to the ConsensusHeight field.
func (*TxSignersResponse) SetFinalisedHeight ¶
func (o *TxSignersResponse) SetFinalisedHeight(v int64)
SetFinalisedHeight gets a reference to the given int64 and assigns it to the FinalisedHeight field.
func (*TxSignersResponse) SetOutTxs ¶
func (o *TxSignersResponse) SetOutTxs(v []Tx)
SetOutTxs sets field value
func (*TxSignersResponse) SetOutboundHeight ¶
func (o *TxSignersResponse) SetOutboundHeight(v int64)
SetOutboundHeight gets a reference to the given int64 and assigns it to the OutboundHeight field.
func (*TxSignersResponse) SetReverted ¶
func (o *TxSignersResponse) SetReverted(v bool)
SetReverted gets a reference to the given bool and assigns it to the Reverted field.
func (*TxSignersResponse) SetTx ¶
func (o *TxSignersResponse) SetTx(v ObservedTx)
SetTx sets field value
func (*TxSignersResponse) SetTxId ¶
func (o *TxSignersResponse) SetTxId(v string)
SetTxId gets a reference to the given string and assigns it to the TxId field.
func (*TxSignersResponse) SetTxs ¶
func (o *TxSignersResponse) SetTxs(v []ObservedTx)
SetTxs sets field value
func (*TxSignersResponse) SetUpdatedVault ¶
func (o *TxSignersResponse) SetUpdatedVault(v bool)
SetUpdatedVault gets a reference to the given bool and assigns it to the UpdatedVault field.
type TxStagesResponse ¶
type TxStagesResponse struct { InboundObserved InboundObservedStage `json:"inbound_observed"` InboundConfirmationCounted *InboundConfirmationCountedStage `json:"inbound_confirmation_counted,omitempty"` InboundFinalised *InboundFinalisedStage `json:"inbound_finalised,omitempty"` SwapStatus *SwapStatus `json:"swap_status,omitempty"` SwapFinalised *SwapFinalisedStage `json:"swap_finalised,omitempty"` OutboundDelay *OutboundDelayStage `json:"outbound_delay,omitempty"` OutboundSigned *OutboundSignedStage `json:"outbound_signed,omitempty"` }
TxStagesResponse struct for TxStagesResponse
func NewTxStagesResponse ¶
func NewTxStagesResponse(inboundObserved InboundObservedStage) *TxStagesResponse
NewTxStagesResponse instantiates a new TxStagesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTxStagesResponseWithDefaults ¶
func NewTxStagesResponseWithDefaults() *TxStagesResponse
NewTxStagesResponseWithDefaults instantiates a new TxStagesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TxStagesResponse) GetInboundConfirmationCounted ¶
func (o *TxStagesResponse) GetInboundConfirmationCounted() InboundConfirmationCountedStage
GetInboundConfirmationCounted returns the InboundConfirmationCounted field value if set, zero value otherwise.
func (*TxStagesResponse) GetInboundConfirmationCountedOk ¶
func (o *TxStagesResponse) GetInboundConfirmationCountedOk() (*InboundConfirmationCountedStage, bool)
GetInboundConfirmationCountedOk returns a tuple with the InboundConfirmationCounted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStagesResponse) GetInboundFinalised ¶
func (o *TxStagesResponse) GetInboundFinalised() InboundFinalisedStage
GetInboundFinalised returns the InboundFinalised field value if set, zero value otherwise.
func (*TxStagesResponse) GetInboundFinalisedOk ¶
func (o *TxStagesResponse) GetInboundFinalisedOk() (*InboundFinalisedStage, bool)
GetInboundFinalisedOk returns a tuple with the InboundFinalised field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStagesResponse) GetInboundObserved ¶
func (o *TxStagesResponse) GetInboundObserved() InboundObservedStage
GetInboundObserved returns the InboundObserved field value
func (*TxStagesResponse) GetInboundObservedOk ¶
func (o *TxStagesResponse) GetInboundObservedOk() (*InboundObservedStage, bool)
GetInboundObservedOk returns a tuple with the InboundObserved field value and a boolean to check if the value has been set.
func (*TxStagesResponse) GetOutboundDelay ¶
func (o *TxStagesResponse) GetOutboundDelay() OutboundDelayStage
GetOutboundDelay returns the OutboundDelay field value if set, zero value otherwise.
func (*TxStagesResponse) GetOutboundDelayOk ¶
func (o *TxStagesResponse) GetOutboundDelayOk() (*OutboundDelayStage, bool)
GetOutboundDelayOk returns a tuple with the OutboundDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStagesResponse) GetOutboundSigned ¶
func (o *TxStagesResponse) GetOutboundSigned() OutboundSignedStage
GetOutboundSigned returns the OutboundSigned field value if set, zero value otherwise.
func (*TxStagesResponse) GetOutboundSignedOk ¶
func (o *TxStagesResponse) GetOutboundSignedOk() (*OutboundSignedStage, bool)
GetOutboundSignedOk returns a tuple with the OutboundSigned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStagesResponse) GetSwapFinalised ¶
func (o *TxStagesResponse) GetSwapFinalised() SwapFinalisedStage
GetSwapFinalised returns the SwapFinalised field value if set, zero value otherwise.
func (*TxStagesResponse) GetSwapFinalisedOk ¶
func (o *TxStagesResponse) GetSwapFinalisedOk() (*SwapFinalisedStage, bool)
GetSwapFinalisedOk returns a tuple with the SwapFinalised field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStagesResponse) GetSwapStatus ¶
func (o *TxStagesResponse) GetSwapStatus() SwapStatus
GetSwapStatus returns the SwapStatus field value if set, zero value otherwise.
func (*TxStagesResponse) GetSwapStatusOk ¶
func (o *TxStagesResponse) GetSwapStatusOk() (*SwapStatus, bool)
GetSwapStatusOk returns a tuple with the SwapStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStagesResponse) HasInboundConfirmationCounted ¶
func (o *TxStagesResponse) HasInboundConfirmationCounted() bool
HasInboundConfirmationCounted returns a boolean if a field has been set.
func (*TxStagesResponse) HasInboundFinalised ¶
func (o *TxStagesResponse) HasInboundFinalised() bool
HasInboundFinalised returns a boolean if a field has been set.
func (*TxStagesResponse) HasOutboundDelay ¶
func (o *TxStagesResponse) HasOutboundDelay() bool
HasOutboundDelay returns a boolean if a field has been set.
func (*TxStagesResponse) HasOutboundSigned ¶
func (o *TxStagesResponse) HasOutboundSigned() bool
HasOutboundSigned returns a boolean if a field has been set.
func (*TxStagesResponse) HasSwapFinalised ¶
func (o *TxStagesResponse) HasSwapFinalised() bool
HasSwapFinalised returns a boolean if a field has been set.
func (*TxStagesResponse) HasSwapStatus ¶
func (o *TxStagesResponse) HasSwapStatus() bool
HasSwapStatus returns a boolean if a field has been set.
func (TxStagesResponse) MarshalJSON_deprecated ¶
func (o TxStagesResponse) MarshalJSON_deprecated() ([]byte, error)
func (*TxStagesResponse) SetInboundConfirmationCounted ¶
func (o *TxStagesResponse) SetInboundConfirmationCounted(v InboundConfirmationCountedStage)
SetInboundConfirmationCounted gets a reference to the given InboundConfirmationCountedStage and assigns it to the InboundConfirmationCounted field.
func (*TxStagesResponse) SetInboundFinalised ¶
func (o *TxStagesResponse) SetInboundFinalised(v InboundFinalisedStage)
SetInboundFinalised gets a reference to the given InboundFinalisedStage and assigns it to the InboundFinalised field.
func (*TxStagesResponse) SetInboundObserved ¶
func (o *TxStagesResponse) SetInboundObserved(v InboundObservedStage)
SetInboundObserved sets field value
func (*TxStagesResponse) SetOutboundDelay ¶
func (o *TxStagesResponse) SetOutboundDelay(v OutboundDelayStage)
SetOutboundDelay gets a reference to the given OutboundDelayStage and assigns it to the OutboundDelay field.
func (*TxStagesResponse) SetOutboundSigned ¶
func (o *TxStagesResponse) SetOutboundSigned(v OutboundSignedStage)
SetOutboundSigned gets a reference to the given OutboundSignedStage and assigns it to the OutboundSigned field.
func (*TxStagesResponse) SetSwapFinalised ¶
func (o *TxStagesResponse) SetSwapFinalised(v SwapFinalisedStage)
SetSwapFinalised gets a reference to the given SwapFinalisedStage and assigns it to the SwapFinalised field.
func (*TxStagesResponse) SetSwapStatus ¶
func (o *TxStagesResponse) SetSwapStatus(v SwapStatus)
SetSwapStatus gets a reference to the given SwapStatus and assigns it to the SwapStatus field.
type TxStatusResponse ¶
type TxStatusResponse struct { Tx *Tx `json:"tx,omitempty"` PlannedOutTxs []PlannedOutTx `json:"planned_out_txs,omitempty"` OutTxs []Tx `json:"out_txs,omitempty"` Stages TxStagesResponse `json:"stages"` }
TxStatusResponse struct for TxStatusResponse
func NewTxStatusResponse ¶
func NewTxStatusResponse(stages TxStagesResponse) *TxStatusResponse
NewTxStatusResponse instantiates a new TxStatusResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTxStatusResponseWithDefaults ¶
func NewTxStatusResponseWithDefaults() *TxStatusResponse
NewTxStatusResponseWithDefaults instantiates a new TxStatusResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TxStatusResponse) GetOutTxs ¶
func (o *TxStatusResponse) GetOutTxs() []Tx
GetOutTxs returns the OutTxs field value if set, zero value otherwise.
func (*TxStatusResponse) GetOutTxsOk ¶
func (o *TxStatusResponse) GetOutTxsOk() ([]Tx, bool)
GetOutTxsOk returns a tuple with the OutTxs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStatusResponse) GetPlannedOutTxs ¶
func (o *TxStatusResponse) GetPlannedOutTxs() []PlannedOutTx
GetPlannedOutTxs returns the PlannedOutTxs field value if set, zero value otherwise.
func (*TxStatusResponse) GetPlannedOutTxsOk ¶
func (o *TxStatusResponse) GetPlannedOutTxsOk() ([]PlannedOutTx, bool)
GetPlannedOutTxsOk returns a tuple with the PlannedOutTxs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStatusResponse) GetStages ¶
func (o *TxStatusResponse) GetStages() TxStagesResponse
GetStages returns the Stages field value
func (*TxStatusResponse) GetStagesOk ¶
func (o *TxStatusResponse) GetStagesOk() (*TxStagesResponse, bool)
GetStagesOk returns a tuple with the Stages field value and a boolean to check if the value has been set.
func (*TxStatusResponse) GetTx ¶
func (o *TxStatusResponse) GetTx() Tx
GetTx returns the Tx field value if set, zero value otherwise.
func (*TxStatusResponse) GetTxOk ¶
func (o *TxStatusResponse) GetTxOk() (*Tx, bool)
GetTxOk returns a tuple with the Tx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxStatusResponse) HasOutTxs ¶
func (o *TxStatusResponse) HasOutTxs() bool
HasOutTxs returns a boolean if a field has been set.
func (*TxStatusResponse) HasPlannedOutTxs ¶
func (o *TxStatusResponse) HasPlannedOutTxs() bool
HasPlannedOutTxs returns a boolean if a field has been set.
func (*TxStatusResponse) HasTx ¶
func (o *TxStatusResponse) HasTx() bool
HasTx returns a boolean if a field has been set.
func (TxStatusResponse) MarshalJSON_deprecated ¶
func (o TxStatusResponse) MarshalJSON_deprecated() ([]byte, error)
func (*TxStatusResponse) SetOutTxs ¶
func (o *TxStatusResponse) SetOutTxs(v []Tx)
SetOutTxs gets a reference to the given []Tx and assigns it to the OutTxs field.
func (*TxStatusResponse) SetPlannedOutTxs ¶
func (o *TxStatusResponse) SetPlannedOutTxs(v []PlannedOutTx)
SetPlannedOutTxs gets a reference to the given []PlannedOutTx and assigns it to the PlannedOutTxs field.
func (*TxStatusResponse) SetStages ¶
func (o *TxStatusResponse) SetStages(v TxStagesResponse)
SetStages sets field value
func (*TxStatusResponse) SetTx ¶
func (o *TxStatusResponse) SetTx(v Tx)
SetTx gets a reference to the given Tx and assigns it to the Tx field.
type UpgradeProposal ¶
type UpgradeProposal struct { // the name of the upgrade Name string `json:"name"` // the block height at which the upgrade will occur Height int64 `json:"height"` // the description of the upgrade, typically json with URLs to binaries for use with automation tools Info string `json:"info"` // whether the upgrade has been approved by the active validators Approved *bool `json:"approved,omitempty"` // the percentage of active validators that have approved the upgrade ApprovedPercent *string `json:"approved_percent,omitempty"` // the amount of additional active validators required to reach quorum for the upgrade ValidatorsToQuorum *int64 `json:"validators_to_quorum,omitempty"` }
UpgradeProposal struct for UpgradeProposal
func NewUpgradeProposal ¶
func NewUpgradeProposal(name string, height int64, info string) *UpgradeProposal
NewUpgradeProposal instantiates a new UpgradeProposal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpgradeProposalWithDefaults ¶
func NewUpgradeProposalWithDefaults() *UpgradeProposal
NewUpgradeProposalWithDefaults instantiates a new UpgradeProposal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpgradeProposal) GetApproved ¶
func (o *UpgradeProposal) GetApproved() bool
GetApproved returns the Approved field value if set, zero value otherwise.
func (*UpgradeProposal) GetApprovedOk ¶
func (o *UpgradeProposal) GetApprovedOk() (*bool, bool)
GetApprovedOk returns a tuple with the Approved field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpgradeProposal) GetApprovedPercent ¶
func (o *UpgradeProposal) GetApprovedPercent() string
GetApprovedPercent returns the ApprovedPercent field value if set, zero value otherwise.
func (*UpgradeProposal) GetApprovedPercentOk ¶
func (o *UpgradeProposal) GetApprovedPercentOk() (*string, bool)
GetApprovedPercentOk returns a tuple with the ApprovedPercent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpgradeProposal) GetHeight ¶
func (o *UpgradeProposal) GetHeight() int64
GetHeight returns the Height field value
func (*UpgradeProposal) GetHeightOk ¶
func (o *UpgradeProposal) GetHeightOk() (*int64, bool)
GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.
func (*UpgradeProposal) GetInfo ¶
func (o *UpgradeProposal) GetInfo() string
GetInfo returns the Info field value
func (*UpgradeProposal) GetInfoOk ¶
func (o *UpgradeProposal) GetInfoOk() (*string, bool)
GetInfoOk returns a tuple with the Info field value and a boolean to check if the value has been set.
func (*UpgradeProposal) GetName ¶
func (o *UpgradeProposal) GetName() string
GetName returns the Name field value
func (*UpgradeProposal) GetNameOk ¶
func (o *UpgradeProposal) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpgradeProposal) GetValidatorsToQuorum ¶
func (o *UpgradeProposal) GetValidatorsToQuorum() int64
GetValidatorsToQuorum returns the ValidatorsToQuorum field value if set, zero value otherwise.
func (*UpgradeProposal) GetValidatorsToQuorumOk ¶
func (o *UpgradeProposal) GetValidatorsToQuorumOk() (*int64, bool)
GetValidatorsToQuorumOk returns a tuple with the ValidatorsToQuorum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpgradeProposal) HasApproved ¶
func (o *UpgradeProposal) HasApproved() bool
HasApproved returns a boolean if a field has been set.
func (*UpgradeProposal) HasApprovedPercent ¶
func (o *UpgradeProposal) HasApprovedPercent() bool
HasApprovedPercent returns a boolean if a field has been set.
func (*UpgradeProposal) HasValidatorsToQuorum ¶
func (o *UpgradeProposal) HasValidatorsToQuorum() bool
HasValidatorsToQuorum returns a boolean if a field has been set.
func (UpgradeProposal) MarshalJSON_deprecated ¶
func (o UpgradeProposal) MarshalJSON_deprecated() ([]byte, error)
func (*UpgradeProposal) SetApproved ¶
func (o *UpgradeProposal) SetApproved(v bool)
SetApproved gets a reference to the given bool and assigns it to the Approved field.
func (*UpgradeProposal) SetApprovedPercent ¶
func (o *UpgradeProposal) SetApprovedPercent(v string)
SetApprovedPercent gets a reference to the given string and assigns it to the ApprovedPercent field.
func (*UpgradeProposal) SetHeight ¶
func (o *UpgradeProposal) SetHeight(v int64)
SetHeight sets field value
func (*UpgradeProposal) SetInfo ¶
func (o *UpgradeProposal) SetInfo(v string)
SetInfo sets field value
func (*UpgradeProposal) SetName ¶
func (o *UpgradeProposal) SetName(v string)
SetName sets field value
func (*UpgradeProposal) SetValidatorsToQuorum ¶
func (o *UpgradeProposal) SetValidatorsToQuorum(v int64)
SetValidatorsToQuorum gets a reference to the given int64 and assigns it to the ValidatorsToQuorum field.
type UpgradeVote ¶
type UpgradeVote struct { // the node address of the voter NodeAddress string `json:"node_address"` // the vote cast by the node Vote string `json:"vote"` }
UpgradeVote struct for UpgradeVote
func NewUpgradeVote ¶
func NewUpgradeVote(nodeAddress string, vote string) *UpgradeVote
NewUpgradeVote instantiates a new UpgradeVote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpgradeVoteWithDefaults ¶
func NewUpgradeVoteWithDefaults() *UpgradeVote
NewUpgradeVoteWithDefaults instantiates a new UpgradeVote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpgradeVote) GetNodeAddress ¶
func (o *UpgradeVote) GetNodeAddress() string
GetNodeAddress returns the NodeAddress field value
func (*UpgradeVote) GetNodeAddressOk ¶
func (o *UpgradeVote) GetNodeAddressOk() (*string, bool)
GetNodeAddressOk returns a tuple with the NodeAddress field value and a boolean to check if the value has been set.
func (*UpgradeVote) GetVote ¶
func (o *UpgradeVote) GetVote() string
GetVote returns the Vote field value
func (*UpgradeVote) GetVoteOk ¶
func (o *UpgradeVote) GetVoteOk() (*string, bool)
GetVoteOk returns a tuple with the Vote field value and a boolean to check if the value has been set.
func (UpgradeVote) MarshalJSON_deprecated ¶
func (o UpgradeVote) MarshalJSON_deprecated() ([]byte, error)
func (*UpgradeVote) SetNodeAddress ¶
func (o *UpgradeVote) SetNodeAddress(v string)
SetNodeAddress sets field value
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 ¶
GetBlockHeight returns the BlockHeight field value if set, zero value otherwise.
func (*Vault) GetBlockHeightOk ¶
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) GetChainsOk ¶
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) GetCoinsOk ¶
GetCoinsOk returns a tuple with the Coins field value and a boolean to check if the value has been set.
func (*Vault) GetFrozenOk ¶
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 ¶
GetInboundTxCount returns the InboundTxCount field value if set, zero value otherwise.
func (*Vault) GetInboundTxCountOk ¶
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 ¶
GetMembership returns the Membership field value if set, zero value otherwise.
func (*Vault) GetMembershipOk ¶
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 ¶
GetOutboundTxCount returns the OutboundTxCount field value if set, zero value otherwise.
func (*Vault) GetOutboundTxCountOk ¶
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 ¶
GetPendingTxBlockHeights returns the PendingTxBlockHeights field value if set, zero value otherwise.
func (*Vault) GetPendingTxBlockHeightsOk ¶
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) GetPubKeyOk ¶
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) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Vault) GetStatusSince ¶
GetStatusSince returns the StatusSince field value if set, zero value otherwise.
func (*Vault) GetStatusSinceOk ¶
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) GetTypeOk ¶
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 ¶
HasBlockHeight returns a boolean if a field has been set.
func (*Vault) HasInboundTxCount ¶
HasInboundTxCount returns a boolean if a field has been set.
func (*Vault) HasMembership ¶
HasMembership returns a boolean if a field has been set.
func (*Vault) HasOutboundTxCount ¶
HasOutboundTxCount returns a boolean if a field has been set.
func (*Vault) HasPendingTxBlockHeights ¶
HasPendingTxBlockHeights returns a boolean if a field has been set.
func (*Vault) HasStatusSince ¶
HasStatusSince returns a boolean if a field has been set.
func (Vault) MarshalJSON_deprecated ¶
func (*Vault) SetAddresses ¶
func (o *Vault) SetAddresses(v []VaultAddress)
SetAddresses sets field value
func (*Vault) SetBlockHeight ¶
SetBlockHeight gets a reference to the given int64 and assigns it to the BlockHeight field.
func (*Vault) SetChains ¶
SetChains gets a reference to the given []string and assigns it to the Chains field.
func (*Vault) SetFrozen ¶
SetFrozen gets a reference to the given []string and assigns it to the Frozen field.
func (*Vault) SetInboundTxCount ¶
SetInboundTxCount gets a reference to the given int64 and assigns it to the InboundTxCount field.
func (*Vault) SetMembership ¶
SetMembership gets a reference to the given []string and assigns it to the Membership field.
func (*Vault) SetOutboundTxCount ¶
SetOutboundTxCount gets a reference to the given int64 and assigns it to the OutboundTxCount field.
func (*Vault) SetPendingTxBlockHeights ¶
SetPendingTxBlockHeights gets a reference to the given []int64 and assigns it to the PendingTxBlockHeights field.
func (*Vault) SetPubKey ¶
SetPubKey gets a reference to the given string and assigns it to the PubKey field.
func (*Vault) SetStatusSince ¶
SetStatusSince gets a reference to the given int64 and assigns it to the StatusSince field.
type VaultAddress ¶
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
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) GetPubKeyOk ¶
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 (*VaultInfo) SetRouters ¶
func (o *VaultInfo) SetRouters(v []VaultRouter)
SetRouters sets field value
type VaultPubkeysResponse ¶
type VaultPubkeysResponse struct { Asgard []VaultInfo `json:"asgard"` Yggdrasil []VaultInfo `json:"yggdrasil"` Inactive []VaultInfo `json:"inactive"` }
VaultPubkeysResponse struct for VaultPubkeysResponse
func NewVaultPubkeysResponse ¶
func NewVaultPubkeysResponse(asgard []VaultInfo, yggdrasil []VaultInfo, inactive []VaultInfo) *VaultPubkeysResponse
NewVaultPubkeysResponse instantiates a new VaultPubkeysResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVaultPubkeysResponseWithDefaults ¶
func NewVaultPubkeysResponseWithDefaults() *VaultPubkeysResponse
NewVaultPubkeysResponseWithDefaults instantiates a new VaultPubkeysResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VaultPubkeysResponse) GetAsgard ¶
func (o *VaultPubkeysResponse) GetAsgard() []VaultInfo
GetAsgard returns the Asgard field value
func (*VaultPubkeysResponse) GetAsgardOk ¶
func (o *VaultPubkeysResponse) GetAsgardOk() ([]VaultInfo, bool)
GetAsgardOk returns a tuple with the Asgard field value and a boolean to check if the value has been set.
func (*VaultPubkeysResponse) GetInactive ¶
func (o *VaultPubkeysResponse) GetInactive() []VaultInfo
GetInactive returns the Inactive field value
func (*VaultPubkeysResponse) GetInactiveOk ¶
func (o *VaultPubkeysResponse) GetInactiveOk() ([]VaultInfo, bool)
GetInactiveOk returns a tuple with the Inactive field value and a boolean to check if the value has been set.
func (*VaultPubkeysResponse) GetYggdrasil ¶
func (o *VaultPubkeysResponse) GetYggdrasil() []VaultInfo
GetYggdrasil returns the Yggdrasil field value
func (*VaultPubkeysResponse) GetYggdrasilOk ¶
func (o *VaultPubkeysResponse) GetYggdrasilOk() ([]VaultInfo, bool)
GetYggdrasilOk returns a tuple with the Yggdrasil field value and a boolean to check if the value has been set.
func (VaultPubkeysResponse) MarshalJSON_deprecated ¶
func (o VaultPubkeysResponse) MarshalJSON_deprecated() ([]byte, error)
func (*VaultPubkeysResponse) SetAsgard ¶
func (o *VaultPubkeysResponse) SetAsgard(v []VaultInfo)
SetAsgard sets field value
func (*VaultPubkeysResponse) SetInactive ¶
func (o *VaultPubkeysResponse) SetInactive(v []VaultInfo)
SetInactive sets field value
func (*VaultPubkeysResponse) SetYggdrasil ¶
func (o *VaultPubkeysResponse) SetYggdrasil(v []VaultInfo)
SetYggdrasil sets field value
type VaultRouter ¶
type VaultRouter struct { Chain *string `json:"chain,omitempty"` Router *string `json:"router,omitempty"` }
VaultRouter struct for VaultRouter
func NewVaultRouter ¶
func NewVaultRouter() *VaultRouter
NewVaultRouter instantiates a new VaultRouter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVaultRouterWithDefaults ¶
func NewVaultRouterWithDefaults() *VaultRouter
NewVaultRouterWithDefaults instantiates a new VaultRouter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VaultRouter) GetChain ¶
func (o *VaultRouter) GetChain() string
GetChain returns the Chain field value if set, zero value otherwise.
func (*VaultRouter) GetChainOk ¶
func (o *VaultRouter) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VaultRouter) GetRouter ¶
func (o *VaultRouter) GetRouter() string
GetRouter returns the Router field value if set, zero value otherwise.
func (*VaultRouter) GetRouterOk ¶
func (o *VaultRouter) GetRouterOk() (*string, bool)
GetRouterOk returns a tuple with the Router field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VaultRouter) HasChain ¶
func (o *VaultRouter) HasChain() bool
HasChain returns a boolean if a field has been set.
func (*VaultRouter) HasRouter ¶
func (o *VaultRouter) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (VaultRouter) MarshalJSON_deprecated ¶
func (o VaultRouter) MarshalJSON_deprecated() ([]byte, error)
func (*VaultRouter) SetChain ¶
func (o *VaultRouter) SetChain(v string)
SetChain gets a reference to the given string and assigns it to the Chain field.
func (*VaultRouter) SetRouter ¶
func (o *VaultRouter) SetRouter(v string)
SetRouter gets a reference to the given string and assigns it to the Router field.
type VaultsApiService ¶
type VaultsApiService service
VaultsApiService VaultsApi service
func (*VaultsApiService) Asgard ¶
func (a *VaultsApiService) Asgard(ctx context.Context) ApiAsgardRequest
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 ¶
func (a *VaultsApiService) VaultPubkeys(ctx context.Context) ApiVaultPubkeysRequest
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 ¶
func (a *VaultsApiService) VaultPubkeysExecute(r ApiVaultPubkeysRequest) (*VaultPubkeysResponse, *http.Response, error)
Execute executes the request
@return VaultPubkeysResponse
func (*VaultsApiService) Yggdrasil ¶
func (a *VaultsApiService) Yggdrasil(ctx context.Context) ApiYggdrasilRequest
Yggdrasil Method for Yggdrasil
Returns current yggdrasil vaults.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiYggdrasilRequest
func (*VaultsApiService) YggdrasilExecute ¶
func (a *VaultsApiService) YggdrasilExecute(r ApiYggdrasilRequest) ([]YggdrasilVault, *http.Response, error)
Execute executes the request
@return []YggdrasilVault
type VersionResponse ¶
type VersionResponse struct { // current version Current string `json:"current"` // next version (minimum version for a node to become Active) Next string `json:"next"` // height at which the minimum joining version last changed NextSinceHeight *int64 `json:"next_since_height,omitempty"` // querier version Querier string `json:"querier"` }
VersionResponse struct for VersionResponse
func NewVersionResponse ¶
func NewVersionResponse(current string, next string, querier string) *VersionResponse
NewVersionResponse instantiates a new VersionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVersionResponseWithDefaults ¶
func NewVersionResponseWithDefaults() *VersionResponse
NewVersionResponseWithDefaults instantiates a new VersionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VersionResponse) GetCurrent ¶
func (o *VersionResponse) GetCurrent() string
GetCurrent returns the Current field value
func (*VersionResponse) GetCurrentOk ¶
func (o *VersionResponse) GetCurrentOk() (*string, bool)
GetCurrentOk returns a tuple with the Current field value and a boolean to check if the value has been set.
func (*VersionResponse) GetNext ¶
func (o *VersionResponse) GetNext() string
GetNext returns the Next field value
func (*VersionResponse) GetNextOk ¶
func (o *VersionResponse) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set.
func (*VersionResponse) GetNextSinceHeight ¶
func (o *VersionResponse) GetNextSinceHeight() int64
GetNextSinceHeight returns the NextSinceHeight field value if set, zero value otherwise.
func (*VersionResponse) GetNextSinceHeightOk ¶
func (o *VersionResponse) GetNextSinceHeightOk() (*int64, bool)
GetNextSinceHeightOk returns a tuple with the NextSinceHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionResponse) GetQuerier ¶
func (o *VersionResponse) GetQuerier() string
GetQuerier returns the Querier field value
func (*VersionResponse) GetQuerierOk ¶
func (o *VersionResponse) GetQuerierOk() (*string, bool)
GetQuerierOk returns a tuple with the Querier field value and a boolean to check if the value has been set.
func (*VersionResponse) HasNextSinceHeight ¶
func (o *VersionResponse) HasNextSinceHeight() bool
HasNextSinceHeight returns a boolean if a field has been set.
func (VersionResponse) MarshalJSON_deprecated ¶
func (o VersionResponse) MarshalJSON_deprecated() ([]byte, error)
func (*VersionResponse) SetCurrent ¶
func (o *VersionResponse) SetCurrent(v string)
SetCurrent sets field value
func (*VersionResponse) SetNext ¶
func (o *VersionResponse) SetNext(v string)
SetNext sets field value
func (*VersionResponse) SetNextSinceHeight ¶
func (o *VersionResponse) SetNextSinceHeight(v int64)
SetNextSinceHeight gets a reference to the given int64 and assigns it to the NextSinceHeight field.
func (*VersionResponse) SetQuerier ¶
func (o *VersionResponse) SetQuerier(v string)
SetQuerier sets field value
type YggdrasilVault ¶
type YggdrasilVault struct { BlockHeight *int64 `json:"block_height,omitempty"` PubKey *string `json:"pub_key,omitempty"` Coins []Coin `json:"coins"` Type *string `json:"type,omitempty"` StatusSince *int64 `json:"status_since,omitempty"` // the list of node public keys which are members of the vault Membership []string `json:"membership,omitempty"` Chains []string `json:"chains,omitempty"` InboundTxCount *int64 `json:"inbound_tx_count,omitempty"` OutboundTxCount *int64 `json:"outbound_tx_count,omitempty"` PendingTxBlockHeights []int64 `json:"pending_tx_block_heights,omitempty"` Routers []VaultRouter `json:"routers"` Status string `json:"status"` // current node bond Bond string `json:"bond"` // value in rune of the vault's assets TotalValue string `json:"total_value"` Addresses []VaultAddress `json:"addresses"` }
YggdrasilVault struct for YggdrasilVault
func NewYggdrasilVault ¶
func NewYggdrasilVault(coins []Coin, routers []VaultRouter, status string, bond string, totalValue string, addresses []VaultAddress) *YggdrasilVault
NewYggdrasilVault instantiates a new YggdrasilVault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewYggdrasilVaultWithDefaults ¶
func NewYggdrasilVaultWithDefaults() *YggdrasilVault
NewYggdrasilVaultWithDefaults instantiates a new YggdrasilVault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*YggdrasilVault) GetAddresses ¶
func (o *YggdrasilVault) GetAddresses() []VaultAddress
GetAddresses returns the Addresses field value
func (*YggdrasilVault) GetAddressesOk ¶
func (o *YggdrasilVault) GetAddressesOk() ([]VaultAddress, bool)
GetAddressesOk returns a tuple with the Addresses field value and a boolean to check if the value has been set.
func (*YggdrasilVault) GetBlockHeight ¶
func (o *YggdrasilVault) GetBlockHeight() int64
GetBlockHeight returns the BlockHeight field value if set, zero value otherwise.
func (*YggdrasilVault) GetBlockHeightOk ¶
func (o *YggdrasilVault) GetBlockHeightOk() (*int64, bool)
GetBlockHeightOk returns a tuple with the BlockHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) GetBond ¶
func (o *YggdrasilVault) GetBond() string
GetBond returns the Bond field value
func (*YggdrasilVault) GetBondOk ¶
func (o *YggdrasilVault) GetBondOk() (*string, bool)
GetBondOk returns a tuple with the Bond field value and a boolean to check if the value has been set.
func (*YggdrasilVault) GetChains ¶
func (o *YggdrasilVault) GetChains() []string
GetChains returns the Chains field value if set, zero value otherwise.
func (*YggdrasilVault) GetChainsOk ¶
func (o *YggdrasilVault) GetChainsOk() ([]string, bool)
GetChainsOk returns a tuple with the Chains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) GetCoins ¶
func (o *YggdrasilVault) GetCoins() []Coin
GetCoins returns the Coins field value
func (*YggdrasilVault) GetCoinsOk ¶
func (o *YggdrasilVault) GetCoinsOk() ([]Coin, bool)
GetCoinsOk returns a tuple with the Coins field value and a boolean to check if the value has been set.
func (*YggdrasilVault) GetInboundTxCount ¶
func (o *YggdrasilVault) GetInboundTxCount() int64
GetInboundTxCount returns the InboundTxCount field value if set, zero value otherwise.
func (*YggdrasilVault) GetInboundTxCountOk ¶
func (o *YggdrasilVault) GetInboundTxCountOk() (*int64, bool)
GetInboundTxCountOk returns a tuple with the InboundTxCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) GetMembership ¶
func (o *YggdrasilVault) GetMembership() []string
GetMembership returns the Membership field value if set, zero value otherwise.
func (*YggdrasilVault) GetMembershipOk ¶
func (o *YggdrasilVault) GetMembershipOk() ([]string, bool)
GetMembershipOk returns a tuple with the Membership field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) GetOutboundTxCount ¶
func (o *YggdrasilVault) GetOutboundTxCount() int64
GetOutboundTxCount returns the OutboundTxCount field value if set, zero value otherwise.
func (*YggdrasilVault) GetOutboundTxCountOk ¶
func (o *YggdrasilVault) GetOutboundTxCountOk() (*int64, bool)
GetOutboundTxCountOk returns a tuple with the OutboundTxCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) GetPendingTxBlockHeights ¶
func (o *YggdrasilVault) GetPendingTxBlockHeights() []int64
GetPendingTxBlockHeights returns the PendingTxBlockHeights field value if set, zero value otherwise.
func (*YggdrasilVault) GetPendingTxBlockHeightsOk ¶
func (o *YggdrasilVault) GetPendingTxBlockHeightsOk() ([]int64, bool)
GetPendingTxBlockHeightsOk returns a tuple with the PendingTxBlockHeights field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) GetPubKey ¶
func (o *YggdrasilVault) GetPubKey() string
GetPubKey returns the PubKey field value if set, zero value otherwise.
func (*YggdrasilVault) GetPubKeyOk ¶
func (o *YggdrasilVault) GetPubKeyOk() (*string, bool)
GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) GetRouters ¶
func (o *YggdrasilVault) GetRouters() []VaultRouter
GetRouters returns the Routers field value
func (*YggdrasilVault) GetRoutersOk ¶
func (o *YggdrasilVault) GetRoutersOk() ([]VaultRouter, bool)
GetRoutersOk returns a tuple with the Routers field value and a boolean to check if the value has been set.
func (*YggdrasilVault) GetStatus ¶
func (o *YggdrasilVault) GetStatus() string
GetStatus returns the Status field value
func (*YggdrasilVault) GetStatusOk ¶
func (o *YggdrasilVault) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*YggdrasilVault) GetStatusSince ¶
func (o *YggdrasilVault) GetStatusSince() int64
GetStatusSince returns the StatusSince field value if set, zero value otherwise.
func (*YggdrasilVault) GetStatusSinceOk ¶
func (o *YggdrasilVault) GetStatusSinceOk() (*int64, bool)
GetStatusSinceOk returns a tuple with the StatusSince field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) GetTotalValue ¶
func (o *YggdrasilVault) GetTotalValue() string
GetTotalValue returns the TotalValue field value
func (*YggdrasilVault) GetTotalValueOk ¶
func (o *YggdrasilVault) GetTotalValueOk() (*string, bool)
GetTotalValueOk returns a tuple with the TotalValue field value and a boolean to check if the value has been set.
func (*YggdrasilVault) GetType ¶
func (o *YggdrasilVault) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*YggdrasilVault) GetTypeOk ¶
func (o *YggdrasilVault) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*YggdrasilVault) HasBlockHeight ¶
func (o *YggdrasilVault) HasBlockHeight() bool
HasBlockHeight returns a boolean if a field has been set.
func (*YggdrasilVault) HasChains ¶
func (o *YggdrasilVault) HasChains() bool
HasChains returns a boolean if a field has been set.
func (*YggdrasilVault) HasInboundTxCount ¶
func (o *YggdrasilVault) HasInboundTxCount() bool
HasInboundTxCount returns a boolean if a field has been set.
func (*YggdrasilVault) HasMembership ¶
func (o *YggdrasilVault) HasMembership() bool
HasMembership returns a boolean if a field has been set.
func (*YggdrasilVault) HasOutboundTxCount ¶
func (o *YggdrasilVault) HasOutboundTxCount() bool
HasOutboundTxCount returns a boolean if a field has been set.
func (*YggdrasilVault) HasPendingTxBlockHeights ¶
func (o *YggdrasilVault) HasPendingTxBlockHeights() bool
HasPendingTxBlockHeights returns a boolean if a field has been set.
func (*YggdrasilVault) HasPubKey ¶
func (o *YggdrasilVault) HasPubKey() bool
HasPubKey returns a boolean if a field has been set.
func (*YggdrasilVault) HasStatusSince ¶
func (o *YggdrasilVault) HasStatusSince() bool
HasStatusSince returns a boolean if a field has been set.
func (*YggdrasilVault) HasType ¶
func (o *YggdrasilVault) HasType() bool
HasType returns a boolean if a field has been set.
func (YggdrasilVault) MarshalJSON_deprecated ¶
func (o YggdrasilVault) MarshalJSON_deprecated() ([]byte, error)
func (*YggdrasilVault) SetAddresses ¶
func (o *YggdrasilVault) SetAddresses(v []VaultAddress)
SetAddresses sets field value
func (*YggdrasilVault) SetBlockHeight ¶
func (o *YggdrasilVault) SetBlockHeight(v int64)
SetBlockHeight gets a reference to the given int64 and assigns it to the BlockHeight field.
func (*YggdrasilVault) SetBond ¶
func (o *YggdrasilVault) SetBond(v string)
SetBond sets field value
func (*YggdrasilVault) SetChains ¶
func (o *YggdrasilVault) SetChains(v []string)
SetChains gets a reference to the given []string and assigns it to the Chains field.
func (*YggdrasilVault) SetCoins ¶
func (o *YggdrasilVault) SetCoins(v []Coin)
SetCoins sets field value
func (*YggdrasilVault) SetInboundTxCount ¶
func (o *YggdrasilVault) SetInboundTxCount(v int64)
SetInboundTxCount gets a reference to the given int64 and assigns it to the InboundTxCount field.
func (*YggdrasilVault) SetMembership ¶
func (o *YggdrasilVault) SetMembership(v []string)
SetMembership gets a reference to the given []string and assigns it to the Membership field.
func (*YggdrasilVault) SetOutboundTxCount ¶
func (o *YggdrasilVault) SetOutboundTxCount(v int64)
SetOutboundTxCount gets a reference to the given int64 and assigns it to the OutboundTxCount field.
func (*YggdrasilVault) SetPendingTxBlockHeights ¶
func (o *YggdrasilVault) SetPendingTxBlockHeights(v []int64)
SetPendingTxBlockHeights gets a reference to the given []int64 and assigns it to the PendingTxBlockHeights field.
func (*YggdrasilVault) SetPubKey ¶
func (o *YggdrasilVault) SetPubKey(v string)
SetPubKey gets a reference to the given string and assigns it to the PubKey field.
func (*YggdrasilVault) SetRouters ¶
func (o *YggdrasilVault) SetRouters(v []VaultRouter)
SetRouters sets field value
func (*YggdrasilVault) SetStatus ¶
func (o *YggdrasilVault) SetStatus(v string)
SetStatus sets field value
func (*YggdrasilVault) SetStatusSince ¶
func (o *YggdrasilVault) SetStatusSince(v int64)
SetStatusSince gets a reference to the given int64 and assigns it to the StatusSince field.
func (*YggdrasilVault) SetTotalValue ¶
func (o *YggdrasilVault) SetTotalValue(v string)
SetTotalValue sets field value
func (*YggdrasilVault) SetType ¶
func (o *YggdrasilVault) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
Source Files ¶
- api_auth.go
- api_bank.go
- api_block.go
- api_borrowers.go
- api_clout.go
- api_export.go
- api_health.go
- api_invariants.go
- api_liquidity_providers.go
- api_mimir.go
- api_network.go
- api_nodes.go
- api_pool_slip.go
- api_pools.go
- api_queue.go
- api_quote.go
- api_rune_pool.go
- api_savers.go
- api_secured_asset.go
- api_secured_assets.go
- api_streaming_swap.go
- api_thornames.go
- api_trade_account.go
- api_trade_accounts.go
- api_trade_unit.go
- api_trade_units.go
- api_transactions.go
- api_tss.go
- api_vaults.go
- client.go
- configuration.go
- model_account.go
- model_account_response.go
- model_account_response_result.go
- model_amount.go
- model_balances_response.go
- model_ban_response.go
- model_base_quote_response.go
- model_block_response.go
- model_block_response_header.go
- model_block_response_header_version.go
- model_block_response_id.go
- model_block_response_id_parts.go
- model_block_tx.go
- model_block_tx_result.go
- model_borrower.go
- model_chain_height.go
- model_coin.go
- model_constants_response.go
- model_derived_pool.go
- model_export_response.go
- model_inbound_address.go
- model_inbound_confirmation_counted_stage.go
- model_inbound_finalised_stage.go
- model_inbound_observed_stage.go
- model_invariant_response.go
- model_invariants_response.go
- model_keygen.go
- model_keygen_block.go
- model_keygen_metric.go
- model_keygen_response.go
- model_keysign_info.go
- model_keysign_metrics.go
- model_keysign_response.go
- model_last_block.go
- model_liquidity_provider.go
- model_liquidity_provider_summary.go
- model_metrics_response.go
- model_mimir_nodes_response.go
- model_mimir_vote.go
- model_msg_swap.go
- model_network_response.go
- model_node.go
- model_node_bond_provider.go
- model_node_bond_providers.go
- model_node_jail.go
- model_node_keygen_metric.go
- model_node_preflight_status.go
- model_node_pub_key_set.go
- model_observed_tx.go
- model_outbound_delay_stage.go
- model_outbound_fee.go
- model_outbound_signed_stage.go
- model_ping.go
- model_planned_out_tx.go
- model_pol.go
- model_pool.go
- model_pool_slip_response_inner.go
- model_queue_response.go
- model_quote_fees.go
- model_quote_loan_close_response.go
- model_quote_loan_open_response.go
- model_quote_saver_deposit_response.go
- model_quote_saver_withdraw_response.go
- model_quote_swap_response.go
- model_rune_pool.go
- model_rune_pool_response.go
- model_rune_pool_response_providers.go
- model_rune_pool_response_reserve.go
- model_rune_provider.go
- model_saver.go
- model_secured_asset_response.go
- model_streaming_status.go
- model_streaming_swap.go
- model_swap_finalised_stage.go
- model_swap_status.go
- model_swapper_clout_response.go
- model_thorname.go
- model_thorname_alias.go
- model_trade_account_response.go
- model_trade_unit_response.go
- model_tss_keysign_metric.go
- model_tss_metric.go
- model_tx.go
- model_tx_details_response.go
- model_tx_out_item.go
- model_tx_response.go
- model_tx_signers_response.go
- model_tx_stages_response.go
- model_tx_status_response.go
- model_upgrade_proposal.go
- model_upgrade_vote.go
- model_vault.go
- model_vault_address.go
- model_vault_info.go
- model_vault_pubkeys_response.go
- model_vault_router.go
- model_version_response.go
- model_yggdrasil_vault.go
- response.go
- utils.go