Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2019 Changes in this version + func ListMintDistributions(since, count uint64, node ...string) ([]common.MintDistribution, error) + func MakeOutTransaction(t *Transaction, indexs []int, outputAddress string, mask crypto.Key, ...) (*common.Transaction, error) + func SendTransaction(raw string, node ...string) (crypto.Hash, error) + func SetNodes(ns []string) + type Signer interface + Sign func(out *common.Transaction, t *Transaction) (*common.VersionedTransaction, error) + VerifyOutputs func(t *Transaction) ([]int, error) + type Store interface + ReadProperty func(ctx context.Context, key string) (string, error) + WriteProperty func(ctx context.Context, key, value string) error + type Transaction struct + Hash crypto.Hash + Snapshot string + func DoTransaction(ctx context.Context, rawData string) (*Transaction, error) + func ReadTransaction(hash string, node ...string) (*Transaction, error) + func WithdrawTransaction(ctx context.Context, t *Transaction, signer Signer, store Store, addr string, ...) (*Transaction, error) + func (t Transaction) CheckDepositInput(deposit *common.DepositData, tx crypto.Hash) error + func (t Transaction) ReadLastMintDistribution(group string) (*common.MintDistribution, error) + func (t Transaction) ReadUTXO(hash crypto.Hash, index int) (*common.UTXOWithLock, error)