Documentation ¶
Index ¶
- Constants
- type DomainData
- type EthereumClient
- type MintControllerContract
- type MintControllerContractImpl
- type MockEthereumClient
- func (_m *MockEthereumClient) EXPECT() *MockEthereumClient_Expecter
- func (_m *MockEthereumClient) GetBlockNumber() (uint64, error)
- func (_m *MockEthereumClient) GetChainId() (*big.Int, error)
- func (_m *MockEthereumClient) GetClient() *ethclient.Client
- func (_m *MockEthereumClient) GetTransactionByHash(txHash string) (*types.Transaction, bool, error)
- func (_m *MockEthereumClient) GetTransactionReceipt(txHash string) (*types.Receipt, error)
- func (_m *MockEthereumClient) ValidateNetwork()
- type MockEthereumClient_Expecter
- func (_e *MockEthereumClient_Expecter) GetBlockNumber() *MockEthereumClient_GetBlockNumber_Call
- func (_e *MockEthereumClient_Expecter) GetChainId() *MockEthereumClient_GetChainId_Call
- func (_e *MockEthereumClient_Expecter) GetClient() *MockEthereumClient_GetClient_Call
- func (_e *MockEthereumClient_Expecter) GetTransactionByHash(txHash interface{}) *MockEthereumClient_GetTransactionByHash_Call
- func (_e *MockEthereumClient_Expecter) GetTransactionReceipt(txHash interface{}) *MockEthereumClient_GetTransactionReceipt_Call
- func (_e *MockEthereumClient_Expecter) ValidateNetwork() *MockEthereumClient_ValidateNetwork_Call
- type MockEthereumClient_GetBlockNumber_Call
- func (_c *MockEthereumClient_GetBlockNumber_Call) Return(_a0 uint64, _a1 error) *MockEthereumClient_GetBlockNumber_Call
- func (_c *MockEthereumClient_GetBlockNumber_Call) Run(run func()) *MockEthereumClient_GetBlockNumber_Call
- func (_c *MockEthereumClient_GetBlockNumber_Call) RunAndReturn(run func() (uint64, error)) *MockEthereumClient_GetBlockNumber_Call
- type MockEthereumClient_GetChainId_Call
- func (_c *MockEthereumClient_GetChainId_Call) Return(_a0 *big.Int, _a1 error) *MockEthereumClient_GetChainId_Call
- func (_c *MockEthereumClient_GetChainId_Call) Run(run func()) *MockEthereumClient_GetChainId_Call
- func (_c *MockEthereumClient_GetChainId_Call) RunAndReturn(run func() (*big.Int, error)) *MockEthereumClient_GetChainId_Call
- type MockEthereumClient_GetClient_Call
- func (_c *MockEthereumClient_GetClient_Call) Return(_a0 *ethclient.Client) *MockEthereumClient_GetClient_Call
- func (_c *MockEthereumClient_GetClient_Call) Run(run func()) *MockEthereumClient_GetClient_Call
- func (_c *MockEthereumClient_GetClient_Call) RunAndReturn(run func() *ethclient.Client) *MockEthereumClient_GetClient_Call
- type MockEthereumClient_GetTransactionByHash_Call
- func (_c *MockEthereumClient_GetTransactionByHash_Call) Return(_a0 *types.Transaction, _a1 bool, _a2 error) *MockEthereumClient_GetTransactionByHash_Call
- func (_c *MockEthereumClient_GetTransactionByHash_Call) Run(run func(txHash string)) *MockEthereumClient_GetTransactionByHash_Call
- func (_c *MockEthereumClient_GetTransactionByHash_Call) RunAndReturn(run func(string) (*types.Transaction, bool, error)) *MockEthereumClient_GetTransactionByHash_Call
- type MockEthereumClient_GetTransactionReceipt_Call
- func (_c *MockEthereumClient_GetTransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *MockEthereumClient_GetTransactionReceipt_Call
- func (_c *MockEthereumClient_GetTransactionReceipt_Call) Run(run func(txHash string)) *MockEthereumClient_GetTransactionReceipt_Call
- func (_c *MockEthereumClient_GetTransactionReceipt_Call) RunAndReturn(run func(string) (*types.Receipt, error)) *MockEthereumClient_GetTransactionReceipt_Call
- type MockEthereumClient_ValidateNetwork_Call
- func (_c *MockEthereumClient_ValidateNetwork_Call) Return() *MockEthereumClient_ValidateNetwork_Call
- func (_c *MockEthereumClient_ValidateNetwork_Call) Run(run func()) *MockEthereumClient_ValidateNetwork_Call
- func (_c *MockEthereumClient_ValidateNetwork_Call) RunAndReturn(run func()) *MockEthereumClient_ValidateNetwork_Call
- type MockMintControllerContract
- func (_m *MockMintControllerContract) EXPECT() *MockMintControllerContract_Expecter
- func (_m *MockMintControllerContract) Eip712Domain(opts *bind.CallOpts) (DomainData, error)
- func (_m *MockMintControllerContract) MaxMintLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_m *MockMintControllerContract) ValidatorCount(opts *bind.CallOpts) (*big.Int, error)
- type MockMintControllerContract_Eip712Domain_Call
- func (_c *MockMintControllerContract_Eip712Domain_Call) Return(_a0 DomainData, _a1 error) *MockMintControllerContract_Eip712Domain_Call
- func (_c *MockMintControllerContract_Eip712Domain_Call) Run(run func(opts *bind.CallOpts)) *MockMintControllerContract_Eip712Domain_Call
- func (_c *MockMintControllerContract_Eip712Domain_Call) RunAndReturn(run func(*bind.CallOpts) (DomainData, error)) *MockMintControllerContract_Eip712Domain_Call
- type MockMintControllerContract_Expecter
- func (_e *MockMintControllerContract_Expecter) Eip712Domain(opts interface{}) *MockMintControllerContract_Eip712Domain_Call
- func (_e *MockMintControllerContract_Expecter) MaxMintLimit(opts interface{}) *MockMintControllerContract_MaxMintLimit_Call
- func (_e *MockMintControllerContract_Expecter) ValidatorCount(opts interface{}) *MockMintControllerContract_ValidatorCount_Call
- type MockMintControllerContract_MaxMintLimit_Call
- func (_c *MockMintControllerContract_MaxMintLimit_Call) Return(_a0 *big.Int, _a1 error) *MockMintControllerContract_MaxMintLimit_Call
- func (_c *MockMintControllerContract_MaxMintLimit_Call) Run(run func(opts *bind.CallOpts)) *MockMintControllerContract_MaxMintLimit_Call
- func (_c *MockMintControllerContract_MaxMintLimit_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *MockMintControllerContract_MaxMintLimit_Call
- type MockMintControllerContract_ValidatorCount_Call
- func (_c *MockMintControllerContract_ValidatorCount_Call) Return(_a0 *big.Int, _a1 error) *MockMintControllerContract_ValidatorCount_Call
- func (_c *MockMintControllerContract_ValidatorCount_Call) Run(run func(opts *bind.CallOpts)) *MockMintControllerContract_ValidatorCount_Call
- func (_c *MockMintControllerContract_ValidatorCount_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *MockMintControllerContract_ValidatorCount_Call
- type MockWrappedPocketBurnAndBridgeIterator
- func (_m *MockWrappedPocketBurnAndBridgeIterator) Close() error
- func (_m *MockWrappedPocketBurnAndBridgeIterator) EXPECT() *MockWrappedPocketBurnAndBridgeIterator_Expecter
- func (_m *MockWrappedPocketBurnAndBridgeIterator) Error() error
- func (_m *MockWrappedPocketBurnAndBridgeIterator) Event() *autogen.WrappedPocketBurnAndBridge
- func (_m *MockWrappedPocketBurnAndBridgeIterator) Next() bool
- type MockWrappedPocketBurnAndBridgeIterator_Close_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Close_Call) Return(_a0 error) *MockWrappedPocketBurnAndBridgeIterator_Close_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Close_Call) Run(run func()) *MockWrappedPocketBurnAndBridgeIterator_Close_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Close_Call) RunAndReturn(run func() error) *MockWrappedPocketBurnAndBridgeIterator_Close_Call
- type MockWrappedPocketBurnAndBridgeIterator_Error_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Error_Call) Return(_a0 error) *MockWrappedPocketBurnAndBridgeIterator_Error_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Error_Call) Run(run func()) *MockWrappedPocketBurnAndBridgeIterator_Error_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Error_Call) RunAndReturn(run func() error) *MockWrappedPocketBurnAndBridgeIterator_Error_Call
- type MockWrappedPocketBurnAndBridgeIterator_Event_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Event_Call) Return(_a0 *autogen.WrappedPocketBurnAndBridge) *MockWrappedPocketBurnAndBridgeIterator_Event_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Event_Call) Run(run func()) *MockWrappedPocketBurnAndBridgeIterator_Event_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Event_Call) RunAndReturn(run func() *autogen.WrappedPocketBurnAndBridge) *MockWrappedPocketBurnAndBridgeIterator_Event_Call
- type MockWrappedPocketBurnAndBridgeIterator_Expecter
- func (_e *MockWrappedPocketBurnAndBridgeIterator_Expecter) Close() *MockWrappedPocketBurnAndBridgeIterator_Close_Call
- func (_e *MockWrappedPocketBurnAndBridgeIterator_Expecter) Error() *MockWrappedPocketBurnAndBridgeIterator_Error_Call
- func (_e *MockWrappedPocketBurnAndBridgeIterator_Expecter) Event() *MockWrappedPocketBurnAndBridgeIterator_Event_Call
- func (_e *MockWrappedPocketBurnAndBridgeIterator_Expecter) Next() *MockWrappedPocketBurnAndBridgeIterator_Next_Call
- type MockWrappedPocketBurnAndBridgeIterator_Next_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Next_Call) Return(_a0 bool) *MockWrappedPocketBurnAndBridgeIterator_Next_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Next_Call) Run(run func()) *MockWrappedPocketBurnAndBridgeIterator_Next_Call
- func (_c *MockWrappedPocketBurnAndBridgeIterator_Next_Call) RunAndReturn(run func() bool) *MockWrappedPocketBurnAndBridgeIterator_Next_Call
- type MockWrappedPocketContract
- func (_m *MockWrappedPocketContract) EXPECT() *MockWrappedPocketContract_Expecter
- func (_m *MockWrappedPocketContract) FilterBurnAndBridge(opts *bind.FilterOpts, amount []*big.Int, poktAddress []common.Address, ...) (WrappedPocketBurnAndBridgeIterator, error)
- func (_m *MockWrappedPocketContract) FilterMinted(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, ...) (WrappedPocketMintedIterator, error)
- func (_m *MockWrappedPocketContract) GetUserNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_m *MockWrappedPocketContract) ParseBurnAndBridge(log types.Log) (*autogen.WrappedPocketBurnAndBridge, error)
- type MockWrappedPocketContract_Expecter
- func (_e *MockWrappedPocketContract_Expecter) FilterBurnAndBridge(opts interface{}, amount interface{}, poktAddress interface{}, ...) *MockWrappedPocketContract_FilterBurnAndBridge_Call
- func (_e *MockWrappedPocketContract_Expecter) FilterMinted(opts interface{}, recipient interface{}, amount interface{}, nonce interface{}) *MockWrappedPocketContract_FilterMinted_Call
- func (_e *MockWrappedPocketContract_Expecter) GetUserNonce(opts interface{}, user interface{}) *MockWrappedPocketContract_GetUserNonce_Call
- func (_e *MockWrappedPocketContract_Expecter) ParseBurnAndBridge(log interface{}) *MockWrappedPocketContract_ParseBurnAndBridge_Call
- type MockWrappedPocketContract_FilterBurnAndBridge_Call
- func (_c *MockWrappedPocketContract_FilterBurnAndBridge_Call) Return(_a0 WrappedPocketBurnAndBridgeIterator, _a1 error) *MockWrappedPocketContract_FilterBurnAndBridge_Call
- func (_c *MockWrappedPocketContract_FilterBurnAndBridge_Call) Run(...) *MockWrappedPocketContract_FilterBurnAndBridge_Call
- func (_c *MockWrappedPocketContract_FilterBurnAndBridge_Call) RunAndReturn(...) *MockWrappedPocketContract_FilterBurnAndBridge_Call
- type MockWrappedPocketContract_FilterMinted_Call
- func (_c *MockWrappedPocketContract_FilterMinted_Call) Return(_a0 WrappedPocketMintedIterator, _a1 error) *MockWrappedPocketContract_FilterMinted_Call
- func (_c *MockWrappedPocketContract_FilterMinted_Call) Run(...) *MockWrappedPocketContract_FilterMinted_Call
- func (_c *MockWrappedPocketContract_FilterMinted_Call) RunAndReturn(...) *MockWrappedPocketContract_FilterMinted_Call
- type MockWrappedPocketContract_GetUserNonce_Call
- func (_c *MockWrappedPocketContract_GetUserNonce_Call) Return(_a0 *big.Int, _a1 error) *MockWrappedPocketContract_GetUserNonce_Call
- func (_c *MockWrappedPocketContract_GetUserNonce_Call) Run(run func(opts *bind.CallOpts, user common.Address)) *MockWrappedPocketContract_GetUserNonce_Call
- func (_c *MockWrappedPocketContract_GetUserNonce_Call) RunAndReturn(run func(*bind.CallOpts, common.Address) (*big.Int, error)) *MockWrappedPocketContract_GetUserNonce_Call
- type MockWrappedPocketContract_ParseBurnAndBridge_Call
- func (_c *MockWrappedPocketContract_ParseBurnAndBridge_Call) Return(_a0 *autogen.WrappedPocketBurnAndBridge, _a1 error) *MockWrappedPocketContract_ParseBurnAndBridge_Call
- func (_c *MockWrappedPocketContract_ParseBurnAndBridge_Call) Run(run func(log types.Log)) *MockWrappedPocketContract_ParseBurnAndBridge_Call
- func (_c *MockWrappedPocketContract_ParseBurnAndBridge_Call) RunAndReturn(run func(types.Log) (*autogen.WrappedPocketBurnAndBridge, error)) *MockWrappedPocketContract_ParseBurnAndBridge_Call
- type MockWrappedPocketMintedIterator
- func (_m *MockWrappedPocketMintedIterator) Close() error
- func (_m *MockWrappedPocketMintedIterator) EXPECT() *MockWrappedPocketMintedIterator_Expecter
- func (_m *MockWrappedPocketMintedIterator) Error() error
- func (_m *MockWrappedPocketMintedIterator) Event() *autogen.WrappedPocketMinted
- func (_m *MockWrappedPocketMintedIterator) Next() bool
- type MockWrappedPocketMintedIterator_Close_Call
- func (_c *MockWrappedPocketMintedIterator_Close_Call) Return(_a0 error) *MockWrappedPocketMintedIterator_Close_Call
- func (_c *MockWrappedPocketMintedIterator_Close_Call) Run(run func()) *MockWrappedPocketMintedIterator_Close_Call
- func (_c *MockWrappedPocketMintedIterator_Close_Call) RunAndReturn(run func() error) *MockWrappedPocketMintedIterator_Close_Call
- type MockWrappedPocketMintedIterator_Error_Call
- func (_c *MockWrappedPocketMintedIterator_Error_Call) Return(_a0 error) *MockWrappedPocketMintedIterator_Error_Call
- func (_c *MockWrappedPocketMintedIterator_Error_Call) Run(run func()) *MockWrappedPocketMintedIterator_Error_Call
- func (_c *MockWrappedPocketMintedIterator_Error_Call) RunAndReturn(run func() error) *MockWrappedPocketMintedIterator_Error_Call
- type MockWrappedPocketMintedIterator_Event_Call
- func (_c *MockWrappedPocketMintedIterator_Event_Call) Return(_a0 *autogen.WrappedPocketMinted) *MockWrappedPocketMintedIterator_Event_Call
- func (_c *MockWrappedPocketMintedIterator_Event_Call) Run(run func()) *MockWrappedPocketMintedIterator_Event_Call
- func (_c *MockWrappedPocketMintedIterator_Event_Call) RunAndReturn(run func() *autogen.WrappedPocketMinted) *MockWrappedPocketMintedIterator_Event_Call
- type MockWrappedPocketMintedIterator_Expecter
- func (_e *MockWrappedPocketMintedIterator_Expecter) Close() *MockWrappedPocketMintedIterator_Close_Call
- func (_e *MockWrappedPocketMintedIterator_Expecter) Error() *MockWrappedPocketMintedIterator_Error_Call
- func (_e *MockWrappedPocketMintedIterator_Expecter) Event() *MockWrappedPocketMintedIterator_Event_Call
- func (_e *MockWrappedPocketMintedIterator_Expecter) Next() *MockWrappedPocketMintedIterator_Next_Call
- type MockWrappedPocketMintedIterator_Next_Call
- func (_c *MockWrappedPocketMintedIterator_Next_Call) Return(_a0 bool) *MockWrappedPocketMintedIterator_Next_Call
- func (_c *MockWrappedPocketMintedIterator_Next_Call) Run(run func()) *MockWrappedPocketMintedIterator_Next_Call
- func (_c *MockWrappedPocketMintedIterator_Next_Call) RunAndReturn(run func() bool) *MockWrappedPocketMintedIterator_Next_Call
- type WrappedPocketBurnAndBridgeIterator
- type WrappedPocketBurnAndBridgeIteratorImpl
- type WrappedPocketContract
- type WrappedPocketContractImpl
- func (x *WrappedPocketContractImpl) FilterBurnAndBridge(opts *bind.FilterOpts, amount []*big.Int, poktAddress []common.Address, ...) (WrappedPocketBurnAndBridgeIterator, error)
- func (x *WrappedPocketContractImpl) FilterMinted(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, ...) (WrappedPocketMintedIterator, error)
- func (x *WrappedPocketContractImpl) GetUserNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (x *WrappedPocketContractImpl) ParseBurnAndBridge(log types.Log) (*autogen.WrappedPocketBurnAndBridge, error)
- type WrappedPocketMintedIterator
- type WrappedPocketMintedIteratorImpl
Constants ¶
const (
MAX_QUERY_BLOCKS int64 = 100000
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainData ¶ added in v0.1.10
type EthereumClient ¶
type EthereumClient interface { ValidateNetwork() GetBlockNumber() (uint64, error) GetChainId() (*big.Int, error) GetClient() *ethclient.Client GetTransactionByHash(txHash string) (*types.Transaction, bool, error) GetTransactionReceipt(txHash string) (*types.Receipt, error) }
var Client EthereumClient = ðereumClient{}
func NewClient ¶
func NewClient() (EthereumClient, error)
type MintControllerContract ¶ added in v0.1.10
type MintControllerContract interface { ValidatorCount(opts *bind.CallOpts) (*big.Int, error) Eip712Domain(opts *bind.CallOpts) (DomainData, error) MaxMintLimit(opts *bind.CallOpts) (*big.Int, error) }
func NewMintControllerContract ¶ added in v0.1.10
func NewMintControllerContract(contract *autogen.MintController) MintControllerContract
type MintControllerContractImpl ¶ added in v0.1.10
type MintControllerContractImpl struct {
// contains filtered or unexported fields
}
func (*MintControllerContractImpl) Eip712Domain ¶ added in v0.1.10
func (x *MintControllerContractImpl) Eip712Domain(opts *bind.CallOpts) (DomainData, error)
func (*MintControllerContractImpl) MaxMintLimit ¶ added in v0.1.10
func (*MintControllerContractImpl) ValidatorCount ¶ added in v0.1.10
type MockEthereumClient ¶ added in v0.1.9
MockEthereumClient is an autogenerated mock type for the EthereumClient type
func NewMockEthereumClient ¶ added in v0.1.9
func NewMockEthereumClient(t interface { mock.TestingT Cleanup(func()) }) *MockEthereumClient
NewMockEthereumClient creates a new instance of MockEthereumClient. 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 (*MockEthereumClient) EXPECT ¶ added in v0.1.9
func (_m *MockEthereumClient) EXPECT() *MockEthereumClient_Expecter
func (*MockEthereumClient) GetBlockNumber ¶ added in v0.1.9
func (_m *MockEthereumClient) GetBlockNumber() (uint64, error)
GetBlockNumber provides a mock function with given fields:
func (*MockEthereumClient) GetChainId ¶ added in v0.1.9
func (_m *MockEthereumClient) GetChainId() (*big.Int, error)
GetChainId provides a mock function with given fields:
func (*MockEthereumClient) GetClient ¶ added in v0.1.9
func (_m *MockEthereumClient) GetClient() *ethclient.Client
GetClient provides a mock function with given fields:
func (*MockEthereumClient) GetTransactionByHash ¶ added in v0.1.9
func (_m *MockEthereumClient) GetTransactionByHash(txHash string) (*types.Transaction, bool, error)
GetTransactionByHash provides a mock function with given fields: txHash
func (*MockEthereumClient) GetTransactionReceipt ¶ added in v0.1.9
func (_m *MockEthereumClient) GetTransactionReceipt(txHash string) (*types.Receipt, error)
GetTransactionReceipt provides a mock function with given fields: txHash
func (*MockEthereumClient) ValidateNetwork ¶ added in v0.1.9
func (_m *MockEthereumClient) ValidateNetwork()
ValidateNetwork provides a mock function with given fields:
type MockEthereumClient_Expecter ¶ added in v0.1.9
type MockEthereumClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEthereumClient_Expecter) GetBlockNumber ¶ added in v0.1.9
func (_e *MockEthereumClient_Expecter) GetBlockNumber() *MockEthereumClient_GetBlockNumber_Call
GetBlockNumber is a helper method to define mock.On call
func (*MockEthereumClient_Expecter) GetChainId ¶ added in v0.1.9
func (_e *MockEthereumClient_Expecter) GetChainId() *MockEthereumClient_GetChainId_Call
GetChainId is a helper method to define mock.On call
func (*MockEthereumClient_Expecter) GetClient ¶ added in v0.1.9
func (_e *MockEthereumClient_Expecter) GetClient() *MockEthereumClient_GetClient_Call
GetClient is a helper method to define mock.On call
func (*MockEthereumClient_Expecter) GetTransactionByHash ¶ added in v0.1.9
func (_e *MockEthereumClient_Expecter) GetTransactionByHash(txHash interface{}) *MockEthereumClient_GetTransactionByHash_Call
GetTransactionByHash is a helper method to define mock.On call
- txHash string
func (*MockEthereumClient_Expecter) GetTransactionReceipt ¶ added in v0.1.9
func (_e *MockEthereumClient_Expecter) GetTransactionReceipt(txHash interface{}) *MockEthereumClient_GetTransactionReceipt_Call
GetTransactionReceipt is a helper method to define mock.On call
- txHash string
func (*MockEthereumClient_Expecter) ValidateNetwork ¶ added in v0.1.9
func (_e *MockEthereumClient_Expecter) ValidateNetwork() *MockEthereumClient_ValidateNetwork_Call
ValidateNetwork is a helper method to define mock.On call
type MockEthereumClient_GetBlockNumber_Call ¶ added in v0.1.9
MockEthereumClient_GetBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockNumber'
func (*MockEthereumClient_GetBlockNumber_Call) Return ¶ added in v0.1.9
func (_c *MockEthereumClient_GetBlockNumber_Call) Return(_a0 uint64, _a1 error) *MockEthereumClient_GetBlockNumber_Call
func (*MockEthereumClient_GetBlockNumber_Call) Run ¶ added in v0.1.9
func (_c *MockEthereumClient_GetBlockNumber_Call) Run(run func()) *MockEthereumClient_GetBlockNumber_Call
func (*MockEthereumClient_GetBlockNumber_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockEthereumClient_GetBlockNumber_Call) RunAndReturn(run func() (uint64, error)) *MockEthereumClient_GetBlockNumber_Call
type MockEthereumClient_GetChainId_Call ¶ added in v0.1.9
MockEthereumClient_GetChainId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChainId'
func (*MockEthereumClient_GetChainId_Call) Return ¶ added in v0.1.9
func (_c *MockEthereumClient_GetChainId_Call) Return(_a0 *big.Int, _a1 error) *MockEthereumClient_GetChainId_Call
func (*MockEthereumClient_GetChainId_Call) Run ¶ added in v0.1.9
func (_c *MockEthereumClient_GetChainId_Call) Run(run func()) *MockEthereumClient_GetChainId_Call
func (*MockEthereumClient_GetChainId_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockEthereumClient_GetChainId_Call) RunAndReturn(run func() (*big.Int, error)) *MockEthereumClient_GetChainId_Call
type MockEthereumClient_GetClient_Call ¶ added in v0.1.9
MockEthereumClient_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'
func (*MockEthereumClient_GetClient_Call) Return ¶ added in v0.1.9
func (_c *MockEthereumClient_GetClient_Call) Return(_a0 *ethclient.Client) *MockEthereumClient_GetClient_Call
func (*MockEthereumClient_GetClient_Call) Run ¶ added in v0.1.9
func (_c *MockEthereumClient_GetClient_Call) Run(run func()) *MockEthereumClient_GetClient_Call
func (*MockEthereumClient_GetClient_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockEthereumClient_GetClient_Call) RunAndReturn(run func() *ethclient.Client) *MockEthereumClient_GetClient_Call
type MockEthereumClient_GetTransactionByHash_Call ¶ added in v0.1.9
MockEthereumClient_GetTransactionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionByHash'
func (*MockEthereumClient_GetTransactionByHash_Call) Return ¶ added in v0.1.9
func (_c *MockEthereumClient_GetTransactionByHash_Call) Return(_a0 *types.Transaction, _a1 bool, _a2 error) *MockEthereumClient_GetTransactionByHash_Call
func (*MockEthereumClient_GetTransactionByHash_Call) Run ¶ added in v0.1.9
func (_c *MockEthereumClient_GetTransactionByHash_Call) Run(run func(txHash string)) *MockEthereumClient_GetTransactionByHash_Call
func (*MockEthereumClient_GetTransactionByHash_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockEthereumClient_GetTransactionByHash_Call) RunAndReturn(run func(string) (*types.Transaction, bool, error)) *MockEthereumClient_GetTransactionByHash_Call
type MockEthereumClient_GetTransactionReceipt_Call ¶ added in v0.1.9
MockEthereumClient_GetTransactionReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionReceipt'
func (*MockEthereumClient_GetTransactionReceipt_Call) Return ¶ added in v0.1.9
func (_c *MockEthereumClient_GetTransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *MockEthereumClient_GetTransactionReceipt_Call
func (*MockEthereumClient_GetTransactionReceipt_Call) Run ¶ added in v0.1.9
func (_c *MockEthereumClient_GetTransactionReceipt_Call) Run(run func(txHash string)) *MockEthereumClient_GetTransactionReceipt_Call
func (*MockEthereumClient_GetTransactionReceipt_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockEthereumClient_GetTransactionReceipt_Call) RunAndReturn(run func(string) (*types.Receipt, error)) *MockEthereumClient_GetTransactionReceipt_Call
type MockEthereumClient_ValidateNetwork_Call ¶ added in v0.1.9
MockEthereumClient_ValidateNetwork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateNetwork'
func (*MockEthereumClient_ValidateNetwork_Call) Return ¶ added in v0.1.9
func (_c *MockEthereumClient_ValidateNetwork_Call) Return() *MockEthereumClient_ValidateNetwork_Call
func (*MockEthereumClient_ValidateNetwork_Call) Run ¶ added in v0.1.9
func (_c *MockEthereumClient_ValidateNetwork_Call) Run(run func()) *MockEthereumClient_ValidateNetwork_Call
func (*MockEthereumClient_ValidateNetwork_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockEthereumClient_ValidateNetwork_Call) RunAndReturn(run func()) *MockEthereumClient_ValidateNetwork_Call
type MockMintControllerContract ¶ added in v0.1.10
MockMintControllerContract is an autogenerated mock type for the MintControllerContract type
func NewMockMintControllerContract ¶ added in v0.1.10
func NewMockMintControllerContract(t interface { mock.TestingT Cleanup(func()) }) *MockMintControllerContract
NewMockMintControllerContract creates a new instance of MockMintControllerContract. 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 (*MockMintControllerContract) EXPECT ¶ added in v0.1.10
func (_m *MockMintControllerContract) EXPECT() *MockMintControllerContract_Expecter
func (*MockMintControllerContract) Eip712Domain ¶ added in v0.1.10
func (_m *MockMintControllerContract) Eip712Domain(opts *bind.CallOpts) (DomainData, error)
Eip712Domain provides a mock function with given fields: opts
func (*MockMintControllerContract) MaxMintLimit ¶ added in v0.1.10
MaxMintLimit provides a mock function with given fields: opts
func (*MockMintControllerContract) ValidatorCount ¶ added in v0.1.10
ValidatorCount provides a mock function with given fields: opts
type MockMintControllerContract_Eip712Domain_Call ¶ added in v0.1.10
MockMintControllerContract_Eip712Domain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Eip712Domain'
func (*MockMintControllerContract_Eip712Domain_Call) Return ¶ added in v0.1.10
func (_c *MockMintControllerContract_Eip712Domain_Call) Return(_a0 DomainData, _a1 error) *MockMintControllerContract_Eip712Domain_Call
func (*MockMintControllerContract_Eip712Domain_Call) Run ¶ added in v0.1.10
func (_c *MockMintControllerContract_Eip712Domain_Call) Run(run func(opts *bind.CallOpts)) *MockMintControllerContract_Eip712Domain_Call
func (*MockMintControllerContract_Eip712Domain_Call) RunAndReturn ¶ added in v0.1.10
func (_c *MockMintControllerContract_Eip712Domain_Call) RunAndReturn(run func(*bind.CallOpts) (DomainData, error)) *MockMintControllerContract_Eip712Domain_Call
type MockMintControllerContract_Expecter ¶ added in v0.1.10
type MockMintControllerContract_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMintControllerContract_Expecter) Eip712Domain ¶ added in v0.1.10
func (_e *MockMintControllerContract_Expecter) Eip712Domain(opts interface{}) *MockMintControllerContract_Eip712Domain_Call
Eip712Domain is a helper method to define mock.On call
- opts *bind.CallOpts
func (*MockMintControllerContract_Expecter) MaxMintLimit ¶ added in v0.1.10
func (_e *MockMintControllerContract_Expecter) MaxMintLimit(opts interface{}) *MockMintControllerContract_MaxMintLimit_Call
MaxMintLimit is a helper method to define mock.On call
- opts *bind.CallOpts
func (*MockMintControllerContract_Expecter) ValidatorCount ¶ added in v0.1.10
func (_e *MockMintControllerContract_Expecter) ValidatorCount(opts interface{}) *MockMintControllerContract_ValidatorCount_Call
ValidatorCount is a helper method to define mock.On call
- opts *bind.CallOpts
type MockMintControllerContract_MaxMintLimit_Call ¶ added in v0.1.10
MockMintControllerContract_MaxMintLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxMintLimit'
func (*MockMintControllerContract_MaxMintLimit_Call) Return ¶ added in v0.1.10
func (_c *MockMintControllerContract_MaxMintLimit_Call) Return(_a0 *big.Int, _a1 error) *MockMintControllerContract_MaxMintLimit_Call
func (*MockMintControllerContract_MaxMintLimit_Call) Run ¶ added in v0.1.10
func (_c *MockMintControllerContract_MaxMintLimit_Call) Run(run func(opts *bind.CallOpts)) *MockMintControllerContract_MaxMintLimit_Call
func (*MockMintControllerContract_MaxMintLimit_Call) RunAndReturn ¶ added in v0.1.10
func (_c *MockMintControllerContract_MaxMintLimit_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *MockMintControllerContract_MaxMintLimit_Call
type MockMintControllerContract_ValidatorCount_Call ¶ added in v0.1.10
MockMintControllerContract_ValidatorCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidatorCount'
func (*MockMintControllerContract_ValidatorCount_Call) Return ¶ added in v0.1.10
func (_c *MockMintControllerContract_ValidatorCount_Call) Return(_a0 *big.Int, _a1 error) *MockMintControllerContract_ValidatorCount_Call
func (*MockMintControllerContract_ValidatorCount_Call) Run ¶ added in v0.1.10
func (_c *MockMintControllerContract_ValidatorCount_Call) Run(run func(opts *bind.CallOpts)) *MockMintControllerContract_ValidatorCount_Call
func (*MockMintControllerContract_ValidatorCount_Call) RunAndReturn ¶ added in v0.1.10
func (_c *MockMintControllerContract_ValidatorCount_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *MockMintControllerContract_ValidatorCount_Call
type MockWrappedPocketBurnAndBridgeIterator ¶ added in v0.1.9
MockWrappedPocketBurnAndBridgeIterator is an autogenerated mock type for the WrappedPocketBurnAndBridgeIterator type
func NewMockWrappedPocketBurnAndBridgeIterator ¶ added in v0.1.9
func NewMockWrappedPocketBurnAndBridgeIterator(t interface { mock.TestingT Cleanup(func()) }) *MockWrappedPocketBurnAndBridgeIterator
NewMockWrappedPocketBurnAndBridgeIterator creates a new instance of MockWrappedPocketBurnAndBridgeIterator. 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 (*MockWrappedPocketBurnAndBridgeIterator) Close ¶ added in v0.1.9
func (_m *MockWrappedPocketBurnAndBridgeIterator) Close() error
Close provides a mock function with given fields:
func (*MockWrappedPocketBurnAndBridgeIterator) EXPECT ¶ added in v0.1.9
func (_m *MockWrappedPocketBurnAndBridgeIterator) EXPECT() *MockWrappedPocketBurnAndBridgeIterator_Expecter
func (*MockWrappedPocketBurnAndBridgeIterator) Error ¶ added in v0.1.9
func (_m *MockWrappedPocketBurnAndBridgeIterator) Error() error
Error provides a mock function with given fields:
func (*MockWrappedPocketBurnAndBridgeIterator) Event ¶ added in v0.1.9
func (_m *MockWrappedPocketBurnAndBridgeIterator) Event() *autogen.WrappedPocketBurnAndBridge
Event provides a mock function with given fields:
func (*MockWrappedPocketBurnAndBridgeIterator) Next ¶ added in v0.1.9
func (_m *MockWrappedPocketBurnAndBridgeIterator) Next() bool
Next provides a mock function with given fields:
type MockWrappedPocketBurnAndBridgeIterator_Close_Call ¶ added in v0.1.9
MockWrappedPocketBurnAndBridgeIterator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockWrappedPocketBurnAndBridgeIterator_Close_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Close_Call) Return(_a0 error) *MockWrappedPocketBurnAndBridgeIterator_Close_Call
func (*MockWrappedPocketBurnAndBridgeIterator_Close_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Close_Call) Run(run func()) *MockWrappedPocketBurnAndBridgeIterator_Close_Call
func (*MockWrappedPocketBurnAndBridgeIterator_Close_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Close_Call) RunAndReturn(run func() error) *MockWrappedPocketBurnAndBridgeIterator_Close_Call
type MockWrappedPocketBurnAndBridgeIterator_Error_Call ¶ added in v0.1.9
MockWrappedPocketBurnAndBridgeIterator_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*MockWrappedPocketBurnAndBridgeIterator_Error_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Error_Call) Return(_a0 error) *MockWrappedPocketBurnAndBridgeIterator_Error_Call
func (*MockWrappedPocketBurnAndBridgeIterator_Error_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Error_Call) Run(run func()) *MockWrappedPocketBurnAndBridgeIterator_Error_Call
func (*MockWrappedPocketBurnAndBridgeIterator_Error_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Error_Call) RunAndReturn(run func() error) *MockWrappedPocketBurnAndBridgeIterator_Error_Call
type MockWrappedPocketBurnAndBridgeIterator_Event_Call ¶ added in v0.1.9
MockWrappedPocketBurnAndBridgeIterator_Event_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Event'
func (*MockWrappedPocketBurnAndBridgeIterator_Event_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Event_Call) Run(run func()) *MockWrappedPocketBurnAndBridgeIterator_Event_Call
func (*MockWrappedPocketBurnAndBridgeIterator_Event_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Event_Call) RunAndReturn(run func() *autogen.WrappedPocketBurnAndBridge) *MockWrappedPocketBurnAndBridgeIterator_Event_Call
type MockWrappedPocketBurnAndBridgeIterator_Expecter ¶ added in v0.1.9
type MockWrappedPocketBurnAndBridgeIterator_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWrappedPocketBurnAndBridgeIterator_Expecter) Close ¶ added in v0.1.9
func (_e *MockWrappedPocketBurnAndBridgeIterator_Expecter) Close() *MockWrappedPocketBurnAndBridgeIterator_Close_Call
Close is a helper method to define mock.On call
func (*MockWrappedPocketBurnAndBridgeIterator_Expecter) Error ¶ added in v0.1.9
func (_e *MockWrappedPocketBurnAndBridgeIterator_Expecter) Error() *MockWrappedPocketBurnAndBridgeIterator_Error_Call
Error is a helper method to define mock.On call
func (*MockWrappedPocketBurnAndBridgeIterator_Expecter) Event ¶ added in v0.1.9
func (_e *MockWrappedPocketBurnAndBridgeIterator_Expecter) Event() *MockWrappedPocketBurnAndBridgeIterator_Event_Call
Event is a helper method to define mock.On call
func (*MockWrappedPocketBurnAndBridgeIterator_Expecter) Next ¶ added in v0.1.9
func (_e *MockWrappedPocketBurnAndBridgeIterator_Expecter) Next() *MockWrappedPocketBurnAndBridgeIterator_Next_Call
Next is a helper method to define mock.On call
type MockWrappedPocketBurnAndBridgeIterator_Next_Call ¶ added in v0.1.9
MockWrappedPocketBurnAndBridgeIterator_Next_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Next'
func (*MockWrappedPocketBurnAndBridgeIterator_Next_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Next_Call) Return(_a0 bool) *MockWrappedPocketBurnAndBridgeIterator_Next_Call
func (*MockWrappedPocketBurnAndBridgeIterator_Next_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Next_Call) Run(run func()) *MockWrappedPocketBurnAndBridgeIterator_Next_Call
func (*MockWrappedPocketBurnAndBridgeIterator_Next_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketBurnAndBridgeIterator_Next_Call) RunAndReturn(run func() bool) *MockWrappedPocketBurnAndBridgeIterator_Next_Call
type MockWrappedPocketContract ¶ added in v0.1.9
MockWrappedPocketContract is an autogenerated mock type for the WrappedPocketContract type
func NewMockWrappedPocketContract ¶ added in v0.1.9
func NewMockWrappedPocketContract(t interface { mock.TestingT Cleanup(func()) }) *MockWrappedPocketContract
NewMockWrappedPocketContract creates a new instance of MockWrappedPocketContract. 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 (*MockWrappedPocketContract) EXPECT ¶ added in v0.1.9
func (_m *MockWrappedPocketContract) EXPECT() *MockWrappedPocketContract_Expecter
func (*MockWrappedPocketContract) FilterBurnAndBridge ¶ added in v0.1.9
func (_m *MockWrappedPocketContract) FilterBurnAndBridge(opts *bind.FilterOpts, amount []*big.Int, poktAddress []common.Address, from []common.Address) (WrappedPocketBurnAndBridgeIterator, error)
FilterBurnAndBridge provides a mock function with given fields: opts, amount, poktAddress, from
func (*MockWrappedPocketContract) FilterMinted ¶ added in v0.1.9
func (_m *MockWrappedPocketContract) FilterMinted(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, nonce []*big.Int) (WrappedPocketMintedIterator, error)
FilterMinted provides a mock function with given fields: opts, recipient, amount, nonce
func (*MockWrappedPocketContract) GetUserNonce ¶ added in v0.1.9
func (_m *MockWrappedPocketContract) GetUserNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)
GetUserNonce provides a mock function with given fields: opts, user
func (*MockWrappedPocketContract) ParseBurnAndBridge ¶ added in v0.1.9
func (_m *MockWrappedPocketContract) ParseBurnAndBridge(log types.Log) (*autogen.WrappedPocketBurnAndBridge, error)
ParseBurnAndBridge provides a mock function with given fields: log
type MockWrappedPocketContract_Expecter ¶ added in v0.1.9
type MockWrappedPocketContract_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWrappedPocketContract_Expecter) FilterBurnAndBridge ¶ added in v0.1.9
func (_e *MockWrappedPocketContract_Expecter) FilterBurnAndBridge(opts interface{}, amount interface{}, poktAddress interface{}, from interface{}) *MockWrappedPocketContract_FilterBurnAndBridge_Call
FilterBurnAndBridge is a helper method to define mock.On call
- opts *bind.FilterOpts
- amount []*big.Int
- poktAddress []common.Address
- from []common.Address
func (*MockWrappedPocketContract_Expecter) FilterMinted ¶ added in v0.1.9
func (_e *MockWrappedPocketContract_Expecter) FilterMinted(opts interface{}, recipient interface{}, amount interface{}, nonce interface{}) *MockWrappedPocketContract_FilterMinted_Call
FilterMinted is a helper method to define mock.On call
- opts *bind.FilterOpts
- recipient []common.Address
- amount []*big.Int
- nonce []*big.Int
func (*MockWrappedPocketContract_Expecter) GetUserNonce ¶ added in v0.1.9
func (_e *MockWrappedPocketContract_Expecter) GetUserNonce(opts interface{}, user interface{}) *MockWrappedPocketContract_GetUserNonce_Call
GetUserNonce is a helper method to define mock.On call
- opts *bind.CallOpts
- user common.Address
func (*MockWrappedPocketContract_Expecter) ParseBurnAndBridge ¶ added in v0.1.9
func (_e *MockWrappedPocketContract_Expecter) ParseBurnAndBridge(log interface{}) *MockWrappedPocketContract_ParseBurnAndBridge_Call
ParseBurnAndBridge is a helper method to define mock.On call
- log types.Log
type MockWrappedPocketContract_FilterBurnAndBridge_Call ¶ added in v0.1.9
MockWrappedPocketContract_FilterBurnAndBridge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterBurnAndBridge'
func (*MockWrappedPocketContract_FilterBurnAndBridge_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_FilterBurnAndBridge_Call) Run(run func(opts *bind.FilterOpts, amount []*big.Int, poktAddress []common.Address, from []common.Address)) *MockWrappedPocketContract_FilterBurnAndBridge_Call
func (*MockWrappedPocketContract_FilterBurnAndBridge_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_FilterBurnAndBridge_Call) RunAndReturn(run func(*bind.FilterOpts, []*big.Int, []common.Address, []common.Address) (WrappedPocketBurnAndBridgeIterator, error)) *MockWrappedPocketContract_FilterBurnAndBridge_Call
type MockWrappedPocketContract_FilterMinted_Call ¶ added in v0.1.9
MockWrappedPocketContract_FilterMinted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterMinted'
func (*MockWrappedPocketContract_FilterMinted_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_FilterMinted_Call) Return(_a0 WrappedPocketMintedIterator, _a1 error) *MockWrappedPocketContract_FilterMinted_Call
func (*MockWrappedPocketContract_FilterMinted_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_FilterMinted_Call) Run(run func(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, nonce []*big.Int)) *MockWrappedPocketContract_FilterMinted_Call
func (*MockWrappedPocketContract_FilterMinted_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_FilterMinted_Call) RunAndReturn(run func(*bind.FilterOpts, []common.Address, []*big.Int, []*big.Int) (WrappedPocketMintedIterator, error)) *MockWrappedPocketContract_FilterMinted_Call
type MockWrappedPocketContract_GetUserNonce_Call ¶ added in v0.1.9
MockWrappedPocketContract_GetUserNonce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserNonce'
func (*MockWrappedPocketContract_GetUserNonce_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_GetUserNonce_Call) Return(_a0 *big.Int, _a1 error) *MockWrappedPocketContract_GetUserNonce_Call
func (*MockWrappedPocketContract_GetUserNonce_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_GetUserNonce_Call) Run(run func(opts *bind.CallOpts, user common.Address)) *MockWrappedPocketContract_GetUserNonce_Call
func (*MockWrappedPocketContract_GetUserNonce_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_GetUserNonce_Call) RunAndReturn(run func(*bind.CallOpts, common.Address) (*big.Int, error)) *MockWrappedPocketContract_GetUserNonce_Call
type MockWrappedPocketContract_ParseBurnAndBridge_Call ¶ added in v0.1.9
MockWrappedPocketContract_ParseBurnAndBridge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParseBurnAndBridge'
func (*MockWrappedPocketContract_ParseBurnAndBridge_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_ParseBurnAndBridge_Call) Return(_a0 *autogen.WrappedPocketBurnAndBridge, _a1 error) *MockWrappedPocketContract_ParseBurnAndBridge_Call
func (*MockWrappedPocketContract_ParseBurnAndBridge_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_ParseBurnAndBridge_Call) Run(run func(log types.Log)) *MockWrappedPocketContract_ParseBurnAndBridge_Call
func (*MockWrappedPocketContract_ParseBurnAndBridge_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketContract_ParseBurnAndBridge_Call) RunAndReturn(run func(types.Log) (*autogen.WrappedPocketBurnAndBridge, error)) *MockWrappedPocketContract_ParseBurnAndBridge_Call
type MockWrappedPocketMintedIterator ¶ added in v0.1.9
MockWrappedPocketMintedIterator is an autogenerated mock type for the WrappedPocketMintedIterator type
func NewMockWrappedPocketMintedIterator ¶ added in v0.1.9
func NewMockWrappedPocketMintedIterator(t interface { mock.TestingT Cleanup(func()) }) *MockWrappedPocketMintedIterator
NewMockWrappedPocketMintedIterator creates a new instance of MockWrappedPocketMintedIterator. 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 (*MockWrappedPocketMintedIterator) Close ¶ added in v0.1.9
func (_m *MockWrappedPocketMintedIterator) Close() error
Close provides a mock function with given fields:
func (*MockWrappedPocketMintedIterator) EXPECT ¶ added in v0.1.9
func (_m *MockWrappedPocketMintedIterator) EXPECT() *MockWrappedPocketMintedIterator_Expecter
func (*MockWrappedPocketMintedIterator) Error ¶ added in v0.1.9
func (_m *MockWrappedPocketMintedIterator) Error() error
Error provides a mock function with given fields:
func (*MockWrappedPocketMintedIterator) Event ¶ added in v0.1.9
func (_m *MockWrappedPocketMintedIterator) Event() *autogen.WrappedPocketMinted
Event provides a mock function with given fields:
func (*MockWrappedPocketMintedIterator) Next ¶ added in v0.1.9
func (_m *MockWrappedPocketMintedIterator) Next() bool
Next provides a mock function with given fields:
type MockWrappedPocketMintedIterator_Close_Call ¶ added in v0.1.9
MockWrappedPocketMintedIterator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockWrappedPocketMintedIterator_Close_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Close_Call) Return(_a0 error) *MockWrappedPocketMintedIterator_Close_Call
func (*MockWrappedPocketMintedIterator_Close_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Close_Call) Run(run func()) *MockWrappedPocketMintedIterator_Close_Call
func (*MockWrappedPocketMintedIterator_Close_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Close_Call) RunAndReturn(run func() error) *MockWrappedPocketMintedIterator_Close_Call
type MockWrappedPocketMintedIterator_Error_Call ¶ added in v0.1.9
MockWrappedPocketMintedIterator_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*MockWrappedPocketMintedIterator_Error_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Error_Call) Return(_a0 error) *MockWrappedPocketMintedIterator_Error_Call
func (*MockWrappedPocketMintedIterator_Error_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Error_Call) Run(run func()) *MockWrappedPocketMintedIterator_Error_Call
func (*MockWrappedPocketMintedIterator_Error_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Error_Call) RunAndReturn(run func() error) *MockWrappedPocketMintedIterator_Error_Call
type MockWrappedPocketMintedIterator_Event_Call ¶ added in v0.1.9
MockWrappedPocketMintedIterator_Event_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Event'
func (*MockWrappedPocketMintedIterator_Event_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Event_Call) Return(_a0 *autogen.WrappedPocketMinted) *MockWrappedPocketMintedIterator_Event_Call
func (*MockWrappedPocketMintedIterator_Event_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Event_Call) Run(run func()) *MockWrappedPocketMintedIterator_Event_Call
func (*MockWrappedPocketMintedIterator_Event_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Event_Call) RunAndReturn(run func() *autogen.WrappedPocketMinted) *MockWrappedPocketMintedIterator_Event_Call
type MockWrappedPocketMintedIterator_Expecter ¶ added in v0.1.9
type MockWrappedPocketMintedIterator_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWrappedPocketMintedIterator_Expecter) Close ¶ added in v0.1.9
func (_e *MockWrappedPocketMintedIterator_Expecter) Close() *MockWrappedPocketMintedIterator_Close_Call
Close is a helper method to define mock.On call
func (*MockWrappedPocketMintedIterator_Expecter) Error ¶ added in v0.1.9
func (_e *MockWrappedPocketMintedIterator_Expecter) Error() *MockWrappedPocketMintedIterator_Error_Call
Error is a helper method to define mock.On call
func (*MockWrappedPocketMintedIterator_Expecter) Event ¶ added in v0.1.9
func (_e *MockWrappedPocketMintedIterator_Expecter) Event() *MockWrappedPocketMintedIterator_Event_Call
Event is a helper method to define mock.On call
func (*MockWrappedPocketMintedIterator_Expecter) Next ¶ added in v0.1.9
func (_e *MockWrappedPocketMintedIterator_Expecter) Next() *MockWrappedPocketMintedIterator_Next_Call
Next is a helper method to define mock.On call
type MockWrappedPocketMintedIterator_Next_Call ¶ added in v0.1.9
MockWrappedPocketMintedIterator_Next_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Next'
func (*MockWrappedPocketMintedIterator_Next_Call) Return ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Next_Call) Return(_a0 bool) *MockWrappedPocketMintedIterator_Next_Call
func (*MockWrappedPocketMintedIterator_Next_Call) Run ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Next_Call) Run(run func()) *MockWrappedPocketMintedIterator_Next_Call
func (*MockWrappedPocketMintedIterator_Next_Call) RunAndReturn ¶ added in v0.1.9
func (_c *MockWrappedPocketMintedIterator_Next_Call) RunAndReturn(run func() bool) *MockWrappedPocketMintedIterator_Next_Call
type WrappedPocketBurnAndBridgeIterator ¶ added in v0.1.9
type WrappedPocketBurnAndBridgeIterator interface { Next() bool Event() *autogen.WrappedPocketBurnAndBridge Close() error Error() error }
type WrappedPocketBurnAndBridgeIteratorImpl ¶ added in v0.1.9
type WrappedPocketBurnAndBridgeIteratorImpl struct {
// contains filtered or unexported fields
}
func (*WrappedPocketBurnAndBridgeIteratorImpl) Close ¶ added in v0.1.9
func (x *WrappedPocketBurnAndBridgeIteratorImpl) Close() error
func (*WrappedPocketBurnAndBridgeIteratorImpl) Error ¶ added in v0.1.9
func (x *WrappedPocketBurnAndBridgeIteratorImpl) Error() error
func (*WrappedPocketBurnAndBridgeIteratorImpl) Event ¶ added in v0.1.9
func (x *WrappedPocketBurnAndBridgeIteratorImpl) Event() *autogen.WrappedPocketBurnAndBridge
func (*WrappedPocketBurnAndBridgeIteratorImpl) Next ¶ added in v0.1.9
func (x *WrappedPocketBurnAndBridgeIteratorImpl) Next() bool
type WrappedPocketContract ¶ added in v0.1.9
type WrappedPocketContract interface { GetUserNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error) FilterMinted(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, nonce []*big.Int) (WrappedPocketMintedIterator, error) FilterBurnAndBridge(opts *bind.FilterOpts, amount []*big.Int, poktAddress []common.Address, from []common.Address) (WrappedPocketBurnAndBridgeIterator, error) ParseBurnAndBridge(log types.Log) (*autogen.WrappedPocketBurnAndBridge, error) }
func NewWrappedPocketContract ¶ added in v0.1.9
func NewWrappedPocketContract(contract *autogen.WrappedPocket) WrappedPocketContract
type WrappedPocketContractImpl ¶ added in v0.1.9
type WrappedPocketContractImpl struct {
// contains filtered or unexported fields
}
func (*WrappedPocketContractImpl) FilterBurnAndBridge ¶ added in v0.1.9
func (x *WrappedPocketContractImpl) FilterBurnAndBridge(opts *bind.FilterOpts, amount []*big.Int, poktAddress []common.Address, from []common.Address) (WrappedPocketBurnAndBridgeIterator, error)
func (*WrappedPocketContractImpl) FilterMinted ¶ added in v0.1.9
func (x *WrappedPocketContractImpl) FilterMinted(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, nonce []*big.Int) (WrappedPocketMintedIterator, error)
func (*WrappedPocketContractImpl) GetUserNonce ¶ added in v0.1.9
func (*WrappedPocketContractImpl) ParseBurnAndBridge ¶ added in v0.1.9
func (x *WrappedPocketContractImpl) ParseBurnAndBridge(log types.Log) (*autogen.WrappedPocketBurnAndBridge, error)
type WrappedPocketMintedIterator ¶ added in v0.1.9
type WrappedPocketMintedIterator interface { Next() bool Event() *autogen.WrappedPocketMinted Close() error Error() error }
type WrappedPocketMintedIteratorImpl ¶ added in v0.1.9
type WrappedPocketMintedIteratorImpl struct {
// contains filtered or unexported fields
}
func (*WrappedPocketMintedIteratorImpl) Close ¶ added in v0.1.9
func (x *WrappedPocketMintedIteratorImpl) Close() error
func (*WrappedPocketMintedIteratorImpl) Error ¶ added in v0.1.9
func (x *WrappedPocketMintedIteratorImpl) Error() error
func (*WrappedPocketMintedIteratorImpl) Event ¶ added in v0.1.9
func (x *WrappedPocketMintedIteratorImpl) Event() *autogen.WrappedPocketMinted
func (*WrappedPocketMintedIteratorImpl) Next ¶ added in v0.1.9
func (x *WrappedPocketMintedIteratorImpl) Next() bool