Contract

package
v0.0.0-...-5033e17 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

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

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

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

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

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

BasOANNABI 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 BasAssetAssertTransfer

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

BasAssetAssertTransfer represents a AssertTransfer event raised by the BasAsset contract.

type BasAssetAssertTransferIterator

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

BasAssetAssertTransferIterator is returned from FilterAssertTransfer and is used to iterate over the raw logs and unpacked data for AssertTransfer events raised by the BasAsset contract.

func (*BasAssetAssertTransferIterator) Close

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

func (*BasAssetAssertTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetAssertTransferIterator) 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 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) AliasLEN

func (_BasAsset *BasAssetCaller) AliasLEN(opts *bind.CallOpts) (*big.Int, error)

AliasLEN is a free data retrieval call binding the contract method 0xda203e69.

Solidity: function Alias_LEN() constant returns(uint256)

func (*BasAssetCaller) Allowance

func (_BasAsset *BasAssetCaller) 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 (*BasAssetCaller) AssetDetailsByHash

func (_BasAsset *BasAssetCaller) AssetDetailsByHash(opts *bind.CallOpts, nameHash [32]byte) (struct {
	Name          []byte
	Expire        *big.Int
	Owner         common.Address
	IsRoot        bool
	ROpenToPublic bool
	RIsCustomed   bool
	RIsPureA      bool
	RCustomPrice  *big.Int
	SRootHash     [32]byte
}, error)

AssetDetailsByHash is a free data retrieval call binding the contract method 0x6cdb220f.

Solidity: function AssetDetailsByHash(bytes32 nameHash) constant returns(bytes name, uint256 expire, address owner, bool isRoot, bool r_openToPublic, bool r_isCustomed, bool r_isPureA, uint256 r_customPrice, bytes32 s_rootHash)

func (*BasAssetCaller) BADDRESSLEN

func (_BasAsset *BasAssetCaller) BADDRESSLEN(opts *bind.CallOpts) (*big.Int, error)

BADDRESSLEN is a free data retrieval call binding the contract method 0x5ce6f0a4.

Solidity: function BADDRESS_LEN() constant returns(uint256)

func (*BasAssetCaller) ContractOwner

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

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() constant returns(address)

func (*BasAssetCaller) CurrentOwnerOf

func (_BasAsset *BasAssetCaller) CurrentOwnerOf(opts *bind.CallOpts, nameHash [32]byte) (common.Address, error)

CurrentOwnerOf is a free data retrieval call binding the contract method 0x85cf9d31.

Solidity: function currentOwnerOf(bytes32 nameHash) constant returns(address)

func (*BasAssetCaller) DnsDetailsByHash

func (_BasAsset *BasAssetCaller) DnsDetailsByHash(opts *bind.CallOpts, nameHash [32]byte) (struct {
	Name   []byte
	Ipv4   [4]byte
	Ipv6   [16]byte
	BcAddr string
	OpData []byte
	AName  string
}, error)

DnsDetailsByHash is a free data retrieval call binding the contract method 0x39a9a72e.

Solidity: function DnsDetailsByHash(bytes32 nameHash) constant returns(bytes name, bytes4 ipv4, bytes16 ipv6, string bcAddr, bytes opData, string aName)

func (*BasAssetCaller) EXTENDLEN

func (_BasAsset *BasAssetCaller) EXTENDLEN(opts *bind.CallOpts) (*big.Int, error)

EXTENDLEN is a free data retrieval call binding the contract method 0x4b50acc8.

Solidity: function EXTEND_LEN() constant returns(uint256)

func (*BasAssetCaller) GetDomainOfIndex

func (_BasAsset *BasAssetCaller) GetDomainOfIndex(opts *bind.CallOpts, idx *big.Int) ([32]byte, error)

GetDomainOfIndex is a free data retrieval call binding the contract method 0xc5efdc3d.

Solidity: function getDomainOfIndex(uint256 idx) constant returns(bytes32)

func (*BasAssetCaller) GetExpire

func (_BasAsset *BasAssetCaller) GetExpire(opts *bind.CallOpts, nameHash [32]byte) (*big.Int, error)

GetExpire is a free data retrieval call binding the contract method 0x8303ed38.

Solidity: function GetExpire(bytes32 nameHash) constant returns(uint256)

func (*BasAssetCaller) GetMayAssetIndexOf

func (_BasAsset *BasAssetCaller) GetMayAssetIndexOf(opts *bind.CallOpts, idx *big.Int) ([32]byte, error)

GetMayAssetIndexOf is a free data retrieval call binding the contract method 0x3db8b32c.

Solidity: function getMayAssetIndexOf(uint256 idx) constant returns(bytes32)

func (*BasAssetCaller) Hash

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

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

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

func (*BasAssetCaller) IsExpired

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

IsExpired is a free data retrieval call binding the contract method 0x6db2feb2.

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

func (*BasAssetCaller) LastOwnerOf

func (_BasAsset *BasAssetCaller) LastOwnerOf(opts *bind.CallOpts, nameHash [32]byte) (common.Address, error)

LastOwnerOf is a free data retrieval call binding the contract method 0x5a0e698f.

Solidity: function lastOwnerOf(bytes32 nameHash) constant returns(address)

func (*BasAssetCaller) MyAssetCount

func (_BasAsset *BasAssetCaller) MyAssetCount(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

MyAssetCount is a free data retrieval call binding the contract method 0x96c9de20.

Solidity: function myAssetCount(address owner) constant returns(uint256)

func (*BasAssetCaller) TotalDomainSize

func (_BasAsset *BasAssetCaller) TotalDomainSize(opts *bind.CallOpts) (*big.Int, error)

TotalDomainSize is a free data retrieval call binding the contract method 0x24ea2e6b.

Solidity: function totalDomainSize() constant returns(uint256)

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) AliasLEN

func (_BasAsset *BasAssetCallerSession) AliasLEN() (*big.Int, error)

AliasLEN is a free data retrieval call binding the contract method 0xda203e69.

Solidity: function Alias_LEN() constant returns(uint256)

func (*BasAssetCallerSession) Allowance

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

func (_BasAsset *BasAssetCallerSession) AssetDetailsByHash(nameHash [32]byte) (struct {
	Name          []byte
	Expire        *big.Int
	Owner         common.Address
	IsRoot        bool
	ROpenToPublic bool
	RIsCustomed   bool
	RIsPureA      bool
	RCustomPrice  *big.Int
	SRootHash     [32]byte
}, error)

AssetDetailsByHash is a free data retrieval call binding the contract method 0x6cdb220f.

Solidity: function AssetDetailsByHash(bytes32 nameHash) constant returns(bytes name, uint256 expire, address owner, bool isRoot, bool r_openToPublic, bool r_isCustomed, bool r_isPureA, uint256 r_customPrice, bytes32 s_rootHash)

func (*BasAssetCallerSession) BADDRESSLEN

func (_BasAsset *BasAssetCallerSession) BADDRESSLEN() (*big.Int, error)

BADDRESSLEN is a free data retrieval call binding the contract method 0x5ce6f0a4.

Solidity: function BADDRESS_LEN() constant returns(uint256)

func (*BasAssetCallerSession) ContractOwner

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

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() constant returns(address)

func (*BasAssetCallerSession) CurrentOwnerOf

func (_BasAsset *BasAssetCallerSession) CurrentOwnerOf(nameHash [32]byte) (common.Address, error)

CurrentOwnerOf is a free data retrieval call binding the contract method 0x85cf9d31.

Solidity: function currentOwnerOf(bytes32 nameHash) constant returns(address)

func (*BasAssetCallerSession) DnsDetailsByHash

func (_BasAsset *BasAssetCallerSession) DnsDetailsByHash(nameHash [32]byte) (struct {
	Name   []byte
	Ipv4   [4]byte
	Ipv6   [16]byte
	BcAddr string
	OpData []byte
	AName  string
}, error)

DnsDetailsByHash is a free data retrieval call binding the contract method 0x39a9a72e.

Solidity: function DnsDetailsByHash(bytes32 nameHash) constant returns(bytes name, bytes4 ipv4, bytes16 ipv6, string bcAddr, bytes opData, string aName)

func (*BasAssetCallerSession) EXTENDLEN

func (_BasAsset *BasAssetCallerSession) EXTENDLEN() (*big.Int, error)

EXTENDLEN is a free data retrieval call binding the contract method 0x4b50acc8.

Solidity: function EXTEND_LEN() constant returns(uint256)

func (*BasAssetCallerSession) GetDomainOfIndex

func (_BasAsset *BasAssetCallerSession) GetDomainOfIndex(idx *big.Int) ([32]byte, error)

GetDomainOfIndex is a free data retrieval call binding the contract method 0xc5efdc3d.

Solidity: function getDomainOfIndex(uint256 idx) constant returns(bytes32)

func (*BasAssetCallerSession) GetExpire

func (_BasAsset *BasAssetCallerSession) GetExpire(nameHash [32]byte) (*big.Int, error)

GetExpire is a free data retrieval call binding the contract method 0x8303ed38.

