Documentation ¶
Index ¶
- type AssetsAPI
- type Signable
- type StakeAPI
- func (_m *StakeAPI) BuildStakingOperation(ctx context.Context) client.ApiBuildStakingOperationRequest
- func (_m *StakeAPI) BuildStakingOperationExecute(r client.ApiBuildStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
- func (_m *StakeAPI) FetchHistoricalStakingBalances(ctx context.Context, networkId string, addressId string) client.ApiFetchHistoricalStakingBalancesRequest
- func (_m *StakeAPI) FetchHistoricalStakingBalancesExecute(r client.ApiFetchHistoricalStakingBalancesRequest) (*client.FetchHistoricalStakingBalances200Response, *http.Response, error)
- func (_m *StakeAPI) FetchStakingRewards(ctx context.Context) client.ApiFetchStakingRewardsRequest
- func (_m *StakeAPI) FetchStakingRewardsExecute(r client.ApiFetchStakingRewardsRequest) (*client.FetchStakingRewards200Response, *http.Response, error)
- func (_m *StakeAPI) GetExternalStakingOperation(ctx context.Context, networkId string, addressId string, ...) client.ApiGetExternalStakingOperationRequest
- func (_m *StakeAPI) GetExternalStakingOperationExecute(r client.ApiGetExternalStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
- func (_m *StakeAPI) GetStakingContext(ctx context.Context) client.ApiGetStakingContextRequest
- func (_m *StakeAPI) GetStakingContextExecute(r client.ApiGetStakingContextRequest) (*client.StakingContext, *http.Response, error)
- func (_m *StakeAPI) GetValidator(ctx context.Context, networkId string, assetId string, validatorId string) client.ApiGetValidatorRequest
- func (_m *StakeAPI) GetValidatorExecute(r client.ApiGetValidatorRequest) (*client.Validator, *http.Response, error)
- func (_m *StakeAPI) ListValidators(ctx context.Context, networkId string, assetId string) client.ApiListValidatorsRequest
- func (_m *StakeAPI) ListValidatorsExecute(r client.ApiListValidatorsRequest) (*client.ValidatorList, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetsAPI ¶
AssetsAPI is an autogenerated mock type for the AssetsAPI type
func NewAssetsAPI ¶
NewAssetsAPI creates a new instance of AssetsAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AssetsAPI) GetAsset ¶
func (_m *AssetsAPI) GetAsset(ctx context.Context, networkId string, assetId string) client.ApiGetAssetRequest
GetAsset provides a mock function with given fields: ctx, networkId, assetId
func (*AssetsAPI) GetAssetExecute ¶
func (_m *AssetsAPI) GetAssetExecute(r client.ApiGetAssetRequest) (*client.Asset, *http.Response, error)
GetAssetExecute provides a mock function with given fields: r
type Signable ¶ added in v0.0.10
Signable is an autogenerated mock type for the Signable type
func NewSignable ¶ added in v0.0.10
NewSignable creates a new instance of Signable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type StakeAPI ¶
StakeAPI is an autogenerated mock type for the StakeAPI type
func NewStakeAPI ¶
NewStakeAPI creates a new instance of StakeAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StakeAPI) BuildStakingOperation ¶
func (_m *StakeAPI) BuildStakingOperation(ctx context.Context) client.ApiBuildStakingOperationRequest
BuildStakingOperation provides a mock function with given fields: ctx
func (*StakeAPI) BuildStakingOperationExecute ¶
func (_m *StakeAPI) BuildStakingOperationExecute(r client.ApiBuildStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
BuildStakingOperationExecute provides a mock function with given fields: r
func (*StakeAPI) FetchHistoricalStakingBalances ¶
func (_m *StakeAPI) FetchHistoricalStakingBalances(ctx context.Context, networkId string, addressId string) client.ApiFetchHistoricalStakingBalancesRequest
FetchHistoricalStakingBalances provides a mock function with given fields: ctx, networkId, addressId
func (*StakeAPI) FetchHistoricalStakingBalancesExecute ¶
func (_m *StakeAPI) FetchHistoricalStakingBalancesExecute(r client.ApiFetchHistoricalStakingBalancesRequest) (*client.FetchHistoricalStakingBalances200Response, *http.Response, error)
FetchHistoricalStakingBalancesExecute provides a mock function with given fields: r
func (*StakeAPI) FetchStakingRewards ¶
func (_m *StakeAPI) FetchStakingRewards(ctx context.Context) client.ApiFetchStakingRewardsRequest
FetchStakingRewards provides a mock function with given fields: ctx
func (*StakeAPI) FetchStakingRewardsExecute ¶
func (_m *StakeAPI) FetchStakingRewardsExecute(r client.ApiFetchStakingRewardsRequest) (*client.FetchStakingRewards200Response, *http.Response, error)
FetchStakingRewardsExecute provides a mock function with given fields: r
func (*StakeAPI) GetExternalStakingOperation ¶
func (_m *StakeAPI) GetExternalStakingOperation(ctx context.Context, networkId string, addressId string, stakingOperationId string) client.ApiGetExternalStakingOperationRequest
GetExternalStakingOperation provides a mock function with given fields: ctx, networkId, addressId, stakingOperationId
func (*StakeAPI) GetExternalStakingOperationExecute ¶
func (_m *StakeAPI) GetExternalStakingOperationExecute(r client.ApiGetExternalStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
GetExternalStakingOperationExecute provides a mock function with given fields: r
func (*StakeAPI) GetStakingContext ¶
func (_m *StakeAPI) GetStakingContext(ctx context.Context) client.ApiGetStakingContextRequest
GetStakingContext provides a mock function with given fields: ctx
func (*StakeAPI) GetStakingContextExecute ¶
func (_m *StakeAPI) GetStakingContextExecute(r client.ApiGetStakingContextRequest) (*client.StakingContext, *http.Response, error)
GetStakingContextExecute provides a mock function with given fields: r
func (*StakeAPI) GetValidator ¶ added in v0.0.13
func (_m *StakeAPI) GetValidator(ctx context.Context, networkId string, assetId string, validatorId string) client.ApiGetValidatorRequest
GetValidator provides a mock function with given fields: ctx, networkId, assetId, validatorId
func (*StakeAPI) GetValidatorExecute ¶ added in v0.0.13
func (_m *StakeAPI) GetValidatorExecute(r client.ApiGetValidatorRequest) (*client.Validator, *http.Response, error)
GetValidatorExecute provides a mock function with given fields: r
func (*StakeAPI) ListValidators ¶ added in v0.0.13
func (_m *StakeAPI) ListValidators(ctx context.Context, networkId string, assetId string) client.ApiListValidatorsRequest
ListValidators provides a mock function with given fields: ctx, networkId, assetId
func (*StakeAPI) ListValidatorsExecute ¶ added in v0.0.13
func (_m *StakeAPI) ListValidatorsExecute(r client.ApiListValidatorsRequest) (*client.ValidatorList, *http.Response, error)
ListValidatorsExecute provides a mock function with given fields: r