Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) ActivateTokenPool(ctx context.Context, pool *core.TokenPool) error
- func (_m *Manager) BurnTokens(ctx context.Context, transfer *core.TokenTransferInput, waitConfirm bool) (*core.TokenTransfer, error)
- func (_m *Manager) CreateTokenPool(ctx context.Context, pool *core.TokenPoolInput, waitConfirm bool) (*core.TokenPool, error)
- func (_m *Manager) GetTokenAccountPools(ctx context.Context, key string, filter database.AndFilter) ([]*core.TokenAccountPool, *database.FilterResult, error)
- func (_m *Manager) GetTokenAccounts(ctx context.Context, filter database.AndFilter) ([]*core.TokenAccount, *database.FilterResult, error)
- func (_m *Manager) GetTokenApprovals(ctx context.Context, filter database.AndFilter) ([]*core.TokenApproval, *database.FilterResult, error)
- func (_m *Manager) GetTokenBalances(ctx context.Context, filter database.AndFilter) ([]*core.TokenBalance, *database.FilterResult, error)
- func (_m *Manager) GetTokenConnectors(ctx context.Context) []*core.TokenConnector
- func (_m *Manager) GetTokenPool(ctx context.Context, connector string, poolName string) (*core.TokenPool, error)
- func (_m *Manager) GetTokenPoolByNameOrID(ctx context.Context, poolNameOrID string) (*core.TokenPool, error)
- func (_m *Manager) GetTokenPools(ctx context.Context, filter database.AndFilter) ([]*core.TokenPool, *database.FilterResult, error)
- func (_m *Manager) GetTokenTransferByID(ctx context.Context, id string) (*core.TokenTransfer, error)
- func (_m *Manager) GetTokenTransfers(ctx context.Context, filter database.AndFilter) ([]*core.TokenTransfer, *database.FilterResult, error)
- func (_m *Manager) MintTokens(ctx context.Context, transfer *core.TokenTransferInput, waitConfirm bool) (*core.TokenTransfer, error)
- func (_m *Manager) Name() string
- func (_m *Manager) NewApproval(approve *core.TokenApprovalInput) syncasync.Sender
- func (_m *Manager) NewTransfer(transfer *core.TokenTransferInput) syncasync.Sender
- func (_m *Manager) PrepareOperation(ctx context.Context, op *core.Operation) (*core.PreparedOperation, error)
- func (_m *Manager) RunOperation(ctx context.Context, op *core.PreparedOperation) (fftypes.JSONObject, bool, error)
- func (_m *Manager) TokenApproval(ctx context.Context, approval *core.TokenApprovalInput, waitConfirm bool) (*core.TokenApproval, error)
- func (_m *Manager) TransferTokens(ctx context.Context, transfer *core.TokenTransferInput, waitConfirm bool) (*core.TokenTransfer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶ added in v1.1.2
func NewManager(t mockConstructorTestingTNewManager) *Manager
NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Manager) ActivateTokenPool ¶ added in v0.11.0
ActivateTokenPool provides a mock function with given fields: ctx, pool
func (*Manager) BurnTokens ¶
func (_m *Manager) BurnTokens(ctx context.Context, transfer *core.TokenTransferInput, waitConfirm bool) (*core.TokenTransfer, error)
BurnTokens provides a mock function with given fields: ctx, transfer, waitConfirm
func (*Manager) CreateTokenPool ¶
func (_m *Manager) CreateTokenPool(ctx context.Context, pool *core.TokenPoolInput, waitConfirm bool) (*core.TokenPool, error)
CreateTokenPool provides a mock function with given fields: ctx, pool, waitConfirm
func (*Manager) GetTokenAccountPools ¶ added in v0.11.0
func (_m *Manager) GetTokenAccountPools(ctx context.Context, key string, filter database.AndFilter) ([]*core.TokenAccountPool, *database.FilterResult, error)
GetTokenAccountPools provides a mock function with given fields: ctx, key, filter
func (*Manager) GetTokenAccounts ¶
func (_m *Manager) GetTokenAccounts(ctx context.Context, filter database.AndFilter) ([]*core.TokenAccount, *database.FilterResult, error)
GetTokenAccounts provides a mock function with given fields: ctx, filter
func (*Manager) GetTokenApprovals ¶ added in v0.13.1
func (_m *Manager) GetTokenApprovals(ctx context.Context, filter database.AndFilter) ([]*core.TokenApproval, *database.FilterResult, error)
GetTokenApprovals provides a mock function with given fields: ctx, filter
func (*Manager) GetTokenBalances ¶ added in v0.11.0
func (_m *Manager) GetTokenBalances(ctx context.Context, filter database.AndFilter) ([]*core.TokenBalance, *database.FilterResult, error)
GetTokenBalances provides a mock function with given fields: ctx, filter
func (*Manager) GetTokenConnectors ¶ added in v0.11.0
func (_m *Manager) GetTokenConnectors(ctx context.Context) []*core.TokenConnector
GetTokenConnectors provides a mock function with given fields: ctx
func (*Manager) GetTokenPool ¶
func (_m *Manager) GetTokenPool(ctx context.Context, connector string, poolName string) (*core.TokenPool, error)
GetTokenPool provides a mock function with given fields: ctx, connector, poolName
func (*Manager) GetTokenPoolByNameOrID ¶ added in v0.11.0
func (_m *Manager) GetTokenPoolByNameOrID(ctx context.Context, poolNameOrID string) (*core.TokenPool, error)
GetTokenPoolByNameOrID provides a mock function with given fields: ctx, poolNameOrID
func (*Manager) GetTokenPools ¶
func (_m *Manager) GetTokenPools(ctx context.Context, filter database.AndFilter) ([]*core.TokenPool, *database.FilterResult, error)
GetTokenPools provides a mock function with given fields: ctx, filter
func (*Manager) GetTokenTransferByID ¶ added in v0.11.0
func (_m *Manager) GetTokenTransferByID(ctx context.Context, id string) (*core.TokenTransfer, error)
GetTokenTransferByID provides a mock function with given fields: ctx, id
func (*Manager) GetTokenTransfers ¶
func (_m *Manager) GetTokenTransfers(ctx context.Context, filter database.AndFilter) ([]*core.TokenTransfer, *database.FilterResult, error)
GetTokenTransfers provides a mock function with given fields: ctx, filter
func (*Manager) MintTokens ¶
func (_m *Manager) MintTokens(ctx context.Context, transfer *core.TokenTransferInput, waitConfirm bool) (*core.TokenTransfer, error)
MintTokens provides a mock function with given fields: ctx, transfer, waitConfirm
func (*Manager) NewApproval ¶ added in v0.13.1
func (_m *Manager) NewApproval(approve *core.TokenApprovalInput) syncasync.Sender
NewApproval provides a mock function with given fields: approve
func (*Manager) NewTransfer ¶ added in v0.11.0
func (_m *Manager) NewTransfer(transfer *core.TokenTransferInput) syncasync.Sender
NewTransfer provides a mock function with given fields: transfer
func (*Manager) PrepareOperation ¶ added in v0.14.0
func (_m *Manager) PrepareOperation(ctx context.Context, op *core.Operation) (*core.PreparedOperation, error)
PrepareOperation provides a mock function with given fields: ctx, op
func (*Manager) RunOperation ¶ added in v0.14.0
func (_m *Manager) RunOperation(ctx context.Context, op *core.PreparedOperation) (fftypes.JSONObject, bool, error)
RunOperation provides a mock function with given fields: ctx, op
func (*Manager) TokenApproval ¶ added in v0.13.1
func (_m *Manager) TokenApproval(ctx context.Context, approval *core.TokenApprovalInput, waitConfirm bool) (*core.TokenApproval, error)
TokenApproval provides a mock function with given fields: ctx, approval, waitConfirm
func (*Manager) TransferTokens ¶
func (_m *Manager) TransferTokens(ctx context.Context, transfer *core.TokenTransferInput, waitConfirm bool) (*core.TokenTransfer, error)
TransferTokens provides a mock function with given fields: ctx, transfer, waitConfirm