Documentation ¶
Index ¶
- Constants
- type Directory
- type DirectoryCaller
- func (_Directory *DirectoryCaller) AccountLookup(opts *bind.CallOpts, owner common.Address) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCaller) ExistsByKey(opts *bind.CallOpts, parentNode [32]byte, key [32]byte) (bool, error)
- func (_Directory *DirectoryCaller) ExistsByName(opts *bind.CallOpts, parentNode [32]byte, name string) (bool, error)
- func (_Directory *DirectoryCaller) GetAccountByIndex(opts *bind.CallOpts, parentNode [32]byte, key [32]byte, index *big.Int) (string, common.Address, string, error)
- func (_Directory *DirectoryCaller) GetAccountCount(opts *bind.CallOpts, parentNode [32]byte, key [32]byte) (*big.Int, error)
- func (_Directory *DirectoryCaller) GetAccountVersion(opts *bind.CallOpts, parentNode [32]byte, key [32]byte, index *big.Int) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCaller) GetAccountVersionByName(opts *bind.CallOpts, parentNode [32]byte, name string, index *big.Int) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCaller) GetContractVersion(opts *bind.CallOpts) (string, error)
- func (_Directory *DirectoryCaller) GetLatestAccount(opts *bind.CallOpts, parentNode [32]byte, key [32]byte) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCaller) GetLatestAccountByName(opts *bind.CallOpts, parentNode [32]byte, name string) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCaller) NodeChild(opts *bind.CallOpts, parentNode [32]byte, index uint8) ([32]byte, string, error)
- func (_Directory *DirectoryCaller) NodeChildrenCount(opts *bind.CallOpts, nodeHash [32]byte) (*big.Int, error)
- func (_Directory *DirectoryCaller) NodeDetails(opts *bind.CallOpts, nodeHash [32]byte) (common.Address, string, [32]byte, string, *big.Int, *big.Int, common.Address, ...)
- func (_Directory *DirectoryCaller) NodeKey(opts *bind.CallOpts, index uint8) ([32]byte, error)
- func (_Directory *DirectoryCaller) NodeLabel(opts *bind.CallOpts, nodeHash [32]byte) (string, error)
- func (_Directory *DirectoryCaller) NodeOwner(opts *bind.CallOpts, nodeHash [32]byte) (common.Address, error)
- func (_Directory *DirectoryCaller) NodeProof(opts *bind.CallOpts, nodeHash [32]byte) (string, error)
- func (_Directory *DirectoryCaller) NodeUser(opts *bind.CallOpts, nodeHash [32]byte, index uint8) ([32]byte, [32]byte, common.Address, string, error)
- func (_Directory *DirectoryCaller) NodeUsersCount(opts *bind.CallOpts, nodeHash [32]byte) (*big.Int, error)
- func (_Directory *DirectoryCaller) NodesCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Directory *DirectoryCaller) User(opts *bind.CallOpts, userId [32]byte) ([32]byte, [32]byte, common.Address, string, error)
- func (_Directory *DirectoryCaller) UserKey(opts *bind.CallOpts, index uint8) ([32]byte, error)
- func (_Directory *DirectoryCaller) UserName(opts *bind.CallOpts, userId [32]byte) (string, error)
- func (_Directory *DirectoryCaller) UserOwner(opts *bind.CallOpts, userId [32]byte) (common.Address, error)
- func (_Directory *DirectoryCaller) UserProfile(opts *bind.CallOpts, userId [32]byte) (common.Address, error)
- func (_Directory *DirectoryCaller) UsersCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Directory *DirectoryCaller) VersionsByKey(opts *bind.CallOpts, parentNode [32]byte, key [32]byte) (*big.Int, error)
- func (_Directory *DirectoryCaller) VersionsByName(opts *bind.CallOpts, parentNode [32]byte, name string) (*big.Int, error)
- type DirectoryCallerRaw
- type DirectoryCallerSession
- func (_Directory *DirectoryCallerSession) AccountLookup(owner common.Address) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCallerSession) ExistsByKey(parentNode [32]byte, key [32]byte) (bool, error)
- func (_Directory *DirectoryCallerSession) ExistsByName(parentNode [32]byte, name string) (bool, error)
- func (_Directory *DirectoryCallerSession) GetAccountByIndex(parentNode [32]byte, key [32]byte, index *big.Int) (string, common.Address, string, error)
- func (_Directory *DirectoryCallerSession) GetAccountCount(parentNode [32]byte, key [32]byte) (*big.Int, error)
- func (_Directory *DirectoryCallerSession) GetAccountVersion(parentNode [32]byte, key [32]byte, index *big.Int) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCallerSession) GetAccountVersionByName(parentNode [32]byte, name string, index *big.Int) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCallerSession) GetContractVersion() (string, error)
- func (_Directory *DirectoryCallerSession) GetLatestAccount(parentNode [32]byte, key [32]byte) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCallerSession) GetLatestAccountByName(parentNode [32]byte, name string) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectoryCallerSession) NodeChild(parentNode [32]byte, index uint8) ([32]byte, string, error)
- func (_Directory *DirectoryCallerSession) NodeChildrenCount(nodeHash [32]byte) (*big.Int, error)
- func (_Directory *DirectoryCallerSession) NodeDetails(nodeHash [32]byte) (common.Address, string, [32]byte, string, *big.Int, *big.Int, common.Address, ...)
- func (_Directory *DirectoryCallerSession) NodeKey(index uint8) ([32]byte, error)
- func (_Directory *DirectoryCallerSession) NodeLabel(nodeHash [32]byte) (string, error)
- func (_Directory *DirectoryCallerSession) NodeOwner(nodeHash [32]byte) (common.Address, error)
- func (_Directory *DirectoryCallerSession) NodeProof(nodeHash [32]byte) (string, error)
- func (_Directory *DirectoryCallerSession) NodeUser(nodeHash [32]byte, index uint8) ([32]byte, [32]byte, common.Address, string, error)
- func (_Directory *DirectoryCallerSession) NodeUsersCount(nodeHash [32]byte) (*big.Int, error)
- func (_Directory *DirectoryCallerSession) NodesCount() (*big.Int, error)
- func (_Directory *DirectoryCallerSession) User(userId [32]byte) ([32]byte, [32]byte, common.Address, string, error)
- func (_Directory *DirectoryCallerSession) UserKey(index uint8) ([32]byte, error)
- func (_Directory *DirectoryCallerSession) UserName(userId [32]byte) (string, error)
- func (_Directory *DirectoryCallerSession) UserOwner(userId [32]byte) (common.Address, error)
- func (_Directory *DirectoryCallerSession) UserProfile(userId [32]byte) (common.Address, error)
- func (_Directory *DirectoryCallerSession) UsersCount() (*big.Int, error)
- func (_Directory *DirectoryCallerSession) VersionsByKey(parentNode [32]byte, key [32]byte) (*big.Int, error)
- func (_Directory *DirectoryCallerSession) VersionsByName(parentNode [32]byte, name string) (*big.Int, error)
- type DirectoryCannotOverwriteAccount
- type DirectoryCannotOverwriteAccountIterator
- type DirectoryFilterer
- func (_Directory *DirectoryFilterer) FilterCannotOverwriteAccount(opts *bind.FilterOpts) (*DirectoryCannotOverwriteAccountIterator, error)
- func (_Directory *DirectoryFilterer) FilterNewAccountValue(opts *bind.FilterOpts, parentNode [][32]byte) (*DirectoryNewAccountValueIterator, error)
- func (_Directory *DirectoryFilterer) FilterNewOwner(opts *bind.FilterOpts, parentNode [][32]byte, nodeHash [][32]byte) (*DirectoryNewOwnerIterator, error)
- func (_Directory *DirectoryFilterer) FilterNewUser(opts *bind.FilterOpts, userId [][32]byte, orgId [][32]byte) (*DirectoryNewUserIterator, error)
- func (_Directory *DirectoryFilterer) FilterTransfer(opts *bind.FilterOpts, nodeHash [][32]byte) (*DirectoryTransferIterator, error)
- func (_Directory *DirectoryFilterer) WatchCannotOverwriteAccount(opts *bind.WatchOpts, sink chan<- *DirectoryCannotOverwriteAccount) (event.Subscription, error)
- func (_Directory *DirectoryFilterer) WatchNewAccountValue(opts *bind.WatchOpts, sink chan<- *DirectoryNewAccountValue, ...) (event.Subscription, error)
- func (_Directory *DirectoryFilterer) WatchNewOwner(opts *bind.WatchOpts, sink chan<- *DirectoryNewOwner, parentNode [][32]byte, ...) (event.Subscription, error)
- func (_Directory *DirectoryFilterer) WatchNewUser(opts *bind.WatchOpts, sink chan<- *DirectoryNewUser, userId [][32]byte, ...) (event.Subscription, error)
- func (_Directory *DirectoryFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DirectoryTransfer, nodeHash [][32]byte) (event.Subscription, error)
- type DirectoryNewAccountValue
- type DirectoryNewAccountValueIterator
- type DirectoryNewOwner
- type DirectoryNewOwnerIterator
- type DirectoryNewUser
- type DirectoryNewUserIterator
- type DirectoryRaw
- func (_Directory *DirectoryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Directory *DirectoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Directory *DirectoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DirectorySession
- func (_Directory *DirectorySession) AccountLookup(owner common.Address) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectorySession) ExistsByKey(parentNode [32]byte, key [32]byte) (bool, error)
- func (_Directory *DirectorySession) ExistsByName(parentNode [32]byte, name string) (bool, error)
- func (_Directory *DirectorySession) GetAccountByIndex(parentNode [32]byte, key [32]byte, index *big.Int) (string, common.Address, string, error)
- func (_Directory *DirectorySession) GetAccountCount(parentNode [32]byte, key [32]byte) (*big.Int, error)
- func (_Directory *DirectorySession) GetAccountVersion(parentNode [32]byte, key [32]byte, index *big.Int) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectorySession) GetAccountVersionByName(parentNode [32]byte, name string, index *big.Int) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectorySession) GetContractVersion() (string, error)
- func (_Directory *DirectorySession) GetLatestAccount(parentNode [32]byte, key [32]byte) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectorySession) GetLatestAccountByName(parentNode [32]byte, name string) ([32]byte, string, string, common.Address, string, error)
- func (_Directory *DirectorySession) NodeChild(parentNode [32]byte, index uint8) ([32]byte, string, error)
- func (_Directory *DirectorySession) NodeChildrenCount(nodeHash [32]byte) (*big.Int, error)
- func (_Directory *DirectorySession) NodeDetails(nodeHash [32]byte) (common.Address, string, [32]byte, string, *big.Int, *big.Int, common.Address, ...)
- func (_Directory *DirectorySession) NodeKey(index uint8) ([32]byte, error)
- func (_Directory *DirectorySession) NodeLabel(nodeHash [32]byte) (string, error)
- func (_Directory *DirectorySession) NodeOwner(nodeHash [32]byte) (common.Address, error)
- func (_Directory *DirectorySession) NodeProof(nodeHash [32]byte) (string, error)
- func (_Directory *DirectorySession) NodeUser(nodeHash [32]byte, index uint8) ([32]byte, [32]byte, common.Address, string, error)
- func (_Directory *DirectorySession) NodeUsersCount(nodeHash [32]byte) (*big.Int, error)
- func (_Directory *DirectorySession) NodesCount() (*big.Int, error)
- func (_Directory *DirectorySession) ReleaseAccount(parentNode [32]byte, value common.Address) (*types.Transaction, error)
- func (_Directory *DirectorySession) SetAccount(parentNode [32]byte, name string, _value common.Address) (*types.Transaction, error)
- func (_Directory *DirectorySession) SetAccountVersion(parentNode [32]byte, name string, value common.Address, versionText string) (*types.Transaction, error)
- func (_Directory *DirectorySession) SetNodeDetails(parentNode [32]byte, label string, proof string, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectorySession) SetNodeDetailsEx(parentNode [32]byte, label string, proof string, owner common.Address, ...) (*types.Transaction, error)
- func (_Directory *DirectorySession) SetNodeOwner(nodeHash [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectorySession) SetUserDetails(nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectorySession) SetUserDetailsEx(nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectorySession) User(userId [32]byte) ([32]byte, [32]byte, common.Address, string, error)
- func (_Directory *DirectorySession) UserKey(index uint8) ([32]byte, error)
- func (_Directory *DirectorySession) UserName(userId [32]byte) (string, error)
- func (_Directory *DirectorySession) UserOwner(userId [32]byte) (common.Address, error)
- func (_Directory *DirectorySession) UserProfile(userId [32]byte) (common.Address, error)
- func (_Directory *DirectorySession) UsersCount() (*big.Int, error)
- func (_Directory *DirectorySession) VersionsByKey(parentNode [32]byte, key [32]byte) (*big.Int, error)
- func (_Directory *DirectorySession) VersionsByName(parentNode [32]byte, name string) (*big.Int, error)
- type DirectoryTransactor
- func (_Directory *DirectoryTransactor) ReleaseAccount(opts *bind.TransactOpts, parentNode [32]byte, value common.Address) (*types.Transaction, error)
- func (_Directory *DirectoryTransactor) SetAccount(opts *bind.TransactOpts, parentNode [32]byte, name string, ...) (*types.Transaction, error)
- func (_Directory *DirectoryTransactor) SetAccountVersion(opts *bind.TransactOpts, parentNode [32]byte, name string, ...) (*types.Transaction, error)
- func (_Directory *DirectoryTransactor) SetNodeDetails(opts *bind.TransactOpts, parentNode [32]byte, label string, proof string, ...) (*types.Transaction, error)
- func (_Directory *DirectoryTransactor) SetNodeDetailsEx(opts *bind.TransactOpts, parentNode [32]byte, label string, proof string, ...) (*types.Transaction, error)
- func (_Directory *DirectoryTransactor) SetNodeOwner(opts *bind.TransactOpts, nodeHash [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectoryTransactor) SetUserDetails(opts *bind.TransactOpts, nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectoryTransactor) SetUserDetailsEx(opts *bind.TransactOpts, nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
- type DirectoryTransactorRaw
- type DirectoryTransactorSession
- func (_Directory *DirectoryTransactorSession) ReleaseAccount(parentNode [32]byte, value common.Address) (*types.Transaction, error)
- func (_Directory *DirectoryTransactorSession) SetAccount(parentNode [32]byte, name string, _value common.Address) (*types.Transaction, error)
- func (_Directory *DirectoryTransactorSession) SetAccountVersion(parentNode [32]byte, name string, value common.Address, versionText string) (*types.Transaction, error)
- func (_Directory *DirectoryTransactorSession) SetNodeDetails(parentNode [32]byte, label string, proof string, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectoryTransactorSession) SetNodeDetailsEx(parentNode [32]byte, label string, proof string, owner common.Address, ...) (*types.Transaction, error)
- func (_Directory *DirectoryTransactorSession) SetNodeOwner(nodeHash [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectoryTransactorSession) SetUserDetails(nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
- func (_Directory *DirectoryTransactorSession) SetUserDetailsEx(nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
- type DirectoryTransfer
- type DirectoryTransferIterator
Constants ¶
const DirectoryABI = "" /* 12061-byte string literal not displayed */
DirectoryABI is the input ABI used to generate the binding from.
const DirectoryBin = `` /* 43684-byte string literal not displayed */
DirectoryBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct { DirectoryCaller // Read-only binding to the contract DirectoryTransactor // Write-only binding to the contract DirectoryFilterer // Log filterer for contract events }
Directory is an auto generated Go binding around an Ethereum contract.
func DeployDirectory ¶
func DeployDirectory(auth *bind.TransactOpts, backend bind.ContractBackend, profile common.Address) (common.Address, *types.Transaction, *Directory, error)
DeployDirectory deploys a new Ethereum contract, binding an instance of Directory to it.
func NewDirectory ¶
NewDirectory creates a new instance of Directory, bound to a specific deployed contract.
type DirectoryCaller ¶
type DirectoryCaller struct {
// contains filtered or unexported fields
}
DirectoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDirectoryCaller ¶
func NewDirectoryCaller(address common.Address, caller bind.ContractCaller) (*DirectoryCaller, error)
NewDirectoryCaller creates a new read-only instance of Directory, bound to a specific deployed contract.
func (*DirectoryCaller) AccountLookup ¶
func (_Directory *DirectoryCaller) AccountLookup(opts *bind.CallOpts, owner common.Address) ([32]byte, string, string, common.Address, string, error)
AccountLookup is a free data retrieval call binding the contract method 0x426f56a7.
Solidity: function accountLookup(owner address) constant returns(bytes32, string, string, address, string)
func (*DirectoryCaller) ExistsByKey ¶
func (_Directory *DirectoryCaller) ExistsByKey(opts *bind.CallOpts, parentNode [32]byte, key [32]byte) (bool, error)
ExistsByKey is a free data retrieval call binding the contract method 0x16ae9f9d.
Solidity: function existsByKey(parentNode bytes32, key bytes32) constant returns(bool)
func (*DirectoryCaller) ExistsByName ¶
func (_Directory *DirectoryCaller) ExistsByName(opts *bind.CallOpts, parentNode [32]byte, name string) (bool, error)
ExistsByName is a free data retrieval call binding the contract method 0x5eeea555.
Solidity: function existsByName(parentNode bytes32, name string) constant returns(bool)
func (*DirectoryCaller) GetAccountByIndex ¶
func (_Directory *DirectoryCaller) GetAccountByIndex(opts *bind.CallOpts, parentNode [32]byte, key [32]byte, index *big.Int) (string, common.Address, string, error)
GetAccountByIndex is a free data retrieval call binding the contract method 0xb354a1e8.
Solidity: function getAccountByIndex(parentNode bytes32, key bytes32, index uint256) constant returns(string, address, string)
func (*DirectoryCaller) GetAccountCount ¶
func (_Directory *DirectoryCaller) GetAccountCount(opts *bind.CallOpts, parentNode [32]byte, key [32]byte) (*big.Int, error)
GetAccountCount is a free data retrieval call binding the contract method 0x00b0939b.
Solidity: function getAccountCount(parentNode bytes32, key bytes32) constant returns(uint256)
func (*DirectoryCaller) GetAccountVersion ¶
func (_Directory *DirectoryCaller) GetAccountVersion(opts *bind.CallOpts, parentNode [32]byte, key [32]byte, index *big.Int) ([32]byte, string, string, common.Address, string, error)
GetAccountVersion is a free data retrieval call binding the contract method 0x03a210e7.
Solidity: function getAccountVersion(parentNode bytes32, key bytes32, index uint256) constant returns(bytes32, string, string, address, string)
func (*DirectoryCaller) GetAccountVersionByName ¶
func (_Directory *DirectoryCaller) GetAccountVersionByName(opts *bind.CallOpts, parentNode [32]byte, name string, index *big.Int) ([32]byte, string, string, common.Address, string, error)
GetAccountVersionByName is a free data retrieval call binding the contract method 0xdf5c9371.
Solidity: function getAccountVersionByName(parentNode bytes32, name string, index uint256) constant returns(bytes32, string, string, address, string)
func (*DirectoryCaller) GetContractVersion ¶
func (_Directory *DirectoryCaller) GetContractVersion(opts *bind.CallOpts) (string, error)
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() constant returns(string)
func (*DirectoryCaller) GetLatestAccount ¶
func (_Directory *DirectoryCaller) GetLatestAccount(opts *bind.CallOpts, parentNode [32]byte, key [32]byte) ([32]byte, string, string, common.Address, string, error)
GetLatestAccount is a free data retrieval call binding the contract method 0xfd237fe4.
Solidity: function getLatestAccount(parentNode bytes32, key bytes32) constant returns(bytes32, string, string, address, string)
func (*DirectoryCaller) GetLatestAccountByName ¶
func (_Directory *DirectoryCaller) GetLatestAccountByName(opts *bind.CallOpts, parentNode [32]byte, name string) ([32]byte, string, string, common.Address, string, error)
GetLatestAccountByName is a free data retrieval call binding the contract method 0x2db86f4e.
Solidity: function getLatestAccountByName(parentNode bytes32, name string) constant returns(bytes32, string, string, address, string)
func (*DirectoryCaller) NodeChild ¶
func (_Directory *DirectoryCaller) NodeChild(opts *bind.CallOpts, parentNode [32]byte, index uint8) ([32]byte, string, error)
NodeChild is a free data retrieval call binding the contract method 0xca739ed5.
Solidity: function nodeChild(parentNode bytes32, index uint8) constant returns(bytes32, string)
func (*DirectoryCaller) NodeChildrenCount ¶
func (_Directory *DirectoryCaller) NodeChildrenCount(opts *bind.CallOpts, nodeHash [32]byte) (*big.Int, error)
NodeChildrenCount is a free data retrieval call binding the contract method 0x784042b0.
Solidity: function nodeChildrenCount(nodeHash bytes32) constant returns(uint256)
func (*DirectoryCaller) NodeDetails ¶
func (_Directory *DirectoryCaller) NodeDetails(opts *bind.CallOpts, nodeHash [32]byte) (common.Address, string, [32]byte, string, *big.Int, *big.Int, common.Address, error)
NodeDetails is a free data retrieval call binding the contract method 0x766a5a25.
Solidity: function nodeDetails(nodeHash bytes32) constant returns(address, string, bytes32, string, uint256, uint256, address)
func (*DirectoryCaller) NodeKey ¶
NodeKey is a free data retrieval call binding the contract method 0xa963b057.
Solidity: function nodeKey(index uint8) constant returns(bytes32)
func (*DirectoryCaller) NodeLabel ¶
func (_Directory *DirectoryCaller) NodeLabel(opts *bind.CallOpts, nodeHash [32]byte) (string, error)
NodeLabel is a free data retrieval call binding the contract method 0xce4d6d3c.
Solidity: function nodeLabel(nodeHash bytes32) constant returns(string)
func (*DirectoryCaller) NodeOwner ¶
func (_Directory *DirectoryCaller) NodeOwner(opts *bind.CallOpts, nodeHash [32]byte) (common.Address, error)
NodeOwner is a free data retrieval call binding the contract method 0xff75542b.
Solidity: function nodeOwner(nodeHash bytes32) constant returns(address)
func (*DirectoryCaller) NodeProof ¶
func (_Directory *DirectoryCaller) NodeProof(opts *bind.CallOpts, nodeHash [32]byte) (string, error)
NodeProof is a free data retrieval call binding the contract method 0xa31107e9.
Solidity: function nodeProof(nodeHash bytes32) constant returns(string)
func (*DirectoryCaller) NodeUser ¶
func (_Directory *DirectoryCaller) NodeUser(opts *bind.CallOpts, nodeHash [32]byte, index uint8) ([32]byte, [32]byte, common.Address, string, error)
NodeUser is a free data retrieval call binding the contract method 0xe6c875c9.
Solidity: function nodeUser(nodeHash bytes32, index uint8) constant returns(bytes32, bytes32, address, string)
func (*DirectoryCaller) NodeUsersCount ¶
func (_Directory *DirectoryCaller) NodeUsersCount(opts *bind.CallOpts, nodeHash [32]byte) (*big.Int, error)
NodeUsersCount is a free data retrieval call binding the contract method 0xe10031b1.
Solidity: function nodeUsersCount(nodeHash bytes32) constant returns(uint256)
func (*DirectoryCaller) NodesCount ¶
NodesCount is a free data retrieval call binding the contract method 0xf1a3c5b3.
Solidity: function nodesCount() constant returns(uint256)
func (*DirectoryCaller) User ¶
func (_Directory *DirectoryCaller) User(opts *bind.CallOpts, userId [32]byte) ([32]byte, [32]byte, common.Address, string, error)
User is a free data retrieval call binding the contract method 0x0dfb6615.
Solidity: function user(userId bytes32) constant returns(bytes32, bytes32, address, string)
func (*DirectoryCaller) UserKey ¶
UserKey is a free data retrieval call binding the contract method 0x1c92e7ac.
Solidity: function userKey(index uint8) constant returns(bytes32)
func (*DirectoryCaller) UserName ¶
UserName is a free data retrieval call binding the contract method 0xe639dded.
Solidity: function userName(userId bytes32) constant returns(string)
func (*DirectoryCaller) UserOwner ¶
func (_Directory *DirectoryCaller) UserOwner(opts *bind.CallOpts, userId [32]byte) (common.Address, error)
UserOwner is a free data retrieval call binding the contract method 0x8b52aa9d.
Solidity: function userOwner(userId bytes32) constant returns(address)
func (*DirectoryCaller) UserProfile ¶
func (_Directory *DirectoryCaller) UserProfile(opts *bind.CallOpts, userId [32]byte) (common.Address, error)
UserProfile is a free data retrieval call binding the contract method 0xbcb28494.
Solidity: function userProfile(userId bytes32) constant returns(address)
func (*DirectoryCaller) UsersCount ¶
UsersCount is a free data retrieval call binding the contract method 0x6ba13a82.
Solidity: function usersCount() constant returns(uint256)
func (*DirectoryCaller) VersionsByKey ¶
func (_Directory *DirectoryCaller) VersionsByKey(opts *bind.CallOpts, parentNode [32]byte, key [32]byte) (*big.Int, error)
VersionsByKey is a free data retrieval call binding the contract method 0xc9763dca.
Solidity: function versionsByKey(parentNode bytes32, key bytes32) constant returns(uint256)
func (*DirectoryCaller) VersionsByName ¶
func (_Directory *DirectoryCaller) VersionsByName(opts *bind.CallOpts, parentNode [32]byte, name string) (*big.Int, error)
VersionsByName is a free data retrieval call binding the contract method 0xfe6fb81a.
Solidity: function versionsByName(parentNode bytes32, name string) constant returns(uint256)
type DirectoryCallerRaw ¶
type DirectoryCallerRaw struct {
Contract *DirectoryCaller // Generic read-only contract binding to access the raw methods on
}
DirectoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DirectoryCallerRaw) Call ¶
func (_Directory *DirectoryCallerRaw) 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 DirectoryCallerSession ¶
type DirectoryCallerSession struct { Contract *DirectoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DirectoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DirectoryCallerSession) AccountLookup ¶
func (_Directory *DirectoryCallerSession) AccountLookup(owner common.Address) ([32]byte, string, string, common.Address, string, error)
AccountLookup is a free data retrieval call binding the contract method 0x426f56a7.
Solidity: function accountLookup(owner address) constant returns(bytes32, string, string, address, string)
func (*DirectoryCallerSession) ExistsByKey ¶
func (_Directory *DirectoryCallerSession) ExistsByKey(parentNode [32]byte, key [32]byte) (bool, error)
ExistsByKey is a free data retrieval call binding the contract method 0x16ae9f9d.
Solidity: function existsByKey(parentNode bytes32, key bytes32) constant returns(bool)
func (*DirectoryCallerSession) ExistsByName ¶
func (_Directory *DirectoryCallerSession) ExistsByName(parentNode [32]byte, name string) (bool, error)
ExistsByName is a free data retrieval call binding the contract method 0x5eeea555.
Solidity: function existsByName(parentNode bytes32, name string) constant returns(bool)
func (*DirectoryCallerSession) GetAccountByIndex ¶
func (_Directory *DirectoryCallerSession) GetAccountByIndex(parentNode [32]byte, key [32]byte, index *big.Int) (string, common.Address, string, error)
GetAccountByIndex is a free data retrieval call binding the contract method 0xb354a1e8.
Solidity: function getAccountByIndex(parentNode bytes32, key bytes32, index uint256) constant returns(string, address, string)
func (*DirectoryCallerSession) GetAccountCount ¶
func (_Directory *DirectoryCallerSession) GetAccountCount(parentNode [32]byte, key [32]byte) (*big.Int, error)
GetAccountCount is a free data retrieval call binding the contract method 0x00b0939b.
Solidity: function getAccountCount(parentNode bytes32, key bytes32) constant returns(uint256)
func (*DirectoryCallerSession) GetAccountVersion ¶
func (_Directory *DirectoryCallerSession) GetAccountVersion(parentNode [32]byte, key [32]byte, index *big.Int) ([32]byte, string, string, common.Address, string, error)
GetAccountVersion is a free data retrieval call binding the contract method 0x03a210e7.
Solidity: function getAccountVersion(parentNode bytes32, key bytes32, index uint256) constant returns(bytes32, string, string, address, string)
func (*DirectoryCallerSession) GetAccountVersionByName ¶
func (_Directory *DirectoryCallerSession) GetAccountVersionByName(parentNode [32]byte, name string, index *big.Int) ([32]byte, string, string, common.Address, string, error)
GetAccountVersionByName is a free data retrieval call binding the contract method 0xdf5c9371.
Solidity: function getAccountVersionByName(parentNode bytes32, name string, index uint256) constant returns(bytes32, string, string, address, string)
func (*DirectoryCallerSession) GetContractVersion ¶
func (_Directory *DirectoryCallerSession) GetContractVersion() (string, error)
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() constant returns(string)
func (*DirectoryCallerSession) GetLatestAccount ¶
func (_Directory *DirectoryCallerSession) GetLatestAccount(parentNode [32]byte, key [32]byte) ([32]byte, string, string, common.Address, string, error)
GetLatestAccount is a free data retrieval call binding the contract method 0xfd237fe4.
Solidity: function getLatestAccount(parentNode bytes32, key bytes32) constant returns(bytes32, string, string, address, string)
func (*DirectoryCallerSession) GetLatestAccountByName ¶
func (_Directory *DirectoryCallerSession) GetLatestAccountByName(parentNode [32]byte, name string) ([32]byte, string, string, common.Address, string, error)
GetLatestAccountByName is a free data retrieval call binding the contract method 0x2db86f4e.
Solidity: function getLatestAccountByName(parentNode bytes32, name string) constant returns(bytes32, string, string, address, string)
func (*DirectoryCallerSession) NodeChild ¶
func (_Directory *DirectoryCallerSession) NodeChild(parentNode [32]byte, index uint8) ([32]byte, string, error)
NodeChild is a free data retrieval call binding the contract method 0xca739ed5.
Solidity: function nodeChild(parentNode bytes32, index uint8) constant returns(bytes32, string)
func (*DirectoryCallerSession) NodeChildrenCount ¶
func (_Directory *DirectoryCallerSession) NodeChildrenCount(nodeHash [32]byte) (*big.Int, error)
NodeChildrenCount is a free data retrieval call binding the contract method 0x784042b0.
Solidity: function nodeChildrenCount(nodeHash bytes32) constant returns(uint256)
func (*DirectoryCallerSession) NodeDetails ¶
func (_Directory *DirectoryCallerSession) NodeDetails(nodeHash [32]byte) (common.Address, string, [32]byte, string, *big.Int, *big.Int, common.Address, error)
NodeDetails is a free data retrieval call binding the contract method 0x766a5a25.
Solidity: function nodeDetails(nodeHash bytes32) constant returns(address, string, bytes32, string, uint256, uint256, address)
func (*DirectoryCallerSession) NodeKey ¶
func (_Directory *DirectoryCallerSession) NodeKey(index uint8) ([32]byte, error)
NodeKey is a free data retrieval call binding the contract method 0xa963b057.
Solidity: function nodeKey(index uint8) constant returns(bytes32)
func (*DirectoryCallerSession) NodeLabel ¶
func (_Directory *DirectoryCallerSession) NodeLabel(nodeHash [32]byte) (string, error)
NodeLabel is a free data retrieval call binding the contract method 0xce4d6d3c.
Solidity: function nodeLabel(nodeHash bytes32) constant returns(string)
func (*DirectoryCallerSession) NodeOwner ¶
func (_Directory *DirectoryCallerSession) NodeOwner(nodeHash [32]byte) (common.Address, error)
NodeOwner is a free data retrieval call binding the contract method 0xff75542b.
Solidity: function nodeOwner(nodeHash bytes32) constant returns(address)
func (*DirectoryCallerSession) NodeProof ¶
func (_Directory *DirectoryCallerSession) NodeProof(nodeHash [32]byte) (string, error)
NodeProof is a free data retrieval call binding the contract method 0xa31107e9.
Solidity: function nodeProof(nodeHash bytes32) constant returns(string)
func (*DirectoryCallerSession) NodeUser ¶
func (_Directory *DirectoryCallerSession) NodeUser(nodeHash [32]byte, index uint8) ([32]byte, [32]byte, common.Address, string, error)
NodeUser is a free data retrieval call binding the contract method 0xe6c875c9.
Solidity: function nodeUser(nodeHash bytes32, index uint8) constant returns(bytes32, bytes32, address, string)
func (*DirectoryCallerSession) NodeUsersCount ¶
func (_Directory *DirectoryCallerSession) NodeUsersCount(nodeHash [32]byte) (*big.Int, error)
NodeUsersCount is a free data retrieval call binding the contract method 0xe10031b1.
Solidity: function nodeUsersCount(nodeHash bytes32) constant returns(uint256)
func (*DirectoryCallerSession) NodesCount ¶
func (_Directory *DirectoryCallerSession) NodesCount() (*big.Int, error)
NodesCount is a free data retrieval call binding the contract method 0xf1a3c5b3.
Solidity: function nodesCount() constant returns(uint256)
func (*DirectoryCallerSession) User ¶
func (_Directory *DirectoryCallerSession) User(userId [32]byte) ([32]byte, [32]byte, common.Address, string, error)
User is a free data retrieval call binding the contract method 0x0dfb6615.
Solidity: function user(userId bytes32) constant returns(bytes32, bytes32, address, string)
func (*DirectoryCallerSession) UserKey ¶
func (_Directory *DirectoryCallerSession) UserKey(index uint8) ([32]byte, error)
UserKey is a free data retrieval call binding the contract method 0x1c92e7ac.
Solidity: function userKey(index uint8) constant returns(bytes32)
func (*DirectoryCallerSession) UserName ¶
func (_Directory *DirectoryCallerSession) UserName(userId [32]byte) (string, error)
UserName is a free data retrieval call binding the contract method 0xe639dded.
Solidity: function userName(userId bytes32) constant returns(string)
func (*DirectoryCallerSession) UserOwner ¶
func (_Directory *DirectoryCallerSession) UserOwner(userId [32]byte) (common.Address, error)
UserOwner is a free data retrieval call binding the contract method 0x8b52aa9d.
Solidity: function userOwner(userId bytes32) constant returns(address)
func (*DirectoryCallerSession) UserProfile ¶
func (_Directory *DirectoryCallerSession) UserProfile(userId [32]byte) (common.Address, error)
UserProfile is a free data retrieval call binding the contract method 0xbcb28494.
Solidity: function userProfile(userId bytes32) constant returns(address)
func (*DirectoryCallerSession) UsersCount ¶
func (_Directory *DirectoryCallerSession) UsersCount() (*big.Int, error)
UsersCount is a free data retrieval call binding the contract method 0x6ba13a82.
Solidity: function usersCount() constant returns(uint256)
func (*DirectoryCallerSession) VersionsByKey ¶
func (_Directory *DirectoryCallerSession) VersionsByKey(parentNode [32]byte, key [32]byte) (*big.Int, error)
VersionsByKey is a free data retrieval call binding the contract method 0xc9763dca.
Solidity: function versionsByKey(parentNode bytes32, key bytes32) constant returns(uint256)
func (*DirectoryCallerSession) VersionsByName ¶
func (_Directory *DirectoryCallerSession) VersionsByName(parentNode [32]byte, name string) (*big.Int, error)
VersionsByName is a free data retrieval call binding the contract method 0xfe6fb81a.
Solidity: function versionsByName(parentNode bytes32, name string) constant returns(uint256)
type DirectoryCannotOverwriteAccount ¶
type DirectoryCannotOverwriteAccount struct { ErrMessage string Account common.Address AccountOwner common.Address MessageSender common.Address Raw types.Log // Blockchain specific contextual infos }
DirectoryCannotOverwriteAccount represents a CannotOverwriteAccount event raised by the Directory contract.
type DirectoryCannotOverwriteAccountIterator ¶
type DirectoryCannotOverwriteAccountIterator struct { Event *DirectoryCannotOverwriteAccount // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DirectoryCannotOverwriteAccountIterator is returned from FilterCannotOverwriteAccount and is used to iterate over the raw logs and unpacked data for CannotOverwriteAccount events raised by the Directory contract.
func (*DirectoryCannotOverwriteAccountIterator) Close ¶
func (it *DirectoryCannotOverwriteAccountIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DirectoryCannotOverwriteAccountIterator) Error ¶
func (it *DirectoryCannotOverwriteAccountIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DirectoryCannotOverwriteAccountIterator) Next ¶
func (it *DirectoryCannotOverwriteAccountIterator) 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 DirectoryFilterer ¶
type DirectoryFilterer struct {
// contains filtered or unexported fields
}
DirectoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDirectoryFilterer ¶
func NewDirectoryFilterer(address common.Address, filterer bind.ContractFilterer) (*DirectoryFilterer, error)
NewDirectoryFilterer creates a new log filterer instance of Directory, bound to a specific deployed contract.
func (*DirectoryFilterer) FilterCannotOverwriteAccount ¶
func (_Directory *DirectoryFilterer) FilterCannotOverwriteAccount(opts *bind.FilterOpts) (*DirectoryCannotOverwriteAccountIterator, error)
FilterCannotOverwriteAccount is a free log retrieval operation binding the contract event 0x8d223cc46f02cc7b0266720cc57c58fd710d08217334537771ec779b11a5487b.
Solidity: e CannotOverwriteAccount(errMessage string, account address, accountOwner address, messageSender address)
func (*DirectoryFilterer) FilterNewAccountValue ¶
func (_Directory *DirectoryFilterer) FilterNewAccountValue(opts *bind.FilterOpts, parentNode [][32]byte) (*DirectoryNewAccountValueIterator, error)
FilterNewAccountValue is a free log retrieval operation binding the contract event 0x24679683845119e82c9f175db1956961f731bcf6b92f97be761a7bb162ff7589.
Solidity: e NewAccountValue(parentNode indexed bytes32, name string, value address, version string)
func (*DirectoryFilterer) FilterNewOwner ¶
func (_Directory *DirectoryFilterer) FilterNewOwner(opts *bind.FilterOpts, parentNode [][32]byte, nodeHash [][32]byte) (*DirectoryNewOwnerIterator, error)
FilterNewOwner is a free log retrieval operation binding the contract event 0x504de08ee1292b89bc1f16e1f4c64be830e1a6453bb68c7eee336a949d65dcec.
Solidity: e NewOwner(parentNode indexed bytes32, nodeHash indexed bytes32, owner address, label string, proof string)
func (*DirectoryFilterer) FilterNewUser ¶
func (_Directory *DirectoryFilterer) FilterNewUser(opts *bind.FilterOpts, userId [][32]byte, orgId [][32]byte) (*DirectoryNewUserIterator, error)
FilterNewUser is a free log retrieval operation binding the contract event 0x38395024c961f08e23fb3be5b46bb73b51b3df560ed6c4a85009815e9d21ded4.
Solidity: e NewUser(userId indexed bytes32, orgId indexed bytes32, name string, owner address)
func (*DirectoryFilterer) FilterTransfer ¶
func (_Directory *DirectoryFilterer) FilterTransfer(opts *bind.FilterOpts, nodeHash [][32]byte) (*DirectoryTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266.
Solidity: e Transfer(nodeHash indexed bytes32, owner address)
func (*DirectoryFilterer) WatchCannotOverwriteAccount ¶
func (_Directory *DirectoryFilterer) WatchCannotOverwriteAccount(opts *bind.WatchOpts, sink chan<- *DirectoryCannotOverwriteAccount) (event.Subscription, error)
WatchCannotOverwriteAccount is a free log subscription operation binding the contract event 0x8d223cc46f02cc7b0266720cc57c58fd710d08217334537771ec779b11a5487b.
Solidity: e CannotOverwriteAccount(errMessage string, account address, accountOwner address, messageSender address)
func (*DirectoryFilterer) WatchNewAccountValue ¶
func (_Directory *DirectoryFilterer) WatchNewAccountValue(opts *bind.WatchOpts, sink chan<- *DirectoryNewAccountValue, parentNode [][32]byte) (event.Subscription, error)
WatchNewAccountValue is a free log subscription operation binding the contract event 0x24679683845119e82c9f175db1956961f731bcf6b92f97be761a7bb162ff7589.
Solidity: e NewAccountValue(parentNode indexed bytes32, name string, value address, version string)
func (*DirectoryFilterer) WatchNewOwner ¶
func (_Directory *DirectoryFilterer) WatchNewOwner(opts *bind.WatchOpts, sink chan<- *DirectoryNewOwner, parentNode [][32]byte, nodeHash [][32]byte) (event.Subscription, error)
WatchNewOwner is a free log subscription operation binding the contract event 0x504de08ee1292b89bc1f16e1f4c64be830e1a6453bb68c7eee336a949d65dcec.
Solidity: e NewOwner(parentNode indexed bytes32, nodeHash indexed bytes32, owner address, label string, proof string)
func (*DirectoryFilterer) WatchNewUser ¶
func (_Directory *DirectoryFilterer) WatchNewUser(opts *bind.WatchOpts, sink chan<- *DirectoryNewUser, userId [][32]byte, orgId [][32]byte) (event.Subscription, error)
WatchNewUser is a free log subscription operation binding the contract event 0x38395024c961f08e23fb3be5b46bb73b51b3df560ed6c4a85009815e9d21ded4.
Solidity: e NewUser(userId indexed bytes32, orgId indexed bytes32, name string, owner address)
func (*DirectoryFilterer) WatchTransfer ¶
func (_Directory *DirectoryFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DirectoryTransfer, nodeHash [][32]byte) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266.
Solidity: e Transfer(nodeHash indexed bytes32, owner address)
type DirectoryNewAccountValue ¶
type DirectoryNewAccountValue struct { ParentNode [32]byte Name string Value common.Address Version string Raw types.Log // Blockchain specific contextual infos }
DirectoryNewAccountValue represents a NewAccountValue event raised by the Directory contract.
type DirectoryNewAccountValueIterator ¶
type DirectoryNewAccountValueIterator struct { Event *DirectoryNewAccountValue // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DirectoryNewAccountValueIterator is returned from FilterNewAccountValue and is used to iterate over the raw logs and unpacked data for NewAccountValue events raised by the Directory contract.
func (*DirectoryNewAccountValueIterator) Close ¶
func (it *DirectoryNewAccountValueIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DirectoryNewAccountValueIterator) Error ¶
func (it *DirectoryNewAccountValueIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DirectoryNewAccountValueIterator) Next ¶
func (it *DirectoryNewAccountValueIterator) 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 DirectoryNewOwner ¶
type DirectoryNewOwner struct { ParentNode [32]byte NodeHash [32]byte Owner common.Address Label string Proof string Raw types.Log // Blockchain specific contextual infos }
DirectoryNewOwner represents a NewOwner event raised by the Directory contract.
type DirectoryNewOwnerIterator ¶
type DirectoryNewOwnerIterator struct { Event *DirectoryNewOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DirectoryNewOwnerIterator is returned from FilterNewOwner and is used to iterate over the raw logs and unpacked data for NewOwner events raised by the Directory contract.
func (*DirectoryNewOwnerIterator) Close ¶
func (it *DirectoryNewOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DirectoryNewOwnerIterator) Error ¶
func (it *DirectoryNewOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DirectoryNewOwnerIterator) Next ¶
func (it *DirectoryNewOwnerIterator) 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 DirectoryNewUser ¶
type DirectoryNewUser struct { UserId [32]byte OrgId [32]byte Name string Owner common.Address Raw types.Log // Blockchain specific contextual infos }
DirectoryNewUser represents a NewUser event raised by the Directory contract.
type DirectoryNewUserIterator ¶
type DirectoryNewUserIterator struct { Event *DirectoryNewUser // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DirectoryNewUserIterator is returned from FilterNewUser and is used to iterate over the raw logs and unpacked data for NewUser events raised by the Directory contract.
func (*DirectoryNewUserIterator) Close ¶
func (it *DirectoryNewUserIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DirectoryNewUserIterator) Error ¶
func (it *DirectoryNewUserIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DirectoryNewUserIterator) Next ¶
func (it *DirectoryNewUserIterator) 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 DirectoryRaw ¶
type DirectoryRaw struct {
Contract *Directory // Generic contract binding to access the raw methods on
}
DirectoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DirectoryRaw) Call ¶
func (_Directory *DirectoryRaw) 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 (*DirectoryRaw) Transact ¶
func (_Directory *DirectoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DirectoryRaw) Transfer ¶
func (_Directory *DirectoryRaw) 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 DirectorySession ¶
type DirectorySession struct { Contract *Directory // 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 }
DirectorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DirectorySession) AccountLookup ¶
func (_Directory *DirectorySession) AccountLookup(owner common.Address) ([32]byte, string, string, common.Address, string, error)
AccountLookup is a free data retrieval call binding the contract method 0x426f56a7.
Solidity: function accountLookup(owner address) constant returns(bytes32, string, string, address, string)
func (*DirectorySession) ExistsByKey ¶
func (_Directory *DirectorySession) ExistsByKey(parentNode [32]byte, key [32]byte) (bool, error)
ExistsByKey is a free data retrieval call binding the contract method 0x16ae9f9d.
Solidity: function existsByKey(parentNode bytes32, key bytes32) constant returns(bool)
func (*DirectorySession) ExistsByName ¶
func (_Directory *DirectorySession) ExistsByName(parentNode [32]byte, name string) (bool, error)
ExistsByName is a free data retrieval call binding the contract method 0x5eeea555.
Solidity: function existsByName(parentNode bytes32, name string) constant returns(bool)
func (*DirectorySession) GetAccountByIndex ¶
func (_Directory *DirectorySession) GetAccountByIndex(parentNode [32]byte, key [32]byte, index *big.Int) (string, common.Address, string, error)
GetAccountByIndex is a free data retrieval call binding the contract method 0xb354a1e8.
Solidity: function getAccountByIndex(parentNode bytes32, key bytes32, index uint256) constant returns(string, address, string)
func (*DirectorySession) GetAccountCount ¶
func (_Directory *DirectorySession) GetAccountCount(parentNode [32]byte, key [32]byte) (*big.Int, error)
GetAccountCount is a free data retrieval call binding the contract method 0x00b0939b.
Solidity: function getAccountCount(parentNode bytes32, key bytes32) constant returns(uint256)
func (*DirectorySession) GetAccountVersion ¶
func (_Directory *DirectorySession) GetAccountVersion(parentNode [32]byte, key [32]byte, index *big.Int) ([32]byte, string, string, common.Address, string, error)
GetAccountVersion is a free data retrieval call binding the contract method 0x03a210e7.
Solidity: function getAccountVersion(parentNode bytes32, key bytes32, index uint256) constant returns(bytes32, string, string, address, string)
func (*DirectorySession) GetAccountVersionByName ¶
func (_Directory *DirectorySession) GetAccountVersionByName(parentNode [32]byte, name string, index *big.Int) ([32]byte, string, string, common.Address, string, error)
GetAccountVersionByName is a free data retrieval call binding the contract method 0xdf5c9371.
Solidity: function getAccountVersionByName(parentNode bytes32, name string, index uint256) constant returns(bytes32, string, string, address, string)
func (*DirectorySession) GetContractVersion ¶
func (_Directory *DirectorySession) GetContractVersion() (string, error)
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() constant returns(string)
func (*DirectorySession) GetLatestAccount ¶
func (_Directory *DirectorySession) GetLatestAccount(parentNode [32]byte, key [32]byte) ([32]byte, string, string, common.Address, string, error)
GetLatestAccount is a free data retrieval call binding the contract method 0xfd237fe4.
Solidity: function getLatestAccount(parentNode bytes32, key bytes32) constant returns(bytes32, string, string, address, string)
func (*DirectorySession) GetLatestAccountByName ¶
func (_Directory *DirectorySession) GetLatestAccountByName(parentNode [32]byte, name string) ([32]byte, string, string, common.Address, string, error)
GetLatestAccountByName is a free data retrieval call binding the contract method 0x2db86f4e.
Solidity: function getLatestAccountByName(parentNode bytes32, name string) constant returns(bytes32, string, string, address, string)
func (*DirectorySession) NodeChild ¶
func (_Directory *DirectorySession) NodeChild(parentNode [32]byte, index uint8) ([32]byte, string, error)
NodeChild is a free data retrieval call binding the contract method 0xca739ed5.
Solidity: function nodeChild(parentNode bytes32, index uint8) constant returns(bytes32, string)
func (*DirectorySession) NodeChildrenCount ¶
func (_Directory *DirectorySession) NodeChildrenCount(nodeHash [32]byte) (*big.Int, error)
NodeChildrenCount is a free data retrieval call binding the contract method 0x784042b0.
Solidity: function nodeChildrenCount(nodeHash bytes32) constant returns(uint256)
func (*DirectorySession) NodeDetails ¶
func (_Directory *DirectorySession) NodeDetails(nodeHash [32]byte) (common.Address, string, [32]byte, string, *big.Int, *big.Int, common.Address, error)
NodeDetails is a free data retrieval call binding the contract method 0x766a5a25.
Solidity: function nodeDetails(nodeHash bytes32) constant returns(address, string, bytes32, string, uint256, uint256, address)
func (*DirectorySession) NodeKey ¶
func (_Directory *DirectorySession) NodeKey(index uint8) ([32]byte, error)
NodeKey is a free data retrieval call binding the contract method 0xa963b057.
Solidity: function nodeKey(index uint8) constant returns(bytes32)
func (*DirectorySession) NodeLabel ¶
func (_Directory *DirectorySession) NodeLabel(nodeHash [32]byte) (string, error)
NodeLabel is a free data retrieval call binding the contract method 0xce4d6d3c.
Solidity: function nodeLabel(nodeHash bytes32) constant returns(string)
func (*DirectorySession) NodeOwner ¶
func (_Directory *DirectorySession) NodeOwner(nodeHash [32]byte) (common.Address, error)
NodeOwner is a free data retrieval call binding the contract method 0xff75542b.
Solidity: function nodeOwner(nodeHash bytes32) constant returns(address)
func (*DirectorySession) NodeProof ¶
func (_Directory *DirectorySession) NodeProof(nodeHash [32]byte) (string, error)
NodeProof is a free data retrieval call binding the contract method 0xa31107e9.
Solidity: function nodeProof(nodeHash bytes32) constant returns(string)
func (*DirectorySession) NodeUser ¶
func (_Directory *DirectorySession) NodeUser(nodeHash [32]byte, index uint8) ([32]byte, [32]byte, common.Address, string, error)
NodeUser is a free data retrieval call binding the contract method 0xe6c875c9.
Solidity: function nodeUser(nodeHash bytes32, index uint8) constant returns(bytes32, bytes32, address, string)
func (*DirectorySession) NodeUsersCount ¶
func (_Directory *DirectorySession) NodeUsersCount(nodeHash [32]byte) (*big.Int, error)
NodeUsersCount is a free data retrieval call binding the contract method 0xe10031b1.
Solidity: function nodeUsersCount(nodeHash bytes32) constant returns(uint256)
func (*DirectorySession) NodesCount ¶
func (_Directory *DirectorySession) NodesCount() (*big.Int, error)
NodesCount is a free data retrieval call binding the contract method 0xf1a3c5b3.
Solidity: function nodesCount() constant returns(uint256)
func (*DirectorySession) ReleaseAccount ¶
func (_Directory *DirectorySession) ReleaseAccount(parentNode [32]byte, value common.Address) (*types.Transaction, error)
ReleaseAccount is a paid mutator transaction binding the contract method 0x10992502.
Solidity: function releaseAccount(parentNode bytes32, value address) returns()
func (*DirectorySession) SetAccount ¶
func (_Directory *DirectorySession) SetAccount(parentNode [32]byte, name string, _value common.Address) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0x70246865.
Solidity: function setAccount(parentNode bytes32, name string, _value address) returns()
func (*DirectorySession) SetAccountVersion ¶
func (_Directory *DirectorySession) SetAccountVersion(parentNode [32]byte, name string, value common.Address, versionText string) (*types.Transaction, error)
SetAccountVersion is a paid mutator transaction binding the contract method 0xfcb16106.
Solidity: function setAccountVersion(parentNode bytes32, name string, value address, versionText string) returns()
func (*DirectorySession) SetNodeDetails ¶
func (_Directory *DirectorySession) SetNodeDetails(parentNode [32]byte, label string, proof string, owner common.Address) (*types.Transaction, error)
SetNodeDetails is a paid mutator transaction binding the contract method 0xccaeb39b.
Solidity: function setNodeDetails(parentNode bytes32, label string, proof string, owner address) returns()
func (*DirectorySession) SetNodeDetailsEx ¶
func (_Directory *DirectorySession) SetNodeDetailsEx(parentNode [32]byte, label string, proof string, owner common.Address, profile common.Address) (*types.Transaction, error)
SetNodeDetailsEx is a paid mutator transaction binding the contract method 0xc1e63ccf.
Solidity: function setNodeDetailsEx(parentNode bytes32, label string, proof string, owner address, profile address) returns()
func (*DirectorySession) SetNodeOwner ¶
func (_Directory *DirectorySession) SetNodeOwner(nodeHash [32]byte, owner common.Address) (*types.Transaction, error)
SetNodeOwner is a paid mutator transaction binding the contract method 0x7161ad19.
Solidity: function setNodeOwner(nodeHash bytes32, owner address) returns()
func (*DirectorySession) SetUserDetails ¶
func (_Directory *DirectorySession) SetUserDetails(nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
SetUserDetails is a paid mutator transaction binding the contract method 0x61212f29.
Solidity: function setUserDetails(nodeHash bytes32, name string, owner address) returns()
func (*DirectorySession) SetUserDetailsEx ¶
func (_Directory *DirectorySession) SetUserDetailsEx(nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
SetUserDetailsEx is a paid mutator transaction binding the contract method 0x06a87148.
Solidity: function setUserDetailsEx(nodeHash bytes32, name string, owner address) returns()
func (*DirectorySession) User ¶
func (_Directory *DirectorySession) User(userId [32]byte) ([32]byte, [32]byte, common.Address, string, error)
User is a free data retrieval call binding the contract method 0x0dfb6615.
Solidity: function user(userId bytes32) constant returns(bytes32, bytes32, address, string)
func (*DirectorySession) UserKey ¶
func (_Directory *DirectorySession) UserKey(index uint8) ([32]byte, error)
UserKey is a free data retrieval call binding the contract method 0x1c92e7ac.
Solidity: function userKey(index uint8) constant returns(bytes32)
func (*DirectorySession) UserName ¶
func (_Directory *DirectorySession) UserName(userId [32]byte) (string, error)
UserName is a free data retrieval call binding the contract method 0xe639dded.
Solidity: function userName(userId bytes32) constant returns(string)
func (*DirectorySession) UserOwner ¶
func (_Directory *DirectorySession) UserOwner(userId [32]byte) (common.Address, error)
UserOwner is a free data retrieval call binding the contract method 0x8b52aa9d.
Solidity: function userOwner(userId bytes32) constant returns(address)
func (*DirectorySession) UserProfile ¶
func (_Directory *DirectorySession) UserProfile(userId [32]byte) (common.Address, error)
UserProfile is a free data retrieval call binding the contract method 0xbcb28494.
Solidity: function userProfile(userId bytes32) constant returns(address)
func (*DirectorySession) UsersCount ¶
func (_Directory *DirectorySession) UsersCount() (*big.Int, error)
UsersCount is a free data retrieval call binding the contract method 0x6ba13a82.
Solidity: function usersCount() constant returns(uint256)
func (*DirectorySession) VersionsByKey ¶
func (_Directory *DirectorySession) VersionsByKey(parentNode [32]byte, key [32]byte) (*big.Int, error)
VersionsByKey is a free data retrieval call binding the contract method 0xc9763dca.
Solidity: function versionsByKey(parentNode bytes32, key bytes32) constant returns(uint256)
func (*DirectorySession) VersionsByName ¶
func (_Directory *DirectorySession) VersionsByName(parentNode [32]byte, name string) (*big.Int, error)
VersionsByName is a free data retrieval call binding the contract method 0xfe6fb81a.
Solidity: function versionsByName(parentNode bytes32, name string) constant returns(uint256)
type DirectoryTransactor ¶
type DirectoryTransactor struct {
// contains filtered or unexported fields
}
DirectoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDirectoryTransactor ¶
func NewDirectoryTransactor(address common.Address, transactor bind.ContractTransactor) (*DirectoryTransactor, error)
NewDirectoryTransactor creates a new write-only instance of Directory, bound to a specific deployed contract.
func (*DirectoryTransactor) ReleaseAccount ¶
func (_Directory *DirectoryTransactor) ReleaseAccount(opts *bind.TransactOpts, parentNode [32]byte, value common.Address) (*types.Transaction, error)
ReleaseAccount is a paid mutator transaction binding the contract method 0x10992502.
Solidity: function releaseAccount(parentNode bytes32, value address) returns()
func (*DirectoryTransactor) SetAccount ¶
func (_Directory *DirectoryTransactor) SetAccount(opts *bind.TransactOpts, parentNode [32]byte, name string, _value common.Address) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0x70246865.
Solidity: function setAccount(parentNode bytes32, name string, _value address) returns()
func (*DirectoryTransactor) SetAccountVersion ¶
func (_Directory *DirectoryTransactor) SetAccountVersion(opts *bind.TransactOpts, parentNode [32]byte, name string, value common.Address, versionText string) (*types.Transaction, error)
SetAccountVersion is a paid mutator transaction binding the contract method 0xfcb16106.
Solidity: function setAccountVersion(parentNode bytes32, name string, value address, versionText string) returns()
func (*DirectoryTransactor) SetNodeDetails ¶
func (_Directory *DirectoryTransactor) SetNodeDetails(opts *bind.TransactOpts, parentNode [32]byte, label string, proof string, owner common.Address) (*types.Transaction, error)
SetNodeDetails is a paid mutator transaction binding the contract method 0xccaeb39b.
Solidity: function setNodeDetails(parentNode bytes32, label string, proof string, owner address) returns()
func (*DirectoryTransactor) SetNodeDetailsEx ¶
func (_Directory *DirectoryTransactor) SetNodeDetailsEx(opts *bind.TransactOpts, parentNode [32]byte, label string, proof string, owner common.Address, profile common.Address) (*types.Transaction, error)
SetNodeDetailsEx is a paid mutator transaction binding the contract method 0xc1e63ccf.
Solidity: function setNodeDetailsEx(parentNode bytes32, label string, proof string, owner address, profile address) returns()
func (*DirectoryTransactor) SetNodeOwner ¶
func (_Directory *DirectoryTransactor) SetNodeOwner(opts *bind.TransactOpts, nodeHash [32]byte, owner common.Address) (*types.Transaction, error)
SetNodeOwner is a paid mutator transaction binding the contract method 0x7161ad19.
Solidity: function setNodeOwner(nodeHash bytes32, owner address) returns()
func (*DirectoryTransactor) SetUserDetails ¶
func (_Directory *DirectoryTransactor) SetUserDetails(opts *bind.TransactOpts, nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
SetUserDetails is a paid mutator transaction binding the contract method 0x61212f29.
Solidity: function setUserDetails(nodeHash bytes32, name string, owner address) returns()
func (*DirectoryTransactor) SetUserDetailsEx ¶
func (_Directory *DirectoryTransactor) SetUserDetailsEx(opts *bind.TransactOpts, nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
SetUserDetailsEx is a paid mutator transaction binding the contract method 0x06a87148.
Solidity: function setUserDetailsEx(nodeHash bytes32, name string, owner address) returns()
type DirectoryTransactorRaw ¶
type DirectoryTransactorRaw struct {
Contract *DirectoryTransactor // Generic write-only contract binding to access the raw methods on
}
DirectoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DirectoryTransactorRaw) Transact ¶
func (_Directory *DirectoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DirectoryTransactorRaw) Transfer ¶
func (_Directory *DirectoryTransactorRaw) 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 DirectoryTransactorSession ¶
type DirectoryTransactorSession struct { Contract *DirectoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DirectoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DirectoryTransactorSession) ReleaseAccount ¶
func (_Directory *DirectoryTransactorSession) ReleaseAccount(parentNode [32]byte, value common.Address) (*types.Transaction, error)
ReleaseAccount is a paid mutator transaction binding the contract method 0x10992502.
Solidity: function releaseAccount(parentNode bytes32, value address) returns()
func (*DirectoryTransactorSession) SetAccount ¶
func (_Directory *DirectoryTransactorSession) SetAccount(parentNode [32]byte, name string, _value common.Address) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0x70246865.
Solidity: function setAccount(parentNode bytes32, name string, _value address) returns()
func (*DirectoryTransactorSession) SetAccountVersion ¶
func (_Directory *DirectoryTransactorSession) SetAccountVersion(parentNode [32]byte, name string, value common.Address, versionText string) (*types.Transaction, error)
SetAccountVersion is a paid mutator transaction binding the contract method 0xfcb16106.
Solidity: function setAccountVersion(parentNode bytes32, name string, value address, versionText string) returns()
func (*DirectoryTransactorSession) SetNodeDetails ¶
func (_Directory *DirectoryTransactorSession) SetNodeDetails(parentNode [32]byte, label string, proof string, owner common.Address) (*types.Transaction, error)
SetNodeDetails is a paid mutator transaction binding the contract method 0xccaeb39b.
Solidity: function setNodeDetails(parentNode bytes32, label string, proof string, owner address) returns()
func (*DirectoryTransactorSession) SetNodeDetailsEx ¶
func (_Directory *DirectoryTransactorSession) SetNodeDetailsEx(parentNode [32]byte, label string, proof string, owner common.Address, profile common.Address) (*types.Transaction, error)
SetNodeDetailsEx is a paid mutator transaction binding the contract method 0xc1e63ccf.
Solidity: function setNodeDetailsEx(parentNode bytes32, label string, proof string, owner address, profile address) returns()
func (*DirectoryTransactorSession) SetNodeOwner ¶
func (_Directory *DirectoryTransactorSession) SetNodeOwner(nodeHash [32]byte, owner common.Address) (*types.Transaction, error)
SetNodeOwner is a paid mutator transaction binding the contract method 0x7161ad19.
Solidity: function setNodeOwner(nodeHash bytes32, owner address) returns()
func (*DirectoryTransactorSession) SetUserDetails ¶
func (_Directory *DirectoryTransactorSession) SetUserDetails(nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
SetUserDetails is a paid mutator transaction binding the contract method 0x61212f29.
Solidity: function setUserDetails(nodeHash bytes32, name string, owner address) returns()
func (*DirectoryTransactorSession) SetUserDetailsEx ¶
func (_Directory *DirectoryTransactorSession) SetUserDetailsEx(nodeHash [32]byte, name string, owner common.Address) (*types.Transaction, error)
SetUserDetailsEx is a paid mutator transaction binding the contract method 0x06a87148.
Solidity: function setUserDetailsEx(nodeHash bytes32, name string, owner address) returns()
type DirectoryTransfer ¶
type DirectoryTransfer struct { NodeHash [32]byte Owner common.Address Raw types.Log // Blockchain specific contextual infos }
DirectoryTransfer represents a Transfer event raised by the Directory contract.
type DirectoryTransferIterator ¶
type DirectoryTransferIterator struct { Event *DirectoryTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DirectoryTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Directory contract.
func (*DirectoryTransferIterator) Close ¶
func (it *DirectoryTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DirectoryTransferIterator) Error ¶
func (it *DirectoryTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DirectoryTransferIterator) Next ¶
func (it *DirectoryTransferIterator) 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.