Solidity: function GetExpire(bytes32 nameHash) constant returns(uint256)

func (*BasAssetCallerSession) GetMayAssetIndexOf

func (_BasAsset *BasAssetCallerSession) GetMayAssetIndexOf(idx *big.Int) ([32]byte, error)

GetMayAssetIndexOf is a free data retrieval call binding the contract method 0x3db8b32c.

Solidity: function getMayAssetIndexOf(uint256 idx) constant returns(bytes32)

func (*BasAssetCallerSession) Hash

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

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

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

func (*BasAssetCallerSession) IsExpired

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

IsExpired is a free data retrieval call binding the contract method 0x6db2feb2.

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

func (*BasAssetCallerSession) LastOwnerOf

func (_BasAsset *BasAssetCallerSession) LastOwnerOf(nameHash [32]byte) (common.Address, error)

LastOwnerOf is a free data retrieval call binding the contract method 0x5a0e698f.

Solidity: function lastOwnerOf(bytes32 nameHash) constant returns(address)

func (*BasAssetCallerSession) MyAssetCount

func (_BasAsset *BasAssetCallerSession) MyAssetCount(owner common.Address) (*big.Int, error)

MyAssetCount is a free data retrieval call binding the contract method 0x96c9de20.

Solidity: function myAssetCount(address owner) constant returns(uint256)

func (*BasAssetCallerSession) TotalDomainSize

func (_BasAsset *BasAssetCallerSession) TotalDomainSize() (*big.Int, error)

TotalDomainSize is a free data retrieval call binding the contract method 0x24ea2e6b.

Solidity: function totalDomainSize() constant returns(uint256)

type BasAssetDNSRecordChange

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

BasAssetDNSRecordChange represents a DNSRecordChange event raised by the BasAsset contract.

type BasAssetDNSRecordChangeIterator

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

BasAssetDNSRecordChangeIterator is returned from FilterDNSRecordChange and is used to iterate over the raw logs and unpacked data for DNSRecordChange events raised by the BasAsset contract.

func (*BasAssetDNSRecordChangeIterator) Close

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

func (*BasAssetDNSRecordChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetDNSRecordChangeIterator) 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 BasAssetDNSRecordRemove

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

BasAssetDNSRecordRemove represents a DNSRecordRemove event raised by the BasAsset contract.

type BasAssetDNSRecordRemoveIterator

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

BasAssetDNSRecordRemoveIterator is returned from FilterDNSRecordRemove and is used to iterate over the raw logs and unpacked data for DNSRecordRemove events raised by the BasAsset contract.

func (*BasAssetDNSRecordRemoveIterator) Close

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

func (*BasAssetDNSRecordRemoveIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetDNSRecordRemoveIterator) 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 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) FilterAssertTransfer

func (_BasAsset *BasAssetFilterer) FilterAssertTransfer(opts *bind.FilterOpts) (*BasAssetAssertTransferIterator, error)

FilterAssertTransfer is a free log retrieval operation binding the contract event 0xcd4efa8d78d4de87992137b0ae50f3f3db87dc11a7ffeabc0994bf58b0e65a6a.

Solidity: event AssertTransfer(bytes32 nameHash, address from, address to)

func (*BasAssetFilterer) FilterDNSRecordChange

func (_BasAsset *BasAssetFilterer) FilterDNSRecordChange(opts *bind.FilterOpts) (*BasAssetDNSRecordChangeIterator, error)

FilterDNSRecordChange is a free log retrieval operation binding the contract event 0xc4aaff00d9c0e5be36460c841ba5920da4c842307539cdbe500387afa617e621.

Solidity: event DNSRecordChange(bytes32 nameHash)

func (*BasAssetFilterer) FilterDNSRecordRemove

func (_BasAsset *BasAssetFilterer) FilterDNSRecordRemove(opts *bind.FilterOpts) (*BasAssetDNSRecordRemoveIterator, error)

FilterDNSRecordRemove is a free log retrieval operation binding the contract event 0xcf86f295942fcb9fa5bae52547a73e10a7a197b753af74ec610b8a9283a21439.

Solidity: event DNSRecordRemove(bytes32 nameHash)

func (*BasAssetFilterer) FilterMintAsset

func (_BasAsset *BasAssetFilterer) FilterMintAsset(opts *bind.FilterOpts) (*BasAssetMintAssetIterator, error)

FilterMintAsset is a free log retrieval operation binding the contract event 0x52d8e8dc2982b49519977efd1fdb015121fc21583eafae05e568c207b3109059.

Solidity: event MintAsset(address owner, bytes32 hash, bytes name)

func (*BasAssetFilterer) FilterRechargeAsset

func (_BasAsset *BasAssetFilterer) FilterRechargeAsset(opts *bind.FilterOpts) (*BasAssetRechargeAssetIterator, error)

FilterRechargeAsset is a free log retrieval operation binding the contract event 0x0429f51dcf78228d5341fb0e92fdbd3330a07a9aede215114103ac1ae0d8395a.

Solidity: event RechargeAsset(bytes32 hash, uint256 duration)

func (*BasAssetFilterer) FilterRootAdded

func (_BasAsset *BasAssetFilterer) FilterRootAdded(opts *bind.FilterOpts) (*BasAssetRootAddedIterator, error)

FilterRootAdded is a free log retrieval operation binding the contract event 0x388a5f4af784e29fc791e14e90d372b6057e8379d9d5556e843545420c675dea.

Solidity: event RootAdded(bytes32 nameHash)

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) FilterSubAdded

func (_BasAsset *BasAssetFilterer) FilterSubAdded(opts *bind.FilterOpts) (*BasAssetSubAddedIterator, error)

FilterSubAdded is a free log retrieval operation binding the contract event 0x89553af7cea334c9dc75d0da93f13782badf6eb8ff1c31cf1792297cf3a8a914.

Solidity: event SubAdded(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) FilterTakeoverAsset

func (_BasAsset *BasAssetFilterer) FilterTakeoverAsset(opts *bind.FilterOpts) (*BasAssetTakeoverAssetIterator, error)

FilterTakeoverAsset is a free log retrieval operation binding the contract event 0x9224ee6f06391fbcf8b3f9ab9c1f0c339a04d38a72fdaa9b4abec371afbcfd00.

Solidity: event TakeoverAsset(address oldOwner, address newOwner, bytes32 hash)

func (*BasAssetFilterer) ParseAssertTransfer

func (_BasAsset *BasAssetFilterer) ParseAssertTransfer(log types.Log) (*BasAssetAssertTransfer, error)

ParseAssertTransfer is a log parse operation binding the contract event 0xcd4efa8d78d4de87992137b0ae50f3f3db87dc11a7ffeabc0994bf58b0e65a6a.

Solidity: event AssertTransfer(bytes32 nameHash, address from, address to)

func (*BasAssetFilterer) ParseDNSRecordChange

func (_BasAsset *BasAssetFilterer) ParseDNSRecordChange(log types.Log) (*BasAssetDNSRecordChange, error)

ParseDNSRecordChange is a log parse operation binding the contract event 0xc4aaff00d9c0e5be36460c841ba5920da4c842307539cdbe500387afa617e621.

Solidity: event DNSRecordChange(bytes32 nameHash)

func (*BasAssetFilterer) ParseDNSRecordRemove

func (_BasAsset *BasAssetFilterer) ParseDNSRecordRemove(log types.Log) (*BasAssetDNSRecordRemove, error)

ParseDNSRecordRemove is a log parse operation binding the contract event 0xcf86f295942fcb9fa5bae52547a73e10a7a197b753af74ec610b8a9283a21439.

Solidity: event DNSRecordRemove(bytes32 nameHash)

func (*BasAssetFilterer) ParseMintAsset

func (_BasAsset *BasAssetFilterer) ParseMintAsset(log types.Log) (*BasAssetMintAsset, error)

ParseMintAsset is a log parse operation binding the contract event 0x52d8e8dc2982b49519977efd1fdb015121fc21583eafae05e568c207b3109059.

Solidity: event MintAsset(address owner, bytes32 hash, bytes name)

func (*BasAssetFilterer) ParseRechargeAsset

func (_BasAsset *BasAssetFilterer) ParseRechargeAsset(log types.Log) (*BasAssetRechargeAsset, error)

ParseRechargeAsset is a log parse operation binding the contract event 0x0429f51dcf78228d5341fb0e92fdbd3330a07a9aede215114103ac1ae0d8395a.

Solidity: event RechargeAsset(bytes32 hash, uint256 duration)

func (*BasAssetFilterer) ParseRootAdded

func (_BasAsset *BasAssetFilterer) ParseRootAdded(log types.Log) (*BasAssetRootAdded, error)

ParseRootAdded is a log parse operation binding the contract event 0x388a5f4af784e29fc791e14e90d372b6057e8379d9d5556e843545420c675dea.

Solidity: event RootAdded(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) ParseSubAdded

func (_BasAsset *BasAssetFilterer) ParseSubAdded(log types.Log) (*BasAssetSubAdded, error)

