multisig

package
v1.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2020 License: GPL-2.0, GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthImmutable2of2

func AuthImmutable2of2(pubkey string, signer1 string, signer2 string) error

AuthImmutable2of2 sets the auth immutable flag on a multisig account

func Convert2of2

func Convert2of2(myPubkey string, seed string, cosignerPubkey string) error

Convert2of2 converts the account with pubkey myPubkey to a 2of2 multisig account

func New1of2

func New1of2(cosigner1Pubkey string, cosigner2Pubkey string) (string, error)

New1of2 creates a new 1 of 2 multisig

func New2of2

func New2of2(cosigner1Pubkey string, cosigner2Pubkey string) (string, error)

New2of2 creates a new 2 of 2 multisig

func Newxofy

func Newxofy(x int, y int, signers ...string) (string, error)

Newxofy defines a new x of y multisig contract

func SendTx

func SendTx(txe string) (int32, string, error)

SendTx broadcasts a multisig tx

func SendTx22

func SendTx22(pubkey, signer1, signer2, memo string, ops ...build.Operation) (int32, string, error)

SendTx22 signs and broadcasts a given stellar tx

func TrustAssetTx

func TrustAssetTx(assetCode string, assetIssuer string, limit string, pubkey string, signer1 string, signer2 string) error

TrustAssetTx trusts a specific asset

func Tx2of2

func Tx2of2(pubkey string, destination string, signer1 string, signer2 string, amountx float64, memo string) error

Tx2of2 constructs a tx where the source account pubkey1 is the 2of2 account, we need 2 signers for this tx

func Tx2of2Asset

func Tx2of2Asset(pubkey string, destination string, assetIssuer string, signer1 string, signer2 string, amountx float64, asset string, memo string) error

Tx2of2Asset constructs a non XLM tx where the source account pubkey1 is the 2of2 account, we need 2 signers for this tx

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL