Documentation
¶
Overview ¶
Package spec holds the normative tables of ABI 1 (docs/plan/durable-core/ABI.md sections 4-8) and computes abi_id, the sha256 of their canonical rendering. It is build tooling, not core: the core carries the result as the constant abi.ID, which go generate ./durable/core/abi writes and this package's test checks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Canonical ¶
func Canonical() string
Canonical renders every normative table in a fixed order, one line per row.
func EventKindByName ¶
EventKindByName resolves an event name of the section 5 table.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
abigen
command
Command abigen writes durable/core/abi/id.go (the abi_id constant the core exports) and durable/core/abi/abi.json (the tables and abi_id the JavaScript hosts read) from the tables in package spec.
|
Command abigen writes durable/core/abi/id.go (the abi_id constant the core exports) and durable/core/abi/abi.json (the tables and abi_id the JavaScript hosts read) from the tables in package spec. |
Click to show internal directories.
Click to hide internal directories.