Documentation
¶
Index ¶
- type BaseTarget
- type EmbeddedWallet
- type EndorsementPool
- type EnrichedSmartState
- type Handler
- type ID
- type InvRequester
- type MessageSender
- type Miner
- type MinerConsensus
- type MockEnrichedSmartState
- func (_mock *MockEnrichedSmartState) AddingBlockHeight() (uint64, error)
- func (_m *MockEnrichedSmartState) EXPECT() *MockEnrichedSmartState_Expecter
- func (_mock *MockEnrichedSmartState) EstimatorVersion() (int, error)
- func (_mock *MockEnrichedSmartState) IsNotFound(err error) bool
- func (_mock *MockEnrichedSmartState) IsStateUntouched(account proto.Recipient) (bool, error)
- func (_mock *MockEnrichedSmartState) NewestAddrByAlias(alias proto.Alias) (proto.WavesAddress, error)
- func (_mock *MockEnrichedSmartState) NewestAssetBalance(account proto.Recipient, assetID crypto.Digest) (uint64, error)
- func (_mock *MockEnrichedSmartState) NewestAssetBalanceByAddressID(id proto.AddressID, asset crypto.Digest) (uint64, error)
- func (_mock *MockEnrichedSmartState) NewestAssetConstInfo(assetID proto.AssetID) (*proto.AssetConstInfo, error)
- func (_mock *MockEnrichedSmartState) NewestAssetInfo(assetID crypto.Digest) (*proto.AssetInfo, error)
- func (_mock *MockEnrichedSmartState) NewestAssetIsSponsored(assetID crypto.Digest) (bool, error)
- func (_mock *MockEnrichedSmartState) NewestBlockInfoByHeight(height proto.Height) (*proto.BlockInfo, error)
- func (_mock *MockEnrichedSmartState) NewestFullAssetInfo(assetID crypto.Digest) (*proto.FullAssetInfo, error)
- func (_mock *MockEnrichedSmartState) NewestFullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)
- func (_mock *MockEnrichedSmartState) NewestLeasingInfo(id crypto.Digest) (*proto.LeaseInfo, error)
- func (_mock *MockEnrichedSmartState) NewestRecipientToAddress(recipient proto.Recipient) (proto.WavesAddress, error)
- func (_mock *MockEnrichedSmartState) NewestScriptByAccount(account proto.Recipient) (*ast.Tree, error)
- func (_mock *MockEnrichedSmartState) NewestScriptByAsset(assetID crypto.Digest) (*ast.Tree, error)
- func (_mock *MockEnrichedSmartState) NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)
- func (_mock *MockEnrichedSmartState) NewestScriptPKByAddr(addr proto.WavesAddress) (crypto.PublicKey, error)
- func (_mock *MockEnrichedSmartState) NewestTransactionByID(bytes []byte) (proto.Transaction, error)
- func (_mock *MockEnrichedSmartState) NewestTransactionHeightByID(bytes []byte) (uint64, error)
- func (_mock *MockEnrichedSmartState) NewestWavesBalance(account proto.Recipient) (uint64, error)
- func (_mock *MockEnrichedSmartState) RetrieveEntries(account proto.Recipient) ([]proto.DataEntry, error)
- func (_mock *MockEnrichedSmartState) RetrieveNewestBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
- func (_mock *MockEnrichedSmartState) RetrieveNewestBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
- func (_mock *MockEnrichedSmartState) RetrieveNewestIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
- func (_mock *MockEnrichedSmartState) RetrieveNewestStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
- func (_mock *MockEnrichedSmartState) WavesBalanceProfile(id proto.AddressID) (*WavesBalanceProfile, error)
- type MockEnrichedSmartState_AddingBlockHeight_Call
- func (_c *MockEnrichedSmartState_AddingBlockHeight_Call) Return(v uint64, err error) *MockEnrichedSmartState_AddingBlockHeight_Call
- func (_c *MockEnrichedSmartState_AddingBlockHeight_Call) Run(run func()) *MockEnrichedSmartState_AddingBlockHeight_Call
- func (_c *MockEnrichedSmartState_AddingBlockHeight_Call) RunAndReturn(run func() (uint64, error)) *MockEnrichedSmartState_AddingBlockHeight_Call
- type MockEnrichedSmartState_EstimatorVersion_Call
- func (_c *MockEnrichedSmartState_EstimatorVersion_Call) Return(n int, err error) *MockEnrichedSmartState_EstimatorVersion_Call
- func (_c *MockEnrichedSmartState_EstimatorVersion_Call) Run(run func()) *MockEnrichedSmartState_EstimatorVersion_Call
- func (_c *MockEnrichedSmartState_EstimatorVersion_Call) RunAndReturn(run func() (int, error)) *MockEnrichedSmartState_EstimatorVersion_Call
- type MockEnrichedSmartState_Expecter
- func (_e *MockEnrichedSmartState_Expecter) AddingBlockHeight() *MockEnrichedSmartState_AddingBlockHeight_Call
- func (_e *MockEnrichedSmartState_Expecter) EstimatorVersion() *MockEnrichedSmartState_EstimatorVersion_Call
- func (_e *MockEnrichedSmartState_Expecter) IsNotFound(err interface{}) *MockEnrichedSmartState_IsNotFound_Call
- func (_e *MockEnrichedSmartState_Expecter) IsStateUntouched(account interface{}) *MockEnrichedSmartState_IsStateUntouched_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestAddrByAlias(alias interface{}) *MockEnrichedSmartState_NewestAddrByAlias_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestAssetBalance(account interface{}, assetID interface{}) *MockEnrichedSmartState_NewestAssetBalance_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestAssetBalanceByAddressID(id interface{}, asset interface{}) *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestAssetConstInfo(assetID interface{}) *MockEnrichedSmartState_NewestAssetConstInfo_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestAssetInfo(assetID interface{}) *MockEnrichedSmartState_NewestAssetInfo_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestAssetIsSponsored(assetID interface{}) *MockEnrichedSmartState_NewestAssetIsSponsored_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestBlockInfoByHeight(height interface{}) *MockEnrichedSmartState_NewestBlockInfoByHeight_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestFullAssetInfo(assetID interface{}) *MockEnrichedSmartState_NewestFullAssetInfo_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestFullWavesBalance(account interface{}) *MockEnrichedSmartState_NewestFullWavesBalance_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestLeasingInfo(id interface{}) *MockEnrichedSmartState_NewestLeasingInfo_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestRecipientToAddress(recipient interface{}) *MockEnrichedSmartState_NewestRecipientToAddress_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestScriptByAccount(account interface{}) *MockEnrichedSmartState_NewestScriptByAccount_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestScriptByAsset(assetID interface{}) *MockEnrichedSmartState_NewestScriptByAsset_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestScriptBytesByAccount(account interface{}) *MockEnrichedSmartState_NewestScriptBytesByAccount_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestScriptPKByAddr(addr interface{}) *MockEnrichedSmartState_NewestScriptPKByAddr_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestTransactionByID(bytes interface{}) *MockEnrichedSmartState_NewestTransactionByID_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestTransactionHeightByID(bytes interface{}) *MockEnrichedSmartState_NewestTransactionHeightByID_Call
- func (_e *MockEnrichedSmartState_Expecter) NewestWavesBalance(account interface{}) *MockEnrichedSmartState_NewestWavesBalance_Call
- func (_e *MockEnrichedSmartState_Expecter) RetrieveEntries(account interface{}) *MockEnrichedSmartState_RetrieveEntries_Call
- func (_e *MockEnrichedSmartState_Expecter) RetrieveNewestBinaryEntry(account interface{}, key interface{}) *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
- func (_e *MockEnrichedSmartState_Expecter) RetrieveNewestBooleanEntry(account interface{}, key interface{}) *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
- func (_e *MockEnrichedSmartState_Expecter) RetrieveNewestIntegerEntry(account interface{}, key interface{}) *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
- func (_e *MockEnrichedSmartState_Expecter) RetrieveNewestStringEntry(account interface{}, key interface{}) *MockEnrichedSmartState_RetrieveNewestStringEntry_Call
- func (_e *MockEnrichedSmartState_Expecter) WavesBalanceProfile(id interface{}) *MockEnrichedSmartState_WavesBalanceProfile_Call
- type MockEnrichedSmartState_IsNotFound_Call
- func (_c *MockEnrichedSmartState_IsNotFound_Call) Return(b bool) *MockEnrichedSmartState_IsNotFound_Call
- func (_c *MockEnrichedSmartState_IsNotFound_Call) Run(run func(err error)) *MockEnrichedSmartState_IsNotFound_Call
- func (_c *MockEnrichedSmartState_IsNotFound_Call) RunAndReturn(run func(err error) bool) *MockEnrichedSmartState_IsNotFound_Call
- type MockEnrichedSmartState_IsStateUntouched_Call
- func (_c *MockEnrichedSmartState_IsStateUntouched_Call) Return(b bool, err error) *MockEnrichedSmartState_IsStateUntouched_Call
- func (_c *MockEnrichedSmartState_IsStateUntouched_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_IsStateUntouched_Call
- func (_c *MockEnrichedSmartState_IsStateUntouched_Call) RunAndReturn(run func(account proto.Recipient) (bool, error)) *MockEnrichedSmartState_IsStateUntouched_Call
- type MockEnrichedSmartState_NewestAddrByAlias_Call
- func (_c *MockEnrichedSmartState_NewestAddrByAlias_Call) Return(wavesAddress proto.WavesAddress, err error) *MockEnrichedSmartState_NewestAddrByAlias_Call
- func (_c *MockEnrichedSmartState_NewestAddrByAlias_Call) Run(run func(alias proto.Alias)) *MockEnrichedSmartState_NewestAddrByAlias_Call
- func (_c *MockEnrichedSmartState_NewestAddrByAlias_Call) RunAndReturn(run func(alias proto.Alias) (proto.WavesAddress, error)) *MockEnrichedSmartState_NewestAddrByAlias_Call
- type MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call
- func (_c *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call) Return(v uint64, err error) *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call
- func (_c *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call) Run(run func(id proto.AddressID, asset crypto.Digest)) *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call
- func (_c *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call) RunAndReturn(run func(id proto.AddressID, asset crypto.Digest) (uint64, error)) *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call
- type MockEnrichedSmartState_NewestAssetBalance_Call
- func (_c *MockEnrichedSmartState_NewestAssetBalance_Call) Return(v uint64, err error) *MockEnrichedSmartState_NewestAssetBalance_Call
- func (_c *MockEnrichedSmartState_NewestAssetBalance_Call) Run(run func(account proto.Recipient, assetID crypto.Digest)) *MockEnrichedSmartState_NewestAssetBalance_Call
- func (_c *MockEnrichedSmartState_NewestAssetBalance_Call) RunAndReturn(run func(account proto.Recipient, assetID crypto.Digest) (uint64, error)) *MockEnrichedSmartState_NewestAssetBalance_Call
- type MockEnrichedSmartState_NewestAssetConstInfo_Call
- func (_c *MockEnrichedSmartState_NewestAssetConstInfo_Call) Return(assetConstInfo *proto.AssetConstInfo, err error) *MockEnrichedSmartState_NewestAssetConstInfo_Call
- func (_c *MockEnrichedSmartState_NewestAssetConstInfo_Call) Run(run func(assetID proto.AssetID)) *MockEnrichedSmartState_NewestAssetConstInfo_Call
- func (_c *MockEnrichedSmartState_NewestAssetConstInfo_Call) RunAndReturn(run func(assetID proto.AssetID) (*proto.AssetConstInfo, error)) *MockEnrichedSmartState_NewestAssetConstInfo_Call
- type MockEnrichedSmartState_NewestAssetInfo_Call
- func (_c *MockEnrichedSmartState_NewestAssetInfo_Call) Return(assetInfo *proto.AssetInfo, err error) *MockEnrichedSmartState_NewestAssetInfo_Call
- func (_c *MockEnrichedSmartState_NewestAssetInfo_Call) Run(run func(assetID crypto.Digest)) *MockEnrichedSmartState_NewestAssetInfo_Call
- func (_c *MockEnrichedSmartState_NewestAssetInfo_Call) RunAndReturn(run func(assetID crypto.Digest) (*proto.AssetInfo, error)) *MockEnrichedSmartState_NewestAssetInfo_Call
- type MockEnrichedSmartState_NewestAssetIsSponsored_Call
- func (_c *MockEnrichedSmartState_NewestAssetIsSponsored_Call) Return(b bool, err error) *MockEnrichedSmartState_NewestAssetIsSponsored_Call
- func (_c *MockEnrichedSmartState_NewestAssetIsSponsored_Call) Run(run func(assetID crypto.Digest)) *MockEnrichedSmartState_NewestAssetIsSponsored_Call
- func (_c *MockEnrichedSmartState_NewestAssetIsSponsored_Call) RunAndReturn(run func(assetID crypto.Digest) (bool, error)) *MockEnrichedSmartState_NewestAssetIsSponsored_Call
- type MockEnrichedSmartState_NewestBlockInfoByHeight_Call
- func (_c *MockEnrichedSmartState_NewestBlockInfoByHeight_Call) Return(blockInfo *proto.BlockInfo, err error) *MockEnrichedSmartState_NewestBlockInfoByHeight_Call
- func (_c *MockEnrichedSmartState_NewestBlockInfoByHeight_Call) Run(run func(height proto.Height)) *MockEnrichedSmartState_NewestBlockInfoByHeight_Call
- func (_c *MockEnrichedSmartState_NewestBlockInfoByHeight_Call) RunAndReturn(run func(height proto.Height) (*proto.BlockInfo, error)) *MockEnrichedSmartState_NewestBlockInfoByHeight_Call
- type MockEnrichedSmartState_NewestFullAssetInfo_Call
- func (_c *MockEnrichedSmartState_NewestFullAssetInfo_Call) Return(fullAssetInfo *proto.FullAssetInfo, err error) *MockEnrichedSmartState_NewestFullAssetInfo_Call
- func (_c *MockEnrichedSmartState_NewestFullAssetInfo_Call) Run(run func(assetID crypto.Digest)) *MockEnrichedSmartState_NewestFullAssetInfo_Call
- func (_c *MockEnrichedSmartState_NewestFullAssetInfo_Call) RunAndReturn(run func(assetID crypto.Digest) (*proto.FullAssetInfo, error)) *MockEnrichedSmartState_NewestFullAssetInfo_Call
- type MockEnrichedSmartState_NewestFullWavesBalance_Call
- func (_c *MockEnrichedSmartState_NewestFullWavesBalance_Call) Return(fullWavesBalance *proto.FullWavesBalance, err error) *MockEnrichedSmartState_NewestFullWavesBalance_Call
- func (_c *MockEnrichedSmartState_NewestFullWavesBalance_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_NewestFullWavesBalance_Call
- func (_c *MockEnrichedSmartState_NewestFullWavesBalance_Call) RunAndReturn(run func(account proto.Recipient) (*proto.FullWavesBalance, error)) *MockEnrichedSmartState_NewestFullWavesBalance_Call
- type MockEnrichedSmartState_NewestLeasingInfo_Call
- func (_c *MockEnrichedSmartState_NewestLeasingInfo_Call) Return(leaseInfo *proto.LeaseInfo, err error) *MockEnrichedSmartState_NewestLeasingInfo_Call
- func (_c *MockEnrichedSmartState_NewestLeasingInfo_Call) Run(run func(id crypto.Digest)) *MockEnrichedSmartState_NewestLeasingInfo_Call
- func (_c *MockEnrichedSmartState_NewestLeasingInfo_Call) RunAndReturn(run func(id crypto.Digest) (*proto.LeaseInfo, error)) *MockEnrichedSmartState_NewestLeasingInfo_Call
- type MockEnrichedSmartState_NewestRecipientToAddress_Call
- func (_c *MockEnrichedSmartState_NewestRecipientToAddress_Call) Return(wavesAddress proto.WavesAddress, err error) *MockEnrichedSmartState_NewestRecipientToAddress_Call
- func (_c *MockEnrichedSmartState_NewestRecipientToAddress_Call) Run(run func(recipient proto.Recipient)) *MockEnrichedSmartState_NewestRecipientToAddress_Call
- func (_c *MockEnrichedSmartState_NewestRecipientToAddress_Call) RunAndReturn(run func(recipient proto.Recipient) (proto.WavesAddress, error)) *MockEnrichedSmartState_NewestRecipientToAddress_Call
- type MockEnrichedSmartState_NewestScriptByAccount_Call
- func (_c *MockEnrichedSmartState_NewestScriptByAccount_Call) Return(tree *ast.Tree, err error) *MockEnrichedSmartState_NewestScriptByAccount_Call
- func (_c *MockEnrichedSmartState_NewestScriptByAccount_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_NewestScriptByAccount_Call
- func (_c *MockEnrichedSmartState_NewestScriptByAccount_Call) RunAndReturn(run func(account proto.Recipient) (*ast.Tree, error)) *MockEnrichedSmartState_NewestScriptByAccount_Call
- type MockEnrichedSmartState_NewestScriptByAsset_Call
- func (_c *MockEnrichedSmartState_NewestScriptByAsset_Call) Return(tree *ast.Tree, err error) *MockEnrichedSmartState_NewestScriptByAsset_Call
- func (_c *MockEnrichedSmartState_NewestScriptByAsset_Call) Run(run func(assetID crypto.Digest)) *MockEnrichedSmartState_NewestScriptByAsset_Call
- func (_c *MockEnrichedSmartState_NewestScriptByAsset_Call) RunAndReturn(run func(assetID crypto.Digest) (*ast.Tree, error)) *MockEnrichedSmartState_NewestScriptByAsset_Call
- type MockEnrichedSmartState_NewestScriptBytesByAccount_Call
- func (_c *MockEnrichedSmartState_NewestScriptBytesByAccount_Call) Return(script proto.Script, err error) *MockEnrichedSmartState_NewestScriptBytesByAccount_Call
- func (_c *MockEnrichedSmartState_NewestScriptBytesByAccount_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_NewestScriptBytesByAccount_Call
- func (_c *MockEnrichedSmartState_NewestScriptBytesByAccount_Call) RunAndReturn(run func(account proto.Recipient) (proto.Script, error)) *MockEnrichedSmartState_NewestScriptBytesByAccount_Call
- type MockEnrichedSmartState_NewestScriptPKByAddr_Call
- func (_c *MockEnrichedSmartState_NewestScriptPKByAddr_Call) Return(publicKey crypto.PublicKey, err error) *MockEnrichedSmartState_NewestScriptPKByAddr_Call
- func (_c *MockEnrichedSmartState_NewestScriptPKByAddr_Call) Run(run func(addr proto.WavesAddress)) *MockEnrichedSmartState_NewestScriptPKByAddr_Call
- func (_c *MockEnrichedSmartState_NewestScriptPKByAddr_Call) RunAndReturn(run func(addr proto.WavesAddress) (crypto.PublicKey, error)) *MockEnrichedSmartState_NewestScriptPKByAddr_Call
- type MockEnrichedSmartState_NewestTransactionByID_Call
- func (_c *MockEnrichedSmartState_NewestTransactionByID_Call) Return(transaction proto.Transaction, err error) *MockEnrichedSmartState_NewestTransactionByID_Call
- func (_c *MockEnrichedSmartState_NewestTransactionByID_Call) Run(run func(bytes []byte)) *MockEnrichedSmartState_NewestTransactionByID_Call
- func (_c *MockEnrichedSmartState_NewestTransactionByID_Call) RunAndReturn(run func(bytes []byte) (proto.Transaction, error)) *MockEnrichedSmartState_NewestTransactionByID_Call
- type MockEnrichedSmartState_NewestTransactionHeightByID_Call
- func (_c *MockEnrichedSmartState_NewestTransactionHeightByID_Call) Return(v uint64, err error) *MockEnrichedSmartState_NewestTransactionHeightByID_Call
- func (_c *MockEnrichedSmartState_NewestTransactionHeightByID_Call) Run(run func(bytes []byte)) *MockEnrichedSmartState_NewestTransactionHeightByID_Call
- func (_c *MockEnrichedSmartState_NewestTransactionHeightByID_Call) RunAndReturn(run func(bytes []byte) (uint64, error)) *MockEnrichedSmartState_NewestTransactionHeightByID_Call
- type MockEnrichedSmartState_NewestWavesBalance_Call
- func (_c *MockEnrichedSmartState_NewestWavesBalance_Call) Return(v uint64, err error) *MockEnrichedSmartState_NewestWavesBalance_Call
- func (_c *MockEnrichedSmartState_NewestWavesBalance_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_NewestWavesBalance_Call
- func (_c *MockEnrichedSmartState_NewestWavesBalance_Call) RunAndReturn(run func(account proto.Recipient) (uint64, error)) *MockEnrichedSmartState_NewestWavesBalance_Call
- type MockEnrichedSmartState_RetrieveEntries_Call
- func (_c *MockEnrichedSmartState_RetrieveEntries_Call) Return(dataEntrys []proto.DataEntry, err error) *MockEnrichedSmartState_RetrieveEntries_Call
- func (_c *MockEnrichedSmartState_RetrieveEntries_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_RetrieveEntries_Call
- func (_c *MockEnrichedSmartState_RetrieveEntries_Call) RunAndReturn(run func(account proto.Recipient) ([]proto.DataEntry, error)) *MockEnrichedSmartState_RetrieveEntries_Call
- type MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) Return(binaryDataEntry *proto.BinaryDataEntry, err error) *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) Run(run func(account proto.Recipient, key string)) *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)) *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
- type MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) Return(booleanDataEntry *proto.BooleanDataEntry, err error) *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) Run(run func(account proto.Recipient, key string)) *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)) *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
- type MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) Return(integerDataEntry *proto.IntegerDataEntry, err error) *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) Run(run func(account proto.Recipient, key string)) *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)) *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
- type MockEnrichedSmartState_RetrieveNewestStringEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestStringEntry_Call) Return(stringDataEntry *proto.StringDataEntry, err error) *MockEnrichedSmartState_RetrieveNewestStringEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestStringEntry_Call) Run(run func(account proto.Recipient, key string)) *MockEnrichedSmartState_RetrieveNewestStringEntry_Call
- func (_c *MockEnrichedSmartState_RetrieveNewestStringEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.StringDataEntry, error)) *MockEnrichedSmartState_RetrieveNewestStringEntry_Call
- type MockEnrichedSmartState_WavesBalanceProfile_Call
- func (_c *MockEnrichedSmartState_WavesBalanceProfile_Call) Return(wavesBalanceProfile *WavesBalanceProfile, err error) *MockEnrichedSmartState_WavesBalanceProfile_Call
- func (_c *MockEnrichedSmartState_WavesBalanceProfile_Call) Run(run func(id proto.AddressID)) *MockEnrichedSmartState_WavesBalanceProfile_Call
- func (_c *MockEnrichedSmartState_WavesBalanceProfile_Call) RunAndReturn(run func(id proto.AddressID) (*WavesBalanceProfile, error)) *MockEnrichedSmartState_WavesBalanceProfile_Call
- type MockSmartState
- func (_mock *MockSmartState) AddingBlockHeight() (uint64, error)
- func (_m *MockSmartState) EXPECT() *MockSmartState_Expecter
- func (_mock *MockSmartState) EstimatorVersion() (int, error)
- func (_mock *MockSmartState) IsNotFound(err error) bool
- func (_mock *MockSmartState) IsStateUntouched(account proto.Recipient) (bool, error)
- func (_mock *MockSmartState) NewestAddrByAlias(alias proto.Alias) (proto.WavesAddress, error)
- func (_mock *MockSmartState) NewestAssetBalance(account proto.Recipient, assetID crypto.Digest) (uint64, error)
- func (_mock *MockSmartState) NewestAssetConstInfo(assetID proto.AssetID) (*proto.AssetConstInfo, error)
- func (_mock *MockSmartState) NewestAssetInfo(assetID crypto.Digest) (*proto.AssetInfo, error)
- func (_mock *MockSmartState) NewestAssetIsSponsored(assetID crypto.Digest) (bool, error)
- func (_mock *MockSmartState) NewestBlockInfoByHeight(height proto.Height) (*proto.BlockInfo, error)
- func (_mock *MockSmartState) NewestFullAssetInfo(assetID crypto.Digest) (*proto.FullAssetInfo, error)
- func (_mock *MockSmartState) NewestFullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)
- func (_mock *MockSmartState) NewestLeasingInfo(id crypto.Digest) (*proto.LeaseInfo, error)
- func (_mock *MockSmartState) NewestRecipientToAddress(recipient proto.Recipient) (proto.WavesAddress, error)
- func (_mock *MockSmartState) NewestScriptByAccount(account proto.Recipient) (*ast.Tree, error)
- func (_mock *MockSmartState) NewestScriptByAsset(assetID crypto.Digest) (*ast.Tree, error)
- func (_mock *MockSmartState) NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)
- func (_mock *MockSmartState) NewestScriptPKByAddr(addr proto.WavesAddress) (crypto.PublicKey, error)
- func (_mock *MockSmartState) NewestTransactionByID(bytes []byte) (proto.Transaction, error)
- func (_mock *MockSmartState) NewestTransactionHeightByID(bytes []byte) (uint64, error)
- func (_mock *MockSmartState) NewestWavesBalance(account proto.Recipient) (uint64, error)
- func (_mock *MockSmartState) RetrieveEntries(account proto.Recipient) ([]proto.DataEntry, error)
- func (_mock *MockSmartState) RetrieveNewestBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
- func (_mock *MockSmartState) RetrieveNewestBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
- func (_mock *MockSmartState) RetrieveNewestIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
- func (_mock *MockSmartState) RetrieveNewestStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
- type MockSmartState_AddingBlockHeight_Call
- func (_c *MockSmartState_AddingBlockHeight_Call) Return(v uint64, err error) *MockSmartState_AddingBlockHeight_Call
- func (_c *MockSmartState_AddingBlockHeight_Call) Run(run func()) *MockSmartState_AddingBlockHeight_Call
- func (_c *MockSmartState_AddingBlockHeight_Call) RunAndReturn(run func() (uint64, error)) *MockSmartState_AddingBlockHeight_Call
- type MockSmartState_EstimatorVersion_Call
- func (_c *MockSmartState_EstimatorVersion_Call) Return(n int, err error) *MockSmartState_EstimatorVersion_Call
- func (_c *MockSmartState_EstimatorVersion_Call) Run(run func()) *MockSmartState_EstimatorVersion_Call
- func (_c *MockSmartState_EstimatorVersion_Call) RunAndReturn(run func() (int, error)) *MockSmartState_EstimatorVersion_Call
- type MockSmartState_Expecter
- func (_e *MockSmartState_Expecter) AddingBlockHeight() *MockSmartState_AddingBlockHeight_Call
- func (_e *MockSmartState_Expecter) EstimatorVersion() *MockSmartState_EstimatorVersion_Call
- func (_e *MockSmartState_Expecter) IsNotFound(err interface{}) *MockSmartState_IsNotFound_Call
- func (_e *MockSmartState_Expecter) IsStateUntouched(account interface{}) *MockSmartState_IsStateUntouched_Call
- func (_e *MockSmartState_Expecter) NewestAddrByAlias(alias interface{}) *MockSmartState_NewestAddrByAlias_Call
- func (_e *MockSmartState_Expecter) NewestAssetBalance(account interface{}, assetID interface{}) *MockSmartState_NewestAssetBalance_Call
- func (_e *MockSmartState_Expecter) NewestAssetConstInfo(assetID interface{}) *MockSmartState_NewestAssetConstInfo_Call
- func (_e *MockSmartState_Expecter) NewestAssetInfo(assetID interface{}) *MockSmartState_NewestAssetInfo_Call
- func (_e *MockSmartState_Expecter) NewestAssetIsSponsored(assetID interface{}) *MockSmartState_NewestAssetIsSponsored_Call
- func (_e *MockSmartState_Expecter) NewestBlockInfoByHeight(height interface{}) *MockSmartState_NewestBlockInfoByHeight_Call
- func (_e *MockSmartState_Expecter) NewestFullAssetInfo(assetID interface{}) *MockSmartState_NewestFullAssetInfo_Call
- func (_e *MockSmartState_Expecter) NewestFullWavesBalance(account interface{}) *MockSmartState_NewestFullWavesBalance_Call
- func (_e *MockSmartState_Expecter) NewestLeasingInfo(id interface{}) *MockSmartState_NewestLeasingInfo_Call
- func (_e *MockSmartState_Expecter) NewestRecipientToAddress(recipient interface{}) *MockSmartState_NewestRecipientToAddress_Call
- func (_e *MockSmartState_Expecter) NewestScriptByAccount(account interface{}) *MockSmartState_NewestScriptByAccount_Call
- func (_e *MockSmartState_Expecter) NewestScriptByAsset(assetID interface{}) *MockSmartState_NewestScriptByAsset_Call
- func (_e *MockSmartState_Expecter) NewestScriptBytesByAccount(account interface{}) *MockSmartState_NewestScriptBytesByAccount_Call
- func (_e *MockSmartState_Expecter) NewestScriptPKByAddr(addr interface{}) *MockSmartState_NewestScriptPKByAddr_Call
- func (_e *MockSmartState_Expecter) NewestTransactionByID(bytes interface{}) *MockSmartState_NewestTransactionByID_Call
- func (_e *MockSmartState_Expecter) NewestTransactionHeightByID(bytes interface{}) *MockSmartState_NewestTransactionHeightByID_Call
- func (_e *MockSmartState_Expecter) NewestWavesBalance(account interface{}) *MockSmartState_NewestWavesBalance_Call
- func (_e *MockSmartState_Expecter) RetrieveEntries(account interface{}) *MockSmartState_RetrieveEntries_Call
- func (_e *MockSmartState_Expecter) RetrieveNewestBinaryEntry(account interface{}, key interface{}) *MockSmartState_RetrieveNewestBinaryEntry_Call
- func (_e *MockSmartState_Expecter) RetrieveNewestBooleanEntry(account interface{}, key interface{}) *MockSmartState_RetrieveNewestBooleanEntry_Call
- func (_e *MockSmartState_Expecter) RetrieveNewestIntegerEntry(account interface{}, key interface{}) *MockSmartState_RetrieveNewestIntegerEntry_Call
- func (_e *MockSmartState_Expecter) RetrieveNewestStringEntry(account interface{}, key interface{}) *MockSmartState_RetrieveNewestStringEntry_Call
- type MockSmartState_IsNotFound_Call
- func (_c *MockSmartState_IsNotFound_Call) Return(b bool) *MockSmartState_IsNotFound_Call
- func (_c *MockSmartState_IsNotFound_Call) Run(run func(err error)) *MockSmartState_IsNotFound_Call
- func (_c *MockSmartState_IsNotFound_Call) RunAndReturn(run func(err error) bool) *MockSmartState_IsNotFound_Call
- type MockSmartState_IsStateUntouched_Call
- func (_c *MockSmartState_IsStateUntouched_Call) Return(b bool, err error) *MockSmartState_IsStateUntouched_Call
- func (_c *MockSmartState_IsStateUntouched_Call) Run(run func(account proto.Recipient)) *MockSmartState_IsStateUntouched_Call
- func (_c *MockSmartState_IsStateUntouched_Call) RunAndReturn(run func(account proto.Recipient) (bool, error)) *MockSmartState_IsStateUntouched_Call
- type MockSmartState_NewestAddrByAlias_Call
- func (_c *MockSmartState_NewestAddrByAlias_Call) Return(wavesAddress proto.WavesAddress, err error) *MockSmartState_NewestAddrByAlias_Call
- func (_c *MockSmartState_NewestAddrByAlias_Call) Run(run func(alias proto.Alias)) *MockSmartState_NewestAddrByAlias_Call
- func (_c *MockSmartState_NewestAddrByAlias_Call) RunAndReturn(run func(alias proto.Alias) (proto.WavesAddress, error)) *MockSmartState_NewestAddrByAlias_Call
- type MockSmartState_NewestAssetBalance_Call
- func (_c *MockSmartState_NewestAssetBalance_Call) Return(v uint64, err error) *MockSmartState_NewestAssetBalance_Call
- func (_c *MockSmartState_NewestAssetBalance_Call) Run(run func(account proto.Recipient, assetID crypto.Digest)) *MockSmartState_NewestAssetBalance_Call
- func (_c *MockSmartState_NewestAssetBalance_Call) RunAndReturn(run func(account proto.Recipient, assetID crypto.Digest) (uint64, error)) *MockSmartState_NewestAssetBalance_Call
- type MockSmartState_NewestAssetConstInfo_Call
- func (_c *MockSmartState_NewestAssetConstInfo_Call) Return(assetConstInfo *proto.AssetConstInfo, err error) *MockSmartState_NewestAssetConstInfo_Call
- func (_c *MockSmartState_NewestAssetConstInfo_Call) Run(run func(assetID proto.AssetID)) *MockSmartState_NewestAssetConstInfo_Call
- func (_c *MockSmartState_NewestAssetConstInfo_Call) RunAndReturn(run func(assetID proto.AssetID) (*proto.AssetConstInfo, error)) *MockSmartState_NewestAssetConstInfo_Call
- type MockSmartState_NewestAssetInfo_Call
- func (_c *MockSmartState_NewestAssetInfo_Call) Return(assetInfo *proto.AssetInfo, err error) *MockSmartState_NewestAssetInfo_Call
- func (_c *MockSmartState_NewestAssetInfo_Call) Run(run func(assetID crypto.Digest)) *MockSmartState_NewestAssetInfo_Call
- func (_c *MockSmartState_NewestAssetInfo_Call) RunAndReturn(run func(assetID crypto.Digest) (*proto.AssetInfo, error)) *MockSmartState_NewestAssetInfo_Call
- type MockSmartState_NewestAssetIsSponsored_Call
- func (_c *MockSmartState_NewestAssetIsSponsored_Call) Return(b bool, err error) *MockSmartState_NewestAssetIsSponsored_Call
- func (_c *MockSmartState_NewestAssetIsSponsored_Call) Run(run func(assetID crypto.Digest)) *MockSmartState_NewestAssetIsSponsored_Call
- func (_c *MockSmartState_NewestAssetIsSponsored_Call) RunAndReturn(run func(assetID crypto.Digest) (bool, error)) *MockSmartState_NewestAssetIsSponsored_Call
- type MockSmartState_NewestBlockInfoByHeight_Call
- func (_c *MockSmartState_NewestBlockInfoByHeight_Call) Return(blockInfo *proto.BlockInfo, err error) *MockSmartState_NewestBlockInfoByHeight_Call
- func (_c *MockSmartState_NewestBlockInfoByHeight_Call) Run(run func(height proto.Height)) *MockSmartState_NewestBlockInfoByHeight_Call
- func (_c *MockSmartState_NewestBlockInfoByHeight_Call) RunAndReturn(run func(height proto.Height) (*proto.BlockInfo, error)) *MockSmartState_NewestBlockInfoByHeight_Call
- type MockSmartState_NewestFullAssetInfo_Call
- func (_c *MockSmartState_NewestFullAssetInfo_Call) Return(fullAssetInfo *proto.FullAssetInfo, err error) *MockSmartState_NewestFullAssetInfo_Call
- func (_c *MockSmartState_NewestFullAssetInfo_Call) Run(run func(assetID crypto.Digest)) *MockSmartState_NewestFullAssetInfo_Call
- func (_c *MockSmartState_NewestFullAssetInfo_Call) RunAndReturn(run func(assetID crypto.Digest) (*proto.FullAssetInfo, error)) *MockSmartState_NewestFullAssetInfo_Call
- type MockSmartState_NewestFullWavesBalance_Call
- func (_c *MockSmartState_NewestFullWavesBalance_Call) Return(fullWavesBalance *proto.FullWavesBalance, err error) *MockSmartState_NewestFullWavesBalance_Call
- func (_c *MockSmartState_NewestFullWavesBalance_Call) Run(run func(account proto.Recipient)) *MockSmartState_NewestFullWavesBalance_Call
- func (_c *MockSmartState_NewestFullWavesBalance_Call) RunAndReturn(run func(account proto.Recipient) (*proto.FullWavesBalance, error)) *MockSmartState_NewestFullWavesBalance_Call
- type MockSmartState_NewestLeasingInfo_Call
- func (_c *MockSmartState_NewestLeasingInfo_Call) Return(leaseInfo *proto.LeaseInfo, err error) *MockSmartState_NewestLeasingInfo_Call
- func (_c *MockSmartState_NewestLeasingInfo_Call) Run(run func(id crypto.Digest)) *MockSmartState_NewestLeasingInfo_Call
- func (_c *MockSmartState_NewestLeasingInfo_Call) RunAndReturn(run func(id crypto.Digest) (*proto.LeaseInfo, error)) *MockSmartState_NewestLeasingInfo_Call
- type MockSmartState_NewestRecipientToAddress_Call
- func (_c *MockSmartState_NewestRecipientToAddress_Call) Return(wavesAddress proto.WavesAddress, err error) *MockSmartState_NewestRecipientToAddress_Call
- func (_c *MockSmartState_NewestRecipientToAddress_Call) Run(run func(recipient proto.Recipient)) *MockSmartState_NewestRecipientToAddress_Call
- func (_c *MockSmartState_NewestRecipientToAddress_Call) RunAndReturn(run func(recipient proto.Recipient) (proto.WavesAddress, error)) *MockSmartState_NewestRecipientToAddress_Call
- type MockSmartState_NewestScriptByAccount_Call
- func (_c *MockSmartState_NewestScriptByAccount_Call) Return(tree *ast.Tree, err error) *MockSmartState_NewestScriptByAccount_Call
- func (_c *MockSmartState_NewestScriptByAccount_Call) Run(run func(account proto.Recipient)) *MockSmartState_NewestScriptByAccount_Call
- func (_c *MockSmartState_NewestScriptByAccount_Call) RunAndReturn(run func(account proto.Recipient) (*ast.Tree, error)) *MockSmartState_NewestScriptByAccount_Call
- type MockSmartState_NewestScriptByAsset_Call
- func (_c *MockSmartState_NewestScriptByAsset_Call) Return(tree *ast.Tree, err error) *MockSmartState_NewestScriptByAsset_Call
- func (_c *MockSmartState_NewestScriptByAsset_Call) Run(run func(assetID crypto.Digest)) *MockSmartState_NewestScriptByAsset_Call
- func (_c *MockSmartState_NewestScriptByAsset_Call) RunAndReturn(run func(assetID crypto.Digest) (*ast.Tree, error)) *MockSmartState_NewestScriptByAsset_Call
- type MockSmartState_NewestScriptBytesByAccount_Call
- func (_c *MockSmartState_NewestScriptBytesByAccount_Call) Return(script proto.Script, err error) *MockSmartState_NewestScriptBytesByAccount_Call
- func (_c *MockSmartState_NewestScriptBytesByAccount_Call) Run(run func(account proto.Recipient)) *MockSmartState_NewestScriptBytesByAccount_Call
- func (_c *MockSmartState_NewestScriptBytesByAccount_Call) RunAndReturn(run func(account proto.Recipient) (proto.Script, error)) *MockSmartState_NewestScriptBytesByAccount_Call
- type MockSmartState_NewestScriptPKByAddr_Call
- func (_c *MockSmartState_NewestScriptPKByAddr_Call) Return(publicKey crypto.PublicKey, err error) *MockSmartState_NewestScriptPKByAddr_Call
- func (_c *MockSmartState_NewestScriptPKByAddr_Call) Run(run func(addr proto.WavesAddress)) *MockSmartState_NewestScriptPKByAddr_Call
- func (_c *MockSmartState_NewestScriptPKByAddr_Call) RunAndReturn(run func(addr proto.WavesAddress) (crypto.PublicKey, error)) *MockSmartState_NewestScriptPKByAddr_Call
- type MockSmartState_NewestTransactionByID_Call
- func (_c *MockSmartState_NewestTransactionByID_Call) Return(transaction proto.Transaction, err error) *MockSmartState_NewestTransactionByID_Call
- func (_c *MockSmartState_NewestTransactionByID_Call) Run(run func(bytes []byte)) *MockSmartState_NewestTransactionByID_Call
- func (_c *MockSmartState_NewestTransactionByID_Call) RunAndReturn(run func(bytes []byte) (proto.Transaction, error)) *MockSmartState_NewestTransactionByID_Call
- type MockSmartState_NewestTransactionHeightByID_Call
- func (_c *MockSmartState_NewestTransactionHeightByID_Call) Return(v uint64, err error) *MockSmartState_NewestTransactionHeightByID_Call
- func (_c *MockSmartState_NewestTransactionHeightByID_Call) Run(run func(bytes []byte)) *MockSmartState_NewestTransactionHeightByID_Call
- func (_c *MockSmartState_NewestTransactionHeightByID_Call) RunAndReturn(run func(bytes []byte) (uint64, error)) *MockSmartState_NewestTransactionHeightByID_Call
- type MockSmartState_NewestWavesBalance_Call
- func (_c *MockSmartState_NewestWavesBalance_Call) Return(v uint64, err error) *MockSmartState_NewestWavesBalance_Call
- func (_c *MockSmartState_NewestWavesBalance_Call) Run(run func(account proto.Recipient)) *MockSmartState_NewestWavesBalance_Call
- func (_c *MockSmartState_NewestWavesBalance_Call) RunAndReturn(run func(account proto.Recipient) (uint64, error)) *MockSmartState_NewestWavesBalance_Call
- type MockSmartState_RetrieveEntries_Call
- func (_c *MockSmartState_RetrieveEntries_Call) Return(dataEntrys []proto.DataEntry, err error) *MockSmartState_RetrieveEntries_Call
- func (_c *MockSmartState_RetrieveEntries_Call) Run(run func(account proto.Recipient)) *MockSmartState_RetrieveEntries_Call
- func (_c *MockSmartState_RetrieveEntries_Call) RunAndReturn(run func(account proto.Recipient) ([]proto.DataEntry, error)) *MockSmartState_RetrieveEntries_Call
- type MockSmartState_RetrieveNewestBinaryEntry_Call
- func (_c *MockSmartState_RetrieveNewestBinaryEntry_Call) Return(binaryDataEntry *proto.BinaryDataEntry, err error) *MockSmartState_RetrieveNewestBinaryEntry_Call
- func (_c *MockSmartState_RetrieveNewestBinaryEntry_Call) Run(run func(account proto.Recipient, key string)) *MockSmartState_RetrieveNewestBinaryEntry_Call
- func (_c *MockSmartState_RetrieveNewestBinaryEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)) *MockSmartState_RetrieveNewestBinaryEntry_Call
- type MockSmartState_RetrieveNewestBooleanEntry_Call
- func (_c *MockSmartState_RetrieveNewestBooleanEntry_Call) Return(booleanDataEntry *proto.BooleanDataEntry, err error) *MockSmartState_RetrieveNewestBooleanEntry_Call
- func (_c *MockSmartState_RetrieveNewestBooleanEntry_Call) Run(run func(account proto.Recipient, key string)) *MockSmartState_RetrieveNewestBooleanEntry_Call
- func (_c *MockSmartState_RetrieveNewestBooleanEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)) *MockSmartState_RetrieveNewestBooleanEntry_Call
- type MockSmartState_RetrieveNewestIntegerEntry_Call
- func (_c *MockSmartState_RetrieveNewestIntegerEntry_Call) Return(integerDataEntry *proto.IntegerDataEntry, err error) *MockSmartState_RetrieveNewestIntegerEntry_Call
- func (_c *MockSmartState_RetrieveNewestIntegerEntry_Call) Run(run func(account proto.Recipient, key string)) *MockSmartState_RetrieveNewestIntegerEntry_Call
- func (_c *MockSmartState_RetrieveNewestIntegerEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)) *MockSmartState_RetrieveNewestIntegerEntry_Call
- type MockSmartState_RetrieveNewestStringEntry_Call
- func (_c *MockSmartState_RetrieveNewestStringEntry_Call) Return(stringDataEntry *proto.StringDataEntry, err error) *MockSmartState_RetrieveNewestStringEntry_Call
- func (_c *MockSmartState_RetrieveNewestStringEntry_Call) Run(run func(account proto.Recipient, key string)) *MockSmartState_RetrieveNewestStringEntry_Call
- func (_c *MockSmartState_RetrieveNewestStringEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.StringDataEntry, error)) *MockSmartState_RetrieveNewestStringEntry_Call
- type Scheduler
- type ScoreSender
- type SmartState
- type StateSync
- type Subscribe
- type Time
- type TransactionWithBytes
- type UtxPool
- type UtxPoolValidatorState
- type WavesBalanceProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTarget ¶ added in v0.5.0
type BaseTarget = uint64
type EmbeddedWallet ¶ added in v0.5.0
type EmbeddedWallet interface {
SignTransactionWith(pk crypto.PublicKey, tx proto.Transaction) error
FindPublicKeyByAddress(address proto.WavesAddress, scheme proto.Scheme) (crypto.PublicKey, error)
BLSPairByWavesPK(publicKey crypto.PublicKey) (bls.SecretKey, bls.PublicKey, error)
Load(password []byte) error
AccountSeeds() [][]byte
KeyPairsBLS() ([]bls.PublicKey, []bls.SecretKey, error)
}
type EndorsementPool ¶ added in v0.11.0
type EndorsementPool interface {
Add(e *proto.EndorseBlock, endorserPublicKey bls.PublicKey,
lastFinalizedHeight proto.Height, lastFinalizedBlockID proto.BlockID, balance uint64,
parentBlockID proto.BlockID) (bool, error)
GetAll() []proto.EndorseBlock
GetEndorsers() []bls.PublicKey
SaveBlockGenerator(blockGenerator *crypto.PublicKey)
BlockGenerator() (crypto.PublicKey, error)
FormFinalization(lastFinalizationHeight proto.Height) (proto.FinalizationVoting, error)
Verify() (bool, error)
Len() int
CleanAll()
}
EndorsementPool storage interface.
type EnrichedSmartState ¶ added in v0.11.0
type EnrichedSmartState interface {
SmartState
// WavesBalanceProfile returns WavesBalanceProfile structure retrieved by proto.AddressID of an account.
// This function always returns the newest available state of Waves balance of account.
// Thought, it can't be used during transaction processing, because the state does no hold changes between txs.
// The method must be used ONLY in the Ride environment for retrieving data from state.
// The boundaries of the generating balance are calculated for the current height of applying block,
// instead of the last block height.
//
// For example, for the block validation we are use min effective balance of the account from height 1 to 1000.
// This function uses heights from 2 to 1001, where 1001 is the height of the applying block.
// All changes of effective balance during the applying block are affecting the generating balance.
WavesBalanceProfile(id proto.AddressID) (*WavesBalanceProfile, error)
// NewestAssetBalanceByAddressID returns the most actual asset balance by given proto.AddressID and
// assets crypto.Digest.
NewestAssetBalanceByAddressID(id proto.AddressID, asset crypto.Digest) (uint64, error)
}
EnrichedSmartState is enriched SmartState interface for ride WrappedState. So it also can be used as SmartState interface.
type Handler ¶
type Handler interface {
Handle()
}
Handler is an abstract function that called when an event happens.
type InvRequester ¶ added in v0.5.0
type InvRequester interface {
Request(MessageSender, []byte)
}
type MessageSender ¶ added in v0.5.0
type MinerConsensus ¶ added in v0.5.0
type MinerConsensus interface {
IsMiningAllowed() bool
}
type MockEnrichedSmartState ¶ added in v0.11.0
MockEnrichedSmartState is an autogenerated mock type for the EnrichedSmartState type
func NewMockEnrichedSmartState ¶ added in v0.11.0
func NewMockEnrichedSmartState(t interface {
mock.TestingT
Cleanup(func())
}) *MockEnrichedSmartState
NewMockEnrichedSmartState creates a new instance of MockEnrichedSmartState. 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 (*MockEnrichedSmartState) AddingBlockHeight ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) AddingBlockHeight() (uint64, error)
AddingBlockHeight provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) EXPECT ¶ added in v0.11.0
func (_m *MockEnrichedSmartState) EXPECT() *MockEnrichedSmartState_Expecter
func (*MockEnrichedSmartState) EstimatorVersion ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) EstimatorVersion() (int, error)
EstimatorVersion provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) IsNotFound ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) IsNotFound(err error) bool
IsNotFound provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) IsStateUntouched ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) IsStateUntouched(account proto.Recipient) (bool, error)
IsStateUntouched provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestAddrByAlias ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestAddrByAlias(alias proto.Alias) (proto.WavesAddress, error)
NewestAddrByAlias provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestAssetBalance ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestAssetBalance(account proto.Recipient, assetID crypto.Digest) (uint64, error)
NewestAssetBalance provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestAssetBalanceByAddressID ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestAssetBalanceByAddressID(id proto.AddressID, asset crypto.Digest) (uint64, error)
NewestAssetBalanceByAddressID provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestAssetConstInfo ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestAssetConstInfo(assetID proto.AssetID) (*proto.AssetConstInfo, error)
NewestAssetConstInfo provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestAssetInfo ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestAssetInfo(assetID crypto.Digest) (*proto.AssetInfo, error)
NewestAssetInfo provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestAssetIsSponsored ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestAssetIsSponsored(assetID crypto.Digest) (bool, error)
NewestAssetIsSponsored provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestBlockInfoByHeight ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestBlockInfoByHeight(height proto.Height) (*proto.BlockInfo, error)
NewestBlockInfoByHeight provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestFullAssetInfo ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestFullAssetInfo(assetID crypto.Digest) (*proto.FullAssetInfo, error)
NewestFullAssetInfo provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestFullWavesBalance ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestFullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)
NewestFullWavesBalance provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestLeasingInfo ¶ added in v0.11.0
NewestLeasingInfo provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestRecipientToAddress ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestRecipientToAddress(recipient proto.Recipient) (proto.WavesAddress, error)
NewestRecipientToAddress provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestScriptByAccount ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestScriptByAccount(account proto.Recipient) (*ast.Tree, error)
NewestScriptByAccount provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestScriptByAsset ¶ added in v0.11.0
NewestScriptByAsset provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestScriptBytesByAccount ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)
NewestScriptBytesByAccount provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestScriptPKByAddr ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestScriptPKByAddr(addr proto.WavesAddress) (crypto.PublicKey, error)
NewestScriptPKByAddr provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestTransactionByID ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestTransactionByID(bytes []byte) (proto.Transaction, error)
NewestTransactionByID provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestTransactionHeightByID ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestTransactionHeightByID(bytes []byte) (uint64, error)
NewestTransactionHeightByID provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) NewestWavesBalance ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) NewestWavesBalance(account proto.Recipient) (uint64, error)
NewestWavesBalance provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) RetrieveEntries ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) RetrieveEntries(account proto.Recipient) ([]proto.DataEntry, error)
RetrieveEntries provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) RetrieveNewestBinaryEntry ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) RetrieveNewestBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
RetrieveNewestBinaryEntry provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) RetrieveNewestBooleanEntry ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) RetrieveNewestBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
RetrieveNewestBooleanEntry provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) RetrieveNewestIntegerEntry ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) RetrieveNewestIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
RetrieveNewestIntegerEntry provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) RetrieveNewestStringEntry ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) RetrieveNewestStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
RetrieveNewestStringEntry provides a mock function for the type MockEnrichedSmartState
func (*MockEnrichedSmartState) WavesBalanceProfile ¶ added in v0.11.0
func (_mock *MockEnrichedSmartState) WavesBalanceProfile(id proto.AddressID) (*WavesBalanceProfile, error)
WavesBalanceProfile provides a mock function for the type MockEnrichedSmartState
type MockEnrichedSmartState_AddingBlockHeight_Call ¶ added in v0.11.0
MockEnrichedSmartState_AddingBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddingBlockHeight'
func (*MockEnrichedSmartState_AddingBlockHeight_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_AddingBlockHeight_Call) Return(v uint64, err error) *MockEnrichedSmartState_AddingBlockHeight_Call
func (*MockEnrichedSmartState_AddingBlockHeight_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_AddingBlockHeight_Call) Run(run func()) *MockEnrichedSmartState_AddingBlockHeight_Call
func (*MockEnrichedSmartState_AddingBlockHeight_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_AddingBlockHeight_Call) RunAndReturn(run func() (uint64, error)) *MockEnrichedSmartState_AddingBlockHeight_Call
type MockEnrichedSmartState_EstimatorVersion_Call ¶ added in v0.11.0
MockEnrichedSmartState_EstimatorVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimatorVersion'
func (*MockEnrichedSmartState_EstimatorVersion_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_EstimatorVersion_Call) Return(n int, err error) *MockEnrichedSmartState_EstimatorVersion_Call
func (*MockEnrichedSmartState_EstimatorVersion_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_EstimatorVersion_Call) Run(run func()) *MockEnrichedSmartState_EstimatorVersion_Call
func (*MockEnrichedSmartState_EstimatorVersion_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_EstimatorVersion_Call) RunAndReturn(run func() (int, error)) *MockEnrichedSmartState_EstimatorVersion_Call
type MockEnrichedSmartState_Expecter ¶ added in v0.11.0
type MockEnrichedSmartState_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEnrichedSmartState_Expecter) AddingBlockHeight ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) AddingBlockHeight() *MockEnrichedSmartState_AddingBlockHeight_Call
AddingBlockHeight is a helper method to define mock.On call
func (*MockEnrichedSmartState_Expecter) EstimatorVersion ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) EstimatorVersion() *MockEnrichedSmartState_EstimatorVersion_Call
EstimatorVersion is a helper method to define mock.On call
func (*MockEnrichedSmartState_Expecter) IsNotFound ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) IsNotFound(err interface{}) *MockEnrichedSmartState_IsNotFound_Call
IsNotFound is a helper method to define mock.On call
- err error
func (*MockEnrichedSmartState_Expecter) IsStateUntouched ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) IsStateUntouched(account interface{}) *MockEnrichedSmartState_IsStateUntouched_Call
IsStateUntouched is a helper method to define mock.On call
- account proto.Recipient
func (*MockEnrichedSmartState_Expecter) NewestAddrByAlias ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestAddrByAlias(alias interface{}) *MockEnrichedSmartState_NewestAddrByAlias_Call
NewestAddrByAlias is a helper method to define mock.On call
- alias proto.Alias
func (*MockEnrichedSmartState_Expecter) NewestAssetBalance ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestAssetBalance(account interface{}, assetID interface{}) *MockEnrichedSmartState_NewestAssetBalance_Call
NewestAssetBalance is a helper method to define mock.On call
- account proto.Recipient
- assetID crypto.Digest
func (*MockEnrichedSmartState_Expecter) NewestAssetBalanceByAddressID ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestAssetBalanceByAddressID(id interface{}, asset interface{}) *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call
NewestAssetBalanceByAddressID is a helper method to define mock.On call
- id proto.AddressID
- asset crypto.Digest
func (*MockEnrichedSmartState_Expecter) NewestAssetConstInfo ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestAssetConstInfo(assetID interface{}) *MockEnrichedSmartState_NewestAssetConstInfo_Call
NewestAssetConstInfo is a helper method to define mock.On call
- assetID proto.AssetID
func (*MockEnrichedSmartState_Expecter) NewestAssetInfo ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestAssetInfo(assetID interface{}) *MockEnrichedSmartState_NewestAssetInfo_Call
NewestAssetInfo is a helper method to define mock.On call
- assetID crypto.Digest
func (*MockEnrichedSmartState_Expecter) NewestAssetIsSponsored ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestAssetIsSponsored(assetID interface{}) *MockEnrichedSmartState_NewestAssetIsSponsored_Call
NewestAssetIsSponsored is a helper method to define mock.On call
- assetID crypto.Digest
func (*MockEnrichedSmartState_Expecter) NewestBlockInfoByHeight ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestBlockInfoByHeight(height interface{}) *MockEnrichedSmartState_NewestBlockInfoByHeight_Call
NewestBlockInfoByHeight is a helper method to define mock.On call
- height proto.Height
func (*MockEnrichedSmartState_Expecter) NewestFullAssetInfo ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestFullAssetInfo(assetID interface{}) *MockEnrichedSmartState_NewestFullAssetInfo_Call
NewestFullAssetInfo is a helper method to define mock.On call
- assetID crypto.Digest
func (*MockEnrichedSmartState_Expecter) NewestFullWavesBalance ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestFullWavesBalance(account interface{}) *MockEnrichedSmartState_NewestFullWavesBalance_Call
NewestFullWavesBalance is a helper method to define mock.On call
- account proto.Recipient
func (*MockEnrichedSmartState_Expecter) NewestLeasingInfo ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestLeasingInfo(id interface{}) *MockEnrichedSmartState_NewestLeasingInfo_Call
NewestLeasingInfo is a helper method to define mock.On call
- id crypto.Digest
func (*MockEnrichedSmartState_Expecter) NewestRecipientToAddress ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestRecipientToAddress(recipient interface{}) *MockEnrichedSmartState_NewestRecipientToAddress_Call
NewestRecipientToAddress is a helper method to define mock.On call
- recipient proto.Recipient
func (*MockEnrichedSmartState_Expecter) NewestScriptByAccount ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestScriptByAccount(account interface{}) *MockEnrichedSmartState_NewestScriptByAccount_Call
NewestScriptByAccount is a helper method to define mock.On call
- account proto.Recipient
func (*MockEnrichedSmartState_Expecter) NewestScriptByAsset ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestScriptByAsset(assetID interface{}) *MockEnrichedSmartState_NewestScriptByAsset_Call
NewestScriptByAsset is a helper method to define mock.On call
- assetID crypto.Digest
func (*MockEnrichedSmartState_Expecter) NewestScriptBytesByAccount ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestScriptBytesByAccount(account interface{}) *MockEnrichedSmartState_NewestScriptBytesByAccount_Call
NewestScriptBytesByAccount is a helper method to define mock.On call
- account proto.Recipient
func (*MockEnrichedSmartState_Expecter) NewestScriptPKByAddr ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestScriptPKByAddr(addr interface{}) *MockEnrichedSmartState_NewestScriptPKByAddr_Call
NewestScriptPKByAddr is a helper method to define mock.On call
- addr proto.WavesAddress
func (*MockEnrichedSmartState_Expecter) NewestTransactionByID ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestTransactionByID(bytes interface{}) *MockEnrichedSmartState_NewestTransactionByID_Call
NewestTransactionByID is a helper method to define mock.On call
- bytes []byte
func (*MockEnrichedSmartState_Expecter) NewestTransactionHeightByID ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestTransactionHeightByID(bytes interface{}) *MockEnrichedSmartState_NewestTransactionHeightByID_Call
NewestTransactionHeightByID is a helper method to define mock.On call
- bytes []byte
func (*MockEnrichedSmartState_Expecter) NewestWavesBalance ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) NewestWavesBalance(account interface{}) *MockEnrichedSmartState_NewestWavesBalance_Call
NewestWavesBalance is a helper method to define mock.On call
- account proto.Recipient
func (*MockEnrichedSmartState_Expecter) RetrieveEntries ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) RetrieveEntries(account interface{}) *MockEnrichedSmartState_RetrieveEntries_Call
RetrieveEntries is a helper method to define mock.On call
- account proto.Recipient
func (*MockEnrichedSmartState_Expecter) RetrieveNewestBinaryEntry ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) RetrieveNewestBinaryEntry(account interface{}, key interface{}) *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
RetrieveNewestBinaryEntry is a helper method to define mock.On call
- account proto.Recipient
- key string
func (*MockEnrichedSmartState_Expecter) RetrieveNewestBooleanEntry ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) RetrieveNewestBooleanEntry(account interface{}, key interface{}) *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
RetrieveNewestBooleanEntry is a helper method to define mock.On call
- account proto.Recipient
- key string
func (*MockEnrichedSmartState_Expecter) RetrieveNewestIntegerEntry ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) RetrieveNewestIntegerEntry(account interface{}, key interface{}) *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
RetrieveNewestIntegerEntry is a helper method to define mock.On call
- account proto.Recipient
- key string
func (*MockEnrichedSmartState_Expecter) RetrieveNewestStringEntry ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) RetrieveNewestStringEntry(account interface{}, key interface{}) *MockEnrichedSmartState_RetrieveNewestStringEntry_Call
RetrieveNewestStringEntry is a helper method to define mock.On call
- account proto.Recipient
- key string
func (*MockEnrichedSmartState_Expecter) WavesBalanceProfile ¶ added in v0.11.0
func (_e *MockEnrichedSmartState_Expecter) WavesBalanceProfile(id interface{}) *MockEnrichedSmartState_WavesBalanceProfile_Call
WavesBalanceProfile is a helper method to define mock.On call
- id proto.AddressID
type MockEnrichedSmartState_IsNotFound_Call ¶ added in v0.11.0
MockEnrichedSmartState_IsNotFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsNotFound'
func (*MockEnrichedSmartState_IsNotFound_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_IsNotFound_Call) Return(b bool) *MockEnrichedSmartState_IsNotFound_Call
func (*MockEnrichedSmartState_IsNotFound_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_IsNotFound_Call) Run(run func(err error)) *MockEnrichedSmartState_IsNotFound_Call
func (*MockEnrichedSmartState_IsNotFound_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_IsNotFound_Call) RunAndReturn(run func(err error) bool) *MockEnrichedSmartState_IsNotFound_Call
type MockEnrichedSmartState_IsStateUntouched_Call ¶ added in v0.11.0
MockEnrichedSmartState_IsStateUntouched_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsStateUntouched'
func (*MockEnrichedSmartState_IsStateUntouched_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_IsStateUntouched_Call) Return(b bool, err error) *MockEnrichedSmartState_IsStateUntouched_Call
func (*MockEnrichedSmartState_IsStateUntouched_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_IsStateUntouched_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_IsStateUntouched_Call
func (*MockEnrichedSmartState_IsStateUntouched_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_IsStateUntouched_Call) RunAndReturn(run func(account proto.Recipient) (bool, error)) *MockEnrichedSmartState_IsStateUntouched_Call
type MockEnrichedSmartState_NewestAddrByAlias_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestAddrByAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAddrByAlias'
func (*MockEnrichedSmartState_NewestAddrByAlias_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAddrByAlias_Call) Return(wavesAddress proto.WavesAddress, err error) *MockEnrichedSmartState_NewestAddrByAlias_Call
func (*MockEnrichedSmartState_NewestAddrByAlias_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAddrByAlias_Call) Run(run func(alias proto.Alias)) *MockEnrichedSmartState_NewestAddrByAlias_Call
func (*MockEnrichedSmartState_NewestAddrByAlias_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAddrByAlias_Call) RunAndReturn(run func(alias proto.Alias) (proto.WavesAddress, error)) *MockEnrichedSmartState_NewestAddrByAlias_Call
type MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetBalanceByAddressID'
func (*MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call) Run(run func(id proto.AddressID, asset crypto.Digest)) *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call
func (*MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call) RunAndReturn(run func(id proto.AddressID, asset crypto.Digest) (uint64, error)) *MockEnrichedSmartState_NewestAssetBalanceByAddressID_Call
type MockEnrichedSmartState_NewestAssetBalance_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestAssetBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetBalance'
func (*MockEnrichedSmartState_NewestAssetBalance_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetBalance_Call) Return(v uint64, err error) *MockEnrichedSmartState_NewestAssetBalance_Call
func (*MockEnrichedSmartState_NewestAssetBalance_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetBalance_Call) Run(run func(account proto.Recipient, assetID crypto.Digest)) *MockEnrichedSmartState_NewestAssetBalance_Call
func (*MockEnrichedSmartState_NewestAssetBalance_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetBalance_Call) RunAndReturn(run func(account proto.Recipient, assetID crypto.Digest) (uint64, error)) *MockEnrichedSmartState_NewestAssetBalance_Call
type MockEnrichedSmartState_NewestAssetConstInfo_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestAssetConstInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetConstInfo'
func (*MockEnrichedSmartState_NewestAssetConstInfo_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetConstInfo_Call) Return(assetConstInfo *proto.AssetConstInfo, err error) *MockEnrichedSmartState_NewestAssetConstInfo_Call
func (*MockEnrichedSmartState_NewestAssetConstInfo_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetConstInfo_Call) Run(run func(assetID proto.AssetID)) *MockEnrichedSmartState_NewestAssetConstInfo_Call
func (*MockEnrichedSmartState_NewestAssetConstInfo_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetConstInfo_Call) RunAndReturn(run func(assetID proto.AssetID) (*proto.AssetConstInfo, error)) *MockEnrichedSmartState_NewestAssetConstInfo_Call
type MockEnrichedSmartState_NewestAssetInfo_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestAssetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetInfo'
func (*MockEnrichedSmartState_NewestAssetInfo_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetInfo_Call) Return(assetInfo *proto.AssetInfo, err error) *MockEnrichedSmartState_NewestAssetInfo_Call
func (*MockEnrichedSmartState_NewestAssetInfo_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetInfo_Call) Run(run func(assetID crypto.Digest)) *MockEnrichedSmartState_NewestAssetInfo_Call
func (*MockEnrichedSmartState_NewestAssetInfo_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetInfo_Call) RunAndReturn(run func(assetID crypto.Digest) (*proto.AssetInfo, error)) *MockEnrichedSmartState_NewestAssetInfo_Call
type MockEnrichedSmartState_NewestAssetIsSponsored_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestAssetIsSponsored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetIsSponsored'
func (*MockEnrichedSmartState_NewestAssetIsSponsored_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetIsSponsored_Call) Return(b bool, err error) *MockEnrichedSmartState_NewestAssetIsSponsored_Call
func (*MockEnrichedSmartState_NewestAssetIsSponsored_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetIsSponsored_Call) Run(run func(assetID crypto.Digest)) *MockEnrichedSmartState_NewestAssetIsSponsored_Call
func (*MockEnrichedSmartState_NewestAssetIsSponsored_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestAssetIsSponsored_Call) RunAndReturn(run func(assetID crypto.Digest) (bool, error)) *MockEnrichedSmartState_NewestAssetIsSponsored_Call
type MockEnrichedSmartState_NewestBlockInfoByHeight_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestBlockInfoByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestBlockInfoByHeight'
func (*MockEnrichedSmartState_NewestBlockInfoByHeight_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestBlockInfoByHeight_Call) Return(blockInfo *proto.BlockInfo, err error) *MockEnrichedSmartState_NewestBlockInfoByHeight_Call
func (*MockEnrichedSmartState_NewestBlockInfoByHeight_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestBlockInfoByHeight_Call) Run(run func(height proto.Height)) *MockEnrichedSmartState_NewestBlockInfoByHeight_Call
func (*MockEnrichedSmartState_NewestBlockInfoByHeight_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestBlockInfoByHeight_Call) RunAndReturn(run func(height proto.Height) (*proto.BlockInfo, error)) *MockEnrichedSmartState_NewestBlockInfoByHeight_Call
type MockEnrichedSmartState_NewestFullAssetInfo_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestFullAssetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestFullAssetInfo'
func (*MockEnrichedSmartState_NewestFullAssetInfo_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestFullAssetInfo_Call) Return(fullAssetInfo *proto.FullAssetInfo, err error) *MockEnrichedSmartState_NewestFullAssetInfo_Call
func (*MockEnrichedSmartState_NewestFullAssetInfo_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestFullAssetInfo_Call) Run(run func(assetID crypto.Digest)) *MockEnrichedSmartState_NewestFullAssetInfo_Call
func (*MockEnrichedSmartState_NewestFullAssetInfo_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestFullAssetInfo_Call) RunAndReturn(run func(assetID crypto.Digest) (*proto.FullAssetInfo, error)) *MockEnrichedSmartState_NewestFullAssetInfo_Call
type MockEnrichedSmartState_NewestFullWavesBalance_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestFullWavesBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestFullWavesBalance'
func (*MockEnrichedSmartState_NewestFullWavesBalance_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestFullWavesBalance_Call) Return(fullWavesBalance *proto.FullWavesBalance, err error) *MockEnrichedSmartState_NewestFullWavesBalance_Call
func (*MockEnrichedSmartState_NewestFullWavesBalance_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestFullWavesBalance_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_NewestFullWavesBalance_Call
func (*MockEnrichedSmartState_NewestFullWavesBalance_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestFullWavesBalance_Call) RunAndReturn(run func(account proto.Recipient) (*proto.FullWavesBalance, error)) *MockEnrichedSmartState_NewestFullWavesBalance_Call
type MockEnrichedSmartState_NewestLeasingInfo_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestLeasingInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestLeasingInfo'
func (*MockEnrichedSmartState_NewestLeasingInfo_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestLeasingInfo_Call) Return(leaseInfo *proto.LeaseInfo, err error) *MockEnrichedSmartState_NewestLeasingInfo_Call
func (*MockEnrichedSmartState_NewestLeasingInfo_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestLeasingInfo_Call) Run(run func(id crypto.Digest)) *MockEnrichedSmartState_NewestLeasingInfo_Call
func (*MockEnrichedSmartState_NewestLeasingInfo_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestLeasingInfo_Call) RunAndReturn(run func(id crypto.Digest) (*proto.LeaseInfo, error)) *MockEnrichedSmartState_NewestLeasingInfo_Call
type MockEnrichedSmartState_NewestRecipientToAddress_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestRecipientToAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestRecipientToAddress'
func (*MockEnrichedSmartState_NewestRecipientToAddress_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestRecipientToAddress_Call) Return(wavesAddress proto.WavesAddress, err error) *MockEnrichedSmartState_NewestRecipientToAddress_Call
func (*MockEnrichedSmartState_NewestRecipientToAddress_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestRecipientToAddress_Call) Run(run func(recipient proto.Recipient)) *MockEnrichedSmartState_NewestRecipientToAddress_Call
func (*MockEnrichedSmartState_NewestRecipientToAddress_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestRecipientToAddress_Call) RunAndReturn(run func(recipient proto.Recipient) (proto.WavesAddress, error)) *MockEnrichedSmartState_NewestRecipientToAddress_Call
type MockEnrichedSmartState_NewestScriptByAccount_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestScriptByAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestScriptByAccount'
func (*MockEnrichedSmartState_NewestScriptByAccount_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptByAccount_Call) Return(tree *ast.Tree, err error) *MockEnrichedSmartState_NewestScriptByAccount_Call
func (*MockEnrichedSmartState_NewestScriptByAccount_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptByAccount_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_NewestScriptByAccount_Call
func (*MockEnrichedSmartState_NewestScriptByAccount_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptByAccount_Call) RunAndReturn(run func(account proto.Recipient) (*ast.Tree, error)) *MockEnrichedSmartState_NewestScriptByAccount_Call
type MockEnrichedSmartState_NewestScriptByAsset_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestScriptByAsset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestScriptByAsset'
func (*MockEnrichedSmartState_NewestScriptByAsset_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptByAsset_Call) Return(tree *ast.Tree, err error) *MockEnrichedSmartState_NewestScriptByAsset_Call
func (*MockEnrichedSmartState_NewestScriptByAsset_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptByAsset_Call) Run(run func(assetID crypto.Digest)) *MockEnrichedSmartState_NewestScriptByAsset_Call
func (*MockEnrichedSmartState_NewestScriptByAsset_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptByAsset_Call) RunAndReturn(run func(assetID crypto.Digest) (*ast.Tree, error)) *MockEnrichedSmartState_NewestScriptByAsset_Call
type MockEnrichedSmartState_NewestScriptBytesByAccount_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestScriptBytesByAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestScriptBytesByAccount'
func (*MockEnrichedSmartState_NewestScriptBytesByAccount_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptBytesByAccount_Call) Return(script proto.Script, err error) *MockEnrichedSmartState_NewestScriptBytesByAccount_Call
func (*MockEnrichedSmartState_NewestScriptBytesByAccount_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptBytesByAccount_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_NewestScriptBytesByAccount_Call
func (*MockEnrichedSmartState_NewestScriptBytesByAccount_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptBytesByAccount_Call) RunAndReturn(run func(account proto.Recipient) (proto.Script, error)) *MockEnrichedSmartState_NewestScriptBytesByAccount_Call
type MockEnrichedSmartState_NewestScriptPKByAddr_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestScriptPKByAddr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestScriptPKByAddr'
func (*MockEnrichedSmartState_NewestScriptPKByAddr_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptPKByAddr_Call) Return(publicKey crypto.PublicKey, err error) *MockEnrichedSmartState_NewestScriptPKByAddr_Call
func (*MockEnrichedSmartState_NewestScriptPKByAddr_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptPKByAddr_Call) Run(run func(addr proto.WavesAddress)) *MockEnrichedSmartState_NewestScriptPKByAddr_Call
func (*MockEnrichedSmartState_NewestScriptPKByAddr_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestScriptPKByAddr_Call) RunAndReturn(run func(addr proto.WavesAddress) (crypto.PublicKey, error)) *MockEnrichedSmartState_NewestScriptPKByAddr_Call
type MockEnrichedSmartState_NewestTransactionByID_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestTransactionByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestTransactionByID'
func (*MockEnrichedSmartState_NewestTransactionByID_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestTransactionByID_Call) Return(transaction proto.Transaction, err error) *MockEnrichedSmartState_NewestTransactionByID_Call
func (*MockEnrichedSmartState_NewestTransactionByID_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestTransactionByID_Call) Run(run func(bytes []byte)) *MockEnrichedSmartState_NewestTransactionByID_Call
func (*MockEnrichedSmartState_NewestTransactionByID_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestTransactionByID_Call) RunAndReturn(run func(bytes []byte) (proto.Transaction, error)) *MockEnrichedSmartState_NewestTransactionByID_Call
type MockEnrichedSmartState_NewestTransactionHeightByID_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestTransactionHeightByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestTransactionHeightByID'
func (*MockEnrichedSmartState_NewestTransactionHeightByID_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestTransactionHeightByID_Call) Run(run func(bytes []byte)) *MockEnrichedSmartState_NewestTransactionHeightByID_Call
func (*MockEnrichedSmartState_NewestTransactionHeightByID_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestTransactionHeightByID_Call) RunAndReturn(run func(bytes []byte) (uint64, error)) *MockEnrichedSmartState_NewestTransactionHeightByID_Call
type MockEnrichedSmartState_NewestWavesBalance_Call ¶ added in v0.11.0
MockEnrichedSmartState_NewestWavesBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestWavesBalance'
func (*MockEnrichedSmartState_NewestWavesBalance_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestWavesBalance_Call) Return(v uint64, err error) *MockEnrichedSmartState_NewestWavesBalance_Call
func (*MockEnrichedSmartState_NewestWavesBalance_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestWavesBalance_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_NewestWavesBalance_Call
func (*MockEnrichedSmartState_NewestWavesBalance_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_NewestWavesBalance_Call) RunAndReturn(run func(account proto.Recipient) (uint64, error)) *MockEnrichedSmartState_NewestWavesBalance_Call
type MockEnrichedSmartState_RetrieveEntries_Call ¶ added in v0.11.0
MockEnrichedSmartState_RetrieveEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveEntries'
func (*MockEnrichedSmartState_RetrieveEntries_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveEntries_Call) Return(dataEntrys []proto.DataEntry, err error) *MockEnrichedSmartState_RetrieveEntries_Call
func (*MockEnrichedSmartState_RetrieveEntries_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveEntries_Call) Run(run func(account proto.Recipient)) *MockEnrichedSmartState_RetrieveEntries_Call
func (*MockEnrichedSmartState_RetrieveEntries_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveEntries_Call) RunAndReturn(run func(account proto.Recipient) ([]proto.DataEntry, error)) *MockEnrichedSmartState_RetrieveEntries_Call
type MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call ¶ added in v0.11.0
MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveNewestBinaryEntry'
func (*MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) Return(binaryDataEntry *proto.BinaryDataEntry, err error) *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
func (*MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) Run(run func(account proto.Recipient, key string)) *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
func (*MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)) *MockEnrichedSmartState_RetrieveNewestBinaryEntry_Call
type MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call ¶ added in v0.11.0
MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveNewestBooleanEntry'
func (*MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) Return(booleanDataEntry *proto.BooleanDataEntry, err error) *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
func (*MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) Run(run func(account proto.Recipient, key string)) *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
func (*MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)) *MockEnrichedSmartState_RetrieveNewestBooleanEntry_Call
type MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call ¶ added in v0.11.0
MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveNewestIntegerEntry'
func (*MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) Return(integerDataEntry *proto.IntegerDataEntry, err error) *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
func (*MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) Run(run func(account proto.Recipient, key string)) *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
func (*MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)) *MockEnrichedSmartState_RetrieveNewestIntegerEntry_Call
type MockEnrichedSmartState_RetrieveNewestStringEntry_Call ¶ added in v0.11.0
MockEnrichedSmartState_RetrieveNewestStringEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveNewestStringEntry'
func (*MockEnrichedSmartState_RetrieveNewestStringEntry_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestStringEntry_Call) Return(stringDataEntry *proto.StringDataEntry, err error) *MockEnrichedSmartState_RetrieveNewestStringEntry_Call
func (*MockEnrichedSmartState_RetrieveNewestStringEntry_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestStringEntry_Call) Run(run func(account proto.Recipient, key string)) *MockEnrichedSmartState_RetrieveNewestStringEntry_Call
func (*MockEnrichedSmartState_RetrieveNewestStringEntry_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_RetrieveNewestStringEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.StringDataEntry, error)) *MockEnrichedSmartState_RetrieveNewestStringEntry_Call
type MockEnrichedSmartState_WavesBalanceProfile_Call ¶ added in v0.11.0
MockEnrichedSmartState_WavesBalanceProfile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WavesBalanceProfile'
func (*MockEnrichedSmartState_WavesBalanceProfile_Call) Return ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_WavesBalanceProfile_Call) Return(wavesBalanceProfile *WavesBalanceProfile, err error) *MockEnrichedSmartState_WavesBalanceProfile_Call
func (*MockEnrichedSmartState_WavesBalanceProfile_Call) Run ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_WavesBalanceProfile_Call) Run(run func(id proto.AddressID)) *MockEnrichedSmartState_WavesBalanceProfile_Call
func (*MockEnrichedSmartState_WavesBalanceProfile_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockEnrichedSmartState_WavesBalanceProfile_Call) RunAndReturn(run func(id proto.AddressID) (*WavesBalanceProfile, error)) *MockEnrichedSmartState_WavesBalanceProfile_Call
type MockSmartState ¶ added in v0.11.0
MockSmartState is an autogenerated mock type for the SmartState type
func NewMockSmartState ¶ added in v0.11.0
func NewMockSmartState(t interface {
mock.TestingT
Cleanup(func())
}) *MockSmartState
NewMockSmartState creates a new instance of MockSmartState. 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 (*MockSmartState) AddingBlockHeight ¶ added in v0.11.0
func (_mock *MockSmartState) AddingBlockHeight() (uint64, error)
AddingBlockHeight provides a mock function for the type MockSmartState
func (*MockSmartState) EXPECT ¶ added in v0.11.0
func (_m *MockSmartState) EXPECT() *MockSmartState_Expecter
func (*MockSmartState) EstimatorVersion ¶ added in v0.11.0
func (_mock *MockSmartState) EstimatorVersion() (int, error)
EstimatorVersion provides a mock function for the type MockSmartState
func (*MockSmartState) IsNotFound ¶ added in v0.11.0
func (_mock *MockSmartState) IsNotFound(err error) bool
IsNotFound provides a mock function for the type MockSmartState
func (*MockSmartState) IsStateUntouched ¶ added in v0.11.0
func (_mock *MockSmartState) IsStateUntouched(account proto.Recipient) (bool, error)
IsStateUntouched provides a mock function for the type MockSmartState
func (*MockSmartState) NewestAddrByAlias ¶ added in v0.11.0
func (_mock *MockSmartState) NewestAddrByAlias(alias proto.Alias) (proto.WavesAddress, error)
NewestAddrByAlias provides a mock function for the type MockSmartState
func (*MockSmartState) NewestAssetBalance ¶ added in v0.11.0
func (_mock *MockSmartState) NewestAssetBalance(account proto.Recipient, assetID crypto.Digest) (uint64, error)
NewestAssetBalance provides a mock function for the type MockSmartState
func (*MockSmartState) NewestAssetConstInfo ¶ added in v0.11.0
func (_mock *MockSmartState) NewestAssetConstInfo(assetID proto.AssetID) (*proto.AssetConstInfo, error)
NewestAssetConstInfo provides a mock function for the type MockSmartState
func (*MockSmartState) NewestAssetInfo ¶ added in v0.11.0
NewestAssetInfo provides a mock function for the type MockSmartState
func (*MockSmartState) NewestAssetIsSponsored ¶ added in v0.11.0
func (_mock *MockSmartState) NewestAssetIsSponsored(assetID crypto.Digest) (bool, error)
NewestAssetIsSponsored provides a mock function for the type MockSmartState
func (*MockSmartState) NewestBlockInfoByHeight ¶ added in v0.11.0
NewestBlockInfoByHeight provides a mock function for the type MockSmartState
func (*MockSmartState) NewestFullAssetInfo ¶ added in v0.11.0
func (_mock *MockSmartState) NewestFullAssetInfo(assetID crypto.Digest) (*proto.FullAssetInfo, error)
NewestFullAssetInfo provides a mock function for the type MockSmartState
func (*MockSmartState) NewestFullWavesBalance ¶ added in v0.11.0
func (_mock *MockSmartState) NewestFullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)
NewestFullWavesBalance provides a mock function for the type MockSmartState
func (*MockSmartState) NewestLeasingInfo ¶ added in v0.11.0
NewestLeasingInfo provides a mock function for the type MockSmartState
func (*MockSmartState) NewestRecipientToAddress ¶ added in v0.11.0
func (_mock *MockSmartState) NewestRecipientToAddress(recipient proto.Recipient) (proto.WavesAddress, error)
NewestRecipientToAddress provides a mock function for the type MockSmartState
func (*MockSmartState) NewestScriptByAccount ¶ added in v0.11.0
NewestScriptByAccount provides a mock function for the type MockSmartState
func (*MockSmartState) NewestScriptByAsset ¶ added in v0.11.0
NewestScriptByAsset provides a mock function for the type MockSmartState
func (*MockSmartState) NewestScriptBytesByAccount ¶ added in v0.11.0
func (_mock *MockSmartState) NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)
NewestScriptBytesByAccount provides a mock function for the type MockSmartState
func (*MockSmartState) NewestScriptPKByAddr ¶ added in v0.11.0
func (_mock *MockSmartState) NewestScriptPKByAddr(addr proto.WavesAddress) (crypto.PublicKey, error)
NewestScriptPKByAddr provides a mock function for the type MockSmartState
func (*MockSmartState) NewestTransactionByID ¶ added in v0.11.0
func (_mock *MockSmartState) NewestTransactionByID(bytes []byte) (proto.Transaction, error)
NewestTransactionByID provides a mock function for the type MockSmartState
func (*MockSmartState) NewestTransactionHeightByID ¶ added in v0.11.0
func (_mock *MockSmartState) NewestTransactionHeightByID(bytes []byte) (uint64, error)
NewestTransactionHeightByID provides a mock function for the type MockSmartState
func (*MockSmartState) NewestWavesBalance ¶ added in v0.11.0
func (_mock *MockSmartState) NewestWavesBalance(account proto.Recipient) (uint64, error)
NewestWavesBalance provides a mock function for the type MockSmartState
func (*MockSmartState) RetrieveEntries ¶ added in v0.11.0
RetrieveEntries provides a mock function for the type MockSmartState
func (*MockSmartState) RetrieveNewestBinaryEntry ¶ added in v0.11.0
func (_mock *MockSmartState) RetrieveNewestBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
RetrieveNewestBinaryEntry provides a mock function for the type MockSmartState
func (*MockSmartState) RetrieveNewestBooleanEntry ¶ added in v0.11.0
func (_mock *MockSmartState) RetrieveNewestBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
RetrieveNewestBooleanEntry provides a mock function for the type MockSmartState
func (*MockSmartState) RetrieveNewestIntegerEntry ¶ added in v0.11.0
func (_mock *MockSmartState) RetrieveNewestIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
RetrieveNewestIntegerEntry provides a mock function for the type MockSmartState
func (*MockSmartState) RetrieveNewestStringEntry ¶ added in v0.11.0
func (_mock *MockSmartState) RetrieveNewestStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
RetrieveNewestStringEntry provides a mock function for the type MockSmartState
type MockSmartState_AddingBlockHeight_Call ¶ added in v0.11.0
MockSmartState_AddingBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddingBlockHeight'
func (*MockSmartState_AddingBlockHeight_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_AddingBlockHeight_Call) Return(v uint64, err error) *MockSmartState_AddingBlockHeight_Call
func (*MockSmartState_AddingBlockHeight_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_AddingBlockHeight_Call) Run(run func()) *MockSmartState_AddingBlockHeight_Call
func (*MockSmartState_AddingBlockHeight_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_AddingBlockHeight_Call) RunAndReturn(run func() (uint64, error)) *MockSmartState_AddingBlockHeight_Call
type MockSmartState_EstimatorVersion_Call ¶ added in v0.11.0
MockSmartState_EstimatorVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimatorVersion'
func (*MockSmartState_EstimatorVersion_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_EstimatorVersion_Call) Return(n int, err error) *MockSmartState_EstimatorVersion_Call
func (*MockSmartState_EstimatorVersion_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_EstimatorVersion_Call) Run(run func()) *MockSmartState_EstimatorVersion_Call
func (*MockSmartState_EstimatorVersion_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_EstimatorVersion_Call) RunAndReturn(run func() (int, error)) *MockSmartState_EstimatorVersion_Call
type MockSmartState_Expecter ¶ added in v0.11.0
type MockSmartState_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSmartState_Expecter) AddingBlockHeight ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) AddingBlockHeight() *MockSmartState_AddingBlockHeight_Call
AddingBlockHeight is a helper method to define mock.On call
func (*MockSmartState_Expecter) EstimatorVersion ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) EstimatorVersion() *MockSmartState_EstimatorVersion_Call
EstimatorVersion is a helper method to define mock.On call
func (*MockSmartState_Expecter) IsNotFound ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) IsNotFound(err interface{}) *MockSmartState_IsNotFound_Call
IsNotFound is a helper method to define mock.On call
- err error
func (*MockSmartState_Expecter) IsStateUntouched ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) IsStateUntouched(account interface{}) *MockSmartState_IsStateUntouched_Call
IsStateUntouched is a helper method to define mock.On call
- account proto.Recipient
func (*MockSmartState_Expecter) NewestAddrByAlias ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestAddrByAlias(alias interface{}) *MockSmartState_NewestAddrByAlias_Call
NewestAddrByAlias is a helper method to define mock.On call
- alias proto.Alias
func (*MockSmartState_Expecter) NewestAssetBalance ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestAssetBalance(account interface{}, assetID interface{}) *MockSmartState_NewestAssetBalance_Call
NewestAssetBalance is a helper method to define mock.On call
- account proto.Recipient
- assetID crypto.Digest
func (*MockSmartState_Expecter) NewestAssetConstInfo ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestAssetConstInfo(assetID interface{}) *MockSmartState_NewestAssetConstInfo_Call
NewestAssetConstInfo is a helper method to define mock.On call
- assetID proto.AssetID
func (*MockSmartState_Expecter) NewestAssetInfo ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestAssetInfo(assetID interface{}) *MockSmartState_NewestAssetInfo_Call
NewestAssetInfo is a helper method to define mock.On call
- assetID crypto.Digest
func (*MockSmartState_Expecter) NewestAssetIsSponsored ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestAssetIsSponsored(assetID interface{}) *MockSmartState_NewestAssetIsSponsored_Call
NewestAssetIsSponsored is a helper method to define mock.On call
- assetID crypto.Digest
func (*MockSmartState_Expecter) NewestBlockInfoByHeight ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestBlockInfoByHeight(height interface{}) *MockSmartState_NewestBlockInfoByHeight_Call
NewestBlockInfoByHeight is a helper method to define mock.On call
- height proto.Height
func (*MockSmartState_Expecter) NewestFullAssetInfo ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestFullAssetInfo(assetID interface{}) *MockSmartState_NewestFullAssetInfo_Call
NewestFullAssetInfo is a helper method to define mock.On call
- assetID crypto.Digest
func (*MockSmartState_Expecter) NewestFullWavesBalance ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestFullWavesBalance(account interface{}) *MockSmartState_NewestFullWavesBalance_Call
NewestFullWavesBalance is a helper method to define mock.On call
- account proto.Recipient
func (*MockSmartState_Expecter) NewestLeasingInfo ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestLeasingInfo(id interface{}) *MockSmartState_NewestLeasingInfo_Call
NewestLeasingInfo is a helper method to define mock.On call
- id crypto.Digest
func (*MockSmartState_Expecter) NewestRecipientToAddress ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestRecipientToAddress(recipient interface{}) *MockSmartState_NewestRecipientToAddress_Call
NewestRecipientToAddress is a helper method to define mock.On call
- recipient proto.Recipient
func (*MockSmartState_Expecter) NewestScriptByAccount ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestScriptByAccount(account interface{}) *MockSmartState_NewestScriptByAccount_Call
NewestScriptByAccount is a helper method to define mock.On call
- account proto.Recipient
func (*MockSmartState_Expecter) NewestScriptByAsset ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestScriptByAsset(assetID interface{}) *MockSmartState_NewestScriptByAsset_Call
NewestScriptByAsset is a helper method to define mock.On call
- assetID crypto.Digest
func (*MockSmartState_Expecter) NewestScriptBytesByAccount ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestScriptBytesByAccount(account interface{}) *MockSmartState_NewestScriptBytesByAccount_Call
NewestScriptBytesByAccount is a helper method to define mock.On call
- account proto.Recipient
func (*MockSmartState_Expecter) NewestScriptPKByAddr ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestScriptPKByAddr(addr interface{}) *MockSmartState_NewestScriptPKByAddr_Call
NewestScriptPKByAddr is a helper method to define mock.On call
- addr proto.WavesAddress
func (*MockSmartState_Expecter) NewestTransactionByID ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestTransactionByID(bytes interface{}) *MockSmartState_NewestTransactionByID_Call
NewestTransactionByID is a helper method to define mock.On call
- bytes []byte
func (*MockSmartState_Expecter) NewestTransactionHeightByID ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestTransactionHeightByID(bytes interface{}) *MockSmartState_NewestTransactionHeightByID_Call
NewestTransactionHeightByID is a helper method to define mock.On call
- bytes []byte
func (*MockSmartState_Expecter) NewestWavesBalance ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) NewestWavesBalance(account interface{}) *MockSmartState_NewestWavesBalance_Call
NewestWavesBalance is a helper method to define mock.On call
- account proto.Recipient
func (*MockSmartState_Expecter) RetrieveEntries ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) RetrieveEntries(account interface{}) *MockSmartState_RetrieveEntries_Call
RetrieveEntries is a helper method to define mock.On call
- account proto.Recipient
func (*MockSmartState_Expecter) RetrieveNewestBinaryEntry ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) RetrieveNewestBinaryEntry(account interface{}, key interface{}) *MockSmartState_RetrieveNewestBinaryEntry_Call
RetrieveNewestBinaryEntry is a helper method to define mock.On call
- account proto.Recipient
- key string
func (*MockSmartState_Expecter) RetrieveNewestBooleanEntry ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) RetrieveNewestBooleanEntry(account interface{}, key interface{}) *MockSmartState_RetrieveNewestBooleanEntry_Call
RetrieveNewestBooleanEntry is a helper method to define mock.On call
- account proto.Recipient
- key string
func (*MockSmartState_Expecter) RetrieveNewestIntegerEntry ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) RetrieveNewestIntegerEntry(account interface{}, key interface{}) *MockSmartState_RetrieveNewestIntegerEntry_Call
RetrieveNewestIntegerEntry is a helper method to define mock.On call
- account proto.Recipient
- key string
func (*MockSmartState_Expecter) RetrieveNewestStringEntry ¶ added in v0.11.0
func (_e *MockSmartState_Expecter) RetrieveNewestStringEntry(account interface{}, key interface{}) *MockSmartState_RetrieveNewestStringEntry_Call
RetrieveNewestStringEntry is a helper method to define mock.On call
- account proto.Recipient
- key string
type MockSmartState_IsNotFound_Call ¶ added in v0.11.0
MockSmartState_IsNotFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsNotFound'
func (*MockSmartState_IsNotFound_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_IsNotFound_Call) Return(b bool) *MockSmartState_IsNotFound_Call
func (*MockSmartState_IsNotFound_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_IsNotFound_Call) Run(run func(err error)) *MockSmartState_IsNotFound_Call
func (*MockSmartState_IsNotFound_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_IsNotFound_Call) RunAndReturn(run func(err error) bool) *MockSmartState_IsNotFound_Call
type MockSmartState_IsStateUntouched_Call ¶ added in v0.11.0
MockSmartState_IsStateUntouched_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsStateUntouched'
func (*MockSmartState_IsStateUntouched_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_IsStateUntouched_Call) Return(b bool, err error) *MockSmartState_IsStateUntouched_Call
func (*MockSmartState_IsStateUntouched_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_IsStateUntouched_Call) Run(run func(account proto.Recipient)) *MockSmartState_IsStateUntouched_Call
func (*MockSmartState_IsStateUntouched_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_IsStateUntouched_Call) RunAndReturn(run func(account proto.Recipient) (bool, error)) *MockSmartState_IsStateUntouched_Call
type MockSmartState_NewestAddrByAlias_Call ¶ added in v0.11.0
MockSmartState_NewestAddrByAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAddrByAlias'
func (*MockSmartState_NewestAddrByAlias_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestAddrByAlias_Call) Return(wavesAddress proto.WavesAddress, err error) *MockSmartState_NewestAddrByAlias_Call
func (*MockSmartState_NewestAddrByAlias_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestAddrByAlias_Call) Run(run func(alias proto.Alias)) *MockSmartState_NewestAddrByAlias_Call
func (*MockSmartState_NewestAddrByAlias_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestAddrByAlias_Call) RunAndReturn(run func(alias proto.Alias) (proto.WavesAddress, error)) *MockSmartState_NewestAddrByAlias_Call
type MockSmartState_NewestAssetBalance_Call ¶ added in v0.11.0
MockSmartState_NewestAssetBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetBalance'
func (*MockSmartState_NewestAssetBalance_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetBalance_Call) Return(v uint64, err error) *MockSmartState_NewestAssetBalance_Call
func (*MockSmartState_NewestAssetBalance_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetBalance_Call) Run(run func(account proto.Recipient, assetID crypto.Digest)) *MockSmartState_NewestAssetBalance_Call
func (*MockSmartState_NewestAssetBalance_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetBalance_Call) RunAndReturn(run func(account proto.Recipient, assetID crypto.Digest) (uint64, error)) *MockSmartState_NewestAssetBalance_Call
type MockSmartState_NewestAssetConstInfo_Call ¶ added in v0.11.0
MockSmartState_NewestAssetConstInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetConstInfo'
func (*MockSmartState_NewestAssetConstInfo_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetConstInfo_Call) Return(assetConstInfo *proto.AssetConstInfo, err error) *MockSmartState_NewestAssetConstInfo_Call
func (*MockSmartState_NewestAssetConstInfo_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetConstInfo_Call) Run(run func(assetID proto.AssetID)) *MockSmartState_NewestAssetConstInfo_Call
func (*MockSmartState_NewestAssetConstInfo_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetConstInfo_Call) RunAndReturn(run func(assetID proto.AssetID) (*proto.AssetConstInfo, error)) *MockSmartState_NewestAssetConstInfo_Call
type MockSmartState_NewestAssetInfo_Call ¶ added in v0.11.0
MockSmartState_NewestAssetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetInfo'
func (*MockSmartState_NewestAssetInfo_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetInfo_Call) Return(assetInfo *proto.AssetInfo, err error) *MockSmartState_NewestAssetInfo_Call
func (*MockSmartState_NewestAssetInfo_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetInfo_Call) Run(run func(assetID crypto.Digest)) *MockSmartState_NewestAssetInfo_Call
func (*MockSmartState_NewestAssetInfo_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetInfo_Call) RunAndReturn(run func(assetID crypto.Digest) (*proto.AssetInfo, error)) *MockSmartState_NewestAssetInfo_Call
type MockSmartState_NewestAssetIsSponsored_Call ¶ added in v0.11.0
MockSmartState_NewestAssetIsSponsored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestAssetIsSponsored'
func (*MockSmartState_NewestAssetIsSponsored_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetIsSponsored_Call) Return(b bool, err error) *MockSmartState_NewestAssetIsSponsored_Call
func (*MockSmartState_NewestAssetIsSponsored_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetIsSponsored_Call) Run(run func(assetID crypto.Digest)) *MockSmartState_NewestAssetIsSponsored_Call
func (*MockSmartState_NewestAssetIsSponsored_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestAssetIsSponsored_Call) RunAndReturn(run func(assetID crypto.Digest) (bool, error)) *MockSmartState_NewestAssetIsSponsored_Call
type MockSmartState_NewestBlockInfoByHeight_Call ¶ added in v0.11.0
MockSmartState_NewestBlockInfoByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestBlockInfoByHeight'
func (*MockSmartState_NewestBlockInfoByHeight_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestBlockInfoByHeight_Call) Return(blockInfo *proto.BlockInfo, err error) *MockSmartState_NewestBlockInfoByHeight_Call
func (*MockSmartState_NewestBlockInfoByHeight_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestBlockInfoByHeight_Call) Run(run func(height proto.Height)) *MockSmartState_NewestBlockInfoByHeight_Call
func (*MockSmartState_NewestBlockInfoByHeight_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestBlockInfoByHeight_Call) RunAndReturn(run func(height proto.Height) (*proto.BlockInfo, error)) *MockSmartState_NewestBlockInfoByHeight_Call
type MockSmartState_NewestFullAssetInfo_Call ¶ added in v0.11.0
MockSmartState_NewestFullAssetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestFullAssetInfo'
func (*MockSmartState_NewestFullAssetInfo_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestFullAssetInfo_Call) Return(fullAssetInfo *proto.FullAssetInfo, err error) *MockSmartState_NewestFullAssetInfo_Call
func (*MockSmartState_NewestFullAssetInfo_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestFullAssetInfo_Call) Run(run func(assetID crypto.Digest)) *MockSmartState_NewestFullAssetInfo_Call
func (*MockSmartState_NewestFullAssetInfo_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestFullAssetInfo_Call) RunAndReturn(run func(assetID crypto.Digest) (*proto.FullAssetInfo, error)) *MockSmartState_NewestFullAssetInfo_Call
type MockSmartState_NewestFullWavesBalance_Call ¶ added in v0.11.0
MockSmartState_NewestFullWavesBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestFullWavesBalance'
func (*MockSmartState_NewestFullWavesBalance_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestFullWavesBalance_Call) Return(fullWavesBalance *proto.FullWavesBalance, err error) *MockSmartState_NewestFullWavesBalance_Call
func (*MockSmartState_NewestFullWavesBalance_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestFullWavesBalance_Call) Run(run func(account proto.Recipient)) *MockSmartState_NewestFullWavesBalance_Call
func (*MockSmartState_NewestFullWavesBalance_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestFullWavesBalance_Call) RunAndReturn(run func(account proto.Recipient) (*proto.FullWavesBalance, error)) *MockSmartState_NewestFullWavesBalance_Call
type MockSmartState_NewestLeasingInfo_Call ¶ added in v0.11.0
MockSmartState_NewestLeasingInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestLeasingInfo'
func (*MockSmartState_NewestLeasingInfo_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestLeasingInfo_Call) Return(leaseInfo *proto.LeaseInfo, err error) *MockSmartState_NewestLeasingInfo_Call
func (*MockSmartState_NewestLeasingInfo_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestLeasingInfo_Call) Run(run func(id crypto.Digest)) *MockSmartState_NewestLeasingInfo_Call
func (*MockSmartState_NewestLeasingInfo_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestLeasingInfo_Call) RunAndReturn(run func(id crypto.Digest) (*proto.LeaseInfo, error)) *MockSmartState_NewestLeasingInfo_Call
type MockSmartState_NewestRecipientToAddress_Call ¶ added in v0.11.0
MockSmartState_NewestRecipientToAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestRecipientToAddress'
func (*MockSmartState_NewestRecipientToAddress_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestRecipientToAddress_Call) Return(wavesAddress proto.WavesAddress, err error) *MockSmartState_NewestRecipientToAddress_Call
func (*MockSmartState_NewestRecipientToAddress_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestRecipientToAddress_Call) Run(run func(recipient proto.Recipient)) *MockSmartState_NewestRecipientToAddress_Call
func (*MockSmartState_NewestRecipientToAddress_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestRecipientToAddress_Call) RunAndReturn(run func(recipient proto.Recipient) (proto.WavesAddress, error)) *MockSmartState_NewestRecipientToAddress_Call
type MockSmartState_NewestScriptByAccount_Call ¶ added in v0.11.0
MockSmartState_NewestScriptByAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestScriptByAccount'
func (*MockSmartState_NewestScriptByAccount_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptByAccount_Call) Return(tree *ast.Tree, err error) *MockSmartState_NewestScriptByAccount_Call
func (*MockSmartState_NewestScriptByAccount_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptByAccount_Call) Run(run func(account proto.Recipient)) *MockSmartState_NewestScriptByAccount_Call
func (*MockSmartState_NewestScriptByAccount_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptByAccount_Call) RunAndReturn(run func(account proto.Recipient) (*ast.Tree, error)) *MockSmartState_NewestScriptByAccount_Call
type MockSmartState_NewestScriptByAsset_Call ¶ added in v0.11.0
MockSmartState_NewestScriptByAsset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestScriptByAsset'
func (*MockSmartState_NewestScriptByAsset_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptByAsset_Call) Return(tree *ast.Tree, err error) *MockSmartState_NewestScriptByAsset_Call
func (*MockSmartState_NewestScriptByAsset_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptByAsset_Call) Run(run func(assetID crypto.Digest)) *MockSmartState_NewestScriptByAsset_Call
func (*MockSmartState_NewestScriptByAsset_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptByAsset_Call) RunAndReturn(run func(assetID crypto.Digest) (*ast.Tree, error)) *MockSmartState_NewestScriptByAsset_Call
type MockSmartState_NewestScriptBytesByAccount_Call ¶ added in v0.11.0
MockSmartState_NewestScriptBytesByAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestScriptBytesByAccount'
func (*MockSmartState_NewestScriptBytesByAccount_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptBytesByAccount_Call) Return(script proto.Script, err error) *MockSmartState_NewestScriptBytesByAccount_Call
func (*MockSmartState_NewestScriptBytesByAccount_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptBytesByAccount_Call) Run(run func(account proto.Recipient)) *MockSmartState_NewestScriptBytesByAccount_Call
func (*MockSmartState_NewestScriptBytesByAccount_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptBytesByAccount_Call) RunAndReturn(run func(account proto.Recipient) (proto.Script, error)) *MockSmartState_NewestScriptBytesByAccount_Call
type MockSmartState_NewestScriptPKByAddr_Call ¶ added in v0.11.0
MockSmartState_NewestScriptPKByAddr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestScriptPKByAddr'
func (*MockSmartState_NewestScriptPKByAddr_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptPKByAddr_Call) Return(publicKey crypto.PublicKey, err error) *MockSmartState_NewestScriptPKByAddr_Call
func (*MockSmartState_NewestScriptPKByAddr_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptPKByAddr_Call) Run(run func(addr proto.WavesAddress)) *MockSmartState_NewestScriptPKByAddr_Call
func (*MockSmartState_NewestScriptPKByAddr_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestScriptPKByAddr_Call) RunAndReturn(run func(addr proto.WavesAddress) (crypto.PublicKey, error)) *MockSmartState_NewestScriptPKByAddr_Call
type MockSmartState_NewestTransactionByID_Call ¶ added in v0.11.0
MockSmartState_NewestTransactionByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestTransactionByID'
func (*MockSmartState_NewestTransactionByID_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestTransactionByID_Call) Return(transaction proto.Transaction, err error) *MockSmartState_NewestTransactionByID_Call
func (*MockSmartState_NewestTransactionByID_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestTransactionByID_Call) Run(run func(bytes []byte)) *MockSmartState_NewestTransactionByID_Call
func (*MockSmartState_NewestTransactionByID_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestTransactionByID_Call) RunAndReturn(run func(bytes []byte) (proto.Transaction, error)) *MockSmartState_NewestTransactionByID_Call
type MockSmartState_NewestTransactionHeightByID_Call ¶ added in v0.11.0
MockSmartState_NewestTransactionHeightByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestTransactionHeightByID'
func (*MockSmartState_NewestTransactionHeightByID_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestTransactionHeightByID_Call) Return(v uint64, err error) *MockSmartState_NewestTransactionHeightByID_Call
func (*MockSmartState_NewestTransactionHeightByID_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestTransactionHeightByID_Call) Run(run func(bytes []byte)) *MockSmartState_NewestTransactionHeightByID_Call
func (*MockSmartState_NewestTransactionHeightByID_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestTransactionHeightByID_Call) RunAndReturn(run func(bytes []byte) (uint64, error)) *MockSmartState_NewestTransactionHeightByID_Call
type MockSmartState_NewestWavesBalance_Call ¶ added in v0.11.0
MockSmartState_NewestWavesBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewestWavesBalance'
func (*MockSmartState_NewestWavesBalance_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_NewestWavesBalance_Call) Return(v uint64, err error) *MockSmartState_NewestWavesBalance_Call
func (*MockSmartState_NewestWavesBalance_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_NewestWavesBalance_Call) Run(run func(account proto.Recipient)) *MockSmartState_NewestWavesBalance_Call
func (*MockSmartState_NewestWavesBalance_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_NewestWavesBalance_Call) RunAndReturn(run func(account proto.Recipient) (uint64, error)) *MockSmartState_NewestWavesBalance_Call
type MockSmartState_RetrieveEntries_Call ¶ added in v0.11.0
MockSmartState_RetrieveEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveEntries'
func (*MockSmartState_RetrieveEntries_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveEntries_Call) Return(dataEntrys []proto.DataEntry, err error) *MockSmartState_RetrieveEntries_Call
func (*MockSmartState_RetrieveEntries_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveEntries_Call) Run(run func(account proto.Recipient)) *MockSmartState_RetrieveEntries_Call
func (*MockSmartState_RetrieveEntries_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveEntries_Call) RunAndReturn(run func(account proto.Recipient) ([]proto.DataEntry, error)) *MockSmartState_RetrieveEntries_Call
type MockSmartState_RetrieveNewestBinaryEntry_Call ¶ added in v0.11.0
MockSmartState_RetrieveNewestBinaryEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveNewestBinaryEntry'
func (*MockSmartState_RetrieveNewestBinaryEntry_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestBinaryEntry_Call) Return(binaryDataEntry *proto.BinaryDataEntry, err error) *MockSmartState_RetrieveNewestBinaryEntry_Call
func (*MockSmartState_RetrieveNewestBinaryEntry_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestBinaryEntry_Call) Run(run func(account proto.Recipient, key string)) *MockSmartState_RetrieveNewestBinaryEntry_Call
func (*MockSmartState_RetrieveNewestBinaryEntry_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestBinaryEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)) *MockSmartState_RetrieveNewestBinaryEntry_Call
type MockSmartState_RetrieveNewestBooleanEntry_Call ¶ added in v0.11.0
MockSmartState_RetrieveNewestBooleanEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveNewestBooleanEntry'
func (*MockSmartState_RetrieveNewestBooleanEntry_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestBooleanEntry_Call) Return(booleanDataEntry *proto.BooleanDataEntry, err error) *MockSmartState_RetrieveNewestBooleanEntry_Call
func (*MockSmartState_RetrieveNewestBooleanEntry_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestBooleanEntry_Call) Run(run func(account proto.Recipient, key string)) *MockSmartState_RetrieveNewestBooleanEntry_Call
func (*MockSmartState_RetrieveNewestBooleanEntry_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestBooleanEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)) *MockSmartState_RetrieveNewestBooleanEntry_Call
type MockSmartState_RetrieveNewestIntegerEntry_Call ¶ added in v0.11.0
MockSmartState_RetrieveNewestIntegerEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveNewestIntegerEntry'
func (*MockSmartState_RetrieveNewestIntegerEntry_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestIntegerEntry_Call) Return(integerDataEntry *proto.IntegerDataEntry, err error) *MockSmartState_RetrieveNewestIntegerEntry_Call
func (*MockSmartState_RetrieveNewestIntegerEntry_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestIntegerEntry_Call) Run(run func(account proto.Recipient, key string)) *MockSmartState_RetrieveNewestIntegerEntry_Call
func (*MockSmartState_RetrieveNewestIntegerEntry_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestIntegerEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)) *MockSmartState_RetrieveNewestIntegerEntry_Call
type MockSmartState_RetrieveNewestStringEntry_Call ¶ added in v0.11.0
MockSmartState_RetrieveNewestStringEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveNewestStringEntry'
func (*MockSmartState_RetrieveNewestStringEntry_Call) Return ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestStringEntry_Call) Return(stringDataEntry *proto.StringDataEntry, err error) *MockSmartState_RetrieveNewestStringEntry_Call
func (*MockSmartState_RetrieveNewestStringEntry_Call) Run ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestStringEntry_Call) Run(run func(account proto.Recipient, key string)) *MockSmartState_RetrieveNewestStringEntry_Call
func (*MockSmartState_RetrieveNewestStringEntry_Call) RunAndReturn ¶ added in v0.11.0
func (_c *MockSmartState_RetrieveNewestStringEntry_Call) RunAndReturn(run func(account proto.Recipient, key string) (*proto.StringDataEntry, error)) *MockSmartState_RetrieveNewestStringEntry_Call
type ScoreSender ¶ added in v0.5.0
type ScoreSender interface {
Priority()
NonPriority()
}
type SmartState ¶
type SmartState interface {
NewestScriptPKByAddr(addr proto.WavesAddress) (crypto.PublicKey, error)
AddingBlockHeight() (uint64, error)
// NewestTransactionByID returns a transaction, BUT returns error if a transaction exists but failed or elided.
NewestTransactionByID([]byte) (proto.Transaction, error)
// NewestTransactionHeightByID returns a transaction height, BUT returns error if a transaction
// exists but failed or elided.
NewestTransactionHeightByID([]byte) (uint64, error)
NewestScriptByAccount(account proto.Recipient) (*ast.Tree, error)
NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)
NewestRecipientToAddress(recipient proto.Recipient) (proto.WavesAddress, error)
NewestAddrByAlias(alias proto.Alias) (proto.WavesAddress, error)
NewestLeasingInfo(id crypto.Digest) (*proto.LeaseInfo, error)
IsStateUntouched(account proto.Recipient) (bool, error)
NewestAssetBalance(account proto.Recipient, assetID crypto.Digest) (uint64, error)
NewestWavesBalance(account proto.Recipient) (uint64, error)
// NewestFullWavesBalance returns a full Waves balance of account.
// The method must be used ONLY in the Ride environment.
// The boundaries of the generating balance are calculated for the current height of applying block,
// instead of the last block height.
//
// For example, for the block validation we are use min effective balance of the account from height 1 to 1000.
// This function uses heights from 2 to 1001, where 1001 is the height of the applying block.
// All changes of effective balance during the applying block are affecting the generating balance.
NewestFullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)
RetrieveNewestIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
RetrieveNewestBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
RetrieveNewestStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
RetrieveNewestBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
RetrieveEntries(account proto.Recipient) ([]proto.DataEntry, error)
NewestAssetIsSponsored(assetID crypto.Digest) (bool, error)
NewestAssetConstInfo(assetID proto.AssetID) (*proto.AssetConstInfo, error)
NewestAssetInfo(assetID crypto.Digest) (*proto.AssetInfo, error)
NewestFullAssetInfo(assetID crypto.Digest) (*proto.FullAssetInfo, error)
NewestScriptByAsset(assetID crypto.Digest) (*ast.Tree, error)
NewestBlockInfoByHeight(height proto.Height) (*proto.BlockInfo, error)
EstimatorVersion() (int, error)
IsNotFound(err error) bool
}
type TransactionWithBytes ¶
type TransactionWithBytes struct {
T proto.Transaction
B []byte
}
type UtxPool ¶
type UtxPool interface {
Add(st UtxPoolValidatorState, t proto.Transaction) error
AddWithBytes(st UtxPoolValidatorState, t proto.Transaction, b []byte) error
AddWithBytesRaw(t proto.Transaction, b []byte) error
Exists(t proto.Transaction) bool
Pop() *TransactionWithBytes
AllTransactions() []proto.Transaction
Len() int
ExistsByID(id []byte) bool
Clean(ctx context.Context, shouldDrop func(tx proto.Transaction) bool) (int, int)
}
UtxPool storage interface
type UtxPoolValidatorState ¶ added in v0.11.0
type WavesBalanceProfile ¶ added in v0.10.0
type WavesBalanceProfile struct {
Balance uint64
LeaseIn int64
LeaseOut int64
Generating uint64
Challenged bool // if Challenged true, the account considered as challenged at the current height.
}
WavesBalanceProfile contains essential parts of Waves balance and must be used to pass this information if SmartState only.
func (*WavesBalanceProfile) EffectiveBalance ¶ added in v0.11.0
func (bp *WavesBalanceProfile) EffectiveBalance() (uint64, error)
EffectiveBalance returns effective balance with checking for account challenging. The function MUST be used ONLY in the context where account challenging IS CHECKED.
func (*WavesBalanceProfile) SpendableBalance ¶ added in v0.11.0
func (bp *WavesBalanceProfile) SpendableBalance() (uint64, error)
func (*WavesBalanceProfile) ToFullWavesBalance ¶ added in v0.11.0
func (bp *WavesBalanceProfile) ToFullWavesBalance() (*proto.FullWavesBalance, error)