mocks

package
v0.0.0-...-7ece11e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coin

type Coin struct {
	mock.Mock
}

Coin is an autogenerated mock type for the Coin type

func (*Coin) Bytes

func (_m *Coin) Bytes() []byte

Bytes provides a mock function with given fields:

func (*Coin) CheckCoinValid

func (_m *Coin) CheckCoinValid(_a0 key.PaymentAddress, _a1 []byte, _a2 uint64) bool

CheckCoinValid provides a mock function with given fields: _a0, _a1, _a2

func (*Coin) Decrypt

func (_m *Coin) Decrypt(_a0 *incognitokey.KeySet) (coin.PlainCoin, error)

Decrypt provides a mock function with given fields: _a0

func (*Coin) DoesCoinBelongToKeySet

func (_m *Coin) DoesCoinBelongToKeySet(keySet *incognitokey.KeySet) (bool, *operation.Point)

DoesCoinBelongToKeySet provides a mock function with given fields: keySet

func (*Coin) GetAssetTag

func (_m *Coin) GetAssetTag() *operation.Point

GetAssetTag provides a mock function with given fields:

func (*Coin) GetCoinDetailEncrypted

func (_m *Coin) GetCoinDetailEncrypted() []byte

GetCoinDetailEncrypted provides a mock function with given fields:

func (*Coin) GetCoinID

func (_m *Coin) GetCoinID() [32]byte

GetCoinID provides a mock function with given fields:

func (*Coin) GetCommitment

func (_m *Coin) GetCommitment() *operation.Point

GetCommitment provides a mock function with given fields:

func (*Coin) GetInfo

func (_m *Coin) GetInfo() []byte

GetInfo provides a mock function with given fields:

func (*Coin) GetKeyImage

func (_m *Coin) GetKeyImage() *operation.Point

GetKeyImage provides a mock function with given fields:

func (*Coin) GetPublicKey

func (_m *Coin) GetPublicKey() *operation.Point

GetPublicKey provides a mock function with given fields:

func (*Coin) GetRandomness

func (_m *Coin) GetRandomness() *operation.Scalar

GetRandomness provides a mock function with given fields:

func (*Coin) GetSNDerivator

func (_m *Coin) GetSNDerivator() *operation.Scalar

GetSNDerivator provides a mock function with given fields:

func (*Coin) GetShardID

func (_m *Coin) GetShardID() (uint8, error)

GetShardID provides a mock function with given fields:

func (*Coin) GetSharedConcealRandom

func (_m *Coin) GetSharedConcealRandom() *operation.Scalar

GetSharedConcealRandom provides a mock function with given fields:

func (*Coin) GetSharedRandom

func (_m *Coin) GetSharedRandom() *operation.Scalar

GetSharedRandom provides a mock function with given fields:

func (*Coin) GetTxRandom

func (_m *Coin) GetTxRandom() *coin.TxRandom

GetTxRandom provides a mock function with given fields:

func (*Coin) GetValue

func (_m *Coin) GetValue() uint64

GetValue provides a mock function with given fields:

func (*Coin) GetVersion

func (_m *Coin) GetVersion() uint8

GetVersion provides a mock function with given fields:

func (*Coin) IsEncrypted

func (_m *Coin) IsEncrypted() bool

IsEncrypted provides a mock function with given fields:

func (*Coin) SetBytes

func (_m *Coin) SetBytes(_a0 []byte) error

SetBytes provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL