format

package
v1.0.0-preview.44 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AccountReference = "AccountReference()"
View Source
const Nil = "nil"
View Source
const StorageReference = "StorageReference()"
View Source
const Void = "()"

Variables

This section is empty.

Functions

func AccountCapabilityController added in v0.39.0

func AccountCapabilityController(borrowType string, capabilityID string) string

func Address

func Address(address common.Address) string

func Array

func Array(values []string) string

func BigInt

func BigInt(int *big.Int) string

func Bool

func Bool(b bool) string

func Bytes

func Bytes(bytes []byte) string

func Capability

func Capability(borrowType string, address string, id string) string

func Composite

func Composite(typeID string, fields []struct {
	Name  string
	Value string
}) string

func DeprecatedPathCapability added in v1.0.0

func DeprecatedPathCapability(borrowType string, address string, path string) string

PathCapability returns the string representation of a path capability. Deprecated and removed in v1.0.0.

func Dictionary

func Dictionary(pairs []struct {
	Key   string
	Value string
}) string

func Fix64

func Fix64(v int64) string

func FormattedStringLength added in v0.24.0

func FormattedStringLength(s string) int

func Int

func Int(int int64) string

func PadLeft

func PadLeft(value string, separator rune, minLength uint) string

func Path

func Path(domain string, identifier string) string

func StorageCapabilityController added in v0.39.0

func StorageCapabilityController(borrowType string, capabilityID string, target string) string

func String

func String(s string) string

func TypeValue

func TypeValue(ty string) string

func UFix64

func UFix64(v uint64) string

func Uint

func Uint(uint uint64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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