package
7.1.0-beta+incompatible
Repository: https://github.com/injectivelabs/0x-mesh.git
Documentation: pkg.go.dev
# Constants
GanacheEndpoint specifies the Ganache test Ethereum node JSON RPC endpoint used in tests.
MaxBlocksStoredInNonArchiveNode is the max number of historical blocks for which a regular Ethereum node stores archive-level state.
MaxOrderSizeInBytes is the maximum number of bytes allowed for encoded orders.
TestChainID is the test (Ganache) chainId used for testing.
# Variables
ErrInternal is used whenever we don't wish to expose internal errors to a client.
ErrMaxMessageSize is the error emitted when a message exceeds it's max size.
GanacheAccount0 is the first account exposed on the Ganache test Ethereum node.
GanacheAccount1 is the second account exposed on the Ganache test Ethereum node.
GanacheAccount2 is the third account exposed on the Ganache test Ethereum node.
GanacheAccount3 is the fourth account exposed on the Ganache test Ethereum node.
GanacheAccount4 is the fifth account exposed on the Ganache test Ethereum node.
GanacheAccountToPrivateKey maps Ganache test Ethereum node accounts to their private key.
GanacheDummyERC1155MintableAddress is the dummy ERC1155 token address in the Ganache snapshot.
GanacheDummyERC721TokenAddress is the dummy ERC721 token address in the Ganache snapshot.
NullAddress is an Ethereum address with all zeroes.
TestMaxContentLength is the max Ethereum RPC Content-Length used in tests.
UnlimitedExpirationTime is the maximum value for uint256 (2^256-1), which means there is effectively no limit on the maximum expiration time for orders.