ParseSubAdded is a log parse operation binding the contract event 0x89553af7cea334c9dc75d0da93f13782badf6eb8ff1c31cf1792297cf3a8a914.

Solidity: event SubAdded(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) ParseTakeoverAsset

func (_BasAsset *BasAssetFilterer) ParseTakeoverAsset(log types.Log) (*BasAssetTakeoverAsset, error)

ParseTakeoverAsset is a log parse operation binding the contract event 0x9224ee6f06391fbcf8b3f9ab9c1f0c339a04d38a72fdaa9b4abec371afbcfd00.

Solidity: event TakeoverAsset(address oldOwner, address newOwner, bytes32 hash)

func (*BasAssetFilterer) WatchAssertTransfer

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

WatchAssertTransfer is a free log subscription operation binding the contract event 0xcd4efa8d78d4de87992137b0ae50f3f3db87dc11a7ffeabc0994bf58b0e65a6a.

Solidity: event AssertTransfer(bytes32 nameHash, address from, address to)

func (*BasAssetFilterer) WatchDNSRecordChange

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

WatchDNSRecordChange is a free log subscription operation binding the contract event 0xc4aaff00d9c0e5be36460c841ba5920da4c842307539cdbe500387afa617e621.

Solidity: event DNSRecordChange(bytes32 nameHash)

func (*BasAssetFilterer) WatchDNSRecordRemove

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

WatchDNSRecordRemove is a free log subscription operation binding the contract event 0xcf86f295942fcb9fa5bae52547a73e10a7a197b753af74ec610b8a9283a21439.

Solidity: event DNSRecordRemove(bytes32 nameHash)

func (*BasAssetFilterer) WatchMintAsset

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

WatchMintAsset is a free log subscription operation binding the contract event 0x52d8e8dc2982b49519977efd1fdb015121fc21583eafae05e568c207b3109059.

Solidity: event MintAsset(address owner, bytes32 hash, bytes name)

func (*BasAssetFilterer) WatchRechargeAsset

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

WatchRechargeAsset is a free log subscription operation binding the contract event 0x0429f51dcf78228d5341fb0e92fdbd3330a07a9aede215114103ac1ae0d8395a.

Solidity: event RechargeAsset(bytes32 hash, uint256 duration)

func (*BasAssetFilterer) WatchRootAdded

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

WatchRootAdded is a free log subscription operation binding the contract event 0x388a5f4af784e29fc791e14e90d372b6057e8379d9d5556e843545420c675dea.

Solidity: event RootAdded(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) WatchSubAdded

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

WatchSubAdded is a free log subscription operation binding the contract event 0x89553af7cea334c9dc75d0da93f13782badf6eb8ff1c31cf1792297cf3a8a914.

Solidity: event SubAdded(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)

func (*BasAssetFilterer) WatchTakeoverAsset

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

WatchTakeoverAsset is a free log subscription operation binding the contract event 0x9224ee6f06391fbcf8b3f9ab9c1f0c339a04d38a72fdaa9b4abec371afbcfd00.

Solidity: event TakeoverAsset(address oldOwner, address newOwner, bytes32 hash)

type BasAssetMintAsset

type BasAssetMintAsset struct {
	Owner common.Address
	Hash  [32]byte
	Name  []byte
	Raw   types.Log // Blockchain specific contextual infos
}

BasAssetMintAsset represents a MintAsset event raised by the BasAsset contract.

type BasAssetMintAssetIterator

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

BasAssetMintAssetIterator is returned from FilterMintAsset and is used to iterate over the raw logs and unpacked data for MintAsset events raised by the BasAsset contract.

func (*BasAssetMintAssetIterator) Close

func (it *BasAssetMintAssetIterator) Close() error

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

func (*BasAssetMintAssetIterator) Error

func (it *BasAssetMintAssetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetMintAssetIterator) Next

func (it *BasAssetMintAssetIterator) 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 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 BasAssetRechargeAsset

type BasAssetRechargeAsset struct {
	Hash     [32]byte
	Duration *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BasAssetRechargeAsset represents a RechargeAsset event raised by the BasAsset contract.

type BasAssetRechargeAssetIterator

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

BasAssetRechargeAssetIterator is returned from FilterRechargeAsset and is used to iterate over the raw logs and unpacked data for RechargeAsset events raised by the BasAsset contract.

func (*BasAssetRechargeAssetIterator) Close

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

func (*BasAssetRechargeAssetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetRechargeAssetIterator) 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 BasAssetRootAdded

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

BasAssetRootAdded represents a RootAdded event raised by the BasAsset contract.

type BasAssetRootAddedIterator

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

BasAssetRootAddedIterator is returned from FilterRootAdded and is used to iterate over the raw logs and unpacked data for RootAdded events raised by the BasAsset contract.

func (*BasAssetRootAddedIterator) Close

func (it *BasAssetRootAddedIterator) Close() error

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

func (*BasAssetRootAddedIterator) Error

func (it *BasAssetRootAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetRootAddedIterator) Next

func (it *BasAssetRootAddedIterator) 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 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) AliasLEN

func (_BasAsset *BasAssetSession) AliasLEN() (*big.Int, error)

AliasLEN is a free data retrieval call binding the contract method 0xda203e69.

Solidity: function Alias_LEN() constant returns(uint256)

func (*BasAssetSession) Allowance

func (_BasAsset *BasAssetSession) 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 (*BasAssetSession) Approve

func (_BasAsset *BasAssetSession) Approve(spender common.Address, nameHash [32]byte) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x5cd2f4d3.

Solidity: function approve(address spender, bytes32 nameHash) returns()

func (*BasAssetSession) AssetDetailsByHash

func (_BasAsset *BasAssetSession) AssetDetailsByHash(nameHash [32]byte) (struct {
	Name          []byte
	Expire        *big.Int
	Owner         common.Address
	IsRoot        bool
	ROpenToPublic bool
	RIsCustomed   bool
	RIsPureA      bool
	RCustomPrice  *big.Int
	SRootHash     [32]byte
}, error)

AssetDetailsByHash is a free data retrieval call binding the contract method 0x6cdb220f.

Solidity: function AssetDetailsByHash(bytes32 nameHash) constant returns(bytes name, uint256 expire, address owner, bool isRoot, bool r_openToPublic, bool r_isCustomed, bool r_isPureA, uint256 r_customPrice, bytes32 s_rootHash)

func (*BasAssetSession) BADDRESSLEN

func (_BasAsset *BasAssetSession) BADDRESSLEN() (*big.Int, error)

BADDRESSLEN is a free data retrieval call binding the contract method 0x5ce6f0a4.

Solidity: function BADDRESS_LEN() constant returns(uint256)

func (*BasAssetSession) ClearRecord

func (_BasAsset *BasAssetSession) ClearRecord(nameHash [32]byte) (*types.Transaction, error)

ClearRecord is a paid mutator transaction binding the contract method 0x081780f4.

Solidity: function clearRecord(bytes32 nameHash) returns()

func (*BasAssetSession) CloseCustomedPrice

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

CloseCustomedPrice is a paid mutator transaction binding the contract method 0xc0bd516d.

Solidity: function closeCustomedPrice(bytes32 rootHash) returns()

func (*BasAssetSession) CloseToPublic

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

CloseToPublic is a paid mutator transaction binding the contract method 0xd0f0b43d.

Solidity: function closeToPublic(bytes32 rootHash) returns()

func (*BasAssetSession) ContractOwner

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

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() constant returns(address)

func (*BasAssetSession) CurrentOwnerOf

func (_BasAsset *BasAssetSession) CurrentOwnerOf(nameHash [32]byte) (common.Address, error)

CurrentOwnerOf is a free data retrieval call binding the contract method 0x85cf9d31.

Solidity: function currentOwnerOf(bytes32 nameHash) constant returns(address)

func (*BasAssetSession) DnsDetailsByHash

func (_BasAsset *BasAssetSession) DnsDetailsByHash(nameHash [32]byte) (struct {
	Name   []byte
	Ipv4   [4]byte
	Ipv6   [16]byte
	BcAddr string
	OpData []byte
	AName  string
}, error)

DnsDetailsByHash is a free data retrieval call binding the contract method 0x39a9a72e.

Solidity: function DnsDetailsByHash(bytes32 nameHash) constant returns(bytes name, bytes4 ipv4, bytes16 ipv6, string bcAddr, bytes opData, string aName)

func (*BasAssetSession) EXTENDLEN

func (_BasAsset *BasAssetSession) EXTENDLEN() (*big.Int, error)

EXTENDLEN is a free data retrieval call binding the contract method 0x4b50acc8.

Solidity: function EXTEND_LEN() constant returns(uint256)

func (*BasAssetSession) GetDomainOfIndex

func (_BasAsset *BasAssetSession) GetDomainOfIndex(idx *big.Int) ([32]byte, error)

GetDomainOfIndex is a free data retrieval call binding the contract method 0xc5efdc3d.

Solidity: function getDomainOfIndex(uint256 idx) constant returns(bytes32)

func (*BasAssetSession) GetExpire

func (_BasAsset *BasAssetSession) GetExpire(nameHash [32]byte) (*big.Int, error)

