Documentation
¶
Overview ¶
This package manages the contract addresses.
The addresses depend on the deployment of the contracts and should be provided by the node user. This module offers an option to load these addresses from a config file, compatible with the output of `sunodo address-book --json`. This package also contain the addresses for the test environment as hard-coded values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
AuthorityHistoryPairFactory common.Address
CartesiDAppFactory common.Address
DAppAddressRelay common.Address
ERC1155BatchPortal common.Address
ERC1155SinglePortal common.Address
ERC20Portal common.Address
ERC721Portal common.Address
EtherPortal common.Address
InputBox common.Address
CartesiDApp common.Address
}
List of contract addresses.
func GetBookFromFile ¶
Get the address book from json File.
Click to show internal directories.
Click to hide internal directories.