Versions in this module Expand all Collapse all v1 v1.0.0 Jul 14, 2021 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 GenerateAddressFromSK(sk []byte) (types.Address, 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 TealSign(sk ed25519.PrivateKey, data []byte, contractAddress types.Address) (rawSig types.Signature, err error) + func TealSignFromProgram(sk ed25519.PrivateKey, data []byte, program []byte) (rawSig types.Signature, err error) + func TransactionID(tx types.Transaction) (txid []byte) + func TransactionIDString(tx types.Transaction) (txid string) + 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)