GetExpire is a free data retrieval call binding the contract method 0x8303ed38.

Solidity: function GetExpire(bytes32 nameHash) constant returns(uint256)

func (*BasAssetSession) GetMayAssetIndexOf

func (_BasAsset *BasAssetSession) GetMayAssetIndexOf(idx *big.Int) ([32]byte, error)

GetMayAssetIndexOf is a free data retrieval call binding the contract method 0x3db8b32c.

Solidity: function getMayAssetIndexOf(uint256 idx) constant returns(bytes32)

func (*BasAssetSession) Hash

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

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

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

func (*BasAssetSession) IsExpired

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

IsExpired is a free data retrieval call binding the contract method 0x6db2feb2.

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

func (*BasAssetSession) LastOwnerOf

func (_BasAsset *BasAssetSession) LastOwnerOf(nameHash [32]byte) (common.Address, error)

LastOwnerOf is a free data retrieval call binding the contract method 0x5a0e698f.

Solidity: function lastOwnerOf(bytes32 nameHash) constant returns(address)

func (*BasAssetSession) MintRootAsset

func (_BasAsset *BasAssetSession) MintRootAsset(nameHash [32]byte, name []byte, expire *big.Int, isOpen bool, isCustomed bool, cusPrice *big.Int, isAType bool, owner common.Address) (*types.Transaction, error)

MintRootAsset is a paid mutator transaction binding the contract method 0xfbc94c0b.

Solidity: function mintRootAsset(bytes32 nameHash, bytes name, uint256 expire, bool isOpen, bool isCustomed, uint256 cusPrice, bool isAType, address owner) returns()

func (*BasAssetSession) MintSubAsset

func (_BasAsset *BasAssetSession) MintSubAsset(sHash [32]byte, sname []byte, rHash [32]byte, expire *big.Int, owner common.Address) (*types.Transaction, error)

MintSubAsset is a paid mutator transaction binding the contract method 0xcc2312f1.

Solidity: function mintSubAsset(bytes32 sHash, bytes sname, bytes32 rHash, uint256 expire, address owner) returns()

func (*BasAssetSession) MyAssetCount

func (_BasAsset *BasAssetSession) MyAssetCount(owner common.Address) (*big.Int, error)

MyAssetCount is a free data retrieval call binding the contract method 0x96c9de20.

Solidity: function myAssetCount(address owner) constant returns(uint256)

func (*BasAssetSession) OpenCustomedPrice

func (_BasAsset *BasAssetSession) OpenCustomedPrice(rootHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 rootHash, uint256 price) returns()

func (*BasAssetSession) OpenToPublic

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

OpenToPublic is a paid mutator transaction binding the contract method 0xed26e5ae.

Solidity: function openToPublic(bytes32 rootHash) returns()

func (*BasAssetSession) Recharge

func (_BasAsset *BasAssetSession) Recharge(nameHash [32]byte, expire *big.Int, isRoot bool) (*types.Transaction, error)

Recharge is a paid mutator transaction binding the contract method 0x1c31e2da.

Solidity: function recharge(bytes32 nameHash, uint256 expire, bool isRoot) returns()

func (*BasAssetSession) Revoke

func (_BasAsset *BasAssetSession) Revoke(from common.Address, nameHash [32]byte) (*types.Transaction, error)

Revoke is a paid mutator transaction binding the contract method 0x88e62721.

Solidity: function revoke(address from, bytes32 nameHash) returns()

func (*BasAssetSession) SetAlias

func (_BasAsset *BasAssetSession) SetAlias(nameHash [32]byte, aName string) (*types.Transaction, error)

SetAlias is a paid mutator transaction binding the contract method 0x468c024c.

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

func (*BasAssetSession) SetBCAddress

func (_BasAsset *BasAssetSession) SetBCAddress(nameHash [32]byte, bcAddress string) (*types.Transaction, error)

SetBCAddress is a paid mutator transaction binding the contract method 0x706ef095.

Solidity: function setBCAddress(bytes32 nameHash, string bcAddress) returns()

func (*BasAssetSession) SetIP

func (_BasAsset *BasAssetSession) SetIP(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte) (*types.Transaction, error)

SetIP is a paid mutator transaction binding the contract method 0x4fd2d18a.

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

func (*BasAssetSession) SetOANN

func (_BasAsset *BasAssetSession) SetOANN(newOANN common.Address) (*types.Transaction, error)

SetOANN is a paid mutator transaction binding the contract method 0xbc63d8b9.

Solidity: function setOANN(address newOANN) returns()

func (*BasAssetSession) SetOpData

func (_BasAsset *BasAssetSession) SetOpData(nameHash [32]byte, opData []byte) (*types.Transaction, error)

SetOpData is a paid mutator transaction binding the contract method 0x9e19a994.

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

func (*BasAssetSession) SetRecord

func (_BasAsset *BasAssetSession) SetRecord(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bcAddress string, opData []byte, aName string) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0x9385b5e1.

Solidity: function setRecord(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, string bcAddress, bytes opData, string aName) returns()

func (*BasAssetSession) TakeoverRoot

func (_BasAsset *BasAssetSession) TakeoverRoot(nameHash [32]byte, expire *big.Int, isOpen bool, isCustomed bool, cusPrice *big.Int, oldOwner common.Address, newOwner common.Address) (*types.Transaction, error)

TakeoverRoot is a paid mutator transaction binding the contract method 0x1bdf10ff.

Solidity: function takeoverRoot(bytes32 nameHash, uint256 expire, bool isOpen, bool isCustomed, uint256 cusPrice, address oldOwner, address newOwner) returns()

func (*BasAssetSession) TakeoverSubName

func (_BasAsset *BasAssetSession) TakeoverSubName(sHash [32]byte, expire *big.Int, oldOwner common.Address, newOwner common.Address) (*types.Transaction, error)

TakeoverSubName is a paid mutator transaction binding the contract method 0xd59a0e68.

Solidity: function takeoverSubName(bytes32 sHash, uint256 expire, address oldOwner, address newOwner) returns()

func (*BasAssetSession) TotalDomainSize

func (_BasAsset *BasAssetSession) TotalDomainSize() (*big.Int, error)

TotalDomainSize is a free data retrieval call binding the contract method 0x24ea2e6b.

Solidity: function totalDomainSize() constant returns(uint256)

func (*BasAssetSession) Transfer

func (_BasAsset *BasAssetSession) Transfer(to common.Address, nameHash [32]byte) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x7d32e7bd.

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

func (*BasAssetSession) TransferContractOwnership

func (_BasAsset *BasAssetSession) TransferContractOwnership(newOwner common.Address) (*types.Transaction, error)

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) returns()

func (*BasAssetSession) TransferFrom

func (_BasAsset *BasAssetSession) TransferFrom(from common.Address, to common.Address, nameHash [32]byte) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0xb3c06f50.

Solidity: function transferFrom(address from, address to, bytes32 nameHash) returns()

type BasAssetSubAdded

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

BasAssetSubAdded represents a SubAdded event raised by the BasAsset contract.

type BasAssetSubAddedIterator

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

BasAssetSubAddedIterator is returned from FilterSubAdded and is used to iterate over the raw logs and unpacked data for SubAdded events raised by the BasAsset contract.

func (*BasAssetSubAddedIterator) Close

func (it *BasAssetSubAddedIterator) Close() error

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

func (*BasAssetSubAddedIterator) Error

func (it *BasAssetSubAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetSubAddedIterator) Next

func (it *BasAssetSubAddedIterator) 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 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 BasAssetTakeoverAsset

type BasAssetTakeoverAsset struct {
	OldOwner common.Address
	NewOwner common.Address
	Hash     [32]byte
	Raw      types.Log // Blockchain specific contextual infos
}

BasAssetTakeoverAsset represents a TakeoverAsset event raised by the BasAsset contract.

type BasAssetTakeoverAssetIterator

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

BasAssetTakeoverAssetIterator is returned from FilterTakeoverAsset and is used to iterate over the raw logs and unpacked data for TakeoverAsset events raised by the BasAsset contract.

func (*BasAssetTakeoverAssetIterator) Close

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

func (*BasAssetTakeoverAssetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasAssetTakeoverAssetIterator) 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 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) Approve

func (_BasAsset *BasAssetTransactor) Approve(opts *bind.TransactOpts, spender common.Address, nameHash [32]byte) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x5cd2f4d3.

Solidity: function approve(address spender, bytes32 nameHash) returns()

func (*BasAssetTransactor) ClearRecord

func (_BasAsset *BasAssetTransactor) ClearRecord(opts *bind.TransactOpts, nameHash [32]byte) (*types.Transaction, error)

ClearRecord is a paid mutator transaction binding the contract method 0x081780f4.

Solidity: function clearRecord(bytes32 nameHash) returns()

func (*BasAssetTransactor) CloseCustomedPrice

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

CloseCustomedPrice is a paid mutator transaction binding the contract method 0xc0bd516d.

Solidity: function closeCustomedPrice(bytes32 rootHash) returns()

