format

package
v0.42.9 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

View Source
const AccountLink = "AccountLink()"
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 Composite

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

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 Function added in v0.30.0

func Function(signature string) string

func IDCapability added in v0.39.0

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

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 PathCapability added in v0.39.0

func PathCapability(borrowType string, address string, path string) string
func PathLink(ty string, targetPath 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