Documentation ¶
Index ¶
- func EncodeValue(value int, valueType string) (buf []byte, err error)
- func EncodeVarint(number int) (buf []byte)
- func GetProgram(definition types.Logic, variables map[string]int) (templateBytes []byte, err error)
- func GetStateBytes(state map[string]models.TealValue, key interface{}) string
- func GetStateInt(state map[string]models.TealValue, key interface{}) int
- func IntToBytes(num int) []byte
- func SignAndSubmitTransactions(client *algod.Client, transactions []algoTypes.Transaction, ...) (trxInfo *types.TrxInfo, err error)
- func WaitForConfirmation(client *algod.Client, txid string) (trxInfo *types.TrxInfo, err error)
- type TransactionGroup
- func (s *TransactionGroup) GetSignedGroup() (signedGroup []byte)
- func (s *TransactionGroup) GetSignedTransactions() [][]byte
- func (s *TransactionGroup) GetTransactions() []algoTypes.Transaction
- func (s *TransactionGroup) SignWithLogicsig(logicsig *types.LogicSig) (err error)
- func (s *TransactionGroup) SignWithPrivateKey(address string, privateKey string) (err error)
- func (s *TransactionGroup) Sumbit(algod *algod.Client, wait bool) (trxInfo *types.TrxInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeVarint ¶
func GetProgram ¶
not compatible with go-mobile
func GetStateBytes ¶
not compatible with go-mobile
func GetStateInt ¶
not compatible with go-mobile
func IntToBytes ¶
func SignAndSubmitTransactions ¶
func SignAndSubmitTransactions(client *algod.Client, transactions []algoTypes.Transaction, signedTransactions [][]byte, sender algoTypes.Address, senderSK ed25519.PrivateKey) (trxInfo *types.TrxInfo, err error)
not compatible with go-mobile
Types ¶
type TransactionGroup ¶
type TransactionGroup struct {
// contains filtered or unexported fields
}
func NewTransactionGroup ¶
func NewTransactionGroup(transactions []algoTypes.Transaction) (transactionGroup *TransactionGroup, err error)
not compatible with go-mobile
func (*TransactionGroup) GetSignedGroup ¶
func (s *TransactionGroup) GetSignedGroup() (signedGroup []byte)
func (*TransactionGroup) GetSignedTransactions ¶
func (s *TransactionGroup) GetSignedTransactions() [][]byte
not compatible with go-mobile
func (*TransactionGroup) GetTransactions ¶
func (s *TransactionGroup) GetTransactions() []algoTypes.Transaction
not compatible with go-mobile
func (*TransactionGroup) SignWithLogicsig ¶
func (s *TransactionGroup) SignWithLogicsig(logicsig *types.LogicSig) (err error)
func (*TransactionGroup) SignWithPrivateKey ¶
func (s *TransactionGroup) SignWithPrivateKey(address string, privateKey string) (err error)
Click to show internal directories.
Click to hide internal directories.