Documentation ¶
Index ¶
- Constants
- type Testabi
- type TestabiCaller
- func (_Testabi *TestabiCaller) BlockN(opts *bind.CallOpts) (uint64, error)
- func (_Testabi *TestabiCaller) Count(opts *bind.CallOpts) (uint16, error)
- func (_Testabi *TestabiCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Testabi *TestabiCaller) Infon(opts *bind.CallOpts) (common.Address, []common.Address, uint8, error)
- func (_Testabi *TestabiCaller) Number(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Testabi *TestabiCaller) Own(opts *bind.CallOpts) (common.Address, error)
- func (_Testabi *TestabiCaller) Registerscode(opts *bind.CallOpts) (string, error)
- func (_Testabi *TestabiCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type TestabiCallerRaw
- type TestabiCallerSession
- func (_Testabi *TestabiCallerSession) BlockN() (uint64, error)
- func (_Testabi *TestabiCallerSession) Count() (uint16, error)
- func (_Testabi *TestabiCallerSession) Decimals() (uint8, error)
- func (_Testabi *TestabiCallerSession) Infon() (common.Address, []common.Address, uint8, error)
- func (_Testabi *TestabiCallerSession) Number() (struct{ ... }, error)
- func (_Testabi *TestabiCallerSession) Own() (common.Address, error)
- func (_Testabi *TestabiCallerSession) Registerscode() (string, error)
- func (_Testabi *TestabiCallerSession) TotalSupply() (*big.Int, error)
- type TestabiConstructorEvent
- type TestabiConstructorEventIterator
- type TestabiFilterer
- type TestabiRaw
- func (_Testabi *TestabiRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Testabi *TestabiRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Testabi *TestabiRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TestabiSession
- func (_Testabi *TestabiSession) BlockN() (uint64, error)
- func (_Testabi *TestabiSession) Count() (uint16, error)
- func (_Testabi *TestabiSession) Decimals() (uint8, error)
- func (_Testabi *TestabiSession) Infon() (common.Address, []common.Address, uint8, error)
- func (_Testabi *TestabiSession) Number() (struct{ ... }, error)
- func (_Testabi *TestabiSession) Own() (common.Address, error)
- func (_Testabi *TestabiSession) Registers(addrs []common.Address) (*types.Transaction, error)
- func (_Testabi *TestabiSession) Registerscode() (string, error)
- func (_Testabi *TestabiSession) TotalSupply() (*big.Int, error)
- type TestabiTransactor
- type TestabiTransactorRaw
- type TestabiTransactorSession
Constants ¶
const TestabiABI = "" /* 2938-byte string literal not displayed */
TestabiABI is the input ABI used to generate the binding from.
const TestabiBin = `` /* 5246-byte string literal not displayed */
TestabiBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Testabi ¶
type Testabi struct { TestabiCaller // Read-only binding to the contract TestabiTransactor // Write-only binding to the contract TestabiFilterer // Log filterer for contract events }
Testabi is an auto generated Go binding around an Ethereum contract.
func DeployTestabi ¶
func DeployTestabi(auth *bind.TransactOpts, backend bind.ContractBackend, registers []common.Address, registerscode string, decimals uint8, count uint16, number uint32, blockN uint64, totalSupply *big.Int, own common.Address) (common.Address, *types.Transaction, *Testabi, error)
DeployTestabi deploys a new Ethereum contract, binding an instance of Testabi to it.
func NewTestabi ¶
NewTestabi creates a new instance of Testabi, bound to a specific deployed contract.
type TestabiCaller ¶
type TestabiCaller struct {
// contains filtered or unexported fields
}
TestabiCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTestabiCaller ¶
func NewTestabiCaller(address common.Address, caller bind.ContractCaller) (*TestabiCaller, error)
NewTestabiCaller creates a new read-only instance of Testabi, bound to a specific deployed contract.
func (*TestabiCaller) BlockN ¶
func (_Testabi *TestabiCaller) BlockN(opts *bind.CallOpts) (uint64, error)
BlockN is a free data retrieval call binding the contract method 0xa52dc2e7.
Solidity: function blockN() constant returns(uint64)
func (*TestabiCaller) Count ¶
func (_Testabi *TestabiCaller) Count(opts *bind.CallOpts) (uint16, error)
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() constant returns(uint16)
func (*TestabiCaller) Decimals ¶
func (_Testabi *TestabiCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*TestabiCaller) Infon ¶
func (_Testabi *TestabiCaller) Infon(opts *bind.CallOpts) (common.Address, []common.Address, uint8, error)
Infon is a free data retrieval call binding the contract method 0x59593c70.
Solidity: function infon() constant returns(address, address[], uint8)
func (*TestabiCaller) Number ¶
Number is a free data retrieval call binding the contract method 0x8381f58a.
Solidity: function number() constant returns(a uint32, b uint64)
func (*TestabiCaller) Own ¶
Own is a free data retrieval call binding the contract method 0x99cdee0e.
Solidity: function own() constant returns(address)
func (*TestabiCaller) Registerscode ¶
func (_Testabi *TestabiCaller) Registerscode(opts *bind.CallOpts) (string, error)
Registerscode is a free data retrieval call binding the contract method 0x1d44b1c2.
Solidity: function registerscode() constant returns(string)
func (*TestabiCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type TestabiCallerRaw ¶
type TestabiCallerRaw struct {
Contract *TestabiCaller // Generic read-only contract binding to access the raw methods on
}
TestabiCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TestabiCallerRaw) Call ¶
func (_Testabi *TestabiCallerRaw) 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 TestabiCallerSession ¶
type TestabiCallerSession struct { Contract *TestabiCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TestabiCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TestabiCallerSession) BlockN ¶
func (_Testabi *TestabiCallerSession) BlockN() (uint64, error)
BlockN is a free data retrieval call binding the contract method 0xa52dc2e7.
Solidity: function blockN() constant returns(uint64)
func (*TestabiCallerSession) Count ¶
func (_Testabi *TestabiCallerSession) Count() (uint16, error)
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() constant returns(uint16)
func (*TestabiCallerSession) Decimals ¶
func (_Testabi *TestabiCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*TestabiCallerSession) Infon ¶
Infon is a free data retrieval call binding the contract method 0x59593c70.
Solidity: function infon() constant returns(address, address[], uint8)
func (*TestabiCallerSession) Number ¶
func (_Testabi *TestabiCallerSession) Number() (struct { A uint32 B uint64 }, error)
Number is a free data retrieval call binding the contract method 0x8381f58a.
Solidity: function number() constant returns(a uint32, b uint64)
func (*TestabiCallerSession) Own ¶
func (_Testabi *TestabiCallerSession) Own() (common.Address, error)
Own is a free data retrieval call binding the contract method 0x99cdee0e.
Solidity: function own() constant returns(address)
func (*TestabiCallerSession) Registerscode ¶
func (_Testabi *TestabiCallerSession) Registerscode() (string, error)
Registerscode is a free data retrieval call binding the contract method 0x1d44b1c2.
Solidity: function registerscode() constant returns(string)
func (*TestabiCallerSession) TotalSupply ¶
func (_Testabi *TestabiCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type TestabiConstructorEvent ¶
type TestabiConstructorEvent struct { Registers []common.Address Registerscode string Decimals uint8 Count uint16 Number uint32 BlockN uint64 TotalSupply *big.Int Own common.Address Raw types.Log // Blockchain specific contextual infos }
TestabiConstructorEvent represents a ConstructorEvent event raised by the Testabi contract.
type TestabiConstructorEventIterator ¶
type TestabiConstructorEventIterator struct { Event *TestabiConstructorEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TestabiConstructorEventIterator is returned from FilterConstructorEvent and is used to iterate over the raw logs and unpacked data for ConstructorEvent events raised by the Testabi contract.
func (*TestabiConstructorEventIterator) Close ¶
func (it *TestabiConstructorEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TestabiConstructorEventIterator) Error ¶
func (it *TestabiConstructorEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TestabiConstructorEventIterator) Next ¶
func (it *TestabiConstructorEventIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TestabiFilterer ¶
type TestabiFilterer struct {
// contains filtered or unexported fields
}
TestabiFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTestabiFilterer ¶
func NewTestabiFilterer(address common.Address, filterer bind.ContractFilterer) (*TestabiFilterer, error)
NewTestabiFilterer creates a new log filterer instance of Testabi, bound to a specific deployed contract.
func (*TestabiFilterer) FilterConstructorEvent ¶
func (_Testabi *TestabiFilterer) FilterConstructorEvent(opts *bind.FilterOpts) (*TestabiConstructorEventIterator, error)
FilterConstructorEvent is a free log retrieval operation binding the contract event 0x5d4c6f231ce175a28c0d89b77cb4a74c6a5f61efcc537d422a66c2220c8f8c03.
Solidity: e constructorEvent(registers address[], registerscode string, decimals uint8, count uint16, number uint32, blockN uint64, totalSupply uint256, own address)
func (*TestabiFilterer) WatchConstructorEvent ¶
func (_Testabi *TestabiFilterer) WatchConstructorEvent(opts *bind.WatchOpts, sink chan<- *TestabiConstructorEvent) (event.Subscription, error)
WatchConstructorEvent is a free log subscription operation binding the contract event 0x5d4c6f231ce175a28c0d89b77cb4a74c6a5f61efcc537d422a66c2220c8f8c03.
Solidity: e constructorEvent(registers address[], registerscode string, decimals uint8, count uint16, number uint32, blockN uint64, totalSupply uint256, own address)
type TestabiRaw ¶
type TestabiRaw struct {
Contract *Testabi // Generic contract binding to access the raw methods on
}
TestabiRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TestabiRaw) Call ¶
func (_Testabi *TestabiRaw) 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 (*TestabiRaw) Transact ¶
func (_Testabi *TestabiRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TestabiRaw) Transfer ¶
func (_Testabi *TestabiRaw) 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 TestabiSession ¶
type TestabiSession struct { Contract *Testabi // 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 }
TestabiSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TestabiSession) BlockN ¶
func (_Testabi *TestabiSession) BlockN() (uint64, error)
BlockN is a free data retrieval call binding the contract method 0xa52dc2e7.
Solidity: function blockN() constant returns(uint64)
func (*TestabiSession) Count ¶
func (_Testabi *TestabiSession) Count() (uint16, error)
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() constant returns(uint16)
func (*TestabiSession) Decimals ¶
func (_Testabi *TestabiSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*TestabiSession) Infon ¶
Infon is a free data retrieval call binding the contract method 0x59593c70.
Solidity: function infon() constant returns(address, address[], uint8)
func (*TestabiSession) Number ¶
func (_Testabi *TestabiSession) Number() (struct { A uint32 B uint64 }, error)
Number is a free data retrieval call binding the contract method 0x8381f58a.
Solidity: function number() constant returns(a uint32, b uint64)
func (*TestabiSession) Own ¶
func (_Testabi *TestabiSession) Own() (common.Address, error)
Own is a free data retrieval call binding the contract method 0x99cdee0e.
Solidity: function own() constant returns(address)
func (*TestabiSession) Registers ¶
func (_Testabi *TestabiSession) Registers(addrs []common.Address) (*types.Transaction, error)
Registers is a paid mutator transaction binding the contract method 0xa818131a.
Solidity: function registers(addrs address[]) returns(bool)
func (*TestabiSession) Registerscode ¶
func (_Testabi *TestabiSession) Registerscode() (string, error)
Registerscode is a free data retrieval call binding the contract method 0x1d44b1c2.
Solidity: function registerscode() constant returns(string)
func (*TestabiSession) TotalSupply ¶
func (_Testabi *TestabiSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type TestabiTransactor ¶
type TestabiTransactor struct {
// contains filtered or unexported fields
}
TestabiTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTestabiTransactor ¶
func NewTestabiTransactor(address common.Address, transactor bind.ContractTransactor) (*TestabiTransactor, error)
NewTestabiTransactor creates a new write-only instance of Testabi, bound to a specific deployed contract.
func (*TestabiTransactor) Registers ¶
func (_Testabi *TestabiTransactor) Registers(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)
Registers is a paid mutator transaction binding the contract method 0xa818131a.
Solidity: function registers(addrs address[]) returns(bool)
type TestabiTransactorRaw ¶
type TestabiTransactorRaw struct {
Contract *TestabiTransactor // Generic write-only contract binding to access the raw methods on
}
TestabiTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TestabiTransactorRaw) Transact ¶
func (_Testabi *TestabiTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TestabiTransactorRaw) Transfer ¶
func (_Testabi *TestabiTransactorRaw) 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 TestabiTransactorSession ¶
type TestabiTransactorSession struct { Contract *TestabiTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TestabiTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TestabiTransactorSession) Registers ¶
func (_Testabi *TestabiTransactorSession) Registers(addrs []common.Address) (*types.Transaction, error)
Registers is a paid mutator transaction binding the contract method 0xa818131a.
Solidity: function registers(addrs address[]) returns(bool)