func (*BasAssetTransactor) CloseToPublic

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

CloseToPublic is a paid mutator transaction binding the contract method 0xd0f0b43d.

Solidity: function closeToPublic(bytes32 rootHash) returns()

func (*BasAssetTransactor) MintRootAsset

func (_BasAsset *BasAssetTransactor) MintRootAsset(opts *bind.TransactOpts, nameHash [32]byte, name []byte, expire *big.Int, isOpen bool, isCustomed bool, cusPrice *big.Int, isAType bool, owner common.Address) (*types.Transaction, error)

MintRootAsset is a paid mutator transaction binding the contract method 0xfbc94c0b.

Solidity: function mintRootAsset(bytes32 nameHash, bytes name, uint256 expire, bool isOpen, bool isCustomed, uint256 cusPrice, bool isAType, address owner) returns()

func (*BasAssetTransactor) MintSubAsset

func (_BasAsset *BasAssetTransactor) MintSubAsset(opts *bind.TransactOpts, sHash [32]byte, sname []byte, rHash [32]byte, expire *big.Int, owner common.Address) (*types.Transaction, error)

MintSubAsset is a paid mutator transaction binding the contract method 0xcc2312f1.

Solidity: function mintSubAsset(bytes32 sHash, bytes sname, bytes32 rHash, uint256 expire, address owner) returns()

func (*BasAssetTransactor) OpenCustomedPrice

func (_BasAsset *BasAssetTransactor) OpenCustomedPrice(opts *bind.TransactOpts, rootHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 rootHash, uint256 price) returns()

func (*BasAssetTransactor) OpenToPublic

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

OpenToPublic is a paid mutator transaction binding the contract method 0xed26e5ae.

Solidity: function openToPublic(bytes32 rootHash) returns()

func (*BasAssetTransactor) Recharge

func (_BasAsset *BasAssetTransactor) Recharge(opts *bind.TransactOpts, nameHash [32]byte, expire *big.Int, isRoot bool) (*types.Transaction, error)

Recharge is a paid mutator transaction binding the contract method 0x1c31e2da.

Solidity: function recharge(bytes32 nameHash, uint256 expire, bool isRoot) returns()

func (*BasAssetTransactor) Revoke

func (_BasAsset *BasAssetTransactor) Revoke(opts *bind.TransactOpts, from common.Address, nameHash [32]byte) (*types.Transaction, error)

Revoke is a paid mutator transaction binding the contract method 0x88e62721.

Solidity: function revoke(address from, bytes32 nameHash) returns()

func (*BasAssetTransactor) SetAlias

func (_BasAsset *BasAssetTransactor) SetAlias(opts *bind.TransactOpts, nameHash [32]byte, aName string) (*types.Transaction, error)

SetAlias is a paid mutator transaction binding the contract method 0x468c024c.

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

func (*BasAssetTransactor) SetBCAddress

func (_BasAsset *BasAssetTransactor) SetBCAddress(opts *bind.TransactOpts, nameHash [32]byte, bcAddress string) (*types.Transaction, error)

SetBCAddress is a paid mutator transaction binding the contract method 0x706ef095.

Solidity: function setBCAddress(bytes32 nameHash, string bcAddress) returns()

func (*BasAssetTransactor) SetIP

func (_BasAsset *BasAssetTransactor) SetIP(opts *bind.TransactOpts, nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte) (*types.Transaction, error)

SetIP is a paid mutator transaction binding the contract method 0x4fd2d18a.

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

func (*BasAssetTransactor) SetOANN

func (_BasAsset *BasAssetTransactor) SetOANN(opts *bind.TransactOpts, newOANN common.Address) (*types.Transaction, error)

SetOANN is a paid mutator transaction binding the contract method 0xbc63d8b9.

Solidity: function setOANN(address newOANN) returns()

func (*BasAssetTransactor) SetOpData

func (_BasAsset *BasAssetTransactor) SetOpData(opts *bind.TransactOpts, nameHash [32]byte, opData []byte) (*types.Transaction, error)

SetOpData is a paid mutator transaction binding the contract method 0x9e19a994.

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

func (*BasAssetTransactor) SetRecord

func (_BasAsset *BasAssetTransactor) SetRecord(opts *bind.TransactOpts, nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bcAddress string, opData []byte, aName string) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0x9385b5e1.

Solidity: function setRecord(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, string bcAddress, bytes opData, string aName) returns()

func (*BasAssetTransactor) TakeoverRoot

func (_BasAsset *BasAssetTransactor) TakeoverRoot(opts *bind.TransactOpts, nameHash [32]byte, expire *big.Int, isOpen bool, isCustomed bool, cusPrice *big.Int, oldOwner common.Address, newOwner common.Address) (*types.Transaction, error)

TakeoverRoot is a paid mutator transaction binding the contract method 0x1bdf10ff.

Solidity: function takeoverRoot(bytes32 nameHash, uint256 expire, bool isOpen, bool isCustomed, uint256 cusPrice, address oldOwner, address newOwner) returns()

func (*BasAssetTransactor) TakeoverSubName

func (_BasAsset *BasAssetTransactor) TakeoverSubName(opts *bind.TransactOpts, sHash [32]byte, expire *big.Int, oldOwner common.Address, newOwner common.Address) (*types.Transaction, error)

TakeoverSubName is a paid mutator transaction binding the contract method 0xd59a0e68.

Solidity: function takeoverSubName(bytes32 sHash, uint256 expire, address oldOwner, address newOwner) returns()

func (*BasAssetTransactor) Transfer

func (_BasAsset *BasAssetTransactor) Transfer(opts *bind.TransactOpts, to common.Address, nameHash [32]byte) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x7d32e7bd.

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

func (*BasAssetTransactor) TransferContractOwnership

func (_BasAsset *BasAssetTransactor) TransferContractOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) returns()

func (*BasAssetTransactor) TransferFrom

func (_BasAsset *BasAssetTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, nameHash [32]byte) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0xb3c06f50.

Solidity: function transferFrom(address from, address to, bytes32 nameHash) 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) Approve

func (_BasAsset *BasAssetTransactorSession) Approve(spender common.Address, nameHash [32]byte) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x5cd2f4d3.

Solidity: function approve(address spender, bytes32 nameHash) returns()

func (*BasAssetTransactorSession) ClearRecord

func (_BasAsset *BasAssetTransactorSession) ClearRecord(nameHash [32]byte) (*types.Transaction, error)

ClearRecord is a paid mutator transaction binding the contract method 0x081780f4.

Solidity: function clearRecord(bytes32 nameHash) returns()

func (*BasAssetTransactorSession) CloseCustomedPrice

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

CloseCustomedPrice is a paid mutator transaction binding the contract method 0xc0bd516d.

Solidity: function closeCustomedPrice(bytes32 rootHash) returns()

func (*BasAssetTransactorSession) CloseToPublic

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

CloseToPublic is a paid mutator transaction binding the contract method 0xd0f0b43d.

Solidity: function closeToPublic(bytes32 rootHash) returns()

func (*BasAssetTransactorSession) MintRootAsset

func (_BasAsset *BasAssetTransactorSession) MintRootAsset(nameHash [32]byte, name []byte, expire *big.Int, isOpen bool, isCustomed bool, cusPrice *big.Int, isAType bool, owner common.Address) (*types.Transaction, error)

MintRootAsset is a paid mutator transaction binding the contract method 0xfbc94c0b.

Solidity: function mintRootAsset(bytes32 nameHash, bytes name, uint256 expire, bool isOpen, bool isCustomed, uint256 cusPrice, bool isAType, address owner) returns()

func (*BasAssetTransactorSession) MintSubAsset

func (_BasAsset *BasAssetTransactorSession) MintSubAsset(sHash [32]byte, sname []byte, rHash [32]byte, expire *big.Int, owner common.Address) (*types.Transaction, error)

MintSubAsset is a paid mutator transaction binding the contract method 0xcc2312f1.

Solidity: function mintSubAsset(bytes32 sHash, bytes sname, bytes32 rHash, uint256 expire, address owner) returns()

func (*BasAssetTransactorSession) OpenCustomedPrice

func (_BasAsset *BasAssetTransactorSession) OpenCustomedPrice(rootHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 rootHash, uint256 price) returns()

func (*BasAssetTransactorSession) OpenToPublic

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

OpenToPublic is a paid mutator transaction binding the contract method 0xed26e5ae.

Solidity: function openToPublic(bytes32 rootHash) returns()

func (*BasAssetTransactorSession) Recharge

func (_BasAsset *BasAssetTransactorSession) Recharge(nameHash [32]byte, expire *big.Int, isRoot bool) (*types.Transaction, error)

Recharge is a paid mutator transaction binding the contract method 0x1c31e2da.

Solidity: function recharge(bytes32 nameHash, uint256 expire, bool isRoot) returns()

func (*BasAssetTransactorSession) Revoke

func (_BasAsset *BasAssetTransactorSession) Revoke(from common.Address, nameHash [32]byte) (*types.Transaction, error)

Revoke is a paid mutator transaction binding the contract method 0x88e62721.

