Documentation
¶
Index ¶
- Constants
- func CreateTransaction(receiverPubKey []byte, k *account.AccountKey, amount uint64, systemID []byte, ...) (*types.TransactionOrder, error)
- func CreateTransactions(pubKey []byte, amount uint64, systemID []byte, bills []*wallet.Bill, ...) ([]*types.TransactionOrder, error)
- func NewAddFCTx(unitID []byte, fcProof *wallet.Proof, ac *account.AccountKey, systemID []byte, ...) (*types.TransactionOrder, error)
- func NewCloseFCTx(systemID []byte, unitID []byte, timeout uint64, amount uint64, ...) (*types.TransactionOrder, error)
- func NewDustTx(ac *account.AccountKey, systemID []byte, bill *wallet.Bill, ...) (*types.TransactionOrder, error)
- func NewReclaimFCTx(systemID []byte, unitID []byte, timeout uint64, fcProof *wallet.Proof, ...) (*types.TransactionOrder, error)
- func NewSplitTx(amount uint64, pubKey []byte, k *account.AccountKey, systemID []byte, ...) (*types.TransactionOrder, error)
- func NewSwapTx(k *account.AccountKey, systemID []byte, dcProofs []*wallet.Proof, ...) (*types.TransactionOrder, error)
- func NewTransferFCTx(amount uint64, targetRecordID []byte, targetUnitBacklink []byte, ...) (*types.TransactionOrder, error)
- func NewTransferTx(receiverPubKey []byte, k *account.AccountKey, systemID []byte, ...) (*types.TransactionOrder, error)
Constants ¶
View Source
const MaxFee = uint64(1)
Variables ¶
This section is empty.
Functions ¶
func CreateTransaction ¶
func CreateTransactions ¶
func NewAddFCTx ¶
func NewAddFCTx(unitID []byte, fcProof *wallet.Proof, ac *account.AccountKey, systemID []byte, timeout uint64) (*types.TransactionOrder, error)
func NewCloseFCTx ¶
func NewCloseFCTx(systemID []byte, unitID []byte, timeout uint64, amount uint64, targetUnitID, targetUnitBacklink []byte, k *account.AccountKey) (*types.TransactionOrder, error)
func NewReclaimFCTx ¶
func NewSplitTx ¶
func NewSwapTx ¶
func NewSwapTx(k *account.AccountKey, systemID []byte, dcProofs []*wallet.Proof, targetUnitID []byte, timeout uint64) (*types.TransactionOrder, error)
func NewTransferFCTx ¶
func NewTransferTx ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.