Documentation ¶
Index ¶
- Constants
- type BasView
- type BasViewCaller
- func (_BasView *BasViewCaller) CheckRootRegistry(opts *bind.CallOpts, name []byte, isCustom bool, cusPrice *big.Int, ...) (uint8, bool, *big.Int, error)
- func (_BasView *BasViewCaller) CheckSubRegistry(opts *bind.CallOpts, rName []byte, sName []byte, durationInYear *big.Int) (uint8, *big.Int, error)
- func (_BasView *BasViewCaller) DAOAddress(opts *bind.CallOpts) (common.Address, error)
- func (_BasView *BasViewCaller) DomainIsWild(opts *bind.CallOpts, hash [32]byte) (bool, error)
- func (_BasView *BasViewCaller) ErrorCode(opts *bind.CallOpts, arg0 uint8) (string, error)
- func (_BasView *BasViewCaller) GetOANNParams(opts *bind.CallOpts) (struct{ ... }, error)
- func (_BasView *BasViewCaller) QueryDomainConfigs(opts *bind.CallOpts, nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCaller) QueryDomainEmailInfo(opts *bind.CallOpts, nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCaller) QueryDomainInfo(opts *bind.CallOpts, nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCaller) QueryEmailInfo(opts *bind.CallOpts, mailHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCaller) QueryOrderInfo(opts *bind.CallOpts, seller common.Address, nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCaller) Rel(opts *bind.CallOpts) (common.Address, error)
- type BasViewCallerRaw
- type BasViewCallerSession
- func (_BasView *BasViewCallerSession) CheckRootRegistry(name []byte, isCustom bool, cusPrice *big.Int, durationInYear uint8) (uint8, bool, *big.Int, error)
- func (_BasView *BasViewCallerSession) CheckSubRegistry(rName []byte, sName []byte, durationInYear *big.Int) (uint8, *big.Int, error)
- func (_BasView *BasViewCallerSession) DAOAddress() (common.Address, error)
- func (_BasView *BasViewCallerSession) DomainIsWild(hash [32]byte) (bool, error)
- func (_BasView *BasViewCallerSession) ErrorCode(arg0 uint8) (string, error)
- func (_BasView *BasViewCallerSession) GetOANNParams() (struct{ ... }, error)
- func (_BasView *BasViewCallerSession) QueryDomainConfigs(nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCallerSession) QueryDomainEmailInfo(nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCallerSession) QueryDomainInfo(nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCallerSession) QueryEmailInfo(mailHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCallerSession) QueryOrderInfo(seller common.Address, nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewCallerSession) Rel() (common.Address, error)
- type BasViewFilterer
- type BasViewRaw
- func (_BasView *BasViewRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BasView *BasViewRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BasView *BasViewRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BasViewSession
- func (_BasView *BasViewSession) ChangeDAO(newDao common.Address) (*types.Transaction, error)
- func (_BasView *BasViewSession) ChangeRelation(new_rel common.Address) (*types.Transaction, error)
- func (_BasView *BasViewSession) CheckRootRegistry(name []byte, isCustom bool, cusPrice *big.Int, durationInYear uint8) (uint8, bool, *big.Int, error)
- func (_BasView *BasViewSession) CheckSubRegistry(rName []byte, sName []byte, durationInYear *big.Int) (uint8, *big.Int, error)
- func (_BasView *BasViewSession) DAOAddress() (common.Address, error)
- func (_BasView *BasViewSession) DomainIsWild(hash [32]byte) (bool, error)
- func (_BasView *BasViewSession) ErrorCode(arg0 uint8) (string, error)
- func (_BasView *BasViewSession) GetOANNParams() (struct{ ... }, error)
- func (_BasView *BasViewSession) QueryDomainConfigs(nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewSession) QueryDomainEmailInfo(nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewSession) QueryDomainInfo(nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewSession) QueryEmailInfo(mailHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewSession) QueryOrderInfo(seller common.Address, nameHash [32]byte) (struct{ ... }, error)
- func (_BasView *BasViewSession) Rel() (common.Address, error)
- func (_BasView *BasViewSession) SetErrorCode(index uint8, reason string) (*types.Transaction, error)
- type BasViewTransactor
- func (_BasView *BasViewTransactor) ChangeDAO(opts *bind.TransactOpts, newDao common.Address) (*types.Transaction, error)
- func (_BasView *BasViewTransactor) ChangeRelation(opts *bind.TransactOpts, new_rel common.Address) (*types.Transaction, error)
- func (_BasView *BasViewTransactor) SetErrorCode(opts *bind.TransactOpts, index uint8, reason string) (*types.Transaction, error)
- type BasViewTransactorRaw
- type BasViewTransactorSession
- func (_BasView *BasViewTransactorSession) ChangeDAO(newDao common.Address) (*types.Transaction, error)
- func (_BasView *BasViewTransactorSession) ChangeRelation(new_rel common.Address) (*types.Transaction, error)
- func (_BasView *BasViewTransactorSession) SetErrorCode(index uint8, reason string) (*types.Transaction, error)
Constants ¶
const BasViewABI = "" /* 6818-byte string literal not displayed */
BasViewABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasView ¶
type BasView struct { BasViewCaller // Read-only binding to the contract BasViewTransactor // Write-only binding to the contract BasViewFilterer // Log filterer for contract events }
BasView is an auto generated Go binding around an Ethereum contract.
func NewBasView ¶
NewBasView creates a new instance of BasView, bound to a specific deployed contract.
type BasViewCaller ¶
type BasViewCaller struct {
// contains filtered or unexported fields
}
BasViewCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBasViewCaller ¶
func NewBasViewCaller(address common.Address, caller bind.ContractCaller) (*BasViewCaller, error)
NewBasViewCaller creates a new read-only instance of BasView, bound to a specific deployed contract.
func (*BasViewCaller) CheckRootRegistry ¶
func (_BasView *BasViewCaller) CheckRootRegistry(opts *bind.CallOpts, name []byte, isCustom bool, cusPrice *big.Int, durationInYear uint8) (uint8, bool, *big.Int, error)
CheckRootRegistry is a free data retrieval call binding the contract method 0xa84ccbf4.
Solidity: function checkRootRegistry(bytes name, bool isCustom, uint256 cusPrice, uint8 durationInYear) view returns(uint8, bool, uint256)
func (*BasViewCaller) CheckSubRegistry ¶
func (_BasView *BasViewCaller) CheckSubRegistry(opts *bind.CallOpts, rName []byte, sName []byte, durationInYear *big.Int) (uint8, *big.Int, error)
CheckSubRegistry is a free data retrieval call binding the contract method 0xd13b893f.
Solidity: function checkSubRegistry(bytes rName, bytes sName, uint256 durationInYear) view returns(uint8, uint256)
func (*BasViewCaller) DAOAddress ¶
DAOAddress is a free data retrieval call binding the contract method 0xd392eab1.
Solidity: function DAOAddress() view returns(address)
func (*BasViewCaller) DomainIsWild ¶
DomainIsWild is a free data retrieval call binding the contract method 0x256dec96.
Solidity: function domainIsWild(bytes32 hash) view returns(bool)
func (*BasViewCaller) ErrorCode ¶
ErrorCode is a free data retrieval call binding the contract method 0x5d05fa53.
Solidity: function ErrorCode(uint8 ) view returns(string)
func (*BasViewCaller) GetOANNParams ¶
func (_BasView *BasViewCaller) GetOANNParams(opts *bind.CallOpts) (struct { MAXYEAR *big.Int AROOTGAS *big.Int BROOTGAS *big.Int SUBGAS *big.Int CUSTOMPRICEGAS *big.Int }, error)
GetOANNParams is a free data retrieval call binding the contract method 0xff32cd20.
Solidity: function getOANNParams() view returns(uint256 MAX_YEAR, uint256 AROOT_GAS, uint256 BROOT_GAS, uint256 SUB_GAS, uint256 CUSTOM_PRICE_GAS)
func (*BasViewCaller) QueryDomainConfigs ¶
func (_BasView *BasViewCaller) QueryDomainConfigs(opts *bind.CallOpts, nameHash [32]byte) (struct { A []byte AAAA []byte MX []byte BlockChain []byte IOTA []byte CName []byte MXBCA []byte }, error)
QueryDomainConfigs is a free data retrieval call binding the contract method 0x4f69b3a2.
Solidity: function queryDomainConfigs(bytes32 nameHash) view returns(bytes A, bytes AAAA, bytes MX, bytes BlockChain, bytes IOTA, bytes CName, bytes MXBCA)
func (*BasViewCaller) QueryDomainEmailInfo ¶
func (_BasView *BasViewCaller) QueryDomainEmailInfo(opts *bind.CallOpts, nameHash [32]byte) (struct { Name []byte Owner common.Address Expiration *big.Int IsActive bool OpenToPublic bool }, error)
QueryDomainEmailInfo is a free data retrieval call binding the contract method 0x1f766f14.
Solidity: function queryDomainEmailInfo(bytes32 nameHash) view returns(bytes name, address owner, uint256 expiration, bool isActive, bool openToPublic)
func (*BasViewCaller) QueryDomainInfo ¶
func (_BasView *BasViewCaller) QueryDomainInfo(opts *bind.CallOpts, nameHash [32]byte) (struct { Name []byte Owner common.Address Expiration *big.Int IsRoot bool RIsOpen bool RIsCustom bool RIsRare bool RCusPrice *big.Int SRootHash [32]byte IsMarketOrder bool }, error)
QueryDomainInfo is a free data retrieval call binding the contract method 0x3870d91e.
Solidity: function queryDomainInfo(bytes32 nameHash) view returns(bytes name, address owner, uint256 expiration, bool isRoot, bool rIsOpen, bool rIsCustom, bool rIsRare, uint256 rCusPrice, bytes32 sRootHash, bool isMarketOrder)
func (*BasViewCaller) QueryEmailInfo ¶
func (_BasView *BasViewCaller) QueryEmailInfo(opts *bind.CallOpts, mailHash [32]byte) (struct { Owner common.Address Expiration *big.Int DomainHash [32]byte IsValid bool AliasName []byte BcAddress []byte }, error)
QueryEmailInfo is a free data retrieval call binding the contract method 0xa806e95c.
Solidity: function queryEmailInfo(bytes32 mailHash) view returns(address owner, uint256 expiration, bytes32 domainHash, bool isValid, bytes aliasName, bytes bcAddress)
func (*BasViewCaller) QueryOrderInfo ¶
func (_BasView *BasViewCaller) QueryOrderInfo(opts *bind.CallOpts, seller common.Address, nameHash [32]byte) (struct { Name []byte Price *big.Int IsValid bool }, error)
QueryOrderInfo is a free data retrieval call binding the contract method 0xd8d0db68.
Solidity: function queryOrderInfo(address seller, bytes32 nameHash) view returns(bytes name, uint256 price, bool isValid)
type BasViewCallerRaw ¶
type BasViewCallerRaw struct {
Contract *BasViewCaller // Generic read-only contract binding to access the raw methods on
}
BasViewCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BasViewCallerRaw) Call ¶
func (_BasView *BasViewCallerRaw) 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 BasViewCallerSession ¶
type BasViewCallerSession struct { Contract *BasViewCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BasViewCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BasViewCallerSession) CheckRootRegistry ¶
func (_BasView *BasViewCallerSession) CheckRootRegistry(name []byte, isCustom bool, cusPrice *big.Int, durationInYear uint8) (uint8, bool, *big.Int, error)
CheckRootRegistry is a free data retrieval call binding the contract method 0xa84ccbf4.
Solidity: function checkRootRegistry(bytes name, bool isCustom, uint256 cusPrice, uint8 durationInYear) view returns(uint8, bool, uint256)
func (*BasViewCallerSession) CheckSubRegistry ¶
func (_BasView *BasViewCallerSession) CheckSubRegistry(rName []byte, sName []byte, durationInYear *big.Int) (uint8, *big.Int, error)
CheckSubRegistry is a free data retrieval call binding the contract method 0xd13b893f.
Solidity: function checkSubRegistry(bytes rName, bytes sName, uint256 durationInYear) view returns(uint8, uint256)
func (*BasViewCallerSession) DAOAddress ¶
func (_BasView *BasViewCallerSession) DAOAddress() (common.Address, error)
DAOAddress is a free data retrieval call binding the contract method 0xd392eab1.
Solidity: function DAOAddress() view returns(address)
func (*BasViewCallerSession) DomainIsWild ¶
func (_BasView *BasViewCallerSession) DomainIsWild(hash [32]byte) (bool, error)
DomainIsWild is a free data retrieval call binding the contract method 0x256dec96.
Solidity: function domainIsWild(bytes32 hash) view returns(bool)
func (*BasViewCallerSession) ErrorCode ¶
func (_BasView *BasViewCallerSession) ErrorCode(arg0 uint8) (string, error)
ErrorCode is a free data retrieval call binding the contract method 0x5d05fa53.
Solidity: function ErrorCode(uint8 ) view returns(string)
func (*BasViewCallerSession) GetOANNParams ¶
func (_BasView *BasViewCallerSession) GetOANNParams() (struct { MAXYEAR *big.Int AROOTGAS *big.Int BROOTGAS *big.Int SUBGAS *big.Int CUSTOMPRICEGAS *big.Int }, error)
GetOANNParams is a free data retrieval call binding the contract method 0xff32cd20.
Solidity: function getOANNParams() view returns(uint256 MAX_YEAR, uint256 AROOT_GAS, uint256 BROOT_GAS, uint256 SUB_GAS, uint256 CUSTOM_PRICE_GAS)
func (*BasViewCallerSession) QueryDomainConfigs ¶
func (_BasView *BasViewCallerSession) QueryDomainConfigs(nameHash [32]byte) (struct { A []byte AAAA []byte MX []byte BlockChain []byte IOTA []byte CName []byte MXBCA []byte }, error)
QueryDomainConfigs is a free data retrieval call binding the contract method 0x4f69b3a2.
Solidity: function queryDomainConfigs(bytes32 nameHash) view returns(bytes A, bytes AAAA, bytes MX, bytes BlockChain, bytes IOTA, bytes CName, bytes MXBCA)
func (*BasViewCallerSession) QueryDomainEmailInfo ¶
func (_BasView *BasViewCallerSession) QueryDomainEmailInfo(nameHash [32]byte) (struct { Name []byte Owner common.Address Expiration *big.Int IsActive bool OpenToPublic bool }, error)
QueryDomainEmailInfo is a free data retrieval call binding the contract method 0x1f766f14.
Solidity: function queryDomainEmailInfo(bytes32 nameHash) view returns(bytes name, address owner, uint256 expiration, bool isActive, bool openToPublic)
func (*BasViewCallerSession) QueryDomainInfo ¶
func (_BasView *BasViewCallerSession) QueryDomainInfo(nameHash [32]byte) (struct { Name []byte Owner common.Address Expiration *big.Int IsRoot bool RIsOpen bool RIsCustom bool RIsRare bool RCusPrice *big.Int SRootHash [32]byte IsMarketOrder bool }, error)
QueryDomainInfo is a free data retrieval call binding the contract method 0x3870d91e.
Solidity: function queryDomainInfo(bytes32 nameHash) view returns(bytes name, address owner, uint256 expiration, bool isRoot, bool rIsOpen, bool rIsCustom, bool rIsRare, uint256 rCusPrice, bytes32 sRootHash, bool isMarketOrder)
func (*BasViewCallerSession) QueryEmailInfo ¶
func (_BasView *BasViewCallerSession) QueryEmailInfo(mailHash [32]byte) (struct { Owner common.Address Expiration *big.Int DomainHash [32]byte IsValid bool AliasName []byte BcAddress []byte }, error)
QueryEmailInfo is a free data retrieval call binding the contract method 0xa806e95c.
Solidity: function queryEmailInfo(bytes32 mailHash) view returns(address owner, uint256 expiration, bytes32 domainHash, bool isValid, bytes aliasName, bytes bcAddress)
func (*BasViewCallerSession) QueryOrderInfo ¶
func (_BasView *BasViewCallerSession) QueryOrderInfo(seller common.Address, nameHash [32]byte) (struct { Name []byte Price *big.Int IsValid bool }, error)
QueryOrderInfo is a free data retrieval call binding the contract method 0xd8d0db68.
Solidity: function queryOrderInfo(address seller, bytes32 nameHash) view returns(bytes name, uint256 price, bool isValid)
type BasViewFilterer ¶
type BasViewFilterer struct {
// contains filtered or unexported fields
}
BasViewFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBasViewFilterer ¶
func NewBasViewFilterer(address common.Address, filterer bind.ContractFilterer) (*BasViewFilterer, error)
NewBasViewFilterer creates a new log filterer instance of BasView, bound to a specific deployed contract.
type BasViewRaw ¶
type BasViewRaw struct {
Contract *BasView // Generic contract binding to access the raw methods on
}
BasViewRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BasViewRaw) Call ¶
func (_BasView *BasViewRaw) 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 (*BasViewRaw) Transact ¶
func (_BasView *BasViewRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasViewRaw) Transfer ¶
func (_BasView *BasViewRaw) 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 BasViewSession ¶
type BasViewSession struct { Contract *BasView // 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 }
BasViewSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BasViewSession) ChangeDAO ¶
func (_BasView *BasViewSession) ChangeDAO(newDao common.Address) (*types.Transaction, error)
ChangeDAO is a paid mutator transaction binding the contract method 0x8a42876b.
Solidity: function ChangeDAO(address newDao) returns()
func (*BasViewSession) ChangeRelation ¶
func (_BasView *BasViewSession) ChangeRelation(new_rel common.Address) (*types.Transaction, error)
ChangeRelation is a paid mutator transaction binding the contract method 0x57b29ef4.
Solidity: function changeRelation(address new_rel) returns()
func (*BasViewSession) CheckRootRegistry ¶
func (_BasView *BasViewSession) CheckRootRegistry(name []byte, isCustom bool, cusPrice *big.Int, durationInYear uint8) (uint8, bool, *big.Int, error)
CheckRootRegistry is a free data retrieval call binding the contract method 0xa84ccbf4.
Solidity: function checkRootRegistry(bytes name, bool isCustom, uint256 cusPrice, uint8 durationInYear) view returns(uint8, bool, uint256)
func (*BasViewSession) CheckSubRegistry ¶
func (_BasView *BasViewSession) CheckSubRegistry(rName []byte, sName []byte, durationInYear *big.Int) (uint8, *big.Int, error)
CheckSubRegistry is a free data retrieval call binding the contract method 0xd13b893f.
Solidity: function checkSubRegistry(bytes rName, bytes sName, uint256 durationInYear) view returns(uint8, uint256)
func (*BasViewSession) DAOAddress ¶
func (_BasView *BasViewSession) DAOAddress() (common.Address, error)
DAOAddress is a free data retrieval call binding the contract method 0xd392eab1.
Solidity: function DAOAddress() view returns(address)
func (*BasViewSession) DomainIsWild ¶
func (_BasView *BasViewSession) DomainIsWild(hash [32]byte) (bool, error)
DomainIsWild is a free data retrieval call binding the contract method 0x256dec96.
Solidity: function domainIsWild(bytes32 hash) view returns(bool)
func (*BasViewSession) ErrorCode ¶
func (_BasView *BasViewSession) ErrorCode(arg0 uint8) (string, error)
ErrorCode is a free data retrieval call binding the contract method 0x5d05fa53.
Solidity: function ErrorCode(uint8 ) view returns(string)
func (*BasViewSession) GetOANNParams ¶
func (_BasView *BasViewSession) GetOANNParams() (struct { MAXYEAR *big.Int AROOTGAS *big.Int BROOTGAS *big.Int SUBGAS *big.Int CUSTOMPRICEGAS *big.Int }, error)
GetOANNParams is a free data retrieval call binding the contract method 0xff32cd20.
Solidity: function getOANNParams() view returns(uint256 MAX_YEAR, uint256 AROOT_GAS, uint256 BROOT_GAS, uint256 SUB_GAS, uint256 CUSTOM_PRICE_GAS)
func (*BasViewSession) QueryDomainConfigs ¶
func (_BasView *BasViewSession) QueryDomainConfigs(nameHash [32]byte) (struct { A []byte AAAA []byte MX []byte BlockChain []byte IOTA []byte CName []byte MXBCA []byte }, error)
QueryDomainConfigs is a free data retrieval call binding the contract method 0x4f69b3a2.
Solidity: function queryDomainConfigs(bytes32 nameHash) view returns(bytes A, bytes AAAA, bytes MX, bytes BlockChain, bytes IOTA, bytes CName, bytes MXBCA)
func (*BasViewSession) QueryDomainEmailInfo ¶
func (_BasView *BasViewSession) QueryDomainEmailInfo(nameHash [32]byte) (struct { Name []byte Owner common.Address Expiration *big.Int IsActive bool OpenToPublic bool }, error)
QueryDomainEmailInfo is a free data retrieval call binding the contract method 0x1f766f14.
Solidity: function queryDomainEmailInfo(bytes32 nameHash) view returns(bytes name, address owner, uint256 expiration, bool isActive, bool openToPublic)
func (*BasViewSession) QueryDomainInfo ¶
func (_BasView *BasViewSession) QueryDomainInfo(nameHash [32]byte) (struct { Name []byte Owner common.Address Expiration *big.Int IsRoot bool RIsOpen bool RIsCustom bool RIsRare bool RCusPrice *big.Int SRootHash [32]byte IsMarketOrder bool }, error)
QueryDomainInfo is a free data retrieval call binding the contract method 0x3870d91e.
Solidity: function queryDomainInfo(bytes32 nameHash) view returns(bytes name, address owner, uint256 expiration, bool isRoot, bool rIsOpen, bool rIsCustom, bool rIsRare, uint256 rCusPrice, bytes32 sRootHash, bool isMarketOrder)
func (*BasViewSession) QueryEmailInfo ¶
func (_BasView *BasViewSession) QueryEmailInfo(mailHash [32]byte) (struct { Owner common.Address Expiration *big.Int DomainHash [32]byte IsValid bool AliasName []byte BcAddress []byte }, error)
QueryEmailInfo is a free data retrieval call binding the contract method 0xa806e95c.
Solidity: function queryEmailInfo(bytes32 mailHash) view returns(address owner, uint256 expiration, bytes32 domainHash, bool isValid, bytes aliasName, bytes bcAddress)
func (*BasViewSession) QueryOrderInfo ¶
func (_BasView *BasViewSession) QueryOrderInfo(seller common.Address, nameHash [32]byte) (struct { Name []byte Price *big.Int IsValid bool }, error)
QueryOrderInfo is a free data retrieval call binding the contract method 0xd8d0db68.
Solidity: function queryOrderInfo(address seller, bytes32 nameHash) view returns(bytes name, uint256 price, bool isValid)
func (*BasViewSession) Rel ¶
func (_BasView *BasViewSession) Rel() (common.Address, error)
Rel is a free data retrieval call binding the contract method 0xce26e78a.
Solidity: function rel() view returns(address)
func (*BasViewSession) SetErrorCode ¶
func (_BasView *BasViewSession) SetErrorCode(index uint8, reason string) (*types.Transaction, error)
SetErrorCode is a paid mutator transaction binding the contract method 0x4411c158.
Solidity: function setErrorCode(uint8 index, string reason) returns()
type BasViewTransactor ¶
type BasViewTransactor struct {
// contains filtered or unexported fields
}
BasViewTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBasViewTransactor ¶
func NewBasViewTransactor(address common.Address, transactor bind.ContractTransactor) (*BasViewTransactor, error)
NewBasViewTransactor creates a new write-only instance of BasView, bound to a specific deployed contract.
func (*BasViewTransactor) ChangeDAO ¶
func (_BasView *BasViewTransactor) ChangeDAO(opts *bind.TransactOpts, newDao common.Address) (*types.Transaction, error)
ChangeDAO is a paid mutator transaction binding the contract method 0x8a42876b.
Solidity: function ChangeDAO(address newDao) returns()
func (*BasViewTransactor) ChangeRelation ¶
func (_BasView *BasViewTransactor) ChangeRelation(opts *bind.TransactOpts, new_rel common.Address) (*types.Transaction, error)
ChangeRelation is a paid mutator transaction binding the contract method 0x57b29ef4.
Solidity: function changeRelation(address new_rel) returns()
func (*BasViewTransactor) SetErrorCode ¶
func (_BasView *BasViewTransactor) SetErrorCode(opts *bind.TransactOpts, index uint8, reason string) (*types.Transaction, error)
SetErrorCode is a paid mutator transaction binding the contract method 0x4411c158.
Solidity: function setErrorCode(uint8 index, string reason) returns()
type BasViewTransactorRaw ¶
type BasViewTransactorRaw struct {
Contract *BasViewTransactor // Generic write-only contract binding to access the raw methods on
}
BasViewTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BasViewTransactorRaw) Transact ¶
func (_BasView *BasViewTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasViewTransactorRaw) Transfer ¶
func (_BasView *BasViewTransactorRaw) 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 BasViewTransactorSession ¶
type BasViewTransactorSession struct { Contract *BasViewTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BasViewTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BasViewTransactorSession) ChangeDAO ¶
func (_BasView *BasViewTransactorSession) ChangeDAO(newDao common.Address) (*types.Transaction, error)
ChangeDAO is a paid mutator transaction binding the contract method 0x8a42876b.
Solidity: function ChangeDAO(address newDao) returns()
func (*BasViewTransactorSession) ChangeRelation ¶
func (_BasView *BasViewTransactorSession) ChangeRelation(new_rel common.Address) (*types.Transaction, error)
ChangeRelation is a paid mutator transaction binding the contract method 0x57b29ef4.
Solidity: function changeRelation(address new_rel) returns()
func (*BasViewTransactorSession) SetErrorCode ¶
func (_BasView *BasViewTransactorSession) SetErrorCode(index uint8, reason string) (*types.Transaction, error)
SetErrorCode is a paid mutator transaction binding the contract method 0x4411c158.
Solidity: function setErrorCode(uint8 index, string reason) returns()