core

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(condition any, msgs ...any)

func ContractAddress

func ContractAddress() core.Address

ContractAddress returns the address of the current contract

func Delete

func Delete(key string) error

Delete removes a key-value pair

func Get

func Get(key string, value interface{}) error

Get retrieves a value by key

func Log

func Log(event string, keyValues ...interface{})

Log records an event with key-value pairs

func Sender

func Sender() core.Address

Sender returns the address of the message sender

func Set

func Set(key string, value interface{}) error

Set stores a value by key

Types

This section is empty.

Jump to

Keyboard shortcuts

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