common

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Denomination    = "ugnot"
	EncryptPassword = "encrypt"
	KeybasePrefix   = "stress-account-"
)

Variables

View Source
var (
	DefaultGasFee = std.Coin{
		Denom:  Denomination,
		Amount: 1,
	}

	InitialTxCost = std.Coin{
		Denom:  Denomination,
		Amount: 1000000,
	}
)

TODO support estimating gas params These are constants for now, but should be fetched as estimations from the Tendermint node once this functionality is available.

Each package call / deployment costs a fixed 1 GNOT https://github.com/gnolang/gno/issues/649

Functions

This section is empty.

Types

type Batch

type Batch interface {
	// AddTxBroadcast adds the transaction broadcast to the batch
	AddTxBroadcast(tx []byte) error

	// Execute executes the batch send
	Execute() ([]interface{}, error)
}

Batch is a common transaction batch

Jump to

Keyboard shortcuts

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