Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TableID ¶
TableID is the ID of a Table.
func NewTableID ¶
NewTableID creates a TableID from a string representation of the uint256.
func NewTableIDFromInt64 ¶
NewTableIDFromInt64 returns a TableID from a int64.
type TablelandTables ¶
type TablelandTables interface { // CreateTable mints a new table NFT. CreateTable(context.Context, common.Address, string) (Transaction, error) // IsOwner checks if the provided address is the owner of the provided table. IsOwner(context.Context, common.Address, *big.Int) (bool, error) // RunSQL sends a transaction with a SQL statement to the Tabeland Smart Contract. RunSQL(context.Context, common.Address, TableID, string) (Transaction, error) // SetController sends a transaction that sets the controller for a token id in Smart Contract. SetController(context.Context, common.Address, TableID, common.Address) (Transaction, error) }
TablelandTables defines the interface for interaction with the TablelandTables smart contract.
type Transaction ¶
Transaction represents a Smart Contract transaction.
Click to show internal directories.
Click to hide internal directories.