clienttest

package
v1.44.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventsContract       = "Events"
	HelloContract        = "Hello"
	LimitWalletContract  = "LimitWallet"
	GiverContract        = "Giver"
	GiverWalletContract  = "GiverWallet"
	PiggyContract        = "Piggy"
	SubscriptionContract = "Subscription"
	WalletContract       = "Wallet"
)
View Source
const GiverAddress = "0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94"

Variables

This section is empty.

Functions

func GetGramsFromGiver

func GetGramsFromGiver(c *client.Client, msgParams *client.ParamsOfEncodeMessage, msg *client.ResultOfEncodeMessage) error

func LoadAbi

func LoadAbi(name string, v AbiVersion) client.Abi

func LoadTest

func LoadTest(name string, v AbiVersion) (client.Abi, string)

func LoadTvc

func LoadTvc(name string, v AbiVersion) string

func NewTestClient

func NewTestClient() *client.Client

Types

type AbiVersion

type AbiVersion string
const (
	AbiV1 AbiVersion = "abi_v1"
	AbiV2 AbiVersion = "abi_v2"
)

Jump to

Keyboard shortcuts

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