#
systems
import "command-line-arguments"
#
Index
Variables func GetSystemsABI() (contractAbi abi.ABI) type World func NewWorld(address common.Address, backend bind.ContractBackend) (*World, error)
type WorldCaller func NewWorldCaller(address common.Address, caller bind.ContractCaller) (*WorldCaller, error) func (_World *WorldCaller) Owner(opts *bind.CallOpts) (common.Address, error)
type WorldCallerRaw func (_World *WorldCallerRaw) Call(opts *bind.CallOpts, result *[]interface, method string, params ...interface) error
type WorldCallerSession func (_World *WorldCallerSession) Owner() (common.Address, error)
type WorldFilterer func NewWorldFilterer(address common.Address, filterer bind.ContractFilterer) (*WorldFilterer, error)
type WorldRaw func (_World *WorldRaw) Call(opts *bind.CallOpts, result *[]interface, method string, params ...interface) error func (_World *WorldRaw) Transact(opts *bind.TransactOpts, method string, params ...interface) (*types.Transaction, error) func (_World *WorldRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type WorldSession func (_World *WorldSession) Execute(arguments []byte) (*types.Transaction, error) func (_World *WorldSession) ExecuteTyped(entity *big.Int, name string) (*types.Transaction, error) func (_World *WorldSession) Owner() (common.Address, error)
type WorldTransactor func NewWorldTransactor(address common.Address, transactor bind.ContractTransactor) (*WorldTransactor, error) func (_World *WorldTransactor) Execute(opts *bind.TransactOpts, arguments []byte) (*types.Transaction, error) func (_World *WorldTransactor) ExecuteTyped(opts *bind.TransactOpts, entity *big.Int, name string) (*types.Transaction, error)
type WorldTransactorRaw func (_World *WorldTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface) (*types.Transaction, error) func (_World *WorldTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type WorldTransactorSession func (_World *WorldTransactorSession) Execute(arguments []byte) (*types.Transaction, error) func (_World *WorldTransactorSession) ExecuteTyped(entity *big.Int, name string) (*types.Transaction, error)
#
Variables
WorldABI is the input ABI used to generate the binding from. Deprecated: Use WorldMetaData.ABI instead.
var WorldABI = WorldMetaData.ABI
WorldMetaData contains all meta data concerning the World contract.
var WorldMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIWorld\",\"name\":\"_world\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_components\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"arguments\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"entity\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"executeTyped\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
#
func GetSystemsABI
func GetSystemsABI() (contractAbi abi.ABI)
#
type World
World is an auto generated Go binding around an Ethereum contract.
type World struct {
WorldCaller // Read-only binding to the contract
WorldTransactor // Write-only binding to the contract
WorldFilterer // Log filterer for contract events
}
#
func NewWorld
func NewWorld(address common.Address, backend bind.ContractBackend) (*World, error)
NewWorld creates a new instance of World, bound to a specific deployed contract.
#
type WorldCaller
WorldCaller is an auto generated read-only Go binding around an Ethereum contract.
type WorldCaller struct {
// contains filtered or unexported fields
}
#
func NewWorldCaller
func NewWorldCaller(address common.Address, caller bind.ContractCaller) (*WorldCaller, error)
NewWorldCaller creates a new read-only instance of World, bound to a specific deployed contract.
#
func (*WorldCaller) Owner
func (_World *WorldCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
#
type WorldCallerRaw
WorldCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type WorldCallerRaw struct {
Contract *WorldCaller // Generic read-only contract binding to access the raw methods on
}
#
func (*WorldCallerRaw) Call
func (_World *WorldCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
#
type WorldCallerSession
WorldCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type WorldCallerSession struct {
Contract *WorldCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
#
func (*WorldCallerSession) Owner
func (_World *WorldCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
#
type WorldFilterer
WorldFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type WorldFilterer struct {
// contains filtered or unexported fields
}
#
func NewWorldFilterer
func NewWorldFilterer(address common.Address, filterer bind.ContractFilterer) (*WorldFilterer, error)
NewWorldFilterer creates a new log filterer instance of World, bound to a specific deployed contract.
#
type WorldRaw
WorldRaw is an auto generated low-level Go binding around an Ethereum contract.
type WorldRaw struct {
Contract *World // Generic contract binding to access the raw methods on
}
#
func (*WorldRaw) Call
func (_World *WorldRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
#
func (*WorldRaw) Transact
func (_World *WorldRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
#
func (*WorldRaw) Transfer
func (_World *WorldRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
#
type WorldSession
WorldSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type WorldSession struct {
Contract *World // Generic contract binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
#
func (*WorldSession) Execute
func (_World *WorldSession) Execute(arguments []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x09c5eabe.
Solidity: function execute(bytes arguments) returns(bytes)
#
func (*WorldSession) ExecuteTyped
func (_World *WorldSession) ExecuteTyped(entity *big.Int, name string) (*types.Transaction, error)
ExecuteTyped is a paid mutator transaction binding the contract method 0x68c47df2.
Solidity: function executeTyped(uint256 entity, string name) returns(bytes)
#
func (*WorldSession) Owner
func (_World *WorldSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
#
type WorldTransactor
WorldTransactor is an auto generated write-only Go binding around an Ethereum contract.
type WorldTransactor struct {
// contains filtered or unexported fields
}
#
func NewWorldTransactor
func NewWorldTransactor(address common.Address, transactor bind.ContractTransactor) (*WorldTransactor, error)
NewWorldTransactor creates a new write-only instance of World, bound to a specific deployed contract.
#
func (*WorldTransactor) Execute
func (_World *WorldTransactor) Execute(opts *bind.TransactOpts, arguments []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x09c5eabe.
Solidity: function execute(bytes arguments) returns(bytes)
#
func (*WorldTransactor) ExecuteTyped
func (_World *WorldTransactor) ExecuteTyped(opts *bind.TransactOpts, entity *big.Int, name string) (*types.Transaction, error)
ExecuteTyped is a paid mutator transaction binding the contract method 0x68c47df2.
Solidity: function executeTyped(uint256 entity, string name) returns(bytes)
#
type WorldTransactorRaw
WorldTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type WorldTransactorRaw struct {
Contract *WorldTransactor // Generic write-only contract binding to access the raw methods on
}
#
func (*WorldTransactorRaw) Transact
func (_World *WorldTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
#
func (*WorldTransactorRaw) Transfer
func (_World *WorldTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
#
type WorldTransactorSession
WorldTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type WorldTransactorSession struct {
Contract *WorldTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
#
func (*WorldTransactorSession) Execute
func (_World *WorldTransactorSession) Execute(arguments []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x09c5eabe.
Solidity: function execute(bytes arguments) returns(bytes)
#
func (*WorldTransactorSession) ExecuteTyped
func (_World *WorldTransactorSession) ExecuteTyped(entity *big.Int, name string) (*types.Transaction, error)
ExecuteTyped is a paid mutator transaction binding the contract method 0x68c47df2.
Solidity: function executeTyped(uint256 entity, string name) returns(bytes)
Generated by gomarkdoc