package
0.0.0-20241208111944-886a677d4f6d
Repository: https://github.com/epicchainlabs/epicchain-go.git
Documentation: pkg.go.dev

# Functions

CreateContractHash creates a deployed contract hash from the transaction sender and the contract script.
CreateNativeContractHash calculates the hash for the native contract with the given name.
NEOBalanceFromBytes converts the serialized NEOBalance to a structure.
NEP17BalanceFromBytes converts the serialized NEP17Balance to a structure.
NewTokenTransferInfo returns new TokenTransferInfo.

# Constants

TokenTransferBatchSize is the maximum number of entries for TokenTransferLog.

# Structs

AppExecResult represents the result of the script execution, gathering together all resulting notifications, state, stack and other metadata.
ContainedNotificationEvent represents a wrapper for a notification from script execution.
Contract holds information about a smart contract in the Neo blockchain.
ContractBase represents a part shared by native and user-deployed contracts.
Deposit represents GAS deposit from a Notary contract.
Execution represents the result of a single script execution, gathering together all resulting notifications, state, stack and other metadata.
MPTRoot represents the storage state root together with sign info.
NEOBalance represents the balance state of a NEO-token.
NEP11Transfer represents a single NEP-11 Transfer event.
NEP17Balance represents the balance state of a NEP-17-token.
NEP17Transfer represents a single NEP-17 Transfer event.
NotificationEvent is a tuple of the scripthash that has emitted the Item as a notification and the item itself.
OracleRequest represents an oracle request.
TokenTransferInfo stores a map of the contract IDs to the balance's last updated block trackers along with the information about NEP-17 and NEP-11 transfer batch.
TokenTransferLog is a serialized log of token transfers.
Validator holds the state of a validator (its key and votes balance).

# Type aliases

StorageItem is the value to be stored with read-only flag.