Solidity: function revoke(address from, bytes32 nameHash) returns()

func (*BasAssetTransactorSession) SetAlias

func (_BasAsset *BasAssetTransactorSession) SetAlias(nameHash [32]byte, aName string) (*types.Transaction, error)

SetAlias is a paid mutator transaction binding the contract method 0x468c024c.

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

func (*BasAssetTransactorSession) SetBCAddress

func (_BasAsset *BasAssetTransactorSession) SetBCAddress(nameHash [32]byte, bcAddress string) (*types.Transaction, error)

SetBCAddress is a paid mutator transaction binding the contract method 0x706ef095.

Solidity: function setBCAddress(bytes32 nameHash, string bcAddress) returns()

func (*BasAssetTransactorSession) SetIP

func (_BasAsset *BasAssetTransactorSession) SetIP(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte) (*types.Transaction, error)

SetIP is a paid mutator transaction binding the contract method 0x4fd2d18a.

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

func (*BasAssetTransactorSession) SetOANN

func (_BasAsset *BasAssetTransactorSession) SetOANN(newOANN common.Address) (*types.Transaction, error)

SetOANN is a paid mutator transaction binding the contract method 0xbc63d8b9.

Solidity: function setOANN(address newOANN) returns()

func (*BasAssetTransactorSession) SetOpData

func (_BasAsset *BasAssetTransactorSession) SetOpData(nameHash [32]byte, opData []byte) (*types.Transaction, error)

SetOpData is a paid mutator transaction binding the contract method 0x9e19a994.

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

func (*BasAssetTransactorSession) SetRecord

func (_BasAsset *BasAssetTransactorSession) SetRecord(nameHash [32]byte, ipv4 [4]byte, ipv6 [16]byte, bcAddress string, opData []byte, aName string) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0x9385b5e1.

Solidity: function setRecord(bytes32 nameHash, bytes4 ipv4, bytes16 ipv6, string bcAddress, bytes opData, string aName) returns()

func (*BasAssetTransactorSession) TakeoverRoot

func (_BasAsset *BasAssetTransactorSession) TakeoverRoot(nameHash [32]byte, expire *big.Int, isOpen bool, isCustomed bool, cusPrice *big.Int, oldOwner common.Address, newOwner common.Address) (*types.Transaction, error)

TakeoverRoot is a paid mutator transaction binding the contract method 0x1bdf10ff.

Solidity: function takeoverRoot(bytes32 nameHash, uint256 expire, bool isOpen, bool isCustomed, uint256 cusPrice, address oldOwner, address newOwner) returns()

func (*BasAssetTransactorSession) TakeoverSubName

func (_BasAsset *BasAssetTransactorSession) TakeoverSubName(sHash [32]byte, expire *big.Int, oldOwner common.Address, newOwner common.Address) (*types.Transaction, error)

TakeoverSubName is a paid mutator transaction binding the contract method 0xd59a0e68.

Solidity: function takeoverSubName(bytes32 sHash, uint256 expire, address oldOwner, address newOwner) returns()

func (*BasAssetTransactorSession) Transfer

func (_BasAsset *BasAssetTransactorSession) Transfer(to common.Address, nameHash [32]byte) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x7d32e7bd.

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

func (*BasAssetTransactorSession) TransferContractOwnership

func (_BasAsset *BasAssetTransactorSession) TransferContractOwnership(newOwner common.Address) (*types.Transaction, error)

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) returns()

func (*BasAssetTransactorSession) TransferFrom

func (_BasAsset *BasAssetTransactorSession) TransferFrom(from common.Address, to common.Address, nameHash [32]byte) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0xb3c06f50.

Solidity: function transferFrom(address from, address to, bytes32 nameHash) 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 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) 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) ContractOwner

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

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() 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
}, error)

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

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

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)

func (*BasMinerCaller) ViceNode

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

ViceNode is a free data retrieval call binding the contract method 0xcccccfcf.

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

func (*BasMinerCaller) ViceNodeSize

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

ViceNodeSize is a free data retrieval call binding the contract method 0x5911606f.

Solidity: function ViceNodeSize() constant returns(uint256)

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) 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) ContractOwner

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

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() 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
}, error)

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

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

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)

func (*BasMinerCallerSession) ViceNode

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

ViceNode is a free data retrieval call binding the contract method 0xcccccfcf.

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

func (*BasMinerCallerSession) ViceNodeSize

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

ViceNodeSize is a free data retrieval call binding the contract method 0x5911606f.

Solidity: function ViceNodeSize() constant returns(uint256)

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.

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 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) AddMiner

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

AddMiner is a paid mutator transaction binding the contract method 0xf3982e5e.

Solidity: function addMiner(address m) returns()

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) ContractOwner

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

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() 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) EmergencyWithdraw

func (_BasMiner *BasMinerSession) EmergencyWithdraw(no *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 no) returns()

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) RemoveMiner

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

RemoveMiner is a paid mutator transaction binding the contract method 0x10242590.

Solidity: function removeMiner(address miner) returns()

func (*BasMinerSession) ReplaceMiner

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

ReplaceMiner is a paid mutator transaction binding the contract method 0x0bdf2fd3.

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

func (*BasMinerSession) RootAllocateProfit

func (_BasMiner *BasMinerSession) RootAllocateProfit(cost *big.Int) (*types.Transaction, error)

RootAllocateProfit is a paid mutator transaction binding the contract method 0x23a9f1d4.

Solidity: function rootAllocateProfit(uint256 cost) returns()

func (*BasMinerSession) RootSetting

func (_BasMiner *BasMinerSession) RootSetting() (struct {
	ToAdmin *big.Int
	ToBurn  *big.Int
	ToMiner *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)

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) SetCustomedSubSetting

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

SetCustomedSubSetting is a paid mutator transaction binding the contract method 0x1918f4ef.

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

func (*BasMinerSession) SetDefaultSubSetting

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

SetDefaultSubSetting is a paid mutator transaction binding the contract method 0x0767a424.

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

func (*BasMinerSession) SetOANN

func (_BasMiner *BasMinerSession) SetOANN(oann common.Address) (*types.Transaction, error)

SetOANN is a paid mutator transaction binding the contract method 0xbc63d8b9.

Solidity: function setOANN(address oann) returns()

func (*BasMinerSession) SetRootSetting

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

SetRootSetting is a paid mutator transaction binding the contract method 0x5d89ae36.

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

func (*BasMinerSession) SubNameProfit

func (_BasMiner *BasMinerSession) SubNameProfit(cost *big.Int, typ uint8, rOwner common.Address) (*types.Transaction, error)

SubNameProfit is a paid mutator transaction binding the contract method 0xd08d1535.

Solidity: function subNameProfit(uint256 cost, uint8 typ, address rOwner) returns()

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) TransferContractOwnership

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

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) returns()

func (*BasMinerSession) ViceNode

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

ViceNode is a free data retrieval call binding the contract method 0xcccccfcf.

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

func (*BasMinerSession) ViceNodeSize

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

ViceNodeSize is a free data retrieval call binding the contract method 0x5911606f.

Solidity: function ViceNodeSize() constant returns(uint256)

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) AddMiner

func (_BasMiner *BasMinerTransactor) AddMiner(opts *bind.TransactOpts, m common.Address) (*types.Transaction, error)

AddMiner is a paid mutator transaction binding the contract method 0xf3982e5e.

Solidity: function addMiner(address m) returns()

func (*BasMinerTransactor) EmergencyWithdraw

func (_BasMiner *BasMinerTransactor) EmergencyWithdraw(opts *bind.TransactOpts, no *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 no) returns()

func (*BasMinerTransactor) RemoveMiner

func (_BasMiner *BasMinerTransactor) RemoveMiner(opts *bind.TransactOpts, miner common.Address) (*types.Transaction, error)

RemoveMiner is a paid mutator transaction binding the contract method 0x10242590.

Solidity: function removeMiner(address miner) returns()

func (*BasMinerTransactor) ReplaceMiner

func (_BasMiner *BasMinerTransactor) ReplaceMiner(opts *bind.TransactOpts, oldM common.Address, newM common.Address) (*types.Transaction, error)

ReplaceMiner is a paid mutator transaction binding the contract method 0x0bdf2fd3.

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

func (*BasMinerTransactor) RootAllocateProfit

func (_BasMiner *BasMinerTransactor) RootAllocateProfit(opts *bind.TransactOpts, cost *big.Int) (*types.Transaction, error)

RootAllocateProfit is a paid mutator transaction binding the contract method 0x23a9f1d4.

Solidity: function rootAllocateProfit(uint256 cost) returns()

func (*BasMinerTransactor) SetCustomedSubSetting

