Contract

package
v0.0.0-...-556a089 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BasAssetABI = "" /* 4617-byte string literal not displayed */

BasAssetABI is the input ABI used to generate the binding from.

View Source
const BasDNSABI = "" /* 4235-byte string literal not displayed */

BasDNSABI is the input ABI used to generate the binding from.

View Source
const BasMarketABI = "" /* 6986-byte string literal not displayed */

BasMarketABI is the input ABI used to generate the binding from.

View Source
const BasMinerABI = "" /* 10465-byte string literal not displayed */

BasMinerABI is the input ABI used to generate the binding from.

View Source
const BasOANNABI = "" /* 9661-byte string literal not displayed */

BasOANNABI is the input ABI used to generate the binding from.

View Source
const BasOwnershipABI = "" /* 8284-byte string literal not displayed */

BasOwnershipABI is the input ABI used to generate the binding from.

View Source
const BasRuleABI = "" /* 1761-byte string literal not displayed */

BasRuleABI is the input ABI used to generate the binding from.

View Source
const BasTokenABI = "" /* 4766-byte string literal not displayed */

BasTokenABI is the input ABI used to generate the binding from.

View Source
const SendFreeBasABI = "" /* 933-byte string literal not displayed */

SendFreeBasABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasAsset

type BasAsset struct {
	BasAssetCaller     // Read-only binding to the contract
	BasAssetTransactor // Write-only binding to the contract
	BasAssetFilterer   // Log filterer for contract events
}

BasAsset is an auto generated Go binding around an Ethereum contract.

func NewBasAsset

func NewBasAsset(address common.Address, backend bind.ContractBackend) (*BasAsset, error)

NewBasAsset creates a new instance of BasAsset, bound to a specific deployed contract.

type BasAssetCaller

type BasAssetCaller struct {
	// contains filtered or unexported fields
}

BasAssetCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBasAssetCaller

func NewBasAssetCaller(address common.Address, caller bind.ContractCaller) (*BasAssetCaller, error)

NewBasAssetCaller creates a new read-only instance of BasAsset, bound to a specific deployed contract.

func (*BasAssetCaller) Hash

func (_BasAsset *BasAssetCaller) Hash(opts *bind.CallOpts, name []byte) ([32]byte, error)

Hash is a free data retrieval call binding the contract method 0xbd1bd35a.

Solidity: function Hash(bytes name) constant returns(bytes32)

func (*BasAssetCaller) O

func (_BasAsset *BasAssetCaller) O(opts *bind.CallOpts) (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasAssetCaller) Root

func (_BasAsset *BasAssetCaller) Root(opts *bind.CallOpts, arg0 [32]byte) (struct {
	RootName      []byte
	OpenToPublic  bool
	IsCustomed    bool
	CustomedPrice *big.Int
}, error)

Root is a free data retrieval call binding the contract method 0x83b8202f.

Solidity: function Root(bytes32 ) constant returns(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice)

func (*BasAssetCaller) RootExist

func (_BasAsset *BasAssetCaller) RootExist(opts *bind.CallOpts, nameHash [32]byte) (bool, error)

RootExist is a free data retrieval call binding the contract method 0x83026106.

Solidity: function rootExist(bytes32 nameHash) constant returns(bool)

func (*BasAssetCaller) Sub

func (_BasAsset *BasAssetCaller) Sub(opts *bind.CallOpts, arg0 [32]byte) (struct {
	TotalName []byte
	RootHash  [32]byte
}, error)

Sub is a free data retrieval call binding the contract method 0x333cf44c.

Solidity: function Sub(bytes32 ) constant returns(bytes totalName, bytes32 rootHash)

func (*BasAssetCaller) SubExist

func (_BasAsset *BasAssetCaller) SubExist(opts *bind.CallOpts, nameHash [32]byte) (bool, error)

SubExist is a free data retrieval call binding the contract method 0x0119a9e6.

Solidity: function subExist(bytes32 nameHash) constant returns(bool)

func (*BasAssetCaller) TotalNameHash

func (_BasAsset *BasAssetCaller) TotalNameHash(opts *bind.CallOpts, sName []byte, rName []byte) ([32]byte, error)

TotalNameHash is a free data retrieval call binding the contract method 0xc3821972.

Solidity: function TotalNameHash(bytes sName, bytes rName) constant returns(bytes32)

type BasAssetCallerRaw

type BasAssetCallerRaw struct {
	Contract *BasAssetCaller // Generic read-only contract binding to access the raw methods on
}

BasAssetCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BasAssetCallerRaw) Call

func (_BasAsset *BasAssetCallerRaw) 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 BasAssetCallerSession

type BasAssetCallerSession struct {
	Contract *BasAssetCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

BasAssetCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BasAssetCallerSession) Hash

func (_BasAsset *BasAssetCallerSession) Hash(name []byte) ([32]byte, error)

Hash is a free data retrieval call binding the contract method 0xbd1bd35a.

Solidity: function Hash(bytes name) constant returns(bytes32)

func (*BasAssetCallerSession) O

func (_BasAsset *BasAssetCallerSession) O() (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasAssetCallerSession) Root

func (_BasAsset *BasAssetCallerSession) Root(arg0 [32]byte) (struct {
	RootName      []byte
	OpenToPublic  bool
	IsCustomed    bool
	CustomedPrice *big.Int
}, error)

Root is a free data retrieval call binding the contract method 0x83b8202f.

Solidity: function Root(bytes32 ) constant returns(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice)

func (*BasAssetCallerSession) RootExist

func (_BasAsset *BasAssetCallerSession) RootExist(nameHash [32]byte) (bool, error)

RootExist is a free data retrieval call binding the contract method 0x83026106.

Solidity: function rootExist(bytes32 nameHash) constant returns(bool)

func (*BasAssetCallerSession) Sub

func (_BasAsset *BasAssetCallerSession) Sub(arg0 [32]byte) (struct {
	TotalName []byte
	RootHash  [32]byte
}, error)

Sub is a free data retrieval call binding the contract method 0x333cf44c.

Solidity: function Sub(bytes32 ) constant returns(bytes totalName, bytes32 rootHash)

func (*BasAssetCallerSession) SubExist

func (_BasAsset *BasAssetCallerSession) SubExist(nameHash [32]byte) (bool, error)

SubExist is a free data retrieval call binding the contract method 0x0119a9e6.

Solidity: function subExist(bytes32 nameHash) constant returns(bool)

func (*BasAssetCallerSession) TotalNameHash

func (_BasAsset *BasAssetCallerSession) TotalNameHash(sName []byte, rName []byte) ([32]byte, error)

TotalNameHash is a free data retrieval call binding the contract method 0xc3821972.

Solidity: function TotalNameHash(bytes sName, bytes rName) constant returns(bytes32)

type BasAssetFilterer

type BasAssetFilterer struct {
	// contains filtered or unexported fields
}

BasAssetFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBasAssetFilterer

func NewBasAssetFilterer(address common.Address, filterer bind.ContractFilterer) (*BasAssetFilterer, error)

NewBasAssetFilterer creates a new log filterer instance of BasAsset, bound to a specific deployed contract.

func (*BasAssetFilterer) FilterRootChanged

func (_BasAsset *BasAssetFilterer) FilterRootChanged(opts *bind.FilterOpts) (*BasAssetRootChangedIterator, error)

FilterRootChanged is a free log retrieval operation binding the contract event 0x545a99af2f74d472d3ceb11889ff68b31a1a02f48a9431f04cda814892ee57e2.

Solidity: event RootChanged(bytes32 nameHash)

func (*BasAssetFilterer) FilterSubChanged

func (_BasAsset *BasAssetFilterer) FilterSubChanged(opts *bind.FilterOpts) (*BasAssetSubChangedIterator, error)

FilterSubChanged is a free log retrieval operation binding the contract event 0x5bbf7d10adbd21c487c35c286faeeea72d10232dbc9c7e55d05f10f40f5ac3c3.

Solidity: event SubChanged(bytes32 nameHash)

func (*BasAssetFilterer) ParseRootChanged

func (_BasAsset *BasAssetFilterer) ParseRootChanged(log types.Log) (*BasAssetRootChanged, error)

ParseRootChanged is a log parse operation binding the contract event 0x545a99af2f74d472d3ceb11889ff68b31a1a02f48a9431f04cda814892ee57e2.

Solidity: event RootChanged(bytes32 nameHash)

func (*BasAssetFilterer) ParseSubChanged

func (_BasAsset *BasAssetFilterer) ParseSubChanged(log types.Log) (*BasAssetSubChanged, error)

ParseSubChanged is a log parse operation binding the contract event 0x5bbf7d10adbd21c487c35c286faeeea72d10232dbc9c7e55d05f10f40f5ac3c3.

Solidity: event SubChanged(bytes32 nameHash)

func (*BasAssetFilterer) WatchRootChanged

func (_BasAsset *BasAssetFilterer) WatchRootChanged(opts *bind.WatchOpts, sink chan<- *BasAssetRootChanged) (event.Subscription, error)

WatchRootChanged is a free log subscription operation binding the contract event 0x545a99af2f74d472d3ceb11889ff68b31a1a02f48a9431f04cda814892ee57e2.

Solidity: event RootChanged(bytes32 nameHash)

func (*BasAssetFilterer) WatchSubChanged

func (_BasAsset *BasAssetFilterer) WatchSubChanged(opts *bind.WatchOpts, sink chan<- *BasAssetSubChanged) (event.Subscription, error)

WatchSubChanged is a free log subscription operation binding the contract event 0x5bbf7d10adbd21c487c35c286faeeea72d10232dbc9c7e55d05f10f40f5ac3c3.

Solidity: event SubChanged(bytes32 nameHash)

type BasAssetRaw

type BasAssetRaw struct {
	Contract *BasAsset // Generic contract binding to access the raw methods on
}

BasAssetRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BasAssetRaw) Call

func (_BasAsset *BasAssetRaw) 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 (*BasAssetRaw) Transact

func (_BasAsset *BasAssetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasAssetRaw) Transfer

func (_BasAsset *BasAssetRaw) 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 BasAssetRootChanged

type BasAssetRootChanged struct {
	NameHash [32]byte
	Raw      types.Log // Blockchain specific contextual infos
}

BasAssetRootChanged represents a RootChanged event raised by the BasAsset contract.

type BasAssetRootChangedIterator

type BasAssetRootChangedIterator struct {
	Event *BasAssetRootChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasAssetRootChangedIterator is returned from FilterRootChanged and is used to iterate over the raw logs and unpacked data for RootChanged events raised by the BasAsset contract.

func (*BasAssetRootChangedIterator) Close

func (it *BasAssetRootChangedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasAssetRootChangedIterator) Error

func (it *BasAssetRootChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetRootChangedIterator) Next

func (it *BasAssetRootChangedIterator) 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 BasAssetSession

type BasAssetSession struct {
	Contract     *BasAsset         // 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
}

BasAssetSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BasAssetSession) AUpdateRoot

func (_BasAsset *BasAssetSession) AUpdateRoot(rootName []byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

AUpdateRoot is a paid mutator transaction binding the contract method 0xaa57635e.

Solidity: function _a_updateRoot(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

func (*BasAssetSession) AUpdateSub

func (_BasAsset *BasAssetSession) AUpdateSub(totalName []byte, rootHash [32]byte) (*types.Transaction, error)

AUpdateSub is a paid mutator transaction binding the contract method 0x603f29cd.

Solidity: function _a_updateSub(bytes totalName, bytes32 rootHash) returns()

func (*BasAssetSession) CAddRoot

func (_BasAsset *BasAssetSession) CAddRoot(rootName []byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

CAddRoot is a paid mutator transaction binding the contract method 0x6f84208d.

Solidity: function _c_addRoot(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

func (*BasAssetSession) CAddSub

func (_BasAsset *BasAssetSession) CAddSub(totalName []byte, rootHash [32]byte) (*types.Transaction, error)

CAddSub is a paid mutator transaction binding the contract method 0x66967cfb.

Solidity: function _c_addSub(bytes totalName, bytes32 rootHash) returns()

func (*BasAssetSession) CUpdateRoot

func (_BasAsset *BasAssetSession) CUpdateRoot(nameHash [32]byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

CUpdateRoot is a paid mutator transaction binding the contract method 0x514bfdca.

Solidity: function _c_updateRoot(bytes32 nameHash, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

func (*BasAssetSession) Hash

func (_BasAsset *BasAssetSession) Hash(name []byte) ([32]byte, error)

Hash is a free data retrieval call binding the contract method 0xbd1bd35a.

Solidity: function Hash(bytes name) constant returns(bytes32)

func (*BasAssetSession) O

func (_BasAsset *BasAssetSession) O() (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasAssetSession) Root

func (_BasAsset *BasAssetSession) Root(arg0 [32]byte) (struct {
	RootName      []byte
	OpenToPublic  bool
	IsCustomed    bool
	CustomedPrice *big.Int
}, error)

Root is a free data retrieval call binding the contract method 0x83b8202f.

Solidity: function Root(bytes32 ) constant returns(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice)

func (*BasAssetSession) RootExist

func (_BasAsset *BasAssetSession) RootExist(nameHash [32]byte) (bool, error)

RootExist is a free data retrieval call binding the contract method 0x83026106.

Solidity: function rootExist(bytes32 nameHash) constant returns(bool)

func (*BasAssetSession) Sub

func (_BasAsset *BasAssetSession) Sub(arg0 [32]byte) (struct {
	TotalName []byte
	RootHash  [32]byte
}, error)

Sub is a free data retrieval call binding the contract method 0x333cf44c.

Solidity: function Sub(bytes32 ) constant returns(bytes totalName, bytes32 rootHash)

func (*BasAssetSession) SubExist

func (_BasAsset *BasAssetSession) SubExist(nameHash [32]byte) (bool, error)

SubExist is a free data retrieval call binding the contract method 0x0119a9e6.

Solidity: function subExist(bytes32 nameHash) constant returns(bool)

func (*BasAssetSession) TotalNameHash

func (_BasAsset *BasAssetSession) TotalNameHash(sName []byte, rName []byte) ([32]byte, error)

TotalNameHash is a free data retrieval call binding the contract method 0xc3821972.

Solidity: function TotalNameHash(bytes sName, bytes rName) constant returns(bytes32)

type BasAssetSubChanged

type BasAssetSubChanged struct {
	NameHash [32]byte
	Raw      types.Log // Blockchain specific contextual infos
}

BasAssetSubChanged represents a SubChanged event raised by the BasAsset contract.

type BasAssetSubChangedIterator

type BasAssetSubChangedIterator struct {
	Event *BasAssetSubChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasAssetSubChangedIterator is returned from FilterSubChanged and is used to iterate over the raw logs and unpacked data for SubChanged events raised by the BasAsset contract.

func (*BasAssetSubChangedIterator) Close

func (it *BasAssetSubChangedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasAssetSubChangedIterator) Error

func (it *BasAssetSubChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetSubChangedIterator) Next

func (it *BasAssetSubChangedIterator) 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 BasAssetTransactor

type BasAssetTransactor struct {
	// contains filtered or unexported fields
}

BasAssetTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBasAssetTransactor

func NewBasAssetTransactor(address common.Address, transactor bind.ContractTransactor) (*BasAssetTransactor, error)

NewBasAssetTransactor creates a new write-only instance of BasAsset, bound to a specific deployed contract.

func (*BasAssetTransactor) AUpdateRoot

func (_BasAsset *BasAssetTransactor) AUpdateRoot(opts *bind.TransactOpts, rootName []byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

AUpdateRoot is a paid mutator transaction binding the contract method 0xaa57635e.

Solidity: function _a_updateRoot(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

func (*BasAssetTransactor) AUpdateSub

func (_BasAsset *BasAssetTransactor) AUpdateSub(opts *bind.TransactOpts, totalName []byte, rootHash [32]byte) (*types.Transaction, error)

AUpdateSub is a paid mutator transaction binding the contract method 0x603f29cd.

Solidity: function _a_updateSub(bytes totalName, bytes32 rootHash) returns()

func (*BasAssetTransactor) CAddRoot

func (_BasAsset *BasAssetTransactor) CAddRoot(opts *bind.TransactOpts, rootName []byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

CAddRoot is a paid mutator transaction binding the contract method 0x6f84208d.

Solidity: function _c_addRoot(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

func (*BasAssetTransactor) CAddSub

func (_BasAsset *BasAssetTransactor) CAddSub(opts *bind.TransactOpts, totalName []byte, rootHash [32]byte) (*types.Transaction, error)

CAddSub is a paid mutator transaction binding the contract method 0x66967cfb.

Solidity: function _c_addSub(bytes totalName, bytes32 rootHash) returns()

func (*BasAssetTransactor) CUpdateRoot

func (_BasAsset *BasAssetTransactor) CUpdateRoot(opts *bind.TransactOpts, nameHash [32]byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

CUpdateRoot is a paid mutator transaction binding the contract method 0x514bfdca.

Solidity: function _c_updateRoot(bytes32 nameHash, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

type BasAssetTransactorRaw

type BasAssetTransactorRaw struct {
	Contract *BasAssetTransactor // Generic write-only contract binding to access the raw methods on
}

BasAssetTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BasAssetTransactorRaw) Transact

func (_BasAsset *BasAssetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasAssetTransactorRaw) Transfer

func (_BasAsset *BasAssetTransactorRaw) 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 BasAssetTransactorSession

type BasAssetTransactorSession struct {
	Contract     *BasAssetTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

BasAssetTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BasAssetTransactorSession) AUpdateRoot

func (_BasAsset *BasAssetTransactorSession) AUpdateRoot(rootName []byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

AUpdateRoot is a paid mutator transaction binding the contract method 0xaa57635e.

Solidity: function _a_updateRoot(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

func (*BasAssetTransactorSession) AUpdateSub

func (_BasAsset *BasAssetTransactorSession) AUpdateSub(totalName []byte, rootHash [32]byte) (*types.Transaction, error)

AUpdateSub is a paid mutator transaction binding the contract method 0x603f29cd.

Solidity: function _a_updateSub(bytes totalName, bytes32 rootHash) returns()

func (*BasAssetTransactorSession) CAddRoot

func (_BasAsset *BasAssetTransactorSession) CAddRoot(rootName []byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

CAddRoot is a paid mutator transaction binding the contract method 0x6f84208d.

Solidity: function _c_addRoot(bytes rootName, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

func (*BasAssetTransactorSession) CAddSub

func (_BasAsset *BasAssetTransactorSession) CAddSub(totalName []byte, rootHash [32]byte) (*types.Transaction, error)

CAddSub is a paid mutator transaction binding the contract method 0x66967cfb.

Solidity: function _c_addSub(bytes totalName, bytes32 rootHash) returns()

func (*BasAssetTransactorSession) CUpdateRoot

func (_BasAsset *BasAssetTransactorSession) CUpdateRoot(nameHash [32]byte, openToPublic bool, isCustomed bool, customedPrice *big.Int) (*types.Transaction, error)

CUpdateRoot is a paid mutator transaction binding the contract method 0x514bfdca.

Solidity: function _c_updateRoot(bytes32 nameHash, bool openToPublic, bool isCustomed, uint256 customedPrice) returns()

type BasDNS

type BasDNS struct {
	BasDNSCaller     // Read-only binding to the contract
	BasDNSTransactor // Write-only binding to the contract
	BasDNSFilterer   // Log filterer for contract events
}

BasDNS is an auto generated Go binding around an Ethereum contract.

func NewBasDNS

func NewBasDNS(address common.Address, backend bind.ContractBackend) (*BasDNS, error)

NewBasDNS creates a new instance of BasDNS, bound to a specific deployed contract.

type BasDNSCaller

type BasDNSCaller struct {
	// contains filtered or unexported fields
}

BasDNSCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBasDNSCaller

func NewBasDNSCaller(address common.Address, caller bind.ContractCaller) (*BasDNSCaller, error)

NewBasDNSCaller creates a new read-only instance of BasDNS, bound to a specific deployed contract.

func (*BasDNSCaller) DNS

func (_BasDNS *BasDNSCaller) DNS(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Ipv4      [4]byte
	Ipv6      [16]byte
	Bca       []byte
	OpData    []byte
	AliasName string
}, error)

DNS is a free data retrieval call binding the contract method 0xd241cf8e.

Solidity: function DNS(bytes32 ) constant returns(bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName)

func (*BasDNSCaller) O

func (_BasDNS *BasDNSCaller) O(opts *bind.CallOpts) (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasDNSCaller) Query

func (_BasDNS *BasDNSCaller) Query(opts *bind.CallOpts, nameHash [32]byte) (struct {
	Ipv4      [4]byte
	Ipv6      [16]byte
	Bca       []byte
	OpData    []byte
	AliasName string
}, error)

Query is a free data retrieval call binding the contract method 0xa3b61a9c.

Solidity: function query(bytes32 nameHash) constant returns(bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName)

type BasDNSCallerRaw

type BasDNSCallerRaw struct {
	Contract *BasDNSCaller // Generic read-only contract binding to access the raw methods on
}

BasDNSCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BasDNSCallerRaw) Call

func (_BasDNS *BasDNSCallerRaw) 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 BasDNSCallerSession

type BasDNSCallerSession struct {
	Contract *BasDNSCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

BasDNSCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BasDNSCallerSession) DNS

func (_BasDNS *BasDNSCallerSession) DNS(arg0 [32]byte) (struct {
	Ipv4      [4]byte
	Ipv6      [16]byte
	Bca       []byte
	OpData    []byte
	AliasName string
}, error)

DNS is a free data retrieval call binding the contract method 0xd241cf8e.

Solidity: function DNS(bytes32 ) constant returns(bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName)

func (*BasDNSCallerSession) O

func (_BasDNS *BasDNSCallerSession) O() (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasDNSCallerSession) Query

func (_BasDNS *BasDNSCallerSession) Query(nameHash [32]byte) (struct {
	Ipv4      [4]byte
	Ipv6      [16]byte
	Bca       []byte
	OpData    []byte
	AliasName string
}, error)

Query is a free data retrieval call binding the contract method 0xa3b61a9c.

Solidity: function query(bytes32 nameHash) constant returns(bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName)

type BasDNSDNSChanged

type BasDNSDNSChanged struct {
	NameHash [32]byte
	Raw      types.Log // Blockchain specific contextual infos
}

BasDNSDNSChanged represents a DNSChanged event raised by the BasDNS contract.

type BasDNSDNSChangedIterator

type BasDNSDNSChangedIterator struct {
	Event *BasDNSDNSChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasDNSDNSChangedIterator is returned from FilterDNSChanged and is used to iterate over the raw logs and unpacked data for DNSChanged events raised by the BasDNS contract.

func (*BasDNSDNSChangedIterator) Close

func (it *BasDNSDNSChangedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasDNSDNSChangedIterator) Error

func (it *BasDNSDNSChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasDNSDNSChangedIterator) Next

func (it *BasDNSDNSChangedIterator) 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 BasDNSFilterer

type BasDNSFilterer struct {
	// contains filtered or unexported fields
}

BasDNSFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBasDNSFilterer

func NewBasDNSFilterer(address common.Address, filterer bind.ContractFilterer) (*BasDNSFilterer, error)

NewBasDNSFilterer creates a new log filterer instance of BasDNS, bound to a specific deployed contract.

func (*BasDNSFilterer) FilterDNSChanged

func (_BasDNS *BasDNSFilterer) FilterDNSChanged(opts *bind.FilterOpts) (*BasDNSDNSChangedIterator, error)

FilterDNSChanged is a free log retrieval operation binding the contract event 0x03168db5f4e31983b2b5ac149fba9bf46e9ff27416789c624ccf91f4be4057a7.

Solidity: event DNSChanged(bytes32 nameHash)

func (*BasDNSFilterer) ParseDNSChanged

func (_BasDNS *BasDNSFilterer) ParseDNSChanged(log types.Log) (*BasDNSDNSChanged, error)

ParseDNSChanged is a log parse operation binding the contract event 0x03168db5f4e31983b2b5ac149fba9bf46e9ff27416789c624ccf91f4be4057a7.

Solidity: event DNSChanged(bytes32 nameHash)

func (*BasDNSFilterer) WatchDNSChanged

func (_BasDNS *BasDNSFilterer) WatchDNSChanged(opts *bind.WatchOpts, sink chan<- *BasDNSDNSChanged) (event.Subscription, error)

WatchDNSChanged is a free log subscription operation binding the contract event 0x03168db5f4e31983b2b5ac149fba9bf46e9ff27416789c624ccf91f4be4057a7.

Solidity: event DNSChanged(bytes32 nameHash)

type BasDNSRaw

type BasDNSRaw struct {
	Contract *BasDNS // Generic contract binding to access the raw methods on
}

BasDNSRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BasDNSRaw) Call

func (_BasDNS *BasDNSRaw) 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 (*BasDNSRaw) Transact

func (_BasDNS *BasDNSRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasDNSRaw) Transfer

func (_BasDNS *BasDNSRaw) 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 BasDNSSession

type BasDNSSession struct {
	Contract     *BasDNS           // 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
}

BasDNSSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BasDNSSession) AUpdate

func (_BasDNS *BasDNSSession) AUpdate(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

AUpdate is a paid mutator transaction binding the contract method 0x47beb2fd.

Solidity: function _a_update(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

func (*BasDNSSession) CClearRecord

func (_BasDNS *BasDNSSession) CClearRecord(nameHash [32]byte) (*types.Transaction, error)

CClearRecord is a paid mutator transaction binding the contract method 0x89507a23.

Solidity: function _c_clearRecord(bytes32 nameHash) returns()

func (*BasDNSSession) CSetAlias

func (_BasDNS *BasDNSSession) CSetAlias(nameHash [32]byte, aName string) (*types.Transaction, error)

CSetAlias is a paid mutator transaction binding the contract method 0x309ba2c3.

Solidity: function _c_setAlias(bytes32 nameHash, string aName) returns()

func (*BasDNSSession) CSetBCAddress

func (_BasDNS *BasDNSSession) CSetBCAddress(nameHash [32]byte, bcAddress []byte) (*types.Transaction, error)

CSetBCAddress is a paid mutator transaction binding the contract method 0x59547fec.

Solidity: function _c_setBCAddress(bytes32 nameHash, bytes bcAddress) returns()

func (*BasDNSSession) CSetIP

func (_BasDNS *BasDNSSession) CSetIP(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte) (*types.Transaction, error)

CSetIP is a paid mutator transaction binding the contract method 0xd187e4f6.

Solidity: function _c_setIP(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6) returns()

func (*BasDNSSession) CSetOpData

func (_BasDNS *BasDNSSession) CSetOpData(nameHash [32]byte, opData []byte) (*types.Transaction, error)

CSetOpData is a paid mutator transaction binding the contract method 0x0883fb43.

Solidity: function _c_setOpData(bytes32 nameHash, bytes opData) returns()

func (*BasDNSSession) CUpdate

func (_BasDNS *BasDNSSession) CUpdate(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

CUpdate is a paid mutator transaction binding the contract method 0x1a004ea2.

Solidity: function _c_update(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

func (*BasDNSSession) DNS

func (_BasDNS *BasDNSSession) DNS(arg0 [32]byte) (struct {
	Ipv4      [4]byte
	Ipv6      [16]byte
	Bca       []byte
	OpData    []byte
	AliasName string
}, error)

DNS is a free data retrieval call binding the contract method 0xd241cf8e.

Solidity: function DNS(bytes32 ) constant returns(bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName)

func (*BasDNSSession) O

func (_BasDNS *BasDNSSession) O() (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasDNSSession) Query

func (_BasDNS *BasDNSSession) Query(nameHash [32]byte) (struct {
	Ipv4      [4]byte
	Ipv6      [16]byte
	Bca       []byte
	OpData    []byte
	AliasName string
}, error)

Query is a free data retrieval call binding the contract method 0xa3b61a9c.

Solidity: function query(bytes32 nameHash) constant returns(bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName)

type BasDNSTransactor

type BasDNSTransactor struct {
	// contains filtered or unexported fields
}

BasDNSTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBasDNSTransactor

func NewBasDNSTransactor(address common.Address, transactor bind.ContractTransactor) (*BasDNSTransactor, error)

NewBasDNSTransactor creates a new write-only instance of BasDNS, bound to a specific deployed contract.

func (*BasDNSTransactor) AUpdate

func (_BasDNS *BasDNSTransactor) AUpdate(opts *bind.TransactOpts, nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

AUpdate is a paid mutator transaction binding the contract method 0x47beb2fd.

Solidity: function _a_update(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

func (*BasDNSTransactor) CClearRecord

func (_BasDNS *BasDNSTransactor) CClearRecord(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

CClearRecord is a paid mutator transaction binding the contract method 0x89507a23.

Solidity: function _c_clearRecord(bytes32 nameHash) returns()

func (*BasDNSTransactor) CSetAlias

func (_BasDNS *BasDNSTransactor) CSetAlias(opts *bind.TransactOpts, nameHash [32]byte, aName string) (*types.Transaction, error)

CSetAlias is a paid mutator transaction binding the contract method 0x309ba2c3.

Solidity: function _c_setAlias(bytes32 nameHash, string aName) returns()

func (*BasDNSTransactor) CSetBCAddress

func (_BasDNS *BasDNSTransactor) CSetBCAddress(opts *bind.TransactOpts, nameHash [32]byte, bcAddress []byte) (*types.Transaction, error)

CSetBCAddress is a paid mutator transaction binding the contract method 0x59547fec.

Solidity: function _c_setBCAddress(bytes32 nameHash, bytes bcAddress) returns()

func (*BasDNSTransactor) CSetIP

func (_BasDNS *BasDNSTransactor) CSetIP(opts *bind.TransactOpts, nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte) (*types.Transaction, error)

CSetIP is a paid mutator transaction binding the contract method 0xd187e4f6.

Solidity: function _c_setIP(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6) returns()

func (*BasDNSTransactor) CSetOpData

func (_BasDNS *BasDNSTransactor) CSetOpData(opts *bind.TransactOpts, nameHash [32]byte, opData []byte) (*types.Transaction, error)

CSetOpData is a paid mutator transaction binding the contract method 0x0883fb43.

Solidity: function _c_setOpData(bytes32 nameHash, bytes opData) returns()

func (*BasDNSTransactor) CUpdate

func (_BasDNS *BasDNSTransactor) CUpdate(opts *bind.TransactOpts, nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

CUpdate is a paid mutator transaction binding the contract method 0x1a004ea2.

Solidity: function _c_update(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

type BasDNSTransactorRaw

type BasDNSTransactorRaw struct {
	Contract *BasDNSTransactor // Generic write-only contract binding to access the raw methods on
}

BasDNSTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BasDNSTransactorRaw) Transact

func (_BasDNS *BasDNSTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasDNSTransactorRaw) Transfer

func (_BasDNS *BasDNSTransactorRaw) 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 BasDNSTransactorSession

type BasDNSTransactorSession struct {
	Contract     *BasDNSTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BasDNSTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BasDNSTransactorSession) AUpdate

func (_BasDNS *BasDNSTransactorSession) AUpdate(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

AUpdate is a paid mutator transaction binding the contract method 0x47beb2fd.

Solidity: function _a_update(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

func (*BasDNSTransactorSession) CClearRecord

func (_BasDNS *BasDNSTransactorSession) CClearRecord(nameHash [32]byte) (*types.Transaction, error)

CClearRecord is a paid mutator transaction binding the contract method 0x89507a23.

Solidity: function _c_clearRecord(bytes32 nameHash) returns()

func (*BasDNSTransactorSession) CSetAlias

func (_BasDNS *BasDNSTransactorSession) CSetAlias(nameHash [32]byte, aName string) (*types.Transaction, error)

CSetAlias is a paid mutator transaction binding the contract method 0x309ba2c3.

Solidity: function _c_setAlias(bytes32 nameHash, string aName) returns()

func (*BasDNSTransactorSession) CSetBCAddress

func (_BasDNS *BasDNSTransactorSession) CSetBCAddress(nameHash [32]byte, bcAddress []byte) (*types.Transaction, error)

CSetBCAddress is a paid mutator transaction binding the contract method 0x59547fec.

Solidity: function _c_setBCAddress(bytes32 nameHash, bytes bcAddress) returns()

func (*BasDNSTransactorSession) CSetIP

func (_BasDNS *BasDNSTransactorSession) CSetIP(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte) (*types.Transaction, error)

CSetIP is a paid mutator transaction binding the contract method 0xd187e4f6.

Solidity: function _c_setIP(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6) returns()

func (*BasDNSTransactorSession) CSetOpData

func (_BasDNS *BasDNSTransactorSession) CSetOpData(nameHash [32]byte, opData []byte) (*types.Transaction, error)

CSetOpData is a paid mutator transaction binding the contract method 0x0883fb43.

Solidity: function _c_setOpData(bytes32 nameHash, bytes opData) returns()

func (*BasDNSTransactorSession) CUpdate

func (_BasDNS *BasDNSTransactorSession) CUpdate(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

CUpdate is a paid mutator transaction binding the contract method 0x1a004ea2.

Solidity: function _c_update(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

type BasMarket

type BasMarket struct {
	BasMarketCaller     // Read-only binding to the contract
	BasMarketTransactor // Write-only binding to the contract
	BasMarketFilterer   // Log filterer for contract events
}

BasMarket is an auto generated Go binding around an Ethereum contract.

func NewBasMarket

func NewBasMarket(address common.Address, backend bind.ContractBackend) (*BasMarket, error)

NewBasMarket creates a new instance of BasMarket, bound to a specific deployed contract.

type BasMarketAskAdded

type BasMarketAskAdded struct {
	NameHash [32]byte
	Operator common.Address
	Price    *big.Int
	Time     *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BasMarketAskAdded represents a AskAdded event raised by the BasMarket contract.

type BasMarketAskAddedIterator

type BasMarketAskAddedIterator struct {
	Event *BasMarketAskAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMarketAskAddedIterator is returned from FilterAskAdded and is used to iterate over the raw logs and unpacked data for AskAdded events raised by the BasMarket contract.

func (*BasMarketAskAddedIterator) Close

func (it *BasMarketAskAddedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMarketAskAddedIterator) Error

func (it *BasMarketAskAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMarketAskAddedIterator) Next

func (it *BasMarketAskAddedIterator) 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 BasMarketAskChanged

type BasMarketAskChanged struct {
	NameHash [32]byte
	Operator common.Address
	Price    *big.Int
	Time     *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BasMarketAskChanged represents a AskChanged event raised by the BasMarket contract.

type BasMarketAskChangedIterator

type BasMarketAskChangedIterator struct {
	Event *BasMarketAskChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMarketAskChangedIterator is returned from FilterAskChanged and is used to iterate over the raw logs and unpacked data for AskChanged events raised by the BasMarket contract.

func (*BasMarketAskChangedIterator) Close

func (it *BasMarketAskChangedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMarketAskChangedIterator) Error

func (it *BasMarketAskChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMarketAskChangedIterator) Next

func (it *BasMarketAskChangedIterator) 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 BasMarketAskRemoved

type BasMarketAskRemoved struct {
	NameHash [32]byte
	Operator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BasMarketAskRemoved represents a AskRemoved event raised by the BasMarket contract.

type BasMarketAskRemovedIterator

type BasMarketAskRemovedIterator struct {
	Event *BasMarketAskRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMarketAskRemovedIterator is returned from FilterAskRemoved and is used to iterate over the raw logs and unpacked data for AskRemoved events raised by the BasMarket contract.

func (*BasMarketAskRemovedIterator) Close

func (it *BasMarketAskRemovedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMarketAskRemovedIterator) Error

func (it *BasMarketAskRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMarketAskRemovedIterator) Next

func (it *BasMarketAskRemovedIterator) 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 BasMarketCaller

type BasMarketCaller struct {
	// contains filtered or unexported fields
}

BasMarketCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBasMarketCaller

func NewBasMarketCaller(address common.Address, caller bind.ContractCaller) (*BasMarketCaller, error)

NewBasMarketCaller creates a new read-only instance of BasMarket, bound to a specific deployed contract.

func (*BasMarketCaller) ATLEASTREMAINTIME

func (_BasMarket *BasMarketCaller) ATLEASTREMAINTIME(opts *bind.CallOpts) (*big.Int, error)

ATLEASTREMAINTIME is a free data retrieval call binding the contract method 0x1d6a1ed0.

Solidity: function AT_LEAST_REMAIN_TIME() constant returns(uint256)

func (*BasMarketCaller) AskOrders

func (_BasMarket *BasMarketCaller) AskOrders(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (struct {
	Price                *big.Int
	ProtectiveRemainTime *big.Int
}, error)

AskOrders is a free data retrieval call binding the contract method 0x43d4a000.

Solidity: function AskOrders(address , bytes32 ) constant returns(uint256 price, uint256 protectiveRemainTime)

func (*BasMarketCaller) O

func (_BasMarket *BasMarketCaller) O(opts *bind.CallOpts) (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasMarketCaller) SellOrders

func (_BasMarket *BasMarketCaller) SellOrders(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (*big.Int, error)

SellOrders is a free data retrieval call binding the contract method 0x0db8ae09.

Solidity: function SellOrders(address , bytes32 ) constant returns(uint256)

func (*BasMarketCaller) T

func (_BasMarket *BasMarketCaller) T(opts *bind.CallOpts) (common.Address, error)

T is a free data retrieval call binding the contract method 0x92d0d153.

Solidity: function t() constant returns(address)

type BasMarketCallerRaw

type BasMarketCallerRaw struct {
	Contract *BasMarketCaller // Generic read-only contract binding to access the raw methods on
}

BasMarketCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BasMarketCallerRaw) Call

func (_BasMarket *BasMarketCallerRaw) 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 BasMarketCallerSession

type BasMarketCallerSession struct {
	Contract *BasMarketCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

BasMarketCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BasMarketCallerSession) ATLEASTREMAINTIME

func (_BasMarket *BasMarketCallerSession) ATLEASTREMAINTIME() (*big.Int, error)

ATLEASTREMAINTIME is a free data retrieval call binding the contract method 0x1d6a1ed0.

Solidity: function AT_LEAST_REMAIN_TIME() constant returns(uint256)

func (*BasMarketCallerSession) AskOrders

func (_BasMarket *BasMarketCallerSession) AskOrders(arg0 common.Address, arg1 [32]byte) (struct {
	Price                *big.Int
	ProtectiveRemainTime *big.Int
}, error)

AskOrders is a free data retrieval call binding the contract method 0x43d4a000.

Solidity: function AskOrders(address , bytes32 ) constant returns(uint256 price, uint256 protectiveRemainTime)

func (*BasMarketCallerSession) O

func (_BasMarket *BasMarketCallerSession) O() (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasMarketCallerSession) SellOrders

func (_BasMarket *BasMarketCallerSession) SellOrders(arg0 common.Address, arg1 [32]byte) (*big.Int, error)

SellOrders is a free data retrieval call binding the contract method 0x0db8ae09.

Solidity: function SellOrders(address , bytes32 ) constant returns(uint256)

func (*BasMarketCallerSession) T

func (_BasMarket *BasMarketCallerSession) T() (common.Address, error)

T is a free data retrieval call binding the contract method 0x92d0d153.

Solidity: function t() constant returns(address)

type BasMarketFilterer

type BasMarketFilterer struct {
	// contains filtered or unexported fields
}

BasMarketFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBasMarketFilterer

func NewBasMarketFilterer(address common.Address, filterer bind.ContractFilterer) (*BasMarketFilterer, error)

NewBasMarketFilterer creates a new log filterer instance of BasMarket, bound to a specific deployed contract.

func (*BasMarketFilterer) FilterAskAdded

func (_BasMarket *BasMarketFilterer) FilterAskAdded(opts *bind.FilterOpts) (*BasMarketAskAddedIterator, error)

FilterAskAdded is a free log retrieval operation binding the contract event 0xeabc52f62acd1d372f720cd90e895e31d674f029df61e3cb880f5641ae32916f.

Solidity: event AskAdded(bytes32 nameHash, address operator, uint256 price, uint256 time)

func (*BasMarketFilterer) FilterAskChanged

func (_BasMarket *BasMarketFilterer) FilterAskChanged(opts *bind.FilterOpts) (*BasMarketAskChangedIterator, error)

FilterAskChanged is a free log retrieval operation binding the contract event 0x745fa0d1805a08074546ad265a3e7a3e1d8799287dcb35d3947370ba469eb4e0.

Solidity: event AskChanged(bytes32 nameHash, address operator, uint256 price, uint256 time)

func (*BasMarketFilterer) FilterAskRemoved

func (_BasMarket *BasMarketFilterer) FilterAskRemoved(opts *bind.FilterOpts) (*BasMarketAskRemovedIterator, error)

FilterAskRemoved is a free log retrieval operation binding the contract event 0xb715f983de08cb4ac1b5dd69df079431cfcf98fa642f38a0b9b266de6db4a7cc.

Solidity: event AskRemoved(bytes32 nameHash, address operator)

func (*BasMarketFilterer) FilterSellAdded

func (_BasMarket *BasMarketFilterer) FilterSellAdded(opts *bind.FilterOpts) (*BasMarketSellAddedIterator, error)

FilterSellAdded is a free log retrieval operation binding the contract event 0x10f7d9b00b30f2c94496f80f416e54d140fcd3c6040b5440ae55c39a3294086c.

Solidity: event SellAdded(bytes32 nameHash, address operator, uint256 price)

func (*BasMarketFilterer) FilterSellChanged

func (_BasMarket *BasMarketFilterer) FilterSellChanged(opts *bind.FilterOpts) (*BasMarketSellChangedIterator, error)

FilterSellChanged is a free log retrieval operation binding the contract event 0xe2fbe11a69dd3397016a8ac5cc0d982dd57cc1586c3400f8e3a3167d0dcd3634.

Solidity: event SellChanged(bytes32 nameHash, address operator, uint256 price)

func (*BasMarketFilterer) FilterSellRemoved

func (_BasMarket *BasMarketFilterer) FilterSellRemoved(opts *bind.FilterOpts) (*BasMarketSellRemovedIterator, error)

FilterSellRemoved is a free log retrieval operation binding the contract event 0xd369082d239e5af317337ed91a37711a5809487a596e485189541c3219a35a0a.

Solidity: event SellRemoved(bytes32 nameHash, address operator)

func (*BasMarketFilterer) FilterSoldByAsk

func (_BasMarket *BasMarketFilterer) FilterSoldByAsk(opts *bind.FilterOpts) (*BasMarketSoldByAskIterator, error)

FilterSoldByAsk is a free log retrieval operation binding the contract event 0xf4a9277c75325361938cc6d0e4f286721bcd4b3f14e95104242d23a7e953172e.

Solidity: event SoldByAsk(bytes32 nameHash, address from, address to, uint256 price)

func (*BasMarketFilterer) FilterSoldBySell

func (_BasMarket *BasMarketFilterer) FilterSoldBySell(opts *bind.FilterOpts) (*BasMarketSoldBySellIterator, error)

FilterSoldBySell is a free log retrieval operation binding the contract event 0x9c0f845844791139cd02a1448f071f31346e7d1fee8cafc98925d507dc4d6244.

Solidity: event SoldBySell(bytes32 nameHash, address from, address to, uint256 price)

func (*BasMarketFilterer) ParseAskAdded

func (_BasMarket *BasMarketFilterer) ParseAskAdded(log types.Log) (*BasMarketAskAdded, error)

ParseAskAdded is a log parse operation binding the contract event 0xeabc52f62acd1d372f720cd90e895e31d674f029df61e3cb880f5641ae32916f.

Solidity: event AskAdded(bytes32 nameHash, address operator, uint256 price, uint256 time)

func (*BasMarketFilterer) ParseAskChanged

func (_BasMarket *BasMarketFilterer) ParseAskChanged(log types.Log) (*BasMarketAskChanged, error)

ParseAskChanged is a log parse operation binding the contract event 0x745fa0d1805a08074546ad265a3e7a3e1d8799287dcb35d3947370ba469eb4e0.

Solidity: event AskChanged(bytes32 nameHash, address operator, uint256 price, uint256 time)

func (*BasMarketFilterer) ParseAskRemoved

func (_BasMarket *BasMarketFilterer) ParseAskRemoved(log types.Log) (*BasMarketAskRemoved, error)

ParseAskRemoved is a log parse operation binding the contract event 0xb715f983de08cb4ac1b5dd69df079431cfcf98fa642f38a0b9b266de6db4a7cc.

Solidity: event AskRemoved(bytes32 nameHash, address operator)

func (*BasMarketFilterer) ParseSellAdded

func (_BasMarket *BasMarketFilterer) ParseSellAdded(log types.Log) (*BasMarketSellAdded, error)

ParseSellAdded is a log parse operation binding the contract event 0x10f7d9b00b30f2c94496f80f416e54d140fcd3c6040b5440ae55c39a3294086c.

Solidity: event SellAdded(bytes32 nameHash, address operator, uint256 price)

func (*BasMarketFilterer) ParseSellChanged

func (_BasMarket *BasMarketFilterer) ParseSellChanged(log types.Log) (*BasMarketSellChanged, error)

ParseSellChanged is a log parse operation binding the contract event 0xe2fbe11a69dd3397016a8ac5cc0d982dd57cc1586c3400f8e3a3167d0dcd3634.

Solidity: event SellChanged(bytes32 nameHash, address operator, uint256 price)

func (*BasMarketFilterer) ParseSellRemoved

func (_BasMarket *BasMarketFilterer) ParseSellRemoved(log types.Log) (*BasMarketSellRemoved, error)

ParseSellRemoved is a log parse operation binding the contract event 0xd369082d239e5af317337ed91a37711a5809487a596e485189541c3219a35a0a.

Solidity: event SellRemoved(bytes32 nameHash, address operator)

func (*BasMarketFilterer) ParseSoldByAsk

func (_BasMarket *BasMarketFilterer) ParseSoldByAsk(log types.Log) (*BasMarketSoldByAsk, error)

ParseSoldByAsk is a log parse operation binding the contract event 0xf4a9277c75325361938cc6d0e4f286721bcd4b3f14e95104242d23a7e953172e.

Solidity: event SoldByAsk(bytes32 nameHash, address from, address to, uint256 price)

func (*BasMarketFilterer) ParseSoldBySell

func (_BasMarket *BasMarketFilterer) ParseSoldBySell(log types.Log) (*BasMarketSoldBySell, error)

ParseSoldBySell is a log parse operation binding the contract event 0x9c0f845844791139cd02a1448f071f31346e7d1fee8cafc98925d507dc4d6244.

Solidity: event SoldBySell(bytes32 nameHash, address from, address to, uint256 price)

func (*BasMarketFilterer) WatchAskAdded

func (_BasMarket *BasMarketFilterer) WatchAskAdded(opts *bind.WatchOpts, sink chan<- *BasMarketAskAdded) (event.Subscription, error)

WatchAskAdded is a free log subscription operation binding the contract event 0xeabc52f62acd1d372f720cd90e895e31d674f029df61e3cb880f5641ae32916f.

Solidity: event AskAdded(bytes32 nameHash, address operator, uint256 price, uint256 time)

func (*BasMarketFilterer) WatchAskChanged

func (_BasMarket *BasMarketFilterer) WatchAskChanged(opts *bind.WatchOpts, sink chan<- *BasMarketAskChanged) (event.Subscription, error)

WatchAskChanged is a free log subscription operation binding the contract event 0x745fa0d1805a08074546ad265a3e7a3e1d8799287dcb35d3947370ba469eb4e0.

Solidity: event AskChanged(bytes32 nameHash, address operator, uint256 price, uint256 time)

func (*BasMarketFilterer) WatchAskRemoved

func (_BasMarket *BasMarketFilterer) WatchAskRemoved(opts *bind.WatchOpts, sink chan<- *BasMarketAskRemoved) (event.Subscription, error)

WatchAskRemoved is a free log subscription operation binding the contract event 0xb715f983de08cb4ac1b5dd69df079431cfcf98fa642f38a0b9b266de6db4a7cc.

Solidity: event AskRemoved(bytes32 nameHash, address operator)

func (*BasMarketFilterer) WatchSellAdded

func (_BasMarket *BasMarketFilterer) WatchSellAdded(opts *bind.WatchOpts, sink chan<- *BasMarketSellAdded) (event.Subscription, error)

WatchSellAdded is a free log subscription operation binding the contract event 0x10f7d9b00b30f2c94496f80f416e54d140fcd3c6040b5440ae55c39a3294086c.

Solidity: event SellAdded(bytes32 nameHash, address operator, uint256 price)

func (*BasMarketFilterer) WatchSellChanged

func (_BasMarket *BasMarketFilterer) WatchSellChanged(opts *bind.WatchOpts, sink chan<- *BasMarketSellChanged) (event.Subscription, error)

WatchSellChanged is a free log subscription operation binding the contract event 0xe2fbe11a69dd3397016a8ac5cc0d982dd57cc1586c3400f8e3a3167d0dcd3634.

Solidity: event SellChanged(bytes32 nameHash, address operator, uint256 price)

func (*BasMarketFilterer) WatchSellRemoved

func (_BasMarket *BasMarketFilterer) WatchSellRemoved(opts *bind.WatchOpts, sink chan<- *BasMarketSellRemoved) (event.Subscription, error)

WatchSellRemoved is a free log subscription operation binding the contract event 0xd369082d239e5af317337ed91a37711a5809487a596e485189541c3219a35a0a.

Solidity: event SellRemoved(bytes32 nameHash, address operator)

func (*BasMarketFilterer) WatchSoldByAsk

func (_BasMarket *BasMarketFilterer) WatchSoldByAsk(opts *bind.WatchOpts, sink chan<- *BasMarketSoldByAsk) (event.Subscription, error)

WatchSoldByAsk is a free log subscription operation binding the contract event 0xf4a9277c75325361938cc6d0e4f286721bcd4b3f14e95104242d23a7e953172e.

Solidity: event SoldByAsk(bytes32 nameHash, address from, address to, uint256 price)

func (*BasMarketFilterer) WatchSoldBySell

func (_BasMarket *BasMarketFilterer) WatchSoldBySell(opts *bind.WatchOpts, sink chan<- *BasMarketSoldBySell) (event.Subscription, error)

WatchSoldBySell is a free log subscription operation binding the contract event 0x9c0f845844791139cd02a1448f071f31346e7d1fee8cafc98925d507dc4d6244.

Solidity: event SoldBySell(bytes32 nameHash, address from, address to, uint256 price)

type BasMarketRaw

type BasMarketRaw struct {
	Contract *BasMarket // Generic contract binding to access the raw methods on
}

BasMarketRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BasMarketRaw) Call

func (_BasMarket *BasMarketRaw) 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 (*BasMarketRaw) Transact

func (_BasMarket *BasMarketRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasMarketRaw) Transfer

func (_BasMarket *BasMarketRaw) 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 BasMarketSellAdded

type BasMarketSellAdded struct {
	NameHash [32]byte
	Operator common.Address
	Price    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BasMarketSellAdded represents a SellAdded event raised by the BasMarket contract.

type BasMarketSellAddedIterator

type BasMarketSellAddedIterator struct {
	Event *BasMarketSellAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMarketSellAddedIterator is returned from FilterSellAdded and is used to iterate over the raw logs and unpacked data for SellAdded events raised by the BasMarket contract.

func (*BasMarketSellAddedIterator) Close

func (it *BasMarketSellAddedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMarketSellAddedIterator) Error

func (it *BasMarketSellAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMarketSellAddedIterator) Next

func (it *BasMarketSellAddedIterator) 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 BasMarketSellChanged

type BasMarketSellChanged struct {
	NameHash [32]byte
	Operator common.Address
	Price    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BasMarketSellChanged represents a SellChanged event raised by the BasMarket contract.

type BasMarketSellChangedIterator

type BasMarketSellChangedIterator struct {
	Event *BasMarketSellChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMarketSellChangedIterator is returned from FilterSellChanged and is used to iterate over the raw logs and unpacked data for SellChanged events raised by the BasMarket contract.

func (*BasMarketSellChangedIterator) Close

func (it *BasMarketSellChangedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMarketSellChangedIterator) Error

func (it *BasMarketSellChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMarketSellChangedIterator) Next

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 BasMarketSellRemoved

type BasMarketSellRemoved struct {
	NameHash [32]byte
	Operator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BasMarketSellRemoved represents a SellRemoved event raised by the BasMarket contract.

type BasMarketSellRemovedIterator

type BasMarketSellRemovedIterator struct {
	Event *BasMarketSellRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMarketSellRemovedIterator is returned from FilterSellRemoved and is used to iterate over the raw logs and unpacked data for SellRemoved events raised by the BasMarket contract.

func (*BasMarketSellRemovedIterator) Close

func (it *BasMarketSellRemovedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMarketSellRemovedIterator) Error

func (it *BasMarketSellRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMarketSellRemovedIterator) Next

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 BasMarketSession

type BasMarketSession struct {
	Contract     *BasMarket        // 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
}

BasMarketSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BasMarketSession) ATLEASTREMAINTIME

func (_BasMarket *BasMarketSession) ATLEASTREMAINTIME() (*big.Int, error)

ATLEASTREMAINTIME is a free data retrieval call binding the contract method 0x1d6a1ed0.

Solidity: function AT_LEAST_REMAIN_TIME() constant returns(uint256)

func (*BasMarketSession) AddToAsks

func (_BasMarket *BasMarketSession) AddToAsks(nameHash [32]byte, price *big.Int, protectiveRemainTime *big.Int) (*types.Transaction, error)

AddToAsks is a paid mutator transaction binding the contract method 0x32e99397.

Solidity: function AddToAsks(bytes32 nameHash, uint256 price, uint256 protectiveRemainTime) returns()

func (*BasMarketSession) AddToSells

func (_BasMarket *BasMarketSession) AddToSells(nameHash [32]byte, price *big.Int) (*types.Transaction, error)

AddToSells is a paid mutator transaction binding the contract method 0x75a69f19.

Solidity: function AddToSells(bytes32 nameHash, uint256 price) returns()

func (*BasMarketSession) AskOrders

func (_BasMarket *BasMarketSession) AskOrders(arg0 common.Address, arg1 [32]byte) (struct {
	Price                *big.Int
	ProtectiveRemainTime *big.Int
}, error)

AskOrders is a free data retrieval call binding the contract method 0x43d4a000.

Solidity: function AskOrders(address , bytes32 ) constant returns(uint256 price, uint256 protectiveRemainTime)

func (*BasMarketSession) BuyFromSells

func (_BasMarket *BasMarketSession) BuyFromSells(nameHash [32]byte, owner common.Address) (*types.Transaction, error)

BuyFromSells is a paid mutator transaction binding the contract method 0x3a2ef923.

Solidity: function BuyFromSells(bytes32 nameHash, address owner) returns()

func (*BasMarketSession) ChangeAsksData

func (_BasMarket *BasMarketSession) ChangeAsksData(nameHash [32]byte, price *big.Int, protectiveRemainTime *big.Int) (*types.Transaction, error)

ChangeAsksData is a paid mutator transaction binding the contract method 0x01f922a4.

Solidity: function ChangeAsksData(bytes32 nameHash, uint256 price, uint256 protectiveRemainTime) returns()

func (*BasMarketSession) ChangeSellPrice

func (_BasMarket *BasMarketSession) ChangeSellPrice(nameHash [32]byte, price *big.Int) (*types.Transaction, error)

ChangeSellPrice is a paid mutator transaction binding the contract method 0x1d4edd20.

Solidity: function ChangeSellPrice(bytes32 nameHash, uint256 price) returns()

func (*BasMarketSession) O

func (_BasMarket *BasMarketSession) O() (common.Address, error)

O is a free data retrieval call binding the contract method 0x50cd4df2.

Solidity: function o() constant returns(address)

func (*BasMarketSession) RemoveAskOrder

func (_BasMarket *BasMarketSession) RemoveAskOrder(nameHash [32]byte) (*types.Transaction, error)

RemoveAskOrder is a paid mutator transaction binding the contract method 0xa86bec4c.

Solidity: function RemoveAskOrder(bytes32 nameHash) returns()

func (*BasMarketSession) RemoveSellOrder

func (_BasMarket *BasMarketSession) RemoveSellOrder(nameHash [32]byte) (*types.Transaction, error)

RemoveSellOrder is a paid mutator transaction binding the contract method 0xe53427ca.

Solidity: function RemoveSellOrder(bytes32 nameHash) returns()

func (*BasMarketSession) SellOrders

func (_BasMarket *BasMarketSession) SellOrders(arg0 common.Address, arg1 [32]byte) (*big.Int, error)

SellOrders is a free data retrieval call binding the contract method 0x0db8ae09.

Solidity: function SellOrders(address , bytes32 ) constant returns(uint256)

func (*BasMarketSession) SellToAsks

func (_BasMarket *BasMarketSession) SellToAsks(nameHash [32]byte, to common.Address) (*types.Transaction, error)

SellToAsks is a paid mutator transaction binding the contract method 0xebfaafda.

Solidity: function SellToAsks(bytes32 nameHash, address to) returns()

func (*BasMarketSession) T

func (_BasMarket *BasMarketSession) T() (common.Address, error)

T is a free data retrieval call binding the contract method 0x92d0d153.

Solidity: function t() constant returns(address)

type BasMarketSoldByAsk

type BasMarketSoldByAsk struct {
	NameHash [32]byte
	From     common.Address
	To       common.Address
	Price    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BasMarketSoldByAsk represents a SoldByAsk event raised by the BasMarket contract.

type BasMarketSoldByAskIterator

type BasMarketSoldByAskIterator struct {
	Event *BasMarketSoldByAsk // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMarketSoldByAskIterator is returned from FilterSoldByAsk and is used to iterate over the raw logs and unpacked data for SoldByAsk events raised by the BasMarket contract.

func (*BasMarketSoldByAskIterator) Close

func (it *BasMarketSoldByAskIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMarketSoldByAskIterator) Error

func (it *BasMarketSoldByAskIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMarketSoldByAskIterator) Next

func (it *BasMarketSoldByAskIterator) 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 BasMarketSoldBySell

type BasMarketSoldBySell struct {
	NameHash [32]byte
	From     common.Address
	To       common.Address
	Price    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BasMarketSoldBySell represents a SoldBySell event raised by the BasMarket contract.

type BasMarketSoldBySellIterator

type BasMarketSoldBySellIterator struct {
	Event *BasMarketSoldBySell // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMarketSoldBySellIterator is returned from FilterSoldBySell and is used to iterate over the raw logs and unpacked data for SoldBySell events raised by the BasMarket contract.

func (*BasMarketSoldBySellIterator) Close

func (it *BasMarketSoldBySellIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMarketSoldBySellIterator) Error

func (it *BasMarketSoldBySellIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMarketSoldBySellIterator) Next

func (it *BasMarketSoldBySellIterator) 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 BasMarketTransactor

type BasMarketTransactor struct {
	// contains filtered or unexported fields
}

BasMarketTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBasMarketTransactor

func NewBasMarketTransactor(address common.Address, transactor bind.ContractTransactor) (*BasMarketTransactor, error)

NewBasMarketTransactor creates a new write-only instance of BasMarket, bound to a specific deployed contract.

func (*BasMarketTransactor) AddToAsks

func (_BasMarket *BasMarketTransactor) AddToAsks(opts *bind.TransactOpts, nameHash [32]byte, price *big.Int, protectiveRemainTime *big.Int) (*types.Transaction, error)

AddToAsks is a paid mutator transaction binding the contract method 0x32e99397.

Solidity: function AddToAsks(bytes32 nameHash, uint256 price, uint256 protectiveRemainTime) returns()

func (*BasMarketTransactor) AddToSells

func (_BasMarket *BasMarketTransactor) AddToSells(opts *bind.TransactOpts, nameHash [32]byte, price *big.Int) (*types.Transaction, error)

AddToSells is a paid mutator transaction binding the contract method 0x75a69f19.

Solidity: function AddToSells(bytes32 nameHash, uint256 price) returns()

func (*BasMarketTransactor) BuyFromSells

func (_BasMarket *BasMarketTransactor) BuyFromSells(opts *bind.TransactOpts, nameHash [32]byte, owner common.Address) (*types.Transaction, error)

BuyFromSells is a paid mutator transaction binding the contract method 0x3a2ef923.

Solidity: function BuyFromSells(bytes32 nameHash, address owner) returns()

func (*BasMarketTransactor) ChangeAsksData

func (_BasMarket *BasMarketTransactor) ChangeAsksData(opts *bind.TransactOpts, nameHash [32]byte, price *big.Int, protectiveRemainTime *big.Int) (*types.Transaction, error)

ChangeAsksData is a paid mutator transaction binding the contract method 0x01f922a4.

Solidity: function ChangeAsksData(bytes32 nameHash, uint256 price, uint256 protectiveRemainTime) returns()

func (*BasMarketTransactor) ChangeSellPrice

func (_BasMarket *BasMarketTransactor) ChangeSellPrice(opts *bind.TransactOpts, nameHash [32]byte, price *big.Int) (*types.Transaction, error)

ChangeSellPrice is a paid mutator transaction binding the contract method 0x1d4edd20.

Solidity: function ChangeSellPrice(bytes32 nameHash, uint256 price) returns()

func (*BasMarketTransactor) RemoveAskOrder

func (_BasMarket *BasMarketTransactor) RemoveAskOrder(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

RemoveAskOrder is a paid mutator transaction binding the contract method 0xa86bec4c.

Solidity: function RemoveAskOrder(bytes32 nameHash) returns()

func (*BasMarketTransactor) RemoveSellOrder

func (_BasMarket *BasMarketTransactor) RemoveSellOrder(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

RemoveSellOrder is a paid mutator transaction binding the contract method 0xe53427ca.

Solidity: function RemoveSellOrder(bytes32 nameHash) returns()

func (*BasMarketTransactor) SellToAsks

func (_BasMarket *BasMarketTransactor) SellToAsks(opts *bind.TransactOpts, nameHash [32]byte, to common.Address) (*types.Transaction, error)

SellToAsks is a paid mutator transaction binding the contract method 0xebfaafda.

Solidity: function SellToAsks(bytes32 nameHash, address to) returns()

type BasMarketTransactorRaw

type BasMarketTransactorRaw struct {
	Contract *BasMarketTransactor // Generic write-only contract binding to access the raw methods on
}

BasMarketTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BasMarketTransactorRaw) Transact

func (_BasMarket *BasMarketTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasMarketTransactorRaw) Transfer

func (_BasMarket *BasMarketTransactorRaw) 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 BasMarketTransactorSession

type BasMarketTransactorSession struct {
	Contract     *BasMarketTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

BasMarketTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BasMarketTransactorSession) AddToAsks

func (_BasMarket *BasMarketTransactorSession) AddToAsks(nameHash [32]byte, price *big.Int, protectiveRemainTime *big.Int) (*types.Transaction, error)

AddToAsks is a paid mutator transaction binding the contract method 0x32e99397.

Solidity: function AddToAsks(bytes32 nameHash, uint256 price, uint256 protectiveRemainTime) returns()

func (*BasMarketTransactorSession) AddToSells

func (_BasMarket *BasMarketTransactorSession) AddToSells(nameHash [32]byte, price *big.Int) (*types.Transaction, error)

AddToSells is a paid mutator transaction binding the contract method 0x75a69f19.

Solidity: function AddToSells(bytes32 nameHash, uint256 price) returns()

func (*BasMarketTransactorSession) BuyFromSells

func (_BasMarket *BasMarketTransactorSession) BuyFromSells(nameHash [32]byte, owner common.Address) (*types.Transaction, error)

BuyFromSells is a paid mutator transaction binding the contract method 0x3a2ef923.

Solidity: function BuyFromSells(bytes32 nameHash, address owner) returns()

func (*BasMarketTransactorSession) ChangeAsksData

func (_BasMarket *BasMarketTransactorSession) ChangeAsksData(nameHash [32]byte, price *big.Int, protectiveRemainTime *big.Int) (*types.Transaction, error)

ChangeAsksData is a paid mutator transaction binding the contract method 0x01f922a4.

Solidity: function ChangeAsksData(bytes32 nameHash, uint256 price, uint256 protectiveRemainTime) returns()

func (*BasMarketTransactorSession) ChangeSellPrice

func (_BasMarket *BasMarketTransactorSession) ChangeSellPrice(nameHash [32]byte, price *big.Int) (*types.Transaction, error)

ChangeSellPrice is a paid mutator transaction binding the contract method 0x1d4edd20.

Solidity: function ChangeSellPrice(bytes32 nameHash, uint256 price) returns()

func (*BasMarketTransactorSession) RemoveAskOrder

func (_BasMarket *BasMarketTransactorSession) RemoveAskOrder(nameHash [32]byte) (*types.Transaction, error)

RemoveAskOrder is a paid mutator transaction binding the contract method 0xa86bec4c.

Solidity: function RemoveAskOrder(bytes32 nameHash) returns()

func (*BasMarketTransactorSession) RemoveSellOrder

func (_BasMarket *BasMarketTransactorSession) RemoveSellOrder(nameHash [32]byte) (*types.Transaction, error)

RemoveSellOrder is a paid mutator transaction binding the contract method 0xe53427ca.

Solidity: function RemoveSellOrder(bytes32 nameHash) returns()

func (*BasMarketTransactorSession) SellToAsks

func (_BasMarket *BasMarketTransactorSession) SellToAsks(nameHash [32]byte, to common.Address) (*types.Transaction, error)

SellToAsks is a paid mutator transaction binding the contract method 0xebfaafda.

Solidity: function SellToAsks(bytes32 nameHash, address to) returns()

type BasMiner

type BasMiner struct {
	BasMinerCaller     // Read-only binding to the contract
	BasMinerTransactor // Write-only binding to the contract
	BasMinerFilterer   // Log filterer for contract events
}

BasMiner is an auto generated Go binding around an Ethereum contract.

func NewBasMiner

func NewBasMiner(address common.Address, backend bind.ContractBackend) (*BasMiner, error)

NewBasMiner creates a new instance of BasMiner, bound to a specific deployed contract.

type BasMinerAllocationChanged

type BasMinerAllocationChanged struct {
	AllocateType uint8
	ToAdmin      *big.Int
	ToBurn       *big.Int
	ToMiner      *big.Int
	ToRoot       *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BasMinerAllocationChanged represents a AllocationChanged event raised by the BasMiner contract.

type BasMinerAllocationChangedIterator

type BasMinerAllocationChangedIterator struct {
	Event *BasMinerAllocationChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMinerAllocationChangedIterator is returned from FilterAllocationChanged and is used to iterate over the raw logs and unpacked data for AllocationChanged events raised by the BasMiner contract.

func (*BasMinerAllocationChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMinerAllocationChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMinerAllocationChangedIterator) Next

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 BasMinerCaller

type BasMinerCaller struct {
	// contains filtered or unexported fields
}

BasMinerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBasMinerCaller

func NewBasMinerCaller(address common.Address, caller bind.ContractCaller) (*BasMinerCaller, error)

NewBasMinerCaller creates a new read-only instance of BasMiner, bound to a specific deployed contract.

func (*BasMinerCaller) Admin

func (_BasMiner *BasMinerCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasMinerCaller) AllocationCustomedSub

func (_BasMiner *BasMinerCaller) AllocationCustomedSub(opts *bind.CallOpts) (uint8, error)

AllocationCustomedSub is a free data retrieval call binding the contract method 0x4cd9e136.

Solidity: function AllocationCustomedSub() constant returns(uint8)

func (*BasMinerCaller) AllocationRoot

func (_BasMiner *BasMinerCaller) AllocationRoot(opts *bind.CallOpts) (uint8, error)

AllocationRoot is a free data retrieval call binding the contract method 0x41e9a9fe.

Solidity: function AllocationRoot() constant returns(uint8)

func (*BasMinerCaller) AllocationSelfSub

func (_BasMiner *BasMinerCaller) AllocationSelfSub(opts *bind.CallOpts) (uint8, error)

AllocationSelfSub is a free data retrieval call binding the contract method 0x63831e0e.

Solidity: function AllocationSelfSub() constant returns(uint8)

func (*BasMinerCaller) AllocationSub

func (_BasMiner *BasMinerCaller) AllocationSub(opts *bind.CallOpts) (uint8, error)

AllocationSub is a free data retrieval call binding the contract method 0xf22c9b00.

Solidity: function AllocationSub() constant returns(uint8)

func (*BasMinerCaller) BalanceOf

func (_BasMiner *BasMinerCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) constant returns(uint256)

func (*BasMinerCaller) ContractCaller

func (_BasMiner *BasMinerCaller) ContractCaller(opts *bind.CallOpts) (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasMinerCaller) CustomedSubSetting

func (_BasMiner *BasMinerCaller) CustomedSubSetting(opts *bind.CallOpts) (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

CustomedSubSetting is a free data retrieval call binding the contract method 0x289acc25.

Solidity: function customedSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerCaller) DefaultSubSetting

func (_BasMiner *BasMinerCaller) DefaultSubSetting(opts *bind.CallOpts) (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

DefaultSubSetting is a free data retrieval call binding the contract method 0xcf9a400e.

Solidity: function defaultSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerCaller) GetAllMainNodeAddress

func (_BasMiner *BasMinerCaller) GetAllMainNodeAddress(opts *bind.CallOpts) ([]common.Address, error)

GetAllMainNodeAddress is a free data retrieval call binding the contract method 0x179e0f00.

Solidity: function GetAllMainNodeAddress() constant returns(address[])

func (*BasMinerCaller) MainNode

func (_BasMiner *BasMinerCaller) MainNode(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

MainNode is a free data retrieval call binding the contract method 0x57d3a2ba.

Solidity: function MainNode(uint256 ) constant returns(address)

func (*BasMinerCaller) MainNodeSize

func (_BasMiner *BasMinerCaller) MainNodeSize(opts *bind.CallOpts) (*big.Int, error)

MainNodeSize is a free data retrieval call binding the contract method 0xdea21241.

Solidity: function MainNodeSize() constant returns(uint256)

func (*BasMinerCaller) OANNAddress

func (_BasMiner *BasMinerCaller) OANNAddress(opts *bind.CallOpts) (common.Address, error)

OANNAddress is a free data retrieval call binding the contract method 0x54cc5d54.

Solidity: function OANNAddress() constant returns(address)

func (*BasMinerCaller) RootSetting

func (_BasMiner *BasMinerCaller) RootSetting(opts *bind.CallOpts) (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

RootSetting is a free data retrieval call binding the contract method 0x75d4b7f7.

Solidity: function rootSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerCaller) SatoshiNakamoto

func (_BasMiner *BasMinerCaller) SatoshiNakamoto(opts *bind.CallOpts) (common.Address, error)

SatoshiNakamoto is a free data retrieval call binding the contract method 0xbf6f1121.

Solidity: function Satoshi_Nakamoto() constant returns(address)

func (*BasMinerCaller) SelfSubSetting

func (_BasMiner *BasMinerCaller) SelfSubSetting(opts *bind.CallOpts) (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

SelfSubSetting is a free data retrieval call binding the contract method 0xda3926c6.

Solidity: function selfSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerCaller) Token

func (_BasMiner *BasMinerCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type BasMinerCallerRaw

type BasMinerCallerRaw struct {
	Contract *BasMinerCaller // Generic read-only contract binding to access the raw methods on
}

BasMinerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BasMinerCallerRaw) Call

func (_BasMiner *BasMinerCallerRaw) 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 BasMinerCallerSession

type BasMinerCallerSession struct {
	Contract *BasMinerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

BasMinerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BasMinerCallerSession) Admin

func (_BasMiner *BasMinerCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasMinerCallerSession) AllocationCustomedSub

func (_BasMiner *BasMinerCallerSession) AllocationCustomedSub() (uint8, error)

AllocationCustomedSub is a free data retrieval call binding the contract method 0x4cd9e136.

Solidity: function AllocationCustomedSub() constant returns(uint8)

func (*BasMinerCallerSession) AllocationRoot

func (_BasMiner *BasMinerCallerSession) AllocationRoot() (uint8, error)

AllocationRoot is a free data retrieval call binding the contract method 0x41e9a9fe.

Solidity: function AllocationRoot() constant returns(uint8)

func (*BasMinerCallerSession) AllocationSelfSub

func (_BasMiner *BasMinerCallerSession) AllocationSelfSub() (uint8, error)

AllocationSelfSub is a free data retrieval call binding the contract method 0x63831e0e.

Solidity: function AllocationSelfSub() constant returns(uint8)

func (*BasMinerCallerSession) AllocationSub

func (_BasMiner *BasMinerCallerSession) AllocationSub() (uint8, error)

AllocationSub is a free data retrieval call binding the contract method 0xf22c9b00.

Solidity: function AllocationSub() constant returns(uint8)

func (*BasMinerCallerSession) BalanceOf

func (_BasMiner *BasMinerCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) constant returns(uint256)

func (*BasMinerCallerSession) ContractCaller

func (_BasMiner *BasMinerCallerSession) ContractCaller() (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasMinerCallerSession) CustomedSubSetting

func (_BasMiner *BasMinerCallerSession) CustomedSubSetting() (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

CustomedSubSetting is a free data retrieval call binding the contract method 0x289acc25.

Solidity: function customedSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerCallerSession) DefaultSubSetting

func (_BasMiner *BasMinerCallerSession) DefaultSubSetting() (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

DefaultSubSetting is a free data retrieval call binding the contract method 0xcf9a400e.

Solidity: function defaultSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerCallerSession) GetAllMainNodeAddress

func (_BasMiner *BasMinerCallerSession) GetAllMainNodeAddress() ([]common.Address, error)

GetAllMainNodeAddress is a free data retrieval call binding the contract method 0x179e0f00.

Solidity: function GetAllMainNodeAddress() constant returns(address[])

func (*BasMinerCallerSession) MainNode

func (_BasMiner *BasMinerCallerSession) MainNode(arg0 *big.Int) (common.Address, error)

MainNode is a free data retrieval call binding the contract method 0x57d3a2ba.

Solidity: function MainNode(uint256 ) constant returns(address)

func (*BasMinerCallerSession) MainNodeSize

func (_BasMiner *BasMinerCallerSession) MainNodeSize() (*big.Int, error)

MainNodeSize is a free data retrieval call binding the contract method 0xdea21241.

Solidity: function MainNodeSize() constant returns(uint256)

func (*BasMinerCallerSession) OANNAddress

func (_BasMiner *BasMinerCallerSession) OANNAddress() (common.Address, error)

OANNAddress is a free data retrieval call binding the contract method 0x54cc5d54.

Solidity: function OANNAddress() constant returns(address)

func (*BasMinerCallerSession) RootSetting

func (_BasMiner *BasMinerCallerSession) RootSetting() (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

RootSetting is a free data retrieval call binding the contract method 0x75d4b7f7.

Solidity: function rootSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerCallerSession) SatoshiNakamoto

func (_BasMiner *BasMinerCallerSession) SatoshiNakamoto() (common.Address, error)

SatoshiNakamoto is a free data retrieval call binding the contract method 0xbf6f1121.

Solidity: function Satoshi_Nakamoto() constant returns(address)

func (*BasMinerCallerSession) SelfSubSetting

func (_BasMiner *BasMinerCallerSession) SelfSubSetting() (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

SelfSubSetting is a free data retrieval call binding the contract method 0xda3926c6.

Solidity: function selfSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerCallerSession) Token

func (_BasMiner *BasMinerCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type BasMinerFilterer

type BasMinerFilterer struct {
	// contains filtered or unexported fields
}

BasMinerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBasMinerFilterer

func NewBasMinerFilterer(address common.Address, filterer bind.ContractFilterer) (*BasMinerFilterer, error)

NewBasMinerFilterer creates a new log filterer instance of BasMiner, bound to a specific deployed contract.

func (*BasMinerFilterer) FilterAllocationChanged

func (_BasMiner *BasMinerFilterer) FilterAllocationChanged(opts *bind.FilterOpts) (*BasMinerAllocationChangedIterator, error)

FilterAllocationChanged is a free log retrieval operation binding the contract event 0x0244e311880cf8969cc8b01ad7c19317d1b2f9b197754df3ae5088d8dfa58a37.

Solidity: event AllocationChanged(uint8 allocateType, uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRoot)

func (*BasMinerFilterer) FilterMinerAdd

func (_BasMiner *BasMinerFilterer) FilterMinerAdd(opts *bind.FilterOpts) (*BasMinerMinerAddIterator, error)

FilterMinerAdd is a free log retrieval operation binding the contract event 0x424346829819678c1f897cd0d980f28004ae4eb06bb95f034a791e0e4e9cebf5.

Solidity: event MinerAdd(address miner)

func (*BasMinerFilterer) FilterMinerRemove

func (_BasMiner *BasMinerFilterer) FilterMinerRemove(opts *bind.FilterOpts) (*BasMinerMinerRemoveIterator, error)

FilterMinerRemove is a free log retrieval operation binding the contract event 0x872f9c238db5a645adcaea90821e7c7884c6e063b9e047fd2658592f7cea397d.

Solidity: event MinerRemove(address miner)

func (*BasMinerFilterer) FilterMinerReplace

func (_BasMiner *BasMinerFilterer) FilterMinerReplace(opts *bind.FilterOpts) (*BasMinerMinerReplaceIterator, error)

FilterMinerReplace is a free log retrieval operation binding the contract event 0xc205c6ca767906b347bde3b64a6a00763decbd4fb0ea515cb8afb411647591ee.

Solidity: event MinerReplace(address oldMiner, address newMiner)

func (*BasMinerFilterer) FilterReceipt

func (_BasMiner *BasMinerFilterer) FilterReceipt(opts *bind.FilterOpts) (*BasMinerReceiptIterator, error)

FilterReceipt is a free log retrieval operation binding the contract event 0x3758759a794787144866c77ee84ba833a2225c12a6d58982691b2e88363544ff.

Solidity: event Receipt(bytes32 receiptNumber, uint256 amout, uint8 allocation, address from)

func (*BasMinerFilterer) FilterWithdraw

func (_BasMiner *BasMinerFilterer) FilterWithdraw(opts *bind.FilterOpts) (*BasMinerWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address drawer, uint256 amout)

func (*BasMinerFilterer) ParseAllocationChanged

func (_BasMiner *BasMinerFilterer) ParseAllocationChanged(log types.Log) (*BasMinerAllocationChanged, error)

ParseAllocationChanged is a log parse operation binding the contract event 0x0244e311880cf8969cc8b01ad7c19317d1b2f9b197754df3ae5088d8dfa58a37.

Solidity: event AllocationChanged(uint8 allocateType, uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRoot)

func (*BasMinerFilterer) ParseMinerAdd

func (_BasMiner *BasMinerFilterer) ParseMinerAdd(log types.Log) (*BasMinerMinerAdd, error)

ParseMinerAdd is a log parse operation binding the contract event 0x424346829819678c1f897cd0d980f28004ae4eb06bb95f034a791e0e4e9cebf5.

Solidity: event MinerAdd(address miner)

func (*BasMinerFilterer) ParseMinerRemove

func (_BasMiner *BasMinerFilterer) ParseMinerRemove(log types.Log) (*BasMinerMinerRemove, error)

ParseMinerRemove is a log parse operation binding the contract event 0x872f9c238db5a645adcaea90821e7c7884c6e063b9e047fd2658592f7cea397d.

Solidity: event MinerRemove(address miner)

func (*BasMinerFilterer) ParseMinerReplace

func (_BasMiner *BasMinerFilterer) ParseMinerReplace(log types.Log) (*BasMinerMinerReplace, error)

ParseMinerReplace is a log parse operation binding the contract event 0xc205c6ca767906b347bde3b64a6a00763decbd4fb0ea515cb8afb411647591ee.

Solidity: event MinerReplace(address oldMiner, address newMiner)

func (*BasMinerFilterer) ParseReceipt

func (_BasMiner *BasMinerFilterer) ParseReceipt(log types.Log) (*BasMinerReceipt, error)

ParseReceipt is a log parse operation binding the contract event 0x3758759a794787144866c77ee84ba833a2225c12a6d58982691b2e88363544ff.

Solidity: event Receipt(bytes32 receiptNumber, uint256 amout, uint8 allocation, address from)

func (*BasMinerFilterer) ParseWithdraw

func (_BasMiner *BasMinerFilterer) ParseWithdraw(log types.Log) (*BasMinerWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address drawer, uint256 amout)

func (*BasMinerFilterer) WatchAllocationChanged

func (_BasMiner *BasMinerFilterer) WatchAllocationChanged(opts *bind.WatchOpts, sink chan<- *BasMinerAllocationChanged) (event.Subscription, error)

WatchAllocationChanged is a free log subscription operation binding the contract event 0x0244e311880cf8969cc8b01ad7c19317d1b2f9b197754df3ae5088d8dfa58a37.

Solidity: event AllocationChanged(uint8 allocateType, uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRoot)

func (*BasMinerFilterer) WatchMinerAdd

func (_BasMiner *BasMinerFilterer) WatchMinerAdd(opts *bind.WatchOpts, sink chan<- *BasMinerMinerAdd) (event.Subscription, error)

WatchMinerAdd is a free log subscription operation binding the contract event 0x424346829819678c1f897cd0d980f28004ae4eb06bb95f034a791e0e4e9cebf5.

Solidity: event MinerAdd(address miner)

func (*BasMinerFilterer) WatchMinerRemove

func (_BasMiner *BasMinerFilterer) WatchMinerRemove(opts *bind.WatchOpts, sink chan<- *BasMinerMinerRemove) (event.Subscription, error)

WatchMinerRemove is a free log subscription operation binding the contract event 0x872f9c238db5a645adcaea90821e7c7884c6e063b9e047fd2658592f7cea397d.

Solidity: event MinerRemove(address miner)

func (*BasMinerFilterer) WatchMinerReplace

func (_BasMiner *BasMinerFilterer) WatchMinerReplace(opts *bind.WatchOpts, sink chan<- *BasMinerMinerReplace) (event.Subscription, error)

WatchMinerReplace is a free log subscription operation binding the contract event 0xc205c6ca767906b347bde3b64a6a00763decbd4fb0ea515cb8afb411647591ee.

Solidity: event MinerReplace(address oldMiner, address newMiner)

func (*BasMinerFilterer) WatchReceipt

func (_BasMiner *BasMinerFilterer) WatchReceipt(opts *bind.WatchOpts, sink chan<- *BasMinerReceipt) (event.Subscription, error)

WatchReceipt is a free log subscription operation binding the contract event 0x3758759a794787144866c77ee84ba833a2225c12a6d58982691b2e88363544ff.

Solidity: event Receipt(bytes32 receiptNumber, uint256 amout, uint8 allocation, address from)

func (*BasMinerFilterer) WatchWithdraw

func (_BasMiner *BasMinerFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *BasMinerWithdraw) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address drawer, uint256 amout)

type BasMinerMinerAdd

type BasMinerMinerAdd struct {
	Miner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

BasMinerMinerAdd represents a MinerAdd event raised by the BasMiner contract.

type BasMinerMinerAddIterator

type BasMinerMinerAddIterator struct {
	Event *BasMinerMinerAdd // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMinerMinerAddIterator is returned from FilterMinerAdd and is used to iterate over the raw logs and unpacked data for MinerAdd events raised by the BasMiner contract.

func (*BasMinerMinerAddIterator) Close

func (it *BasMinerMinerAddIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMinerMinerAddIterator) Error

func (it *BasMinerMinerAddIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMinerMinerAddIterator) Next

func (it *BasMinerMinerAddIterator) 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 BasMinerMinerRemove

type BasMinerMinerRemove struct {
	Miner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

BasMinerMinerRemove represents a MinerRemove event raised by the BasMiner contract.

type BasMinerMinerRemoveIterator

type BasMinerMinerRemoveIterator struct {
	Event *BasMinerMinerRemove // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMinerMinerRemoveIterator is returned from FilterMinerRemove and is used to iterate over the raw logs and unpacked data for MinerRemove events raised by the BasMiner contract.

func (*BasMinerMinerRemoveIterator) Close

func (it *BasMinerMinerRemoveIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMinerMinerRemoveIterator) Error

func (it *BasMinerMinerRemoveIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMinerMinerRemoveIterator) Next

func (it *BasMinerMinerRemoveIterator) 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 BasMinerMinerReplace

type BasMinerMinerReplace struct {
	OldMiner common.Address
	NewMiner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BasMinerMinerReplace represents a MinerReplace event raised by the BasMiner contract.

type BasMinerMinerReplaceIterator

type BasMinerMinerReplaceIterator struct {
	Event *BasMinerMinerReplace // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMinerMinerReplaceIterator is returned from FilterMinerReplace and is used to iterate over the raw logs and unpacked data for MinerReplace events raised by the BasMiner contract.

func (*BasMinerMinerReplaceIterator) Close

func (it *BasMinerMinerReplaceIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMinerMinerReplaceIterator) Error

func (it *BasMinerMinerReplaceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMinerMinerReplaceIterator) Next

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 BasMinerRaw

type BasMinerRaw struct {
	Contract *BasMiner // Generic contract binding to access the raw methods on
}

BasMinerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BasMinerRaw) Call

func (_BasMiner *BasMinerRaw) 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 (*BasMinerRaw) Transact

func (_BasMiner *BasMinerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasMinerRaw) Transfer

func (_BasMiner *BasMinerRaw) 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 BasMinerReceipt

type BasMinerReceipt struct {
	ReceiptNumber [32]byte
	Amout         *big.Int
	Allocation    uint8
	From          common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BasMinerReceipt represents a Receipt event raised by the BasMiner contract.

type BasMinerReceiptIterator

type BasMinerReceiptIterator struct {
	Event *BasMinerReceipt // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMinerReceiptIterator is returned from FilterReceipt and is used to iterate over the raw logs and unpacked data for Receipt events raised by the BasMiner contract.

func (*BasMinerReceiptIterator) Close

func (it *BasMinerReceiptIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMinerReceiptIterator) Error

func (it *BasMinerReceiptIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMinerReceiptIterator) Next

func (it *BasMinerReceiptIterator) 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 BasMinerSession

type BasMinerSession struct {
	Contract     *BasMiner         // 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
}

BasMinerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BasMinerSession) AAddMiner

func (_BasMiner *BasMinerSession) AAddMiner(m common.Address) (*types.Transaction, error)

AAddMiner is a paid mutator transaction binding the contract method 0xb963b0d2.

Solidity: function _a_addMiner(address m) returns()

func (*BasMinerSession) AChangeAdmin

func (_BasMiner *BasMinerSession) AChangeAdmin(newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasMinerSession) AChangeContract

func (_BasMiner *BasMinerSession) AChangeContract(conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasMinerSession) AChangeCustomedSubSetting

func (_BasMiner *BasMinerSession) AChangeCustomedSubSetting(admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeCustomedSubSetting is a paid mutator transaction binding the contract method 0xce803e2b.

Solidity: function _a_changeCustomedSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerSession) AChangeDefaultSubSetting

func (_BasMiner *BasMinerSession) AChangeDefaultSubSetting(admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeDefaultSubSetting is a paid mutator transaction binding the contract method 0x13612f56.

Solidity: function _a_changeDefaultSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerSession) AChangeRootSetting

func (_BasMiner *BasMinerSession) AChangeRootSetting(admin *big.Int, burn *big.Int, miner *big.Int) (*types.Transaction, error)

AChangeRootSetting is a paid mutator transaction binding the contract method 0x43b7919a.

Solidity: function _a_changeRootSetting(uint256 admin, uint256 burn, uint256 miner) returns()

func (*BasMinerSession) AChangeSelfSubSetting

func (_BasMiner *BasMinerSession) AChangeSelfSubSetting(admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeSelfSubSetting is a paid mutator transaction binding the contract method 0x3f2ed91e.

Solidity: function _a_changeSelfSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerSession) AEmergencyWithdraw

func (_BasMiner *BasMinerSession) AEmergencyWithdraw(to common.Address, no *big.Int) (*types.Transaction, error)

AEmergencyWithdraw is a paid mutator transaction binding the contract method 0xac6e389d.

Solidity: function _a_emergencyWithdraw(address to, uint256 no) returns()

func (*BasMinerSession) ARemoveMiner

func (_BasMiner *BasMinerSession) ARemoveMiner(miner common.Address) (*types.Transaction, error)

ARemoveMiner is a paid mutator transaction binding the contract method 0xbe7738d8.

Solidity: function _a_removeMiner(address miner) returns()

func (*BasMinerSession) AReplaceMiner

func (_BasMiner *BasMinerSession) AReplaceMiner(oldM common.Address, newM common.Address) (*types.Transaction, error)

AReplaceMiner is a paid mutator transaction binding the contract method 0x55c120cc.

Solidity: function _a_replaceMiner(address oldM, address newM) returns()

func (*BasMinerSession) Admin

func (_BasMiner *BasMinerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasMinerSession) AllocationCustomedSub

func (_BasMiner *BasMinerSession) AllocationCustomedSub() (uint8, error)

AllocationCustomedSub is a free data retrieval call binding the contract method 0x4cd9e136.

Solidity: function AllocationCustomedSub() constant returns(uint8)

func (*BasMinerSession) AllocationRoot

func (_BasMiner *BasMinerSession) AllocationRoot() (uint8, error)

AllocationRoot is a free data retrieval call binding the contract method 0x41e9a9fe.

Solidity: function AllocationRoot() constant returns(uint8)

func (*BasMinerSession) AllocationSelfSub

func (_BasMiner *BasMinerSession) AllocationSelfSub() (uint8, error)

AllocationSelfSub is a free data retrieval call binding the contract method 0x63831e0e.

Solidity: function AllocationSelfSub() constant returns(uint8)

func (*BasMinerSession) AllocationSub

func (_BasMiner *BasMinerSession) AllocationSub() (uint8, error)

AllocationSub is a free data retrieval call binding the contract method 0xf22c9b00.

Solidity: function AllocationSub() constant returns(uint8)

func (*BasMinerSession) BalanceOf

func (_BasMiner *BasMinerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) constant returns(uint256)

func (*BasMinerSession) CAllocateProfit

func (_BasMiner *BasMinerSession) CAllocateProfit(cost *big.Int, allocateType uint8, receiptNumber [32]byte, rootOwner common.Address) (*types.Transaction, error)

CAllocateProfit is a paid mutator transaction binding the contract method 0x6f3cb28f.

Solidity: function _c_allocateProfit(uint256 cost, uint8 allocateType, bytes32 receiptNumber, address rootOwner) returns()

func (*BasMinerSession) ContractCaller

func (_BasMiner *BasMinerSession) ContractCaller() (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasMinerSession) CustomedSubSetting

func (_BasMiner *BasMinerSession) CustomedSubSetting() (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

CustomedSubSetting is a free data retrieval call binding the contract method 0x289acc25.

Solidity: function customedSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerSession) DefaultSubSetting

func (_BasMiner *BasMinerSession) DefaultSubSetting() (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

DefaultSubSetting is a free data retrieval call binding the contract method 0xcf9a400e.

Solidity: function defaultSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerSession) GetAllMainNodeAddress

func (_BasMiner *BasMinerSession) GetAllMainNodeAddress() ([]common.Address, error)

GetAllMainNodeAddress is a free data retrieval call binding the contract method 0x179e0f00.

Solidity: function GetAllMainNodeAddress() constant returns(address[])

func (*BasMinerSession) MainNode

func (_BasMiner *BasMinerSession) MainNode(arg0 *big.Int) (common.Address, error)

MainNode is a free data retrieval call binding the contract method 0x57d3a2ba.

Solidity: function MainNode(uint256 ) constant returns(address)

func (*BasMinerSession) MainNodeSize

func (_BasMiner *BasMinerSession) MainNodeSize() (*big.Int, error)

MainNodeSize is a free data retrieval call binding the contract method 0xdea21241.

Solidity: function MainNodeSize() constant returns(uint256)

func (*BasMinerSession) OANNAddress

func (_BasMiner *BasMinerSession) OANNAddress() (common.Address, error)

OANNAddress is a free data retrieval call binding the contract method 0x54cc5d54.

Solidity: function OANNAddress() constant returns(address)

func (*BasMinerSession) RootSetting

func (_BasMiner *BasMinerSession) RootSetting() (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

RootSetting is a free data retrieval call binding the contract method 0x75d4b7f7.

Solidity: function rootSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerSession) SatoshiNakamoto

func (_BasMiner *BasMinerSession) SatoshiNakamoto() (common.Address, error)

SatoshiNakamoto is a free data retrieval call binding the contract method 0xbf6f1121.

Solidity: function Satoshi_Nakamoto() constant returns(address)

func (*BasMinerSession) SelfSubSetting

func (_BasMiner *BasMinerSession) SelfSubSetting() (struct {
	ToAdmin     *big.Int
	ToBurn      *big.Int
	ToMiner     *big.Int
	ToRootOwner *big.Int
}, error)

SelfSubSetting is a free data retrieval call binding the contract method 0xda3926c6.

Solidity: function selfSubSetting() constant returns(uint256 toAdmin, uint256 toBurn, uint256 toMiner, uint256 toRootOwner)

func (*BasMinerSession) Token

func (_BasMiner *BasMinerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*BasMinerSession) Withdraw

func (_BasMiner *BasMinerSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type BasMinerTransactor

type BasMinerTransactor struct {
	// contains filtered or unexported fields
}

BasMinerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBasMinerTransactor

func NewBasMinerTransactor(address common.Address, transactor bind.ContractTransactor) (*BasMinerTransactor, error)

NewBasMinerTransactor creates a new write-only instance of BasMiner, bound to a specific deployed contract.

func (*BasMinerTransactor) AAddMiner

func (_BasMiner *BasMinerTransactor) AAddMiner(opts *bind.TransactOpts, m common.Address) (*types.Transaction, error)

AAddMiner is a paid mutator transaction binding the contract method 0xb963b0d2.

Solidity: function _a_addMiner(address m) returns()

func (*BasMinerTransactor) AChangeAdmin

func (_BasMiner *BasMinerTransactor) AChangeAdmin(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasMinerTransactor) AChangeContract

func (_BasMiner *BasMinerTransactor) AChangeContract(opts *bind.TransactOpts, conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasMinerTransactor) AChangeCustomedSubSetting

func (_BasMiner *BasMinerTransactor) AChangeCustomedSubSetting(opts *bind.TransactOpts, admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeCustomedSubSetting is a paid mutator transaction binding the contract method 0xce803e2b.

Solidity: function _a_changeCustomedSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerTransactor) AChangeDefaultSubSetting

func (_BasMiner *BasMinerTransactor) AChangeDefaultSubSetting(opts *bind.TransactOpts, admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeDefaultSubSetting is a paid mutator transaction binding the contract method 0x13612f56.

Solidity: function _a_changeDefaultSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerTransactor) AChangeRootSetting

func (_BasMiner *BasMinerTransactor) AChangeRootSetting(opts *bind.TransactOpts, admin *big.Int, burn *big.Int, miner *big.Int) (*types.Transaction, error)

AChangeRootSetting is a paid mutator transaction binding the contract method 0x43b7919a.

Solidity: function _a_changeRootSetting(uint256 admin, uint256 burn, uint256 miner) returns()

func (*BasMinerTransactor) AChangeSelfSubSetting

func (_BasMiner *BasMinerTransactor) AChangeSelfSubSetting(opts *bind.TransactOpts, admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeSelfSubSetting is a paid mutator transaction binding the contract method 0x3f2ed91e.

Solidity: function _a_changeSelfSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerTransactor) AEmergencyWithdraw

func (_BasMiner *BasMinerTransactor) AEmergencyWithdraw(opts *bind.TransactOpts, to common.Address, no *big.Int) (*types.Transaction, error)

AEmergencyWithdraw is a paid mutator transaction binding the contract method 0xac6e389d.

Solidity: function _a_emergencyWithdraw(address to, uint256 no) returns()

func (*BasMinerTransactor) ARemoveMiner

func (_BasMiner *BasMinerTransactor) ARemoveMiner(opts *bind.TransactOpts, miner common.Address) (*types.Transaction, error)

ARemoveMiner is a paid mutator transaction binding the contract method 0xbe7738d8.

Solidity: function _a_removeMiner(address miner) returns()

func (*BasMinerTransactor) AReplaceMiner

func (_BasMiner *BasMinerTransactor) AReplaceMiner(opts *bind.TransactOpts, oldM common.Address, newM common.Address) (*types.Transaction, error)

AReplaceMiner is a paid mutator transaction binding the contract method 0x55c120cc.

Solidity: function _a_replaceMiner(address oldM, address newM) returns()

func (*BasMinerTransactor) CAllocateProfit

func (_BasMiner *BasMinerTransactor) CAllocateProfit(opts *bind.TransactOpts, cost *big.Int, allocateType uint8, receiptNumber [32]byte, rootOwner common.Address) (*types.Transaction, error)

CAllocateProfit is a paid mutator transaction binding the contract method 0x6f3cb28f.

Solidity: function _c_allocateProfit(uint256 cost, uint8 allocateType, bytes32 receiptNumber, address rootOwner) returns()

func (*BasMinerTransactor) Withdraw

func (_BasMiner *BasMinerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type BasMinerTransactorRaw

type BasMinerTransactorRaw struct {
	Contract *BasMinerTransactor // Generic write-only contract binding to access the raw methods on
}

BasMinerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BasMinerTransactorRaw) Transact

func (_BasMiner *BasMinerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasMinerTransactorRaw) Transfer

func (_BasMiner *BasMinerTransactorRaw) 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 BasMinerTransactorSession

type BasMinerTransactorSession struct {
	Contract     *BasMinerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

BasMinerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BasMinerTransactorSession) AAddMiner

func (_BasMiner *BasMinerTransactorSession) AAddMiner(m common.Address) (*types.Transaction, error)

AAddMiner is a paid mutator transaction binding the contract method 0xb963b0d2.

Solidity: function _a_addMiner(address m) returns()

func (*BasMinerTransactorSession) AChangeAdmin

func (_BasMiner *BasMinerTransactorSession) AChangeAdmin(newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasMinerTransactorSession) AChangeContract

func (_BasMiner *BasMinerTransactorSession) AChangeContract(conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasMinerTransactorSession) AChangeCustomedSubSetting

func (_BasMiner *BasMinerTransactorSession) AChangeCustomedSubSetting(admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeCustomedSubSetting is a paid mutator transaction binding the contract method 0xce803e2b.

Solidity: function _a_changeCustomedSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerTransactorSession) AChangeDefaultSubSetting

func (_BasMiner *BasMinerTransactorSession) AChangeDefaultSubSetting(admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeDefaultSubSetting is a paid mutator transaction binding the contract method 0x13612f56.

Solidity: function _a_changeDefaultSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerTransactorSession) AChangeRootSetting

func (_BasMiner *BasMinerTransactorSession) AChangeRootSetting(admin *big.Int, burn *big.Int, miner *big.Int) (*types.Transaction, error)

AChangeRootSetting is a paid mutator transaction binding the contract method 0x43b7919a.

Solidity: function _a_changeRootSetting(uint256 admin, uint256 burn, uint256 miner) returns()

func (*BasMinerTransactorSession) AChangeSelfSubSetting

func (_BasMiner *BasMinerTransactorSession) AChangeSelfSubSetting(admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

AChangeSelfSubSetting is a paid mutator transaction binding the contract method 0x3f2ed91e.

Solidity: function _a_changeSelfSubSetting(uint256 admin, uint256 burn, uint256 miner, uint256 root) returns()

func (*BasMinerTransactorSession) AEmergencyWithdraw

func (_BasMiner *BasMinerTransactorSession) AEmergencyWithdraw(to common.Address, no *big.Int) (*types.Transaction, error)

AEmergencyWithdraw is a paid mutator transaction binding the contract method 0xac6e389d.

Solidity: function _a_emergencyWithdraw(address to, uint256 no) returns()

func (*BasMinerTransactorSession) ARemoveMiner

func (_BasMiner *BasMinerTransactorSession) ARemoveMiner(miner common.Address) (*types.Transaction, error)

ARemoveMiner is a paid mutator transaction binding the contract method 0xbe7738d8.

Solidity: function _a_removeMiner(address miner) returns()

func (*BasMinerTransactorSession) AReplaceMiner

func (_BasMiner *BasMinerTransactorSession) AReplaceMiner(oldM common.Address, newM common.Address) (*types.Transaction, error)

AReplaceMiner is a paid mutator transaction binding the contract method 0x55c120cc.

Solidity: function _a_replaceMiner(address oldM, address newM) returns()

func (*BasMinerTransactorSession) CAllocateProfit

func (_BasMiner *BasMinerTransactorSession) CAllocateProfit(cost *big.Int, allocateType uint8, receiptNumber [32]byte, rootOwner common.Address) (*types.Transaction, error)

CAllocateProfit is a paid mutator transaction binding the contract method 0x6f3cb28f.

Solidity: function _c_allocateProfit(uint256 cost, uint8 allocateType, bytes32 receiptNumber, address rootOwner) returns()

func (*BasMinerTransactorSession) Withdraw

func (_BasMiner *BasMinerTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type BasMinerWithdraw

type BasMinerWithdraw struct {
	Drawer common.Address
	Amout  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BasMinerWithdraw represents a Withdraw event raised by the BasMiner contract.

type BasMinerWithdrawIterator

type BasMinerWithdrawIterator struct {
	Event *BasMinerWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasMinerWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the BasMiner contract.

func (*BasMinerWithdrawIterator) Close

func (it *BasMinerWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasMinerWithdrawIterator) Error

func (it *BasMinerWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasMinerWithdrawIterator) Next

func (it *BasMinerWithdrawIterator) 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 BasOANN

type BasOANN struct {
	BasOANNCaller     // Read-only binding to the contract
	BasOANNTransactor // Write-only binding to the contract
	BasOANNFilterer   // Log filterer for contract events
}

BasOANN is an auto generated Go binding around an Ethereum contract.

func NewBasOANN

func NewBasOANN(address common.Address, backend bind.ContractBackend) (*BasOANN, error)

NewBasOANN creates a new instance of BasOANN, bound to a specific deployed contract.

type BasOANNCaller

type BasOANNCaller struct {
	// contains filtered or unexported fields
}

BasOANNCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBasOANNCaller

func NewBasOANNCaller(address common.Address, caller bind.ContractCaller) (*BasOANNCaller, error)

NewBasOANNCaller creates a new read-only instance of BasOANN, bound to a specific deployed contract.

func (*BasOANNCaller) AROOTGAS

func (_BasOANN *BasOANNCaller) AROOTGAS(opts *bind.CallOpts) (*big.Int, error)

AROOTGAS is a free data retrieval call binding the contract method 0x789dba4f.

Solidity: function AROOT_GAS() constant returns(uint256)

func (*BasOANNCaller) Admin

func (_BasOANN *BasOANNCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasOANNCaller) BROOTGAS

func (_BasOANN *BasOANNCaller) BROOTGAS(opts *bind.CallOpts) (*big.Int, error)

BROOTGAS is a free data retrieval call binding the contract method 0xfcb26830.

Solidity: function BROOT_GAS() constant returns(uint256)

func (*BasOANNCaller) CUSTOMEDPRICEGAS

func (_BasOANN *BasOANNCaller) CUSTOMEDPRICEGAS(opts *bind.CallOpts) (*big.Int, error)

CUSTOMEDPRICEGAS is a free data retrieval call binding the contract method 0x536acc1c.

Solidity: function CUSTOMED_PRICE_GAS() constant returns(uint256)

func (*BasOANNCaller) CheckAssociatedContractAddress

func (_BasOANN *BasOANNCaller) CheckAssociatedContractAddress(opts *bind.CallOpts) (struct {
	BasToken     common.Address
	BasOwnership common.Address
	BasAsset     common.Address
	BasDNS       common.Address
	BasMiner     common.Address
	BasRule      common.Address
}, error)

CheckAssociatedContractAddress is a free data retrieval call binding the contract method 0xa3e0c839.

Solidity: function checkAssociatedContractAddress() constant returns(address BasToken, address BasOwnership, address BasAsset, address BasDNS, address BasMiner, address BasRule)

func (*BasOANNCaller) ContractCaller

func (_BasOANN *BasOANNCaller) ContractCaller(opts *bind.CallOpts) (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasOANNCaller) EvalueRootPrice

func (_BasOANN *BasOANNCaller) EvalueRootPrice(opts *bind.CallOpts, name []byte, isCustomed bool, durationInYear uint8) (struct {
	NameHash [32]byte
	IsValid  bool
	Cost     *big.Int
	Exist    bool
}, error)

EvalueRootPrice is a free data retrieval call binding the contract method 0xe4ede0c5.

Solidity: function evalueRootPrice(bytes name, bool isCustomed, uint8 durationInYear) constant returns(bytes32 nameHash, bool isValid, uint256 cost, bool exist)

func (*BasOANNCaller) EvalueSubPrice

func (_BasOANN *BasOANNCaller) EvalueSubPrice(opts *bind.CallOpts, rName []byte, sName []byte, durationInYear uint8) (struct {
	NameHash   [32]byte
	TotalName  []byte
	RootHash   [32]byte
	IsValid    bool
	RootOwner  common.Address
	IsCustomed bool
	Cost       *big.Int
	Exist      bool
}, error)

EvalueSubPrice is a free data retrieval call binding the contract method 0x413e637d.

Solidity: function evalueSubPrice(bytes rName, bytes sName, uint8 durationInYear) constant returns(bytes32 nameHash, bytes totalName, bytes32 rootHash, bool isValid, address rootOwner, bool isCustomed, uint256 cost, bool exist)

func (*BasOANNCaller) MAXYEAR

func (_BasOANN *BasOANNCaller) MAXYEAR(opts *bind.CallOpts) (*big.Int, error)

MAXYEAR is a free data retrieval call binding the contract method 0x61c9511e.

Solidity: function MAX_YEAR() constant returns(uint256)

func (*BasOANNCaller) RARETYPELENGTH

func (_BasOANN *BasOANNCaller) RARETYPELENGTH(opts *bind.CallOpts) (*big.Int, error)

RARETYPELENGTH is a free data retrieval call binding the contract method 0xa59ea829.

Solidity: function RARE_TYPE_LENGTH() constant returns(uint256)

func (*BasOANNCaller) SUBGAS

func (_BasOANN *BasOANNCaller) SUBGAS(opts *bind.CallOpts) (*big.Int, error)

SUBGAS is a free data retrieval call binding the contract method 0xfa1826bb.

Solidity: function SUB_GAS() constant returns(uint256)

func (*BasOANNCaller) ValidDuration

func (_BasOANN *BasOANNCaller) ValidDuration(opts *bind.CallOpts, y uint8) (bool, error)

ValidDuration is a free data retrieval call binding the contract method 0x2b1e49e4.

Solidity: function validDuration(uint8 y) constant returns(bool)

type BasOANNCallerRaw

type BasOANNCallerRaw struct {
	Contract *BasOANNCaller // Generic read-only contract binding to access the raw methods on
}

BasOANNCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BasOANNCallerRaw) Call

func (_BasOANN *BasOANNCallerRaw) 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 BasOANNCallerSession

type BasOANNCallerSession struct {
	Contract *BasOANNCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

BasOANNCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BasOANNCallerSession) AROOTGAS

func (_BasOANN *BasOANNCallerSession) AROOTGAS() (*big.Int, error)

AROOTGAS is a free data retrieval call binding the contract method 0x789dba4f.

Solidity: function AROOT_GAS() constant returns(uint256)

func (*BasOANNCallerSession) Admin

func (_BasOANN *BasOANNCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasOANNCallerSession) BROOTGAS

func (_BasOANN *BasOANNCallerSession) BROOTGAS() (*big.Int, error)

BROOTGAS is a free data retrieval call binding the contract method 0xfcb26830.

Solidity: function BROOT_GAS() constant returns(uint256)

func (*BasOANNCallerSession) CUSTOMEDPRICEGAS

func (_BasOANN *BasOANNCallerSession) CUSTOMEDPRICEGAS() (*big.Int, error)

CUSTOMEDPRICEGAS is a free data retrieval call binding the contract method 0x536acc1c.

Solidity: function CUSTOMED_PRICE_GAS() constant returns(uint256)

func (*BasOANNCallerSession) CheckAssociatedContractAddress

func (_BasOANN *BasOANNCallerSession) CheckAssociatedContractAddress() (struct {
	BasToken     common.Address
	BasOwnership common.Address
	BasAsset     common.Address
	BasDNS       common.Address
	BasMiner     common.Address
	BasRule      common.Address
}, error)

CheckAssociatedContractAddress is a free data retrieval call binding the contract method 0xa3e0c839.

Solidity: function checkAssociatedContractAddress() constant returns(address BasToken, address BasOwnership, address BasAsset, address BasDNS, address BasMiner, address BasRule)

func (*BasOANNCallerSession) ContractCaller

func (_BasOANN *BasOANNCallerSession) ContractCaller() (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasOANNCallerSession) EvalueRootPrice

func (_BasOANN *BasOANNCallerSession) EvalueRootPrice(name []byte, isCustomed bool, durationInYear uint8) (struct {
	NameHash [32]byte
	IsValid  bool
	Cost     *big.Int
	Exist    bool
}, error)

EvalueRootPrice is a free data retrieval call binding the contract method 0xe4ede0c5.

Solidity: function evalueRootPrice(bytes name, bool isCustomed, uint8 durationInYear) constant returns(bytes32 nameHash, bool isValid, uint256 cost, bool exist)

func (*BasOANNCallerSession) EvalueSubPrice

func (_BasOANN *BasOANNCallerSession) EvalueSubPrice(rName []byte, sName []byte, durationInYear uint8) (struct {
	NameHash   [32]byte
	TotalName  []byte
	RootHash   [32]byte
	IsValid    bool
	RootOwner  common.Address
	IsCustomed bool
	Cost       *big.Int
	Exist      bool
}, error)

EvalueSubPrice is a free data retrieval call binding the contract method 0x413e637d.

Solidity: function evalueSubPrice(bytes rName, bytes sName, uint8 durationInYear) constant returns(bytes32 nameHash, bytes totalName, bytes32 rootHash, bool isValid, address rootOwner, bool isCustomed, uint256 cost, bool exist)

func (*BasOANNCallerSession) MAXYEAR

func (_BasOANN *BasOANNCallerSession) MAXYEAR() (*big.Int, error)

MAXYEAR is a free data retrieval call binding the contract method 0x61c9511e.

Solidity: function MAX_YEAR() constant returns(uint256)

func (*BasOANNCallerSession) RARETYPELENGTH

func (_BasOANN *BasOANNCallerSession) RARETYPELENGTH() (*big.Int, error)

RARETYPELENGTH is a free data retrieval call binding the contract method 0xa59ea829.

Solidity: function RARE_TYPE_LENGTH() constant returns(uint256)

func (*BasOANNCallerSession) SUBGAS

func (_BasOANN *BasOANNCallerSession) SUBGAS() (*big.Int, error)

SUBGAS is a free data retrieval call binding the contract method 0xfa1826bb.

Solidity: function SUB_GAS() constant returns(uint256)

func (*BasOANNCallerSession) ValidDuration

func (_BasOANN *BasOANNCallerSession) ValidDuration(y uint8) (bool, error)

ValidDuration is a free data retrieval call binding the contract method 0x2b1e49e4.

Solidity: function validDuration(uint8 y) constant returns(bool)

type BasOANNFilterer

type BasOANNFilterer struct {
	// contains filtered or unexported fields
}

BasOANNFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBasOANNFilterer

func NewBasOANNFilterer(address common.Address, filterer bind.ContractFilterer) (*BasOANNFilterer, error)

NewBasOANNFilterer creates a new log filterer instance of BasOANN, bound to a specific deployed contract.

func (*BasOANNFilterer) FilterPaid

func (_BasOANN *BasOANNFilterer) FilterPaid(opts *bind.FilterOpts) (*BasOANNPaidIterator, error)

FilterPaid is a free log retrieval operation binding the contract event 0xfa05436f36a82dd83418cf5822d58c004af42d1fce873be55da6ec43ae3df78c.

Solidity: event Paid(address payer, bytes name, string option, uint256 amount, bytes32 receipt)

func (*BasOANNFilterer) FilterSettingChanged

func (_BasOANN *BasOANNFilterer) FilterSettingChanged(opts *bind.FilterOpts) (*BasOANNSettingChangedIterator, error)

FilterSettingChanged is a free log retrieval operation binding the contract event 0x5ffe75daa1ede2c9bd288845d6ad07ff296949679fe3f8b1ede2e14ce414c51c.

Solidity: event SettingChanged()

func (*BasOANNFilterer) ParsePaid

func (_BasOANN *BasOANNFilterer) ParsePaid(log types.Log) (*BasOANNPaid, error)

ParsePaid is a log parse operation binding the contract event 0xfa05436f36a82dd83418cf5822d58c004af42d1fce873be55da6ec43ae3df78c.

Solidity: event Paid(address payer, bytes name, string option, uint256 amount, bytes32 receipt)

func (*BasOANNFilterer) ParseSettingChanged

func (_BasOANN *BasOANNFilterer) ParseSettingChanged(log types.Log) (*BasOANNSettingChanged, error)

ParseSettingChanged is a log parse operation binding the contract event 0x5ffe75daa1ede2c9bd288845d6ad07ff296949679fe3f8b1ede2e14ce414c51c.

Solidity: event SettingChanged()

func (*BasOANNFilterer) WatchPaid

func (_BasOANN *BasOANNFilterer) WatchPaid(opts *bind.WatchOpts, sink chan<- *BasOANNPaid) (event.Subscription, error)

WatchPaid is a free log subscription operation binding the contract event 0xfa05436f36a82dd83418cf5822d58c004af42d1fce873be55da6ec43ae3df78c.

Solidity: event Paid(address payer, bytes name, string option, uint256 amount, bytes32 receipt)

func (*BasOANNFilterer) WatchSettingChanged

func (_BasOANN *BasOANNFilterer) WatchSettingChanged(opts *bind.WatchOpts, sink chan<- *BasOANNSettingChanged) (event.Subscription, error)

WatchSettingChanged is a free log subscription operation binding the contract event 0x5ffe75daa1ede2c9bd288845d6ad07ff296949679fe3f8b1ede2e14ce414c51c.

Solidity: event SettingChanged()

type BasOANNPaid

type BasOANNPaid struct {
	Payer   common.Address
	Name    []byte
	Option  string
	Amount  *big.Int
	Receipt [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

BasOANNPaid represents a Paid event raised by the BasOANN contract.

type BasOANNPaidIterator

type BasOANNPaidIterator struct {
	Event *BasOANNPaid // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOANNPaidIterator is returned from FilterPaid and is used to iterate over the raw logs and unpacked data for Paid events raised by the BasOANN contract.

func (*BasOANNPaidIterator) Close

func (it *BasOANNPaidIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOANNPaidIterator) Error

func (it *BasOANNPaidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOANNPaidIterator) Next

func (it *BasOANNPaidIterator) 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 BasOANNRaw

type BasOANNRaw struct {
	Contract *BasOANN // Generic contract binding to access the raw methods on
}

BasOANNRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BasOANNRaw) Call

func (_BasOANN *BasOANNRaw) 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 (*BasOANNRaw) Transact

func (_BasOANN *BasOANNRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasOANNRaw) Transfer

func (_BasOANN *BasOANNRaw) 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 BasOANNSession

type BasOANNSession struct {
	Contract     *BasOANN          // 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
}

BasOANNSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BasOANNSession) AChangeAdmin

func (_BasOANN *BasOANNSession) AChangeAdmin(newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasOANNSession) AChangeContract

func (_BasOANN *BasOANNSession) AChangeContract(conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasOANNSession) AROOTGAS

func (_BasOANN *BasOANNSession) AROOTGAS() (*big.Int, error)

AROOTGAS is a free data retrieval call binding the contract method 0x789dba4f.

Solidity: function AROOT_GAS() constant returns(uint256)

func (*BasOANNSession) Admin

func (_BasOANN *BasOANNSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasOANNSession) BROOTGAS

func (_BasOANN *BasOANNSession) BROOTGAS() (*big.Int, error)

BROOTGAS is a free data retrieval call binding the contract method 0xfcb26830.

Solidity: function BROOT_GAS() constant returns(uint256)

func (*BasOANNSession) CUSTOMEDPRICEGAS

func (_BasOANN *BasOANNSession) CUSTOMEDPRICEGAS() (*big.Int, error)

CUSTOMEDPRICEGAS is a free data retrieval call binding the contract method 0x536acc1c.

Solidity: function CUSTOMED_PRICE_GAS() constant returns(uint256)

func (*BasOANNSession) CheckAssociatedContractAddress

func (_BasOANN *BasOANNSession) CheckAssociatedContractAddress() (struct {
	BasToken     common.Address
	BasOwnership common.Address
	BasAsset     common.Address
	BasDNS       common.Address
	BasMiner     common.Address
	BasRule      common.Address
}, error)

CheckAssociatedContractAddress is a free data retrieval call binding the contract method 0xa3e0c839.

Solidity: function checkAssociatedContractAddress() constant returns(address BasToken, address BasOwnership, address BasAsset, address BasDNS, address BasMiner, address BasRule)

func (*BasOANNSession) CloseCustomedPrice

func (_BasOANN *BasOANNSession) CloseCustomedPrice(nameHash [32]byte) (*types.Transaction, error)

CloseCustomedPrice is a paid mutator transaction binding the contract method 0xc0bd516d.

Solidity: function closeCustomedPrice(bytes32 nameHash) returns()

func (*BasOANNSession) CloseToPublic

func (_BasOANN *BasOANNSession) CloseToPublic(nameHash [32]byte) (*types.Transaction, error)

CloseToPublic is a paid mutator transaction binding the contract method 0xd0f0b43d.

Solidity: function closeToPublic(bytes32 nameHash) returns()

func (*BasOANNSession) ContractCaller

func (_BasOANN *BasOANNSession) ContractCaller() (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasOANNSession) EvalueRootPrice

func (_BasOANN *BasOANNSession) EvalueRootPrice(name []byte, isCustomed bool, durationInYear uint8) (struct {
	NameHash [32]byte
	IsValid  bool
	Cost     *big.Int
	Exist    bool
}, error)

EvalueRootPrice is a free data retrieval call binding the contract method 0xe4ede0c5.

Solidity: function evalueRootPrice(bytes name, bool isCustomed, uint8 durationInYear) constant returns(bytes32 nameHash, bool isValid, uint256 cost, bool exist)

func (*BasOANNSession) EvalueSubPrice

func (_BasOANN *BasOANNSession) EvalueSubPrice(rName []byte, sName []byte, durationInYear uint8) (struct {
	NameHash   [32]byte
	TotalName  []byte
	RootHash   [32]byte
	IsValid    bool
	RootOwner  common.Address
	IsCustomed bool
	Cost       *big.Int
	Exist      bool
}, error)

EvalueSubPrice is a free data retrieval call binding the contract method 0x413e637d.

Solidity: function evalueSubPrice(bytes rName, bytes sName, uint8 durationInYear) constant returns(bytes32 nameHash, bytes totalName, bytes32 rootHash, bool isValid, address rootOwner, bool isCustomed, uint256 cost, bool exist)

func (*BasOANNSession) MAXYEAR

func (_BasOANN *BasOANNSession) MAXYEAR() (*big.Int, error)

MAXYEAR is a free data retrieval call binding the contract method 0x61c9511e.

Solidity: function MAX_YEAR() constant returns(uint256)

func (*BasOANNSession) OpenCustomedPrice

func (_BasOANN *BasOANNSession) OpenCustomedPrice(nameHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 nameHash, uint256 price) returns()

func (*BasOANNSession) OpenToPublic

func (_BasOANN *BasOANNSession) OpenToPublic(nameHash [32]byte) (*types.Transaction, error)

OpenToPublic is a paid mutator transaction binding the contract method 0xed26e5ae.

Solidity: function openToPublic(bytes32 nameHash) returns()

func (*BasOANNSession) RARETYPELENGTH

func (_BasOANN *BasOANNSession) RARETYPELENGTH() (*big.Int, error)

RARETYPELENGTH is a free data retrieval call binding the contract method 0xa59ea829.

Solidity: function RARE_TYPE_LENGTH() constant returns(uint256)

func (*BasOANNSession) Recharge

func (_BasOANN *BasOANNSession) Recharge(name []byte, durationInYear uint8) (*types.Transaction, error)

Recharge is a paid mutator transaction binding the contract method 0xb84f5f20.

Solidity: function recharge(bytes name, uint8 durationInYear) returns()

func (*BasOANNSession) RegisterRoot

func (_BasOANN *BasOANNSession) RegisterRoot(name []byte, isOpen bool, isCustomed bool, cusPrice *big.Int, durationInYear uint8) (*types.Transaction, error)

RegisterRoot is a paid mutator transaction binding the contract method 0x70a1495c.

Solidity: function registerRoot(bytes name, bool isOpen, bool isCustomed, uint256 cusPrice, uint8 durationInYear) returns()

func (*BasOANNSession) RegisterSub

func (_BasOANN *BasOANNSession) RegisterSub(rName []byte, sName []byte, durationInYear uint8) (*types.Transaction, error)

RegisterSub is a paid mutator transaction binding the contract method 0xee9a512a.

Solidity: function registerSub(bytes rName, bytes sName, uint8 durationInYear) returns()

func (*BasOANNSession) SUBGAS

func (_BasOANN *BasOANNSession) SUBGAS() (*big.Int, error)

SUBGAS is a free data retrieval call binding the contract method 0xfa1826bb.

Solidity: function SUB_GAS() constant returns(uint256)

func (*BasOANNSession) SetARootGas

func (_BasOANN *BasOANNSession) SetARootGas(newGas *big.Int) (*types.Transaction, error)

SetARootGas is a paid mutator transaction binding the contract method 0x9c626de4.

Solidity: function setARootGas(uint256 newGas) returns()

func (*BasOANNSession) SetBRootGas

func (_BasOANN *BasOANNSession) SetBRootGas(newGas *big.Int) (*types.Transaction, error)

SetBRootGas is a paid mutator transaction binding the contract method 0xa23a7245.

Solidity: function setBRootGas(uint256 newGas) returns()

func (*BasOANNSession) SetCustomedPriceGas

func (_BasOANN *BasOANNSession) SetCustomedPriceGas(newGas *big.Int) (*types.Transaction, error)

SetCustomedPriceGas is a paid mutator transaction binding the contract method 0x30ffb316.

Solidity: function setCustomedPriceGas(uint256 newGas) returns()

func (*BasOANNSession) SetMaxYear

func (_BasOANN *BasOANNSession) SetMaxYear(year *big.Int) (*types.Transaction, error)

SetMaxYear is a paid mutator transaction binding the contract method 0x6000e099.

Solidity: function setMaxYear(uint256 year) returns()

func (*BasOANNSession) SetRareTypeLength

func (_BasOANN *BasOANNSession) SetRareTypeLength(len uint8) (*types.Transaction, error)

SetRareTypeLength is a paid mutator transaction binding the contract method 0x05790fd1.

Solidity: function setRareTypeLength(uint8 len) returns()

func (*BasOANNSession) SetRecord

func (_BasOANN *BasOANNSession) SetRecord(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0x3834ae56.

Solidity: function setRecord(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

func (*BasOANNSession) SetSubGas

func (_BasOANN *BasOANNSession) SetSubGas(newGas *big.Int) (*types.Transaction, error)

SetSubGas is a paid mutator transaction binding the contract method 0xa7a6907b.

Solidity: function setSubGas(uint256 newGas) returns()

func (*BasOANNSession) ValidDuration

func (_BasOANN *BasOANNSession) ValidDuration(y uint8) (bool, error)

ValidDuration is a free data retrieval call binding the contract method 0x2b1e49e4.

Solidity: function validDuration(uint8 y) constant returns(bool)

type BasOANNSettingChanged

type BasOANNSettingChanged struct {
	Raw types.Log // Blockchain specific contextual infos
}

BasOANNSettingChanged represents a SettingChanged event raised by the BasOANN contract.

type BasOANNSettingChangedIterator

type BasOANNSettingChangedIterator struct {
	Event *BasOANNSettingChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOANNSettingChangedIterator is returned from FilterSettingChanged and is used to iterate over the raw logs and unpacked data for SettingChanged events raised by the BasOANN contract.

func (*BasOANNSettingChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOANNSettingChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOANNSettingChangedIterator) Next

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 BasOANNTransactor

type BasOANNTransactor struct {
	// contains filtered or unexported fields
}

BasOANNTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBasOANNTransactor

func NewBasOANNTransactor(address common.Address, transactor bind.ContractTransactor) (*BasOANNTransactor, error)

NewBasOANNTransactor creates a new write-only instance of BasOANN, bound to a specific deployed contract.

func (*BasOANNTransactor) AChangeAdmin

func (_BasOANN *BasOANNTransactor) AChangeAdmin(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasOANNTransactor) AChangeContract

func (_BasOANN *BasOANNTransactor) AChangeContract(opts *bind.TransactOpts, conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasOANNTransactor) CloseCustomedPrice

func (_BasOANN *BasOANNTransactor) CloseCustomedPrice(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

CloseCustomedPrice is a paid mutator transaction binding the contract method 0xc0bd516d.

Solidity: function closeCustomedPrice(bytes32 nameHash) returns()

func (*BasOANNTransactor) CloseToPublic

func (_BasOANN *BasOANNTransactor) CloseToPublic(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

CloseToPublic is a paid mutator transaction binding the contract method 0xd0f0b43d.

Solidity: function closeToPublic(bytes32 nameHash) returns()

func (*BasOANNTransactor) OpenCustomedPrice

func (_BasOANN *BasOANNTransactor) OpenCustomedPrice(opts *bind.TransactOpts, nameHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 nameHash, uint256 price) returns()

func (*BasOANNTransactor) OpenToPublic

func (_BasOANN *BasOANNTransactor) OpenToPublic(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

OpenToPublic is a paid mutator transaction binding the contract method 0xed26e5ae.

Solidity: function openToPublic(bytes32 nameHash) returns()

func (*BasOANNTransactor) Recharge

func (_BasOANN *BasOANNTransactor) Recharge(opts *bind.TransactOpts, name []byte, durationInYear uint8) (*types.Transaction, error)

Recharge is a paid mutator transaction binding the contract method 0xb84f5f20.

Solidity: function recharge(bytes name, uint8 durationInYear) returns()

func (*BasOANNTransactor) RegisterRoot

func (_BasOANN *BasOANNTransactor) RegisterRoot(opts *bind.TransactOpts, name []byte, isOpen bool, isCustomed bool, cusPrice *big.Int, durationInYear uint8) (*types.Transaction, error)

RegisterRoot is a paid mutator transaction binding the contract method 0x70a1495c.

Solidity: function registerRoot(bytes name, bool isOpen, bool isCustomed, uint256 cusPrice, uint8 durationInYear) returns()

func (*BasOANNTransactor) RegisterSub

func (_BasOANN *BasOANNTransactor) RegisterSub(opts *bind.TransactOpts, rName []byte, sName []byte, durationInYear uint8) (*types.Transaction, error)

RegisterSub is a paid mutator transaction binding the contract method 0xee9a512a.

Solidity: function registerSub(bytes rName, bytes sName, uint8 durationInYear) returns()

func (*BasOANNTransactor) SetARootGas

func (_BasOANN *BasOANNTransactor) SetARootGas(opts *bind.TransactOpts, newGas *big.Int) (*types.Transaction, error)

SetARootGas is a paid mutator transaction binding the contract method 0x9c626de4.

Solidity: function setARootGas(uint256 newGas) returns()

func (*BasOANNTransactor) SetBRootGas

func (_BasOANN *BasOANNTransactor) SetBRootGas(opts *bind.TransactOpts, newGas *big.Int) (*types.Transaction, error)

SetBRootGas is a paid mutator transaction binding the contract method 0xa23a7245.

Solidity: function setBRootGas(uint256 newGas) returns()

func (*BasOANNTransactor) SetCustomedPriceGas

func (_BasOANN *BasOANNTransactor) SetCustomedPriceGas(opts *bind.TransactOpts, newGas *big.Int) (*types.Transaction, error)

SetCustomedPriceGas is a paid mutator transaction binding the contract method 0x30ffb316.

Solidity: function setCustomedPriceGas(uint256 newGas) returns()

func (*BasOANNTransactor) SetMaxYear

func (_BasOANN *BasOANNTransactor) SetMaxYear(opts *bind.TransactOpts, year *big.Int) (*types.Transaction, error)

SetMaxYear is a paid mutator transaction binding the contract method 0x6000e099.

Solidity: function setMaxYear(uint256 year) returns()

func (*BasOANNTransactor) SetRareTypeLength

func (_BasOANN *BasOANNTransactor) SetRareTypeLength(opts *bind.TransactOpts, len uint8) (*types.Transaction, error)

SetRareTypeLength is a paid mutator transaction binding the contract method 0x05790fd1.

Solidity: function setRareTypeLength(uint8 len) returns()

func (*BasOANNTransactor) SetRecord

func (_BasOANN *BasOANNTransactor) SetRecord(opts *bind.TransactOpts, nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0x3834ae56.

Solidity: function setRecord(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

func (*BasOANNTransactor) SetSubGas

func (_BasOANN *BasOANNTransactor) SetSubGas(opts *bind.TransactOpts, newGas *big.Int) (*types.Transaction, error)

SetSubGas is a paid mutator transaction binding the contract method 0xa7a6907b.

Solidity: function setSubGas(uint256 newGas) returns()

type BasOANNTransactorRaw

type BasOANNTransactorRaw struct {
	Contract *BasOANNTransactor // Generic write-only contract binding to access the raw methods on
}

BasOANNTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BasOANNTransactorRaw) Transact

func (_BasOANN *BasOANNTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasOANNTransactorRaw) Transfer

func (_BasOANN *BasOANNTransactorRaw) 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 BasOANNTransactorSession

type BasOANNTransactorSession struct {
	Contract     *BasOANNTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

BasOANNTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BasOANNTransactorSession) AChangeAdmin

func (_BasOANN *BasOANNTransactorSession) AChangeAdmin(newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasOANNTransactorSession) AChangeContract

func (_BasOANN *BasOANNTransactorSession) AChangeContract(conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasOANNTransactorSession) CloseCustomedPrice

func (_BasOANN *BasOANNTransactorSession) CloseCustomedPrice(nameHash [32]byte) (*types.Transaction, error)

CloseCustomedPrice is a paid mutator transaction binding the contract method 0xc0bd516d.

Solidity: function closeCustomedPrice(bytes32 nameHash) returns()

func (*BasOANNTransactorSession) CloseToPublic

func (_BasOANN *BasOANNTransactorSession) CloseToPublic(nameHash [32]byte) (*types.Transaction, error)

CloseToPublic is a paid mutator transaction binding the contract method 0xd0f0b43d.

Solidity: function closeToPublic(bytes32 nameHash) returns()

func (*BasOANNTransactorSession) OpenCustomedPrice

func (_BasOANN *BasOANNTransactorSession) OpenCustomedPrice(nameHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 nameHash, uint256 price) returns()

func (*BasOANNTransactorSession) OpenToPublic

func (_BasOANN *BasOANNTransactorSession) OpenToPublic(nameHash [32]byte) (*types.Transaction, error)

OpenToPublic is a paid mutator transaction binding the contract method 0xed26e5ae.

Solidity: function openToPublic(bytes32 nameHash) returns()

func (*BasOANNTransactorSession) Recharge

func (_BasOANN *BasOANNTransactorSession) Recharge(name []byte, durationInYear uint8) (*types.Transaction, error)

Recharge is a paid mutator transaction binding the contract method 0xb84f5f20.

Solidity: function recharge(bytes name, uint8 durationInYear) returns()

func (*BasOANNTransactorSession) RegisterRoot

func (_BasOANN *BasOANNTransactorSession) RegisterRoot(name []byte, isOpen bool, isCustomed bool, cusPrice *big.Int, durationInYear uint8) (*types.Transaction, error)

RegisterRoot is a paid mutator transaction binding the contract method 0x70a1495c.

Solidity: function registerRoot(bytes name, bool isOpen, bool isCustomed, uint256 cusPrice, uint8 durationInYear) returns()

func (*BasOANNTransactorSession) RegisterSub

func (_BasOANN *BasOANNTransactorSession) RegisterSub(rName []byte, sName []byte, durationInYear uint8) (*types.Transaction, error)

RegisterSub is a paid mutator transaction binding the contract method 0xee9a512a.

Solidity: function registerSub(bytes rName, bytes sName, uint8 durationInYear) returns()

func (*BasOANNTransactorSession) SetARootGas

func (_BasOANN *BasOANNTransactorSession) SetARootGas(newGas *big.Int) (*types.Transaction, error)

SetARootGas is a paid mutator transaction binding the contract method 0x9c626de4.

Solidity: function setARootGas(uint256 newGas) returns()

func (*BasOANNTransactorSession) SetBRootGas

func (_BasOANN *BasOANNTransactorSession) SetBRootGas(newGas *big.Int) (*types.Transaction, error)

SetBRootGas is a paid mutator transaction binding the contract method 0xa23a7245.

Solidity: function setBRootGas(uint256 newGas) returns()

func (*BasOANNTransactorSession) SetCustomedPriceGas

func (_BasOANN *BasOANNTransactorSession) SetCustomedPriceGas(newGas *big.Int) (*types.Transaction, error)

SetCustomedPriceGas is a paid mutator transaction binding the contract method 0x30ffb316.

Solidity: function setCustomedPriceGas(uint256 newGas) returns()

func (*BasOANNTransactorSession) SetMaxYear

func (_BasOANN *BasOANNTransactorSession) SetMaxYear(year *big.Int) (*types.Transaction, error)

SetMaxYear is a paid mutator transaction binding the contract method 0x6000e099.

Solidity: function setMaxYear(uint256 year) returns()

func (*BasOANNTransactorSession) SetRareTypeLength

func (_BasOANN *BasOANNTransactorSession) SetRareTypeLength(len uint8) (*types.Transaction, error)

SetRareTypeLength is a paid mutator transaction binding the contract method 0x05790fd1.

Solidity: function setRareTypeLength(uint8 len) returns()

func (*BasOANNTransactorSession) SetRecord

func (_BasOANN *BasOANNTransactorSession) SetRecord(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bca []byte, opData []byte, aliasName string) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0x3834ae56.

Solidity: function setRecord(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, bytes bca, bytes opData, string aliasName) returns()

func (*BasOANNTransactorSession) SetSubGas

func (_BasOANN *BasOANNTransactorSession) SetSubGas(newGas *big.Int) (*types.Transaction, error)

SetSubGas is a paid mutator transaction binding the contract method 0xa7a6907b.

Solidity: function setSubGas(uint256 newGas) returns()

type BasOwnership

type BasOwnership struct {
	BasOwnershipCaller     // Read-only binding to the contract
	BasOwnershipTransactor // Write-only binding to the contract
	BasOwnershipFilterer   // Log filterer for contract events
}

BasOwnership is an auto generated Go binding around an Ethereum contract.

func NewBasOwnership

func NewBasOwnership(address common.Address, backend bind.ContractBackend) (*BasOwnership, error)

NewBasOwnership creates a new instance of BasOwnership, bound to a specific deployed contract.

type BasOwnershipAdd

type BasOwnershipAdd struct {
	NameHash [32]byte
	Owner    common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BasOwnershipAdd represents a Add event raised by the BasOwnership contract.

type BasOwnershipAddIterator

type BasOwnershipAddIterator struct {
	Event *BasOwnershipAdd // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOwnershipAddIterator is returned from FilterAdd and is used to iterate over the raw logs and unpacked data for Add events raised by the BasOwnership contract.

func (*BasOwnershipAddIterator) Close

func (it *BasOwnershipAddIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOwnershipAddIterator) Error

func (it *BasOwnershipAddIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOwnershipAddIterator) Next

func (it *BasOwnershipAddIterator) 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 BasOwnershipCaller

type BasOwnershipCaller struct {
	// contains filtered or unexported fields
}

BasOwnershipCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBasOwnershipCaller

func NewBasOwnershipCaller(address common.Address, caller bind.ContractCaller) (*BasOwnershipCaller, error)

NewBasOwnershipCaller creates a new read-only instance of BasOwnership, bound to a specific deployed contract.

func (*BasOwnershipCaller) Admin

func (_BasOwnership *BasOwnershipCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasOwnershipCaller) Allowance

func (_BasOwnership *BasOwnershipCaller) Allowance(opts *bind.CallOpts, owner common.Address, nameHash [32]byte) (common.Address, error)

Allowance is a free data retrieval call binding the contract method 0xbcf9fcad.

Solidity: function allowance(address owner, bytes32 nameHash) constant returns(address)

func (*BasOwnershipCaller) ContractCaller

func (_BasOwnership *BasOwnershipCaller) ContractCaller(opts *bind.CallOpts) (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasOwnershipCaller) Exist

func (_BasOwnership *BasOwnershipCaller) Exist(opts *bind.CallOpts, nameHash [32]byte) (bool, error)

Exist is a free data retrieval call binding the contract method 0x73e8b3d4.

Solidity: function exist(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipCaller) ExpirationOf

func (_BasOwnership *BasOwnershipCaller) ExpirationOf(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

ExpirationOf is a free data retrieval call binding the contract method 0xf7f67ef9.

Solidity: function expirationOf(bytes32 ) constant returns(uint256)

func (*BasOwnershipCaller) Expired

func (_BasOwnership *BasOwnershipCaller) Expired(opts *bind.CallOpts, nameHash [32]byte) (bool, error)

Expired is a free data retrieval call binding the contract method 0x30cc3597.

Solidity: function expired(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipCaller) IsValid

func (_BasOwnership *BasOwnershipCaller) IsValid(opts *bind.CallOpts, nameHash [32]byte, check common.Address) (bool, error)

IsValid is a free data retrieval call binding the contract method 0x0407abec.

Solidity: function isValid(bytes32 nameHash, address check) constant returns(bool)

func (*BasOwnershipCaller) IsWild

func (_BasOwnership *BasOwnershipCaller) IsWild(opts *bind.CallOpts, nameHash [32]byte) (bool, error)

IsWild is a free data retrieval call binding the contract method 0xa87587f6.

Solidity: function isWild(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipCaller) OwnerOf

func (_BasOwnership *BasOwnershipCaller) OwnerOf(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x7dd56411.

Solidity: function ownerOf(bytes32 ) constant returns(address)

func (*BasOwnershipCaller) Query

func (_BasOwnership *BasOwnershipCaller) Query(opts *bind.CallOpts, nameHash [32]byte) (common.Address, *big.Int, error)

Query is a free data retrieval call binding the contract method 0xa3b61a9c.

Solidity: function query(bytes32 nameHash) constant returns(address, uint256)

type BasOwnershipCallerRaw

type BasOwnershipCallerRaw struct {
	Contract *BasOwnershipCaller // Generic read-only contract binding to access the raw methods on
}

BasOwnershipCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BasOwnershipCallerRaw) Call

func (_BasOwnership *BasOwnershipCallerRaw) 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 BasOwnershipCallerSession

type BasOwnershipCallerSession struct {
	Contract *BasOwnershipCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

BasOwnershipCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BasOwnershipCallerSession) Admin

func (_BasOwnership *BasOwnershipCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasOwnershipCallerSession) Allowance

func (_BasOwnership *BasOwnershipCallerSession) Allowance(owner common.Address, nameHash [32]byte) (common.Address, error)

Allowance is a free data retrieval call binding the contract method 0xbcf9fcad.

Solidity: function allowance(address owner, bytes32 nameHash) constant returns(address)

func (*BasOwnershipCallerSession) ContractCaller

func (_BasOwnership *BasOwnershipCallerSession) ContractCaller() (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasOwnershipCallerSession) Exist

func (_BasOwnership *BasOwnershipCallerSession) Exist(nameHash [32]byte) (bool, error)

Exist is a free data retrieval call binding the contract method 0x73e8b3d4.

Solidity: function exist(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipCallerSession) ExpirationOf

func (_BasOwnership *BasOwnershipCallerSession) ExpirationOf(arg0 [32]byte) (*big.Int, error)

ExpirationOf is a free data retrieval call binding the contract method 0xf7f67ef9.

Solidity: function expirationOf(bytes32 ) constant returns(uint256)

func (*BasOwnershipCallerSession) Expired

func (_BasOwnership *BasOwnershipCallerSession) Expired(nameHash [32]byte) (bool, error)

Expired is a free data retrieval call binding the contract method 0x30cc3597.

Solidity: function expired(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipCallerSession) IsValid

func (_BasOwnership *BasOwnershipCallerSession) IsValid(nameHash [32]byte, check common.Address) (bool, error)

IsValid is a free data retrieval call binding the contract method 0x0407abec.

Solidity: function isValid(bytes32 nameHash, address check) constant returns(bool)

func (*BasOwnershipCallerSession) IsWild

func (_BasOwnership *BasOwnershipCallerSession) IsWild(nameHash [32]byte) (bool, error)

IsWild is a free data retrieval call binding the contract method 0xa87587f6.

Solidity: function isWild(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipCallerSession) OwnerOf

func (_BasOwnership *BasOwnershipCallerSession) OwnerOf(arg0 [32]byte) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x7dd56411.

Solidity: function ownerOf(bytes32 ) constant returns(address)

func (*BasOwnershipCallerSession) Query

func (_BasOwnership *BasOwnershipCallerSession) Query(nameHash [32]byte) (common.Address, *big.Int, error)

Query is a free data retrieval call binding the contract method 0xa3b61a9c.

Solidity: function query(bytes32 nameHash) constant returns(address, uint256)

type BasOwnershipExtend

type BasOwnershipExtend struct {
	NameHash [32]byte
	Time     *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BasOwnershipExtend represents a Extend event raised by the BasOwnership contract.

type BasOwnershipExtendIterator

type BasOwnershipExtendIterator struct {
	Event *BasOwnershipExtend // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOwnershipExtendIterator is returned from FilterExtend and is used to iterate over the raw logs and unpacked data for Extend events raised by the BasOwnership contract.

func (*BasOwnershipExtendIterator) Close

func (it *BasOwnershipExtendIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOwnershipExtendIterator) Error

func (it *BasOwnershipExtendIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOwnershipExtendIterator) Next

func (it *BasOwnershipExtendIterator) 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 BasOwnershipFilterer

type BasOwnershipFilterer struct {
	// contains filtered or unexported fields
}

BasOwnershipFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBasOwnershipFilterer

func NewBasOwnershipFilterer(address common.Address, filterer bind.ContractFilterer) (*BasOwnershipFilterer, error)

NewBasOwnershipFilterer creates a new log filterer instance of BasOwnership, bound to a specific deployed contract.

func (*BasOwnershipFilterer) FilterAdd

func (_BasOwnership *BasOwnershipFilterer) FilterAdd(opts *bind.FilterOpts) (*BasOwnershipAddIterator, error)

FilterAdd is a free log retrieval operation binding the contract event 0x5f17f6377b8024fbe396282bbccde46c3c704613385bd2f4b4b3ff955fd56a35.

Solidity: event Add(bytes32 nameHash, address owner)

func (*BasOwnershipFilterer) FilterExtend

func (_BasOwnership *BasOwnershipFilterer) FilterExtend(opts *bind.FilterOpts) (*BasOwnershipExtendIterator, error)

FilterExtend is a free log retrieval operation binding the contract event 0xe898863b26adf3af54e82709ac1a76136eaaa5f3a7d9b790ce6d539d508e75ff.

Solidity: event Extend(bytes32 nameHash, uint256 time)

func (*BasOwnershipFilterer) FilterRemove

func (_BasOwnership *BasOwnershipFilterer) FilterRemove(opts *bind.FilterOpts) (*BasOwnershipRemoveIterator, error)

FilterRemove is a free log retrieval operation binding the contract event 0xa56fb2a6d4126f324526f0668c53927c0cd8e08f41ba0fe0f2d6090a84bc75c8.

Solidity: event Remove(bytes32 nameHash)

func (*BasOwnershipFilterer) FilterTakeover

func (_BasOwnership *BasOwnershipFilterer) FilterTakeover(opts *bind.FilterOpts) (*BasOwnershipTakeoverIterator, error)

FilterTakeover is a free log retrieval operation binding the contract event 0xae53ff61a227b196db64e2dea26e80d455bb2d90fd10372db78b44ace9cb0f62.

Solidity: event Takeover(bytes32 nameHash, address from, address to)

func (*BasOwnershipFilterer) FilterTransfer

func (_BasOwnership *BasOwnershipFilterer) FilterTransfer(opts *bind.FilterOpts) (*BasOwnershipTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0x57972c0bcb114a9f52d3501767c95a65e93901ff48da6677c7399b5593b4e999.

Solidity: event Transfer(bytes32 nameHash, address from, address to)

func (*BasOwnershipFilterer) FilterTransferFrom

func (_BasOwnership *BasOwnershipFilterer) FilterTransferFrom(opts *bind.FilterOpts) (*BasOwnershipTransferFromIterator, error)

FilterTransferFrom is a free log retrieval operation binding the contract event 0x3f8c833a27e9521421e46d68c5a31e603cc465fc4bbff2226b98d964252ebb3f.

Solidity: event TransferFrom(bytes32 nameHash, address from, address to, address by)

func (*BasOwnershipFilterer) FilterUpdate

func (_BasOwnership *BasOwnershipFilterer) FilterUpdate(opts *bind.FilterOpts) (*BasOwnershipUpdateIterator, error)

FilterUpdate is a free log retrieval operation binding the contract event 0xb2b848c23b147f2d3c11308c74cb0ff81a30b54628e5c73c4d70bf623eb98f72.

Solidity: event Update(bytes32 nameHash, address owner)

func (*BasOwnershipFilterer) ParseAdd

func (_BasOwnership *BasOwnershipFilterer) ParseAdd(log types.Log) (*BasOwnershipAdd, error)

ParseAdd is a log parse operation binding the contract event 0x5f17f6377b8024fbe396282bbccde46c3c704613385bd2f4b4b3ff955fd56a35.

Solidity: event Add(bytes32 nameHash, address owner)

func (*BasOwnershipFilterer) ParseExtend

func (_BasOwnership *BasOwnershipFilterer) ParseExtend(log types.Log) (*BasOwnershipExtend, error)

ParseExtend is a log parse operation binding the contract event 0xe898863b26adf3af54e82709ac1a76136eaaa5f3a7d9b790ce6d539d508e75ff.

Solidity: event Extend(bytes32 nameHash, uint256 time)

func (*BasOwnershipFilterer) ParseRemove

func (_BasOwnership *BasOwnershipFilterer) ParseRemove(log types.Log) (*BasOwnershipRemove, error)

ParseRemove is a log parse operation binding the contract event 0xa56fb2a6d4126f324526f0668c53927c0cd8e08f41ba0fe0f2d6090a84bc75c8.

Solidity: event Remove(bytes32 nameHash)

func (*BasOwnershipFilterer) ParseTakeover

func (_BasOwnership *BasOwnershipFilterer) ParseTakeover(log types.Log) (*BasOwnershipTakeover, error)

ParseTakeover is a log parse operation binding the contract event 0xae53ff61a227b196db64e2dea26e80d455bb2d90fd10372db78b44ace9cb0f62.

Solidity: event Takeover(bytes32 nameHash, address from, address to)

func (*BasOwnershipFilterer) ParseTransfer

func (_BasOwnership *BasOwnershipFilterer) ParseTransfer(log types.Log) (*BasOwnershipTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0x57972c0bcb114a9f52d3501767c95a65e93901ff48da6677c7399b5593b4e999.

Solidity: event Transfer(bytes32 nameHash, address from, address to)

func (*BasOwnershipFilterer) ParseTransferFrom

func (_BasOwnership *BasOwnershipFilterer) ParseTransferFrom(log types.Log) (*BasOwnershipTransferFrom, error)

ParseTransferFrom is a log parse operation binding the contract event 0x3f8c833a27e9521421e46d68c5a31e603cc465fc4bbff2226b98d964252ebb3f.

Solidity: event TransferFrom(bytes32 nameHash, address from, address to, address by)

func (*BasOwnershipFilterer) ParseUpdate

func (_BasOwnership *BasOwnershipFilterer) ParseUpdate(log types.Log) (*BasOwnershipUpdate, error)

ParseUpdate is a log parse operation binding the contract event 0xb2b848c23b147f2d3c11308c74cb0ff81a30b54628e5c73c4d70bf623eb98f72.

Solidity: event Update(bytes32 nameHash, address owner)

func (*BasOwnershipFilterer) WatchAdd

func (_BasOwnership *BasOwnershipFilterer) WatchAdd(opts *bind.WatchOpts, sink chan<- *BasOwnershipAdd) (event.Subscription, error)

WatchAdd is a free log subscription operation binding the contract event 0x5f17f6377b8024fbe396282bbccde46c3c704613385bd2f4b4b3ff955fd56a35.

Solidity: event Add(bytes32 nameHash, address owner)

func (*BasOwnershipFilterer) WatchExtend

func (_BasOwnership *BasOwnershipFilterer) WatchExtend(opts *bind.WatchOpts, sink chan<- *BasOwnershipExtend) (event.Subscription, error)

WatchExtend is a free log subscription operation binding the contract event 0xe898863b26adf3af54e82709ac1a76136eaaa5f3a7d9b790ce6d539d508e75ff.

Solidity: event Extend(bytes32 nameHash, uint256 time)

func (*BasOwnershipFilterer) WatchRemove

func (_BasOwnership *BasOwnershipFilterer) WatchRemove(opts *bind.WatchOpts, sink chan<- *BasOwnershipRemove) (event.Subscription, error)

WatchRemove is a free log subscription operation binding the contract event 0xa56fb2a6d4126f324526f0668c53927c0cd8e08f41ba0fe0f2d6090a84bc75c8.

Solidity: event Remove(bytes32 nameHash)

func (*BasOwnershipFilterer) WatchTakeover

func (_BasOwnership *BasOwnershipFilterer) WatchTakeover(opts *bind.WatchOpts, sink chan<- *BasOwnershipTakeover) (event.Subscription, error)

WatchTakeover is a free log subscription operation binding the contract event 0xae53ff61a227b196db64e2dea26e80d455bb2d90fd10372db78b44ace9cb0f62.

Solidity: event Takeover(bytes32 nameHash, address from, address to)

func (*BasOwnershipFilterer) WatchTransfer

func (_BasOwnership *BasOwnershipFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasOwnershipTransfer) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0x57972c0bcb114a9f52d3501767c95a65e93901ff48da6677c7399b5593b4e999.

Solidity: event Transfer(bytes32 nameHash, address from, address to)

func (*BasOwnershipFilterer) WatchTransferFrom

func (_BasOwnership *BasOwnershipFilterer) WatchTransferFrom(opts *bind.WatchOpts, sink chan<- *BasOwnershipTransferFrom) (event.Subscription, error)

WatchTransferFrom is a free log subscription operation binding the contract event 0x3f8c833a27e9521421e46d68c5a31e603cc465fc4bbff2226b98d964252ebb3f.

Solidity: event TransferFrom(bytes32 nameHash, address from, address to, address by)

func (*BasOwnershipFilterer) WatchUpdate

func (_BasOwnership *BasOwnershipFilterer) WatchUpdate(opts *bind.WatchOpts, sink chan<- *BasOwnershipUpdate) (event.Subscription, error)

WatchUpdate is a free log subscription operation binding the contract event 0xb2b848c23b147f2d3c11308c74cb0ff81a30b54628e5c73c4d70bf623eb98f72.

Solidity: event Update(bytes32 nameHash, address owner)

type BasOwnershipRaw

type BasOwnershipRaw struct {
	Contract *BasOwnership // Generic contract binding to access the raw methods on
}

BasOwnershipRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BasOwnershipRaw) Call

func (_BasOwnership *BasOwnershipRaw) 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 (*BasOwnershipRaw) Transact

func (_BasOwnership *BasOwnershipRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasOwnershipRaw) Transfer

func (_BasOwnership *BasOwnershipRaw) 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 BasOwnershipRemove

type BasOwnershipRemove struct {
	NameHash [32]byte
	Raw      types.Log // Blockchain specific contextual infos
}

BasOwnershipRemove represents a Remove event raised by the BasOwnership contract.

type BasOwnershipRemoveIterator

type BasOwnershipRemoveIterator struct {
	Event *BasOwnershipRemove // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOwnershipRemoveIterator is returned from FilterRemove and is used to iterate over the raw logs and unpacked data for Remove events raised by the BasOwnership contract.

func (*BasOwnershipRemoveIterator) Close

func (it *BasOwnershipRemoveIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOwnershipRemoveIterator) Error

func (it *BasOwnershipRemoveIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOwnershipRemoveIterator) Next

func (it *BasOwnershipRemoveIterator) 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 BasOwnershipSession

type BasOwnershipSession struct {
	Contract     *BasOwnership     // 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
}

BasOwnershipSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BasOwnershipSession) AChangeAdmin

func (_BasOwnership *BasOwnershipSession) AChangeAdmin(newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasOwnershipSession) AChangeContract

func (_BasOwnership *BasOwnershipSession) AChangeContract(conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasOwnershipSession) AUpdate

func (_BasOwnership *BasOwnershipSession) AUpdate(nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

AUpdate is a paid mutator transaction binding the contract method 0x788ccdea.

Solidity: function _a_update(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipSession) Admin

func (_BasOwnership *BasOwnershipSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BasOwnershipSession) Allowance

func (_BasOwnership *BasOwnershipSession) Allowance(owner common.Address, nameHash [32]byte) (common.Address, error)

Allowance is a free data retrieval call binding the contract method 0xbcf9fcad.

Solidity: function allowance(address owner, bytes32 nameHash) constant returns(address)

func (*BasOwnershipSession) Approve

func (_BasOwnership *BasOwnershipSession) Approve(nameHash [32]byte, spender common.Address) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xb2e2c99b.

Solidity: function approve(bytes32 nameHash, address spender) returns()

func (*BasOwnershipSession) CAdd

func (_BasOwnership *BasOwnershipSession) CAdd(nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

CAdd is a paid mutator transaction binding the contract method 0x33c7fb4c.

Solidity: function _c_add(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipSession) CExtend

func (_BasOwnership *BasOwnershipSession) CExtend(nameHash [32]byte, extend *big.Int) (*types.Transaction, error)

CExtend is a paid mutator transaction binding the contract method 0x7f77bbcd.

Solidity: function _c_extend(bytes32 nameHash, uint256 extend) returns()

func (*BasOwnershipSession) CTakeover

func (_BasOwnership *BasOwnershipSession) CTakeover(nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

CTakeover is a paid mutator transaction binding the contract method 0x56b7f1a0.

Solidity: function _c_takeover(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipSession) ContractCaller

func (_BasOwnership *BasOwnershipSession) ContractCaller() (common.Address, error)

ContractCaller is a free data retrieval call binding the contract method 0x54cf428a.

Solidity: function contractCaller() constant returns(address)

func (*BasOwnershipSession) Exist

func (_BasOwnership *BasOwnershipSession) Exist(nameHash [32]byte) (bool, error)

Exist is a free data retrieval call binding the contract method 0x73e8b3d4.

Solidity: function exist(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipSession) ExpirationOf

func (_BasOwnership *BasOwnershipSession) ExpirationOf(arg0 [32]byte) (*big.Int, error)

ExpirationOf is a free data retrieval call binding the contract method 0xf7f67ef9.

Solidity: function expirationOf(bytes32 ) constant returns(uint256)

func (*BasOwnershipSession) Expired

func (_BasOwnership *BasOwnershipSession) Expired(nameHash [32]byte) (bool, error)

Expired is a free data retrieval call binding the contract method 0x30cc3597.

Solidity: function expired(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipSession) IsValid

func (_BasOwnership *BasOwnershipSession) IsValid(nameHash [32]byte, check common.Address) (bool, error)

IsValid is a free data retrieval call binding the contract method 0x0407abec.

Solidity: function isValid(bytes32 nameHash, address check) constant returns(bool)

func (*BasOwnershipSession) IsWild

func (_BasOwnership *BasOwnershipSession) IsWild(nameHash [32]byte) (bool, error)

IsWild is a free data retrieval call binding the contract method 0xa87587f6.

Solidity: function isWild(bytes32 nameHash) constant returns(bool)

func (*BasOwnershipSession) OwnerOf

func (_BasOwnership *BasOwnershipSession) OwnerOf(arg0 [32]byte) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x7dd56411.

Solidity: function ownerOf(bytes32 ) constant returns(address)

func (*BasOwnershipSession) Query

func (_BasOwnership *BasOwnershipSession) Query(nameHash [32]byte) (common.Address, *big.Int, error)

Query is a free data retrieval call binding the contract method 0xa3b61a9c.

Solidity: function query(bytes32 nameHash) constant returns(address, uint256)

func (*BasOwnershipSession) Remove

func (_BasOwnership *BasOwnershipSession) Remove(nameHash [32]byte) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x95bc2673.

Solidity: function remove(bytes32 nameHash) returns()

func (*BasOwnershipSession) RemoveExpired

func (_BasOwnership *BasOwnershipSession) RemoveExpired(nameHash [32]byte) (*types.Transaction, error)

RemoveExpired is a paid mutator transaction binding the contract method 0x8380d30c.

Solidity: function removeExpired(bytes32 nameHash) returns()

func (*BasOwnershipSession) Revoke

func (_BasOwnership *BasOwnershipSession) Revoke(nameHash [32]byte) (*types.Transaction, error)

Revoke is a paid mutator transaction binding the contract method 0xb75c7dc6.

Solidity: function revoke(bytes32 nameHash) returns()

func (*BasOwnershipSession) Transfer

func (_BasOwnership *BasOwnershipSession) Transfer(nameHash [32]byte, to common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x79ce9fac.

Solidity: function transfer(bytes32 nameHash, address to) returns()

func (*BasOwnershipSession) TransferFrom

func (_BasOwnership *BasOwnershipSession) TransferFrom(nameHash [32]byte, from common.Address, to common.Address) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x82d7bd27.

Solidity: function transferFrom(bytes32 nameHash, address from, address to) returns()

type BasOwnershipTakeover

type BasOwnershipTakeover struct {
	NameHash [32]byte
	From     common.Address
	To       common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BasOwnershipTakeover represents a Takeover event raised by the BasOwnership contract.

type BasOwnershipTakeoverIterator

type BasOwnershipTakeoverIterator struct {
	Event *BasOwnershipTakeover // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOwnershipTakeoverIterator is returned from FilterTakeover and is used to iterate over the raw logs and unpacked data for Takeover events raised by the BasOwnership contract.

func (*BasOwnershipTakeoverIterator) Close

func (it *BasOwnershipTakeoverIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOwnershipTakeoverIterator) Error

func (it *BasOwnershipTakeoverIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOwnershipTakeoverIterator) Next

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 BasOwnershipTransactor

type BasOwnershipTransactor struct {
	// contains filtered or unexported fields
}

BasOwnershipTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBasOwnershipTransactor

func NewBasOwnershipTransactor(address common.Address, transactor bind.ContractTransactor) (*BasOwnershipTransactor, error)

NewBasOwnershipTransactor creates a new write-only instance of BasOwnership, bound to a specific deployed contract.

func (*BasOwnershipTransactor) AChangeAdmin

func (_BasOwnership *BasOwnershipTransactor) AChangeAdmin(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasOwnershipTransactor) AChangeContract

func (_BasOwnership *BasOwnershipTransactor) AChangeContract(opts *bind.TransactOpts, conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasOwnershipTransactor) AUpdate

func (_BasOwnership *BasOwnershipTransactor) AUpdate(opts *bind.TransactOpts, nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

AUpdate is a paid mutator transaction binding the contract method 0x788ccdea.

Solidity: function _a_update(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipTransactor) Approve

func (_BasOwnership *BasOwnershipTransactor) Approve(opts *bind.TransactOpts, nameHash [32]byte, spender common.Address) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xb2e2c99b.

Solidity: function approve(bytes32 nameHash, address spender) returns()

func (*BasOwnershipTransactor) CAdd

func (_BasOwnership *BasOwnershipTransactor) CAdd(opts *bind.TransactOpts, nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

CAdd is a paid mutator transaction binding the contract method 0x33c7fb4c.

Solidity: function _c_add(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipTransactor) CExtend

func (_BasOwnership *BasOwnershipTransactor) CExtend(opts *bind.TransactOpts, nameHash [32]byte, extend *big.Int) (*types.Transaction, error)

CExtend is a paid mutator transaction binding the contract method 0x7f77bbcd.

Solidity: function _c_extend(bytes32 nameHash, uint256 extend) returns()

func (*BasOwnershipTransactor) CTakeover

func (_BasOwnership *BasOwnershipTransactor) CTakeover(opts *bind.TransactOpts, nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

CTakeover is a paid mutator transaction binding the contract method 0x56b7f1a0.

Solidity: function _c_takeover(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipTransactor) Remove

func (_BasOwnership *BasOwnershipTransactor) Remove(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x95bc2673.

Solidity: function remove(bytes32 nameHash) returns()

func (*BasOwnershipTransactor) RemoveExpired

func (_BasOwnership *BasOwnershipTransactor) RemoveExpired(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

RemoveExpired is a paid mutator transaction binding the contract method 0x8380d30c.

Solidity: function removeExpired(bytes32 nameHash) returns()

func (*BasOwnershipTransactor) Revoke

func (_BasOwnership *BasOwnershipTransactor) Revoke(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

Revoke is a paid mutator transaction binding the contract method 0xb75c7dc6.

Solidity: function revoke(bytes32 nameHash) returns()

func (*BasOwnershipTransactor) Transfer

func (_BasOwnership *BasOwnershipTransactor) Transfer(opts *bind.TransactOpts, nameHash [32]byte, to common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x79ce9fac.

Solidity: function transfer(bytes32 nameHash, address to) returns()

func (*BasOwnershipTransactor) TransferFrom

func (_BasOwnership *BasOwnershipTransactor) TransferFrom(opts *bind.TransactOpts, nameHash [32]byte, from common.Address, to common.Address) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x82d7bd27.

Solidity: function transferFrom(bytes32 nameHash, address from, address to) returns()

type BasOwnershipTransactorRaw

type BasOwnershipTransactorRaw struct {
	Contract *BasOwnershipTransactor // Generic write-only contract binding to access the raw methods on
}

BasOwnershipTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BasOwnershipTransactorRaw) Transact

func (_BasOwnership *BasOwnershipTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasOwnershipTransactorRaw) Transfer

func (_BasOwnership *BasOwnershipTransactorRaw) 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 BasOwnershipTransactorSession

type BasOwnershipTransactorSession struct {
	Contract     *BasOwnershipTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

BasOwnershipTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BasOwnershipTransactorSession) AChangeAdmin

func (_BasOwnership *BasOwnershipTransactorSession) AChangeAdmin(newOwner common.Address) (*types.Transaction, error)

AChangeAdmin is a paid mutator transaction binding the contract method 0x1062f6cc.

Solidity: function _a_changeAdmin(address newOwner) returns()

func (*BasOwnershipTransactorSession) AChangeContract

func (_BasOwnership *BasOwnershipTransactorSession) AChangeContract(conAddr common.Address) (*types.Transaction, error)

AChangeContract is a paid mutator transaction binding the contract method 0x733c1950.

Solidity: function _a_changeContract(address conAddr) returns()

func (*BasOwnershipTransactorSession) AUpdate

func (_BasOwnership *BasOwnershipTransactorSession) AUpdate(nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

AUpdate is a paid mutator transaction binding the contract method 0x788ccdea.

Solidity: function _a_update(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipTransactorSession) Approve

func (_BasOwnership *BasOwnershipTransactorSession) Approve(nameHash [32]byte, spender common.Address) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xb2e2c99b.

Solidity: function approve(bytes32 nameHash, address spender) returns()

func (*BasOwnershipTransactorSession) CAdd

func (_BasOwnership *BasOwnershipTransactorSession) CAdd(nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

CAdd is a paid mutator transaction binding the contract method 0x33c7fb4c.

Solidity: function _c_add(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipTransactorSession) CExtend

func (_BasOwnership *BasOwnershipTransactorSession) CExtend(nameHash [32]byte, extend *big.Int) (*types.Transaction, error)

CExtend is a paid mutator transaction binding the contract method 0x7f77bbcd.

Solidity: function _c_extend(bytes32 nameHash, uint256 extend) returns()

func (*BasOwnershipTransactorSession) CTakeover

func (_BasOwnership *BasOwnershipTransactorSession) CTakeover(nameHash [32]byte, owner common.Address, expire *big.Int) (*types.Transaction, error)

CTakeover is a paid mutator transaction binding the contract method 0x56b7f1a0.

Solidity: function _c_takeover(bytes32 nameHash, address owner, uint256 expire) returns()

func (*BasOwnershipTransactorSession) Remove

func (_BasOwnership *BasOwnershipTransactorSession) Remove(nameHash [32]byte) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x95bc2673.

Solidity: function remove(bytes32 nameHash) returns()

func (*BasOwnershipTransactorSession) RemoveExpired

func (_BasOwnership *BasOwnershipTransactorSession) RemoveExpired(nameHash [32]byte) (*types.Transaction, error)

RemoveExpired is a paid mutator transaction binding the contract method 0x8380d30c.

Solidity: function removeExpired(bytes32 nameHash) returns()

func (*BasOwnershipTransactorSession) Revoke

func (_BasOwnership *BasOwnershipTransactorSession) Revoke(nameHash [32]byte) (*types.Transaction, error)

Revoke is a paid mutator transaction binding the contract method 0xb75c7dc6.

Solidity: function revoke(bytes32 nameHash) returns()

func (*BasOwnershipTransactorSession) Transfer

func (_BasOwnership *BasOwnershipTransactorSession) Transfer(nameHash [32]byte, to common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x79ce9fac.

Solidity: function transfer(bytes32 nameHash, address to) returns()

func (*BasOwnershipTransactorSession) TransferFrom

func (_BasOwnership *BasOwnershipTransactorSession) TransferFrom(nameHash [32]byte, from common.Address, to common.Address) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x82d7bd27.

Solidity: function transferFrom(bytes32 nameHash, address from, address to) returns()

type BasOwnershipTransfer

type BasOwnershipTransfer struct {
	NameHash [32]byte
	From     common.Address
	To       common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BasOwnershipTransfer represents a Transfer event raised by the BasOwnership contract.

type BasOwnershipTransferFrom

type BasOwnershipTransferFrom struct {
	NameHash [32]byte
	From     common.Address
	To       common.Address
	By       common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BasOwnershipTransferFrom represents a TransferFrom event raised by the BasOwnership contract.

type BasOwnershipTransferFromIterator

type BasOwnershipTransferFromIterator struct {
	Event *BasOwnershipTransferFrom // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOwnershipTransferFromIterator is returned from FilterTransferFrom and is used to iterate over the raw logs and unpacked data for TransferFrom events raised by the BasOwnership contract.

func (*BasOwnershipTransferFromIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOwnershipTransferFromIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOwnershipTransferFromIterator) Next

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 BasOwnershipTransferIterator

type BasOwnershipTransferIterator struct {
	Event *BasOwnershipTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOwnershipTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BasOwnership contract.

func (*BasOwnershipTransferIterator) Close

func (it *BasOwnershipTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOwnershipTransferIterator) Error

func (it *BasOwnershipTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOwnershipTransferIterator) Next

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 BasOwnershipUpdate

type BasOwnershipUpdate struct {
	NameHash [32]byte
	Owner    common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BasOwnershipUpdate represents a Update event raised by the BasOwnership contract.

type BasOwnershipUpdateIterator

type BasOwnershipUpdateIterator struct {
	Event *BasOwnershipUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasOwnershipUpdateIterator is returned from FilterUpdate and is used to iterate over the raw logs and unpacked data for Update events raised by the BasOwnership contract.

func (*BasOwnershipUpdateIterator) Close

func (it *BasOwnershipUpdateIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasOwnershipUpdateIterator) Error

func (it *BasOwnershipUpdateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasOwnershipUpdateIterator) Next

func (it *BasOwnershipUpdateIterator) 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 BasRule

type BasRule struct {
	BasRuleCaller     // Read-only binding to the contract
	BasRuleTransactor // Write-only binding to the contract
	BasRuleFilterer   // Log filterer for contract events
}

BasRule is an auto generated Go binding around an Ethereum contract.

func NewBasRule

func NewBasRule(address common.Address, backend bind.ContractBackend) (*BasRule, error)

NewBasRule creates a new instance of BasRule, bound to a specific deployed contract.

type BasRuleCaller

type BasRuleCaller struct {
	// contains filtered or unexported fields
}

BasRuleCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBasRuleCaller

func NewBasRuleCaller(address common.Address, caller bind.ContractCaller) (*BasRuleCaller, error)

NewBasRuleCaller creates a new read-only instance of BasRule, bound to a specific deployed contract.

func (*BasRuleCaller) ClassifyRoot

func (_BasRule *BasRuleCaller) ClassifyRoot(opts *bind.CallOpts, name []byte, rareLength *big.Int) (bool, bool, error)

ClassifyRoot is a free data retrieval call binding the contract method 0x20d912fa.

Solidity: function classifyRoot(bytes name, uint256 rareLength) constant returns(bool, bool)

func (*BasRuleCaller) ClassifyRootS

func (_BasRule *BasRuleCaller) ClassifyRootS(opts *bind.CallOpts, name string, rareLength *big.Int) (bool, bool, error)

ClassifyRootS is a free data retrieval call binding the contract method 0x804e05dd.

Solidity: function classifyRootS(string name, uint256 rareLength) constant returns(bool, bool)

func (*BasRuleCaller) ValidChar

func (_BasRule *BasRuleCaller) ValidChar(opts *bind.CallOpts, c [1]byte) (bool, error)

ValidChar is a free data retrieval call binding the contract method 0xb508db39.

Solidity: function validChar(bytes1 c) constant returns(bool)

func (*BasRuleCaller) VerifySub

func (_BasRule *BasRuleCaller) VerifySub(opts *bind.CallOpts, name []byte, rootLength *big.Int) (bool, error)

VerifySub is a free data retrieval call binding the contract method 0x1cd0c24d.

Solidity: function verifySub(bytes name, uint256 rootLength) constant returns(bool)

func (*BasRuleCaller) VerifySubS

func (_BasRule *BasRuleCaller) VerifySubS(opts *bind.CallOpts, name string, rootLength *big.Int) (bool, error)

VerifySubS is a free data retrieval call binding the contract method 0x5ced286a.

Solidity: function verifySubS(string name, uint256 rootLength) constant returns(bool)

type BasRuleCallerRaw

type BasRuleCallerRaw struct {
	Contract *BasRuleCaller // Generic read-only contract binding to access the raw methods on
}

BasRuleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BasRuleCallerRaw) Call

func (_BasRule *BasRuleCallerRaw) 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 BasRuleCallerSession

type BasRuleCallerSession struct {
	Contract *BasRuleCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

BasRuleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BasRuleCallerSession) ClassifyRoot

func (_BasRule *BasRuleCallerSession) ClassifyRoot(name []byte, rareLength *big.Int) (bool, bool, error)

ClassifyRoot is a free data retrieval call binding the contract method 0x20d912fa.

Solidity: function classifyRoot(bytes name, uint256 rareLength) constant returns(bool, bool)

func (*BasRuleCallerSession) ClassifyRootS

func (_BasRule *BasRuleCallerSession) ClassifyRootS(name string, rareLength *big.Int) (bool, bool, error)

ClassifyRootS is a free data retrieval call binding the contract method 0x804e05dd.

Solidity: function classifyRootS(string name, uint256 rareLength) constant returns(bool, bool)

func (*BasRuleCallerSession) ValidChar

func (_BasRule *BasRuleCallerSession) ValidChar(c [1]byte) (bool, error)

ValidChar is a free data retrieval call binding the contract method 0xb508db39.

Solidity: function validChar(bytes1 c) constant returns(bool)

func (*BasRuleCallerSession) VerifySub

func (_BasRule *BasRuleCallerSession) VerifySub(name []byte, rootLength *big.Int) (bool, error)

VerifySub is a free data retrieval call binding the contract method 0x1cd0c24d.

Solidity: function verifySub(bytes name, uint256 rootLength) constant returns(bool)

func (*BasRuleCallerSession) VerifySubS

func (_BasRule *BasRuleCallerSession) VerifySubS(name string, rootLength *big.Int) (bool, error)

VerifySubS is a free data retrieval call binding the contract method 0x5ced286a.

Solidity: function verifySubS(string name, uint256 rootLength) constant returns(bool)

type BasRuleFilterer

type BasRuleFilterer struct {
	// contains filtered or unexported fields
}

BasRuleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBasRuleFilterer

func NewBasRuleFilterer(address common.Address, filterer bind.ContractFilterer) (*BasRuleFilterer, error)

NewBasRuleFilterer creates a new log filterer instance of BasRule, bound to a specific deployed contract.

type BasRuleRaw

type BasRuleRaw struct {
	Contract *BasRule // Generic contract binding to access the raw methods on
}

BasRuleRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BasRuleRaw) Call

func (_BasRule *BasRuleRaw) 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 (*BasRuleRaw) Transact

func (_BasRule *BasRuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasRuleRaw) Transfer

func (_BasRule *BasRuleRaw) 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 BasRuleSession

type BasRuleSession struct {
	Contract     *BasRule          // 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
}

BasRuleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BasRuleSession) ClassifyRoot

func (_BasRule *BasRuleSession) ClassifyRoot(name []byte, rareLength *big.Int) (bool, bool, error)

ClassifyRoot is a free data retrieval call binding the contract method 0x20d912fa.

Solidity: function classifyRoot(bytes name, uint256 rareLength) constant returns(bool, bool)

func (*BasRuleSession) ClassifyRootS

func (_BasRule *BasRuleSession) ClassifyRootS(name string, rareLength *big.Int) (bool, bool, error)

ClassifyRootS is a free data retrieval call binding the contract method 0x804e05dd.

Solidity: function classifyRootS(string name, uint256 rareLength) constant returns(bool, bool)

func (*BasRuleSession) ValidChar

func (_BasRule *BasRuleSession) ValidChar(c [1]byte) (bool, error)

ValidChar is a free data retrieval call binding the contract method 0xb508db39.

Solidity: function validChar(bytes1 c) constant returns(bool)

func (*BasRuleSession) VerifySub

func (_BasRule *BasRuleSession) VerifySub(name []byte, rootLength *big.Int) (bool, error)

VerifySub is a free data retrieval call binding the contract method 0x1cd0c24d.

Solidity: function verifySub(bytes name, uint256 rootLength) constant returns(bool)

func (*BasRuleSession) VerifySubS

func (_BasRule *BasRuleSession) VerifySubS(name string, rootLength *big.Int) (bool, error)

VerifySubS is a free data retrieval call binding the contract method 0x5ced286a.

Solidity: function verifySubS(string name, uint256 rootLength) constant returns(bool)

type BasRuleTransactor

type BasRuleTransactor struct {
	// contains filtered or unexported fields
}

BasRuleTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBasRuleTransactor

func NewBasRuleTransactor(address common.Address, transactor bind.ContractTransactor) (*BasRuleTransactor, error)

NewBasRuleTransactor creates a new write-only instance of BasRule, bound to a specific deployed contract.

type BasRuleTransactorRaw

type BasRuleTransactorRaw struct {
	Contract *BasRuleTransactor // Generic write-only contract binding to access the raw methods on
}

BasRuleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BasRuleTransactorRaw) Transact

func (_BasRule *BasRuleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasRuleTransactorRaw) Transfer

func (_BasRule *BasRuleTransactorRaw) 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 BasRuleTransactorSession

type BasRuleTransactorSession struct {
	Contract     *BasRuleTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

BasRuleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type BasToken

type BasToken struct {
	BasTokenCaller     // Read-only binding to the contract
	BasTokenTransactor // Write-only binding to the contract
	BasTokenFilterer   // Log filterer for contract events
}

BasToken is an auto generated Go binding around an Ethereum contract.

func NewBasToken

func NewBasToken(address common.Address, backend bind.ContractBackend) (*BasToken, error)

NewBasToken creates a new instance of BasToken, bound to a specific deployed contract.

type BasTokenApproval

type BasTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

BasTokenApproval represents a Approval event raised by the BasToken contract.

type BasTokenApprovalIterator

type BasTokenApprovalIterator struct {
	Event *BasTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BasToken contract.

func (*BasTokenApprovalIterator) Close

func (it *BasTokenApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasTokenApprovalIterator) Error

func (it *BasTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasTokenApprovalIterator) Next

func (it *BasTokenApprovalIterator) 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 BasTokenCaller

type BasTokenCaller struct {
	// contains filtered or unexported fields
}

BasTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBasTokenCaller

func NewBasTokenCaller(address common.Address, caller bind.ContractCaller) (*BasTokenCaller, error)

NewBasTokenCaller creates a new read-only instance of BasToken, bound to a specific deployed contract.

func (*BasTokenCaller) Allowance

func (_BasToken *BasTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*BasTokenCaller) BalanceOf

func (_BasToken *BasTokenCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*BasTokenCaller) Decimals

func (_BasToken *BasTokenCaller) 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 (*BasTokenCaller) INITIALSUPPLY

func (_BasToken *BasTokenCaller) INITIALSUPPLY(opts *bind.CallOpts) (*big.Int, error)

INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.

Solidity: function INITIAL_SUPPLY() constant returns(uint256)

func (*BasTokenCaller) Name

func (_BasToken *BasTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BasTokenCaller) Symbol

func (_BasToken *BasTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BasTokenCaller) TotalSupply

func (_BasToken *BasTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type BasTokenCallerRaw

type BasTokenCallerRaw struct {
	Contract *BasTokenCaller // Generic read-only contract binding to access the raw methods on
}

BasTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BasTokenCallerRaw) Call

func (_BasToken *BasTokenCallerRaw) 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 BasTokenCallerSession

type BasTokenCallerSession struct {
	Contract *BasTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

BasTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BasTokenCallerSession) Allowance

func (_BasToken *BasTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*BasTokenCallerSession) BalanceOf

func (_BasToken *BasTokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*BasTokenCallerSession) Decimals

func (_BasToken *BasTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*BasTokenCallerSession) INITIALSUPPLY

func (_BasToken *BasTokenCallerSession) INITIALSUPPLY() (*big.Int, error)

INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.

Solidity: function INITIAL_SUPPLY() constant returns(uint256)

func (*BasTokenCallerSession) Name

func (_BasToken *BasTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BasTokenCallerSession) Symbol

func (_BasToken *BasTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BasTokenCallerSession) TotalSupply

func (_BasToken *BasTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type BasTokenFilterer

type BasTokenFilterer struct {
	// contains filtered or unexported fields
}

BasTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBasTokenFilterer

func NewBasTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BasTokenFilterer, error)

NewBasTokenFilterer creates a new log filterer instance of BasToken, bound to a specific deployed contract.

func (*BasTokenFilterer) FilterApproval

func (_BasToken *BasTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BasTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*BasTokenFilterer) FilterTransfer

func (_BasToken *BasTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*BasTokenFilterer) ParseApproval

func (_BasToken *BasTokenFilterer) ParseApproval(log types.Log) (*BasTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*BasTokenFilterer) ParseTransfer

func (_BasToken *BasTokenFilterer) ParseTransfer(log types.Log) (*BasTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*BasTokenFilterer) WatchApproval

func (_BasToken *BasTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BasTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*BasTokenFilterer) WatchTransfer

func (_BasToken *BasTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type BasTokenRaw

type BasTokenRaw struct {
	Contract *BasToken // Generic contract binding to access the raw methods on
}

BasTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BasTokenRaw) Call

func (_BasToken *BasTokenRaw) 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 (*BasTokenRaw) Transact

func (_BasToken *BasTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasTokenRaw) Transfer

func (_BasToken *BasTokenRaw) 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 BasTokenSession

type BasTokenSession struct {
	Contract     *BasToken         // 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
}

BasTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BasTokenSession) Allowance

func (_BasToken *BasTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*BasTokenSession) Approve

func (_BasToken *BasTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*BasTokenSession) BalanceOf

func (_BasToken *BasTokenSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*BasTokenSession) Burn

func (_BasToken *BasTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*BasTokenSession) BurnFrom

func (_BasToken *BasTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*BasTokenSession) Decimals

func (_BasToken *BasTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*BasTokenSession) DecreaseAllowance

func (_BasToken *BasTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BasTokenSession) INITIALSUPPLY

func (_BasToken *BasTokenSession) INITIALSUPPLY() (*big.Int, error)

INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.

Solidity: function INITIAL_SUPPLY() constant returns(uint256)

func (*BasTokenSession) IncreaseAllowance

func (_BasToken *BasTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BasTokenSession) Name

func (_BasToken *BasTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BasTokenSession) Symbol

func (_BasToken *BasTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BasTokenSession) TotalSupply

func (_BasToken *BasTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*BasTokenSession) Transfer

func (_BasToken *BasTokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BasTokenSession) TransferFrom

func (_BasToken *BasTokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type BasTokenTransactor

type BasTokenTransactor struct {
	// contains filtered or unexported fields
}

BasTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBasTokenTransactor

func NewBasTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BasTokenTransactor, error)

NewBasTokenTransactor creates a new write-only instance of BasToken, bound to a specific deployed contract.

func (*BasTokenTransactor) Approve

func (_BasToken *BasTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*BasTokenTransactor) Burn

func (_BasToken *BasTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*BasTokenTransactor) BurnFrom

func (_BasToken *BasTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*BasTokenTransactor) DecreaseAllowance

func (_BasToken *BasTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BasTokenTransactor) IncreaseAllowance

func (_BasToken *BasTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BasTokenTransactor) Transfer

func (_BasToken *BasTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BasTokenTransactor) TransferFrom

func (_BasToken *BasTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type BasTokenTransactorRaw

type BasTokenTransactorRaw struct {
	Contract *BasTokenTransactor // Generic write-only contract binding to access the raw methods on
}

BasTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BasTokenTransactorRaw) Transact

func (_BasToken *BasTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BasTokenTransactorRaw) Transfer

func (_BasToken *BasTokenTransactorRaw) 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 BasTokenTransactorSession

type BasTokenTransactorSession struct {
	Contract     *BasTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

BasTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BasTokenTransactorSession) Approve

func (_BasToken *BasTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*BasTokenTransactorSession) Burn

func (_BasToken *BasTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*BasTokenTransactorSession) BurnFrom

func (_BasToken *BasTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*BasTokenTransactorSession) DecreaseAllowance

func (_BasToken *BasTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BasTokenTransactorSession) IncreaseAllowance

func (_BasToken *BasTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BasTokenTransactorSession) Transfer

func (_BasToken *BasTokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BasTokenTransactorSession) TransferFrom

func (_BasToken *BasTokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type BasTokenTransfer

type BasTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BasTokenTransfer represents a Transfer event raised by the BasToken contract.

type BasTokenTransferIterator

type BasTokenTransferIterator struct {
	Event *BasTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BasTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BasToken contract.

func (*BasTokenTransferIterator) Close

func (it *BasTokenTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BasTokenTransferIterator) Error

func (it *BasTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasTokenTransferIterator) Next

func (it *BasTokenTransferIterator) 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 SendFreeBas

type SendFreeBas struct {
	SendFreeBasCaller     // Read-only binding to the contract
	SendFreeBasTransactor // Write-only binding to the contract
	SendFreeBasFilterer   // Log filterer for contract events
}

SendFreeBas is an auto generated Go binding around an Ethereum contract.

func NewSendFreeBas

func NewSendFreeBas(address common.Address, backend bind.ContractBackend) (*SendFreeBas, error)

NewSendFreeBas creates a new instance of SendFreeBas, bound to a specific deployed contract.

type SendFreeBasCaller

type SendFreeBasCaller struct {
	// contains filtered or unexported fields
}

SendFreeBasCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSendFreeBasCaller

func NewSendFreeBasCaller(address common.Address, caller bind.ContractCaller) (*SendFreeBasCaller, error)

NewSendFreeBasCaller creates a new read-only instance of SendFreeBas, bound to a specific deployed contract.

func (*SendFreeBasCaller) ApplyRecord

func (_SendFreeBas *SendFreeBasCaller) ApplyRecord(opts *bind.CallOpts, arg0 common.Address) (bool, error)

ApplyRecord is a free data retrieval call binding the contract method 0x2b18efb0.

Solidity: function applyRecord(address ) constant returns(bool)

func (*SendFreeBasCaller) Token

func (_SendFreeBas *SendFreeBasCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type SendFreeBasCallerRaw

type SendFreeBasCallerRaw struct {
	Contract *SendFreeBasCaller // Generic read-only contract binding to access the raw methods on
}

SendFreeBasCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SendFreeBasCallerRaw) Call

func (_SendFreeBas *SendFreeBasCallerRaw) 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 SendFreeBasCallerSession

type SendFreeBasCallerSession struct {
	Contract *SendFreeBasCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

SendFreeBasCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SendFreeBasCallerSession) ApplyRecord

func (_SendFreeBas *SendFreeBasCallerSession) ApplyRecord(arg0 common.Address) (bool, error)

ApplyRecord is a free data retrieval call binding the contract method 0x2b18efb0.

Solidity: function applyRecord(address ) constant returns(bool)

func (*SendFreeBasCallerSession) Token

func (_SendFreeBas *SendFreeBasCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type SendFreeBasFilterer

type SendFreeBasFilterer struct {
	// contains filtered or unexported fields
}

SendFreeBasFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSendFreeBasFilterer

func NewSendFreeBasFilterer(address common.Address, filterer bind.ContractFilterer) (*SendFreeBasFilterer, error)

NewSendFreeBasFilterer creates a new log filterer instance of SendFreeBas, bound to a specific deployed contract.

type SendFreeBasRaw

type SendFreeBasRaw struct {
	Contract *SendFreeBas // Generic contract binding to access the raw methods on
}

SendFreeBasRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SendFreeBasRaw) Call

func (_SendFreeBas *SendFreeBasRaw) 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 (*SendFreeBasRaw) Transact

func (_SendFreeBas *SendFreeBasRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SendFreeBasRaw) Transfer

func (_SendFreeBas *SendFreeBasRaw) 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 SendFreeBasSession

type SendFreeBasSession struct {
	Contract     *SendFreeBas      // 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
}

SendFreeBasSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SendFreeBasSession) ApplyRecord

func (_SendFreeBas *SendFreeBasSession) ApplyRecord(arg0 common.Address) (bool, error)

ApplyRecord is a free data retrieval call binding the contract method 0x2b18efb0.

Solidity: function applyRecord(address ) constant returns(bool)

func (*SendFreeBasSession) SendTokenByContract

func (_SendFreeBas *SendFreeBasSession) SendTokenByContract(to common.Address, amount *big.Int) (*types.Transaction, error)

SendTokenByContract is a paid mutator transaction binding the contract method 0x74076b72.

Solidity: function SendTokenByContract(address to, uint256 amount) returns()

func (*SendFreeBasSession) Token

func (_SendFreeBas *SendFreeBasSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type SendFreeBasTransactor

type SendFreeBasTransactor struct {
	// contains filtered or unexported fields
}

SendFreeBasTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSendFreeBasTransactor

func NewSendFreeBasTransactor(address common.Address, transactor bind.ContractTransactor) (*SendFreeBasTransactor, error)

NewSendFreeBasTransactor creates a new write-only instance of SendFreeBas, bound to a specific deployed contract.

func (*SendFreeBasTransactor) SendTokenByContract

func (_SendFreeBas *SendFreeBasTransactor) SendTokenByContract(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

SendTokenByContract is a paid mutator transaction binding the contract method 0x74076b72.

Solidity: function SendTokenByContract(address to, uint256 amount) returns()

type SendFreeBasTransactorRaw

type SendFreeBasTransactorRaw struct {
	Contract *SendFreeBasTransactor // Generic write-only contract binding to access the raw methods on
}

SendFreeBasTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SendFreeBasTransactorRaw) Transact

func (_SendFreeBas *SendFreeBasTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SendFreeBasTransactorRaw) Transfer

func (_SendFreeBas *SendFreeBasTransactorRaw) 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 SendFreeBasTransactorSession

type SendFreeBasTransactorSession struct {
	Contract     *SendFreeBasTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

SendFreeBasTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*SendFreeBasTransactorSession) SendTokenByContract

func (_SendFreeBas *SendFreeBasTransactorSession) SendTokenByContract(to common.Address, amount *big.Int) (*types.Transaction, error)

SendTokenByContract is a paid mutator transaction binding the contract method 0x74076b72.

Solidity: function SendTokenByContract(address to, uint256 amount) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL