Versions in this module Expand all Collapse all v1 v1.2.1 Dec 18, 2019 Changes in this version + func AddressFromProgram(program []byte) types.Address + func AppendMultisigToLogicSig(lsig *types.LogicSig, sk ed25519.PrivateKey) error + func AppendMultisigTransaction(sk ed25519.PrivateKey, ma MultisigAccount, preStxBytes []byte) (txid string, stxBytes []byte, err error) + func ComputeGroupID(txgroup []types.Transaction) (gid types.Digest, err error) + func LogicSigAddress(lsig types.LogicSig) types.Address + func MakeLogicSig(program []byte, args [][]byte, sk ed25519.PrivateKey, ma MultisigAccount) (lsig types.LogicSig, err error) + func MergeMultisigTransactions(stxsBytes ...[]byte) (txid string, stxBytes []byte, err error) + func RandomBytes(s []byte) + func SignBid(sk ed25519.PrivateKey, bid types.Bid) (signedBid []byte, err error) + func SignBytes(sk ed25519.PrivateKey, bytesToSign []byte) (signature []byte, err error) + func SignLogicsigTransaction(lsig types.LogicSig, tx types.Transaction) (txid string, stxBytes []byte, err error) + func SignMultisigTransaction(sk ed25519.PrivateKey, ma MultisigAccount, tx types.Transaction) (txid string, stxBytes []byte, err error) + func SignTransaction(sk ed25519.PrivateKey, tx types.Transaction) (txid string, stxBytes []byte, err error) + func VerifyBytes(pk ed25519.PublicKey, message, signature []byte) bool + func VerifyLogicSig(lsig types.LogicSig, sender types.Address) (result bool) + func VerifyMultisig(addr types.Address, message []byte, msig types.MultisigSig) bool + type Account struct + Address types.Address + PrivateKey ed25519.PrivateKey + PublicKey ed25519.PublicKey + func GenerateAccount() (kp Account) + type MultisigAccount struct + Pks []ed25519.PublicKey + Threshold uint8 + Version uint8 + func MultisigAccountFromSig(sig types.MultisigSig) (ma MultisigAccount, err error) + func MultisigAccountWithParams(version uint8, threshold uint8, addrs []types.Address) (ma MultisigAccount, err error) + func (ma MultisigAccount) Address() (addr types.Address, err error) + func (ma MultisigAccount) Blank() bool + func (ma MultisigAccount) Validate() (err error)