escrow

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: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitEscrow

func InitEscrow(projIndex int, seedpwd string, recpPubkey string, mySeed string, otherSeed string) (string, error)

InitEscrow creates a new keypair and stores it in a file

func SendAssetsFromEscrow

func SendAssetsFromEscrow(escrowPubkey string, destination string, issuer string, signer1 string, signer2 string, amount float64, memo string, asset string) error

SendAssetsFromEscrow sends assets to a destination address from the project escrow

func SendFundsFromEscrow

func SendFundsFromEscrow(escrowPubkey string, destination string, signer1 string, signer2 string, amount float64, memo string) error

SendFundsFromEscrow sends funds to a destination address from the project escrow

func TransferFundsToEscrow

func TransferFundsToEscrow(amount float64, projIndex int, escrowPubkey string, otherSeed string) error

TransferFundsToEscrow transfers stablecoin to the escrow address from otherSeed

Types

This section is empty.

Jump to

Keyboard shortcuts

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