Versions in this module Expand all Collapse all v1 v1.0.0 May 19, 2021 Changes in this version + type Base struct + Repo repository.Repo + func NewBase() *Base + func (b *Base) AddBalance(ctx contractapi.TransactionContextInterface, walletId string, amount string) error + func (b *Base) GetActiveWallet(ctx contractapi.TransactionContextInterface, walletId string) (*entity.Wallet, error) + func (b *Base) GetEnrollment(ctx contractapi.TransactionContextInterface, tokenId string) (*entity.Enrollment, error) + func (b *Base) GetExchangeTxByBlockchainId(ctx contractapi.TransactionContextInterface, blockchainId string) ([]*entity.Transaction, error) + func (b *Base) GetNFT(ctx contractapi.TransactionContextInterface, nftTokenId string) (*entity.NFT, error) + func (b *Base) GetTokenType(ctx contractapi.TransactionContextInterface, tokenId string) (*entity.Token, error) + func (b *Base) GetTransaction(ctx contractapi.TransactionContextInterface, txId string) (*entity.Transaction, error) + func (b *Base) GetWallet(ctx contractapi.TransactionContextInterface, walletId string) (*entity.Wallet, error) + func (b *Base) SubBalance(ctx contractapi.TransactionContextInterface, walletId string, amount string) error