Documentation ¶
Index ¶
- type AssetsAPI
- type StakeAPI
- func (_m *StakeAPI) BroadcastStakingOperation(ctx context.Context, walletId string, addressId string, ...) client.ApiBroadcastStakingOperationRequest
- func (_m *StakeAPI) BroadcastStakingOperationExecute(r client.ApiBroadcastStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
- func (_m *StakeAPI) BuildStakingOperation(ctx context.Context) client.ApiBuildStakingOperationRequest
- func (_m *StakeAPI) BuildStakingOperationExecute(r client.ApiBuildStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
- func (_m *StakeAPI) CreateStakingOperation(ctx context.Context, walletId string, addressId string) client.ApiCreateStakingOperationRequest
- func (_m *StakeAPI) CreateStakingOperationExecute(r client.ApiCreateStakingOperationRequest) (*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) GetStakingOperation(ctx context.Context, walletId string, addressId string, ...) client.ApiGetStakingOperationRequest
- func (_m *StakeAPI) GetStakingOperationExecute(r client.ApiGetStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
- type ValidatorsAPI
- func (_m *ValidatorsAPI) GetValidator(ctx context.Context, networkId string, assetId string, validatorId string) client.ApiGetValidatorRequest
- func (_m *ValidatorsAPI) GetValidatorExecute(r client.ApiGetValidatorRequest) (*client.Validator, *http.Response, error)
- func (_m *ValidatorsAPI) ListValidators(ctx context.Context, networkId string, assetId string) client.ApiListValidatorsRequest
- func (_m *ValidatorsAPI) 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 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) BroadcastStakingOperation ¶
func (_m *StakeAPI) BroadcastStakingOperation(ctx context.Context, walletId string, addressId string, stakingOperationId string) client.ApiBroadcastStakingOperationRequest
BroadcastStakingOperation provides a mock function with given fields: ctx, walletId, addressId, stakingOperationId
func (*StakeAPI) BroadcastStakingOperationExecute ¶
func (_m *StakeAPI) BroadcastStakingOperationExecute(r client.ApiBroadcastStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
BroadcastStakingOperationExecute provides a mock function with given fields: r
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) CreateStakingOperation ¶
func (_m *StakeAPI) CreateStakingOperation(ctx context.Context, walletId string, addressId string) client.ApiCreateStakingOperationRequest
CreateStakingOperation provides a mock function with given fields: ctx, walletId, addressId
func (*StakeAPI) CreateStakingOperationExecute ¶
func (_m *StakeAPI) CreateStakingOperationExecute(r client.ApiCreateStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
CreateStakingOperationExecute 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) GetStakingOperation ¶
func (_m *StakeAPI) GetStakingOperation(ctx context.Context, walletId string, addressId string, stakingOperationId string) client.ApiGetStakingOperationRequest
GetStakingOperation provides a mock function with given fields: ctx, walletId, addressId, stakingOperationId
func (*StakeAPI) GetStakingOperationExecute ¶
func (_m *StakeAPI) GetStakingOperationExecute(r client.ApiGetStakingOperationRequest) (*client.StakingOperation, *http.Response, error)
GetStakingOperationExecute provides a mock function with given fields: r
type ValidatorsAPI ¶ added in v0.0.2
ValidatorsAPI is an autogenerated mock type for the ValidatorsAPI type
func NewValidatorsAPI ¶ added in v0.0.2
func NewValidatorsAPI(t interface { mock.TestingT Cleanup(func()) }) *ValidatorsAPI
NewValidatorsAPI creates a new instance of ValidatorsAPI. 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 (*ValidatorsAPI) GetValidator ¶ added in v0.0.2
func (_m *ValidatorsAPI) 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 (*ValidatorsAPI) GetValidatorExecute ¶ added in v0.0.2
func (_m *ValidatorsAPI) GetValidatorExecute(r client.ApiGetValidatorRequest) (*client.Validator, *http.Response, error)
GetValidatorExecute provides a mock function with given fields: r
func (*ValidatorsAPI) ListValidators ¶ added in v0.0.2
func (_m *ValidatorsAPI) ListValidators(ctx context.Context, networkId string, assetId string) client.ApiListValidatorsRequest
ListValidators provides a mock function with given fields: ctx, networkId, assetId
func (*ValidatorsAPI) ListValidatorsExecute ¶ added in v0.0.2
func (_m *ValidatorsAPI) ListValidatorsExecute(r client.ApiListValidatorsRequest) (*client.ValidatorList, *http.Response, error)
ListValidatorsExecute provides a mock function with given fields: r