func (_BasMiner *BasMinerTransactor) SetCustomedSubSetting(opts *bind.TransactOpts, admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

SetCustomedSubSetting is a paid mutator transaction binding the contract method 0x1918f4ef.

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

func (*BasMinerTransactor) SetDefaultSubSetting

func (_BasMiner *BasMinerTransactor) SetDefaultSubSetting(opts *bind.TransactOpts, admin *big.Int, burn *big.Int, miner *big.Int, root *big.Int) (*types.Transaction, error)

SetDefaultSubSetting is a paid mutator transaction binding the contract method 0x0767a424.

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

func (*BasMinerTransactor) SetOANN

func (_BasMiner *BasMinerTransactor) SetOANN(opts *bind.TransactOpts, oann common.Address) (*types.Transaction, error)

SetOANN is a paid mutator transaction binding the contract method 0xbc63d8b9.

Solidity: function setOANN(address oann) returns()

func (*BasMinerTransactor) SetRootSetting

func (_BasMiner *BasMinerTransactor) SetRootSetting(opts *bind.TransactOpts, admin *big.Int, burn *big.Int, miner *big.Int) (*types.Transaction, error)

SetRootSetting is a paid mutator transaction binding the contract method 0x5d89ae36.

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

func (*BasMinerTransactor) SubNameProfit

func (_BasMiner *BasMinerTransactor) SubNameProfit(opts *bind.TransactOpts, cost *big.Int, typ uint8, rOwner common.Address) (*types.Transaction, error)

SubNameProfit is a paid mutator transaction binding the contract method 0xd08d1535.

Solidity: function subNameProfit(uint256 cost, uint8 typ, address rOwner) returns()

func (*BasMinerTransactor) TransferContractOwnership

func (_BasMiner *BasMinerTransactor) TransferContractOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) 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) AddMiner

func (_BasMiner *BasMinerTransactorSession) AddMiner(m common.Address) (*types.Transaction, error)

AddMiner is a paid mutator transaction binding the contract method 0xf3982e5e.

Solidity: function addMiner(address m) returns()

func (*BasMinerTransactorSession) EmergencyWithdraw

func (_BasMiner *BasMinerTransactorSession) EmergencyWithdraw(no *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 no) returns()

func (*BasMinerTransactorSession) RemoveMiner

func (_BasMiner *BasMinerTransactorSession) RemoveMiner(miner common.Address) (*types.Transaction, error)

RemoveMiner is a paid mutator transaction binding the contract method 0x10242590.

Solidity: function removeMiner(address miner) returns()

func (*BasMinerTransactorSession) ReplaceMiner

func (_BasMiner *BasMinerTransactorSession) ReplaceMiner(oldM common.Address, newM common.Address) (*types.Transaction, error)

ReplaceMiner is a paid mutator transaction binding the contract method 0x0bdf2fd3.

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

func (*BasMinerTransactorSession) RootAllocateProfit

func (_BasMiner *BasMinerTransactorSession) RootAllocateProfit(cost *big.Int) (*types.Transaction, error)

RootAllocateProfit is a paid mutator transaction binding the contract method 0x23a9f1d4.

Solidity: function rootAllocateProfit(uint256 cost) returns()

func (*BasMinerTransactorSession) SetCustomedSubSetting

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

SetCustomedSubSetting is a paid mutator transaction binding the contract method 0x1918f4ef.

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

func (*BasMinerTransactorSession) SetDefaultSubSetting

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

SetDefaultSubSetting is a paid mutator transaction binding the contract method 0x0767a424.

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

func (*BasMinerTransactorSession) SetOANN

func (_BasMiner *BasMinerTransactorSession) SetOANN(oann common.Address) (*types.Transaction, error)

SetOANN is a paid mutator transaction binding the contract method 0xbc63d8b9.

Solidity: function setOANN(address oann) returns()

func (*BasMinerTransactorSession) SetRootSetting

func (_BasMiner *BasMinerTransactorSession) SetRootSetting(admin *big.Int, burn *big.Int, miner *big.Int) (*types.Transaction, error)

SetRootSetting is a paid mutator transaction binding the contract method 0x5d89ae36.

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

func (*BasMinerTransactorSession) SubNameProfit

func (_BasMiner *BasMinerTransactorSession) SubNameProfit(cost *big.Int, typ uint8, rOwner common.Address) (*types.Transaction, error)

SubNameProfit is a paid mutator transaction binding the contract method 0xd08d1535.

Solidity: function subNameProfit(uint256 cost, uint8 typ, address rOwner) returns()

func (*BasMinerTransactorSession) TransferContractOwnership

func (_BasMiner *BasMinerTransactorSession) TransferContractOwnership(newOwner common.Address) (*types.Transaction, error)

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) 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 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) Accountant

func (_BasOANN *BasOANNCaller) Accountant(opts *bind.CallOpts) (common.Address, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() constant returns(address)

func (*BasOANNCaller) Asset

func (_BasOANN *BasOANNCaller) Asset(opts *bind.CallOpts) (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() 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) ContractOwner

func (_BasOANN *BasOANNCaller) ContractOwner(opts *bind.CallOpts) (common.Address, error)

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() constant returns(address)

func (*BasOANNCaller) EvalueRootPrice

func (_BasOANN *BasOANNCaller) EvalueRootPrice(opts *bind.CallOpts, name []byte, isCustomed bool, durationInYear uint8) (struct {
	IsValid bool
	IsARoot bool
	Cost    *big.Int
}, error)

EvalueRootPrice is a free data retrieval call binding the contract method 0xe4ede0c5.

Solidity: function evalueRootPrice(bytes name, bool isCustomed, uint8 durationInYear) constant returns(bool isValid, bool isARoot, uint256 cost)

func (*BasOANNCaller) EvalueSubPrice

func (_BasOANN *BasOANNCaller) EvalueSubPrice(opts *bind.CallOpts, rName []byte, sName []byte, durationInYear uint8) (struct {
	IsValid    bool
	RootOwner  common.Address
	IsCustomed bool
	Cost       *big.Int
}, error)

EvalueSubPrice is a free data retrieval call binding the contract method 0x413e637d.

Solidity: function evalueSubPrice(bytes rName, bytes sName, uint8 durationInYear) constant returns(bool isValid, address rootOwner, bool isCustomed, uint256 cost)

func (*BasOANNCaller) MAXDAYSREG

func (_BasOANN *BasOANNCaller) MAXDAYSREG(opts *bind.CallOpts) (*big.Int, error)

MAXDAYSREG is a free data retrieval call binding the contract method 0x46a01a1a.

Solidity: function MAX_DAYS_REG() constant returns(uint256)

func (*BasOANNCaller) MAXYEARREG

func (_BasOANN *BasOANNCaller) MAXYEARREG(opts *bind.CallOpts) (*big.Int, error)

MAXYEARREG is a free data retrieval call binding the contract method 0x5286fed7.

Solidity: function MAX_YEAR_REG() 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) Token

func (_BasOANN *BasOANNCaller) 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)

func (*BasOANNCaller) ValidDuration

func (_BasOANN *BasOANNCaller) ValidDuration(opts *bind.CallOpts, d uint8) (bool, error)

ValidDuration is a free data retrieval call binding the contract method 0x2b1e49e4.

Solidity: function validDuration(uint8 d) 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) Accountant

func (_BasOANN *BasOANNCallerSession) Accountant() (common.Address, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() constant returns(address)

func (*BasOANNCallerSession) Asset

func (_BasOANN *BasOANNCallerSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() 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) ContractOwner

func (_BasOANN *BasOANNCallerSession) ContractOwner() (common.Address, error)

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() constant returns(address)

func (*BasOANNCallerSession) EvalueRootPrice

func (_BasOANN *BasOANNCallerSession) EvalueRootPrice(name []byte, isCustomed bool, durationInYear uint8) (struct {
	IsValid bool
	IsARoot bool
	Cost    *big.Int
}, error)

EvalueRootPrice is a free data retrieval call binding the contract method 0xe4ede0c5.

Solidity: function evalueRootPrice(bytes name, bool isCustomed, uint8 durationInYear) constant returns(bool isValid, bool isARoot, uint256 cost)

func (*BasOANNCallerSession) EvalueSubPrice

func (_BasOANN *BasOANNCallerSession) EvalueSubPrice(rName []byte, sName []byte, durationInYear uint8) (struct {
	IsValid    bool
	RootOwner  common.Address
	IsCustomed bool
	Cost       *big.Int
}, error)

EvalueSubPrice is a free data retrieval call binding the contract method 0x413e637d.

Solidity: function evalueSubPrice(bytes rName, bytes sName, uint8 durationInYear) constant returns(bool isValid, address rootOwner, bool isCustomed, uint256 cost)

func (*BasOANNCallerSession) MAXDAYSREG

func (_BasOANN *BasOANNCallerSession) MAXDAYSREG() (*big.Int, error)

MAXDAYSREG is a free data retrieval call binding the contract method 0x46a01a1a.

Solidity: function MAX_DAYS_REG() constant returns(uint256)

func (*BasOANNCallerSession) MAXYEARREG

func (_BasOANN *BasOANNCallerSession) MAXYEARREG() (*big.Int, error)

MAXYEARREG is a free data retrieval call binding the contract method 0x5286fed7.

Solidity: function MAX_YEAR_REG() 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) Token

func (_BasOANN *BasOANNCallerSession) Token() (common.Address, error)

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

Solidity: function token() constant returns(address)

func (*BasOANNCallerSession) ValidDuration

func (_BasOANN *BasOANNCallerSession) ValidDuration(d uint8) (bool, error)

ValidDuration is a free data retrieval call binding the contract method 0x2b1e49e4.

Solidity: function validDuration(uint8 d) 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.

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) 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) Accountant

func (_BasOANN *BasOANNSession) Accountant() (common.Address, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() constant returns(address)

func (*BasOANNSession) Asset

func (_BasOANN *BasOANNSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() 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) ChangeAccountant

func (_BasOANN *BasOANNSession) ChangeAccountant(newM common.Address) (*types.Transaction, error)

ChangeAccountant is a paid mutator transaction binding the contract method 0xfad68b30.

Solidity: function changeAccountant(address newM) returns()

func (*BasOANNSession) ChangeAsset

func (_BasOANN *BasOANNSession) ChangeAsset(newA common.Address) (*types.Transaction, error)

ChangeAsset is a paid mutator transaction binding the contract method 0x10bbb707.

Solidity: function changeAsset(address newA) returns()

func (*BasOANNSession) ChangeToken

func (_BasOANN *BasOANNSession) ChangeToken(newT common.Address) (*types.Transaction, error)

ChangeToken is a paid mutator transaction binding the contract method 0x66829b16.

Solidity: function changeToken(address newT) returns()

func (*BasOANNSession) ContractOwner

func (_BasOANN *BasOANNSession) ContractOwner() (common.Address, error)

ContractOwner is a free data retrieval call binding the contract method 0x5a63fbc9.

Solidity: function ContractOwner() constant returns(address)

func (*BasOANNSession) EvalueRootPrice

func (_BasOANN *BasOANNSession) EvalueRootPrice(name []byte, isCustomed bool, durationInYear uint8) (struct {
	IsValid bool
	IsARoot bool
	Cost    *big.Int
}, error)

EvalueRootPrice is a free data retrieval call binding the contract method 0xe4ede0c5.

Solidity: function evalueRootPrice(bytes name, bool isCustomed, uint8 durationInYear) constant returns(bool isValid, bool isARoot, uint256 cost)

func (*BasOANNSession) EvalueSubPrice

func (_BasOANN *BasOANNSession) EvalueSubPrice(rName []byte, sName []byte, durationInYear uint8) (struct {
	IsValid    bool
	RootOwner  common.Address
	IsCustomed bool
	Cost       *big.Int
}, error)

EvalueSubPrice is a free data retrieval call binding the contract method 0x413e637d.

Solidity: function evalueSubPrice(bytes rName, bytes sName, uint8 durationInYear) constant returns(bool isValid, address rootOwner, bool isCustomed, uint256 cost)

func (*BasOANNSession) MAXDAYSREG

func (_BasOANN *BasOANNSession) MAXDAYSREG() (*big.Int, error)

MAXDAYSREG is a free data retrieval call binding the contract method 0x46a01a1a.

Solidity: function MAX_DAYS_REG() constant returns(uint256)

func (*BasOANNSession) MAXYEARREG

func (_BasOANN *BasOANNSession) MAXYEARREG() (*big.Int, error)

MAXYEARREG is a free data retrieval call binding the contract method 0x5286fed7.

Solidity: function MAX_YEAR_REG() constant returns(uint256)

func (*BasOANNSession) OpenCustomedPrice

func (_BasOANN *BasOANNSession) OpenCustomedPrice(rootHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 rootHash, uint256 price) returns()

func (*BasOANNSession) RechargeRoot

func (_BasOANN *BasOANNSession) RechargeRoot(nameHash [32]byte, durationInYear uint8) (*types.Transaction, error)

RechargeRoot is a paid mutator transaction binding the contract method 0x79607e1f.

Solidity: function rechargeRoot(bytes32 nameHash, uint8 durationInYear) returns()

func (*BasOANNSession) RechargeSub

func (_BasOANN *BasOANNSession) RechargeSub(nameHash [32]byte, durationInYear uint8) (*types.Transaction, error)

RechargeSub is a paid mutator transaction binding the contract method 0x6f6c774a.

Solidity: function rechargeSub(bytes32 nameHash, 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) Token

func (_BasOANN *BasOANNSession) Token() (common.Address, error)

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

Solidity: function token() constant returns(address)

func (*BasOANNSession) TransferContractOwnership

func (_BasOANN *BasOANNSession) TransferContractOwnership(newOwner common.Address) (*types.Transaction, error)

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) returns()

func (*BasOANNSession) ValidDuration

func (_BasOANN *BasOANNSession) ValidDuration(d uint8) (bool, error)

ValidDuration is a free data retrieval call binding the contract method 0x2b1e49e4.

Solidity: function validDuration(uint8 d) constant returns(bool)

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) ChangeAccountant

func (_BasOANN *BasOANNTransactor) ChangeAccountant(opts *bind.TransactOpts, newM common.Address) (*types.Transaction, error)

ChangeAccountant is a paid mutator transaction binding the contract method 0xfad68b30.

Solidity: function changeAccountant(address newM) returns()

func (*BasOANNTransactor) ChangeAsset

func (_BasOANN *BasOANNTransactor) ChangeAsset(opts *bind.TransactOpts, newA common.Address) (*types.Transaction, error)

ChangeAsset is a paid mutator transaction binding the contract method 0x10bbb707.

Solidity: function changeAsset(address newA) returns()

func (*BasOANNTransactor) ChangeToken

func (_BasOANN *BasOANNTransactor) ChangeToken(opts *bind.TransactOpts, newT common.Address) (*types.Transaction, error)

ChangeToken is a paid mutator transaction binding the contract method 0x66829b16.

Solidity: function changeToken(address newT) returns()

func (*BasOANNTransactor) OpenCustomedPrice

func (_BasOANN *BasOANNTransactor) OpenCustomedPrice(opts *bind.TransactOpts, rootHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 rootHash, uint256 price) returns()

func (*BasOANNTransactor) RechargeRoot

func (_BasOANN *BasOANNTransactor) RechargeRoot(opts *bind.TransactOpts, nameHash [32]byte, durationInYear uint8) (*types.Transaction, error)

RechargeRoot is a paid mutator transaction binding the contract method 0x79607e1f.

Solidity: function rechargeRoot(bytes32 nameHash, uint8 durationInYear) returns()

func (*BasOANNTransactor) RechargeSub

func (_BasOANN *BasOANNTransactor) RechargeSub(opts *bind.TransactOpts, nameHash [32]byte, durationInYear uint8) (*types.Transaction, error)

RechargeSub is a paid mutator transaction binding the contract method 0x6f6c774a.

Solidity: function rechargeSub(bytes32 nameHash, 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) TransferContractOwnership

func (_BasOANN *BasOANNTransactor) TransferContractOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) 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) ChangeAccountant

func (_BasOANN *BasOANNTransactorSession) ChangeAccountant(newM common.Address) (*types.Transaction, error)

ChangeAccountant is a paid mutator transaction binding the contract method 0xfad68b30.

Solidity: function changeAccountant(address newM) returns()

func (*BasOANNTransactorSession) ChangeAsset

func (_BasOANN *BasOANNTransactorSession) ChangeAsset(newA common.Address) (*types.Transaction, error)

ChangeAsset is a paid mutator transaction binding the contract method 0x10bbb707.

Solidity: function changeAsset(address newA) returns()

func (*BasOANNTransactorSession) ChangeToken

func (_BasOANN *BasOANNTransactorSession) ChangeToken(newT common.Address) (*types.Transaction, error)

ChangeToken is a paid mutator transaction binding the contract method 0x66829b16.

Solidity: function changeToken(address newT) returns()

func (*BasOANNTransactorSession) OpenCustomedPrice

func (_BasOANN *BasOANNTransactorSession) OpenCustomedPrice(rootHash [32]byte, price *big.Int) (*types.Transaction, error)

OpenCustomedPrice is a paid mutator transaction binding the contract method 0x3d04f2fb.

Solidity: function openCustomedPrice(bytes32 rootHash, uint256 price) returns()

func (*BasOANNTransactorSession) RechargeRoot

func (_BasOANN *BasOANNTransactorSession) RechargeRoot(nameHash [32]byte, durationInYear uint8) (*types.Transaction, error)

RechargeRoot is a paid mutator transaction binding the contract method 0x79607e1f.

Solidity: function rechargeRoot(bytes32 nameHash, uint8 durationInYear) returns()

func (*BasOANNTransactorSession) RechargeSub

func (_BasOANN *BasOANNTransactorSession) RechargeSub(nameHash [32]byte, durationInYear uint8) (*types.Transaction, error)

RechargeSub is a paid mutator transaction binding the contract method 0x6f6c774a.

Solidity: function rechargeSub(bytes32 nameHash, 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) TransferContractOwnership

func (_BasOANN *BasOANNTransactorSession) TransferContractOwnership(newOwner common.Address) (*types.Transaction, error)

TransferContractOwnership is a paid mutator transaction binding the contract method 0xa843c51f.

Solidity: function transferContractOwnership(address newOwner) returns()

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