Documentation ¶
Index ¶
- Variables
- type AttributesAttribute
- type IAccessStoreAccess
- type IUsersGroupAddUserParams
- type IUsersGroupMember
- type IUsersUser
- type IUsersUserGroup
- type Users
- type UsersCaller
- func (_Users *UsersCaller) AccessStore(opts *bind.CallOpts) (common.Address, error)
- func (_Users *UsersCaller) AllowedChange(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Users *UsersCaller) EhrIndex(opts *bind.CallOpts) (common.Address, error)
- func (_Users *UsersCaller) GetUser(opts *bind.CallOpts, addr common.Address) (IUsersUser, error)
- func (_Users *UsersCaller) GetUserByCode(opts *bind.CallOpts, code uint64) (IUsersUser, error)
- func (_Users *UsersCaller) UserGroupGetByID(opts *bind.CallOpts, groupIdHash [32]byte) (IUsersUserGroup, error)
- func (_Users *UsersCaller) Users(opts *bind.CallOpts) (common.Address, error)
- type UsersCallerRaw
- type UsersCallerSession
- func (_Users *UsersCallerSession) AccessStore() (common.Address, error)
- func (_Users *UsersCallerSession) AllowedChange(arg0 common.Address) (bool, error)
- func (_Users *UsersCallerSession) EhrIndex() (common.Address, error)
- func (_Users *UsersCallerSession) GetUser(addr common.Address) (IUsersUser, error)
- func (_Users *UsersCallerSession) GetUserByCode(code uint64) (IUsersUser, error)
- func (_Users *UsersCallerSession) UserGroupGetByID(groupIdHash [32]byte) (IUsersUserGroup, error)
- func (_Users *UsersCallerSession) Users() (common.Address, error)
- type UsersFilterer
- type UsersRaw
- func (_Users *UsersRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Users *UsersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Users *UsersRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UsersSession
- func (_Users *UsersSession) AccessStore() (common.Address, error)
- func (_Users *UsersSession) AllowedChange(arg0 common.Address) (bool, error)
- func (_Users *UsersSession) EhrIndex() (common.Address, error)
- func (_Users *UsersSession) GetUser(addr common.Address) (IUsersUser, error)
- func (_Users *UsersSession) GetUserByCode(code uint64) (IUsersUser, error)
- func (_Users *UsersSession) GroupAddUser(p IUsersGroupAddUserParams) (*types.Transaction, error)
- func (_Users *UsersSession) GroupRemoveUser(groupIDHash [32]byte, userIDHash [32]byte, signer common.Address, ...) (*types.Transaction, error)
- func (_Users *UsersSession) Multicall(data [][]byte) (*types.Transaction, error)
- func (_Users *UsersSession) SetAccess(accessID [32]byte, a IAccessStoreAccess, signer common.Address, ...) (*types.Transaction, error)
- func (_Users *UsersSession) SetAllowed(addr common.Address, allowed bool) (*types.Transaction, error)
- func (_Users *UsersSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Users *UsersSession) UserGroupCreate(groupIdHash [32]byte, attrs []AttributesAttribute, signer common.Address, ...) (*types.Transaction, error)
- func (_Users *UsersSession) UserGroupGetByID(groupIdHash [32]byte) (IUsersUserGroup, error)
- func (_Users *UsersSession) UserNew(addr common.Address, IDHash [32]byte, role uint8, attrs []AttributesAttribute, ...) (*types.Transaction, error)
- func (_Users *UsersSession) Users() (common.Address, error)
- type UsersTransactor
- func (_Users *UsersTransactor) GroupAddUser(opts *bind.TransactOpts, p IUsersGroupAddUserParams) (*types.Transaction, error)
- func (_Users *UsersTransactor) GroupRemoveUser(opts *bind.TransactOpts, groupIDHash [32]byte, userIDHash [32]byte, ...) (*types.Transaction, error)
- func (_Users *UsersTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)
- func (_Users *UsersTransactor) SetAccess(opts *bind.TransactOpts, accessID [32]byte, a IAccessStoreAccess, ...) (*types.Transaction, error)
- func (_Users *UsersTransactor) SetAllowed(opts *bind.TransactOpts, addr common.Address, allowed bool) (*types.Transaction, error)
- func (_Users *UsersTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Users *UsersTransactor) UserGroupCreate(opts *bind.TransactOpts, groupIdHash [32]byte, attrs []AttributesAttribute, ...) (*types.Transaction, error)
- func (_Users *UsersTransactor) UserNew(opts *bind.TransactOpts, addr common.Address, IDHash [32]byte, role uint8, ...) (*types.Transaction, error)
- type UsersTransactorRaw
- type UsersTransactorSession
- func (_Users *UsersTransactorSession) GroupAddUser(p IUsersGroupAddUserParams) (*types.Transaction, error)
- func (_Users *UsersTransactorSession) GroupRemoveUser(groupIDHash [32]byte, userIDHash [32]byte, signer common.Address, ...) (*types.Transaction, error)
- func (_Users *UsersTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)
- func (_Users *UsersTransactorSession) SetAccess(accessID [32]byte, a IAccessStoreAccess, signer common.Address, ...) (*types.Transaction, error)
- func (_Users *UsersTransactorSession) SetAllowed(addr common.Address, allowed bool) (*types.Transaction, error)
- func (_Users *UsersTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Users *UsersTransactorSession) UserGroupCreate(groupIdHash [32]byte, attrs []AttributesAttribute, signer common.Address, ...) (*types.Transaction, error)
- func (_Users *UsersTransactorSession) UserNew(addr common.Address, IDHash [32]byte, role uint8, attrs []AttributesAttribute, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var UsersABI = UsersMetaData.ABI
UsersABI is the input ABI used to generate the binding from. Deprecated: Use UsersMetaData.ABI instead.
var UsersMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_accessStore\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"accessStore\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowedChange\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ehrIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getUser\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"IDHash\",\"type\":\"bytes32\"},{\"internalType\":\"enumIUsers.Role\",\"name\":\"role\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"}],\"internalType\":\"structIUsers.User\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"code\",\"type\":\"uint64\"}],\"name\":\"getUserByCode\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"IDHash\",\"type\":\"bytes32\"},{\"internalType\":\"enumIUsers.Role\",\"name\":\"role\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"}],\"internalType\":\"structIUsers.User\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"groupIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"userIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"enumIAccessStore.AccessLevel\",\"name\":\"level\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"userIDEncr\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"keyEncr\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structIUsers.GroupAddUserParams\",\"name\":\"p\",\"type\":\"tuple\"}],\"name\":\"groupAddUser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"groupIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"userIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"groupRemoveUser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"accessID\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"enumIAccessStore.AccessKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"idHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"idEncr\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"keyEncr\",\"type\":\"bytes\"},{\"internalType\":\"enumIAccessStore.AccessLevel\",\"name\":\"level\",\"type\":\"uint8\"}],\"internalType\":\"structIAccessStore.Access\",\"name\":\"a\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"setAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"setAllowed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"groupIdHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"userGroupCreate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"groupIdHash\",\"type\":\"bytes32\"}],\"name\":\"userGroupGetByID\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"userIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"userIDEncr\",\"type\":\"bytes\"}],\"internalType\":\"structIUsers.GroupMember[]\",\"name\":\"members\",\"type\":\"tuple[]\"}],\"internalType\":\"structIUsers.UserGroup\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"IDHash\",\"type\":\"bytes32\"},{\"internalType\":\"enumIUsers.Role\",\"name\":\"role\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"userNew\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"users\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
UsersMetaData contains all meta data concerning the Users contract.
Functions ¶
This section is empty.
Types ¶
type AttributesAttribute ¶
AttributesAttribute is an auto generated low-level Go binding around an user-defined struct.
type IAccessStoreAccess ¶
type IAccessStoreAccess struct { Kind uint8 IdHash [32]byte IdEncr []byte KeyEncr []byte Level uint8 }
IAccessStoreAccess is an auto generated low-level Go binding around an user-defined struct.
type IUsersGroupAddUserParams ¶
type IUsersGroupAddUserParams struct { GroupIDHash [32]byte UserIDHash [32]byte Level uint8 UserIDEncr []byte KeyEncr []byte Signer common.Address Deadline *big.Int Signature []byte }
IUsersGroupAddUserParams is an auto generated low-level Go binding around an user-defined struct.
type IUsersGroupMember ¶
IUsersGroupMember is an auto generated low-level Go binding around an user-defined struct.
type IUsersUser ¶
type IUsersUser struct { IDHash [32]byte Role uint8 Attrs []AttributesAttribute }
IUsersUser is an auto generated low-level Go binding around an user-defined struct.
type IUsersUserGroup ¶
type IUsersUserGroup struct { Attrs []AttributesAttribute Members []IUsersGroupMember }
IUsersUserGroup is an auto generated low-level Go binding around an user-defined struct.
type Users ¶
type Users struct { UsersCaller // Read-only binding to the contract UsersTransactor // Write-only binding to the contract UsersFilterer // Log filterer for contract events }
Users is an auto generated Go binding around an Ethereum contract.
type UsersCaller ¶
type UsersCaller struct {
// contains filtered or unexported fields
}
UsersCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUsersCaller ¶
func NewUsersCaller(address common.Address, caller bind.ContractCaller) (*UsersCaller, error)
NewUsersCaller creates a new read-only instance of Users, bound to a specific deployed contract.
func (*UsersCaller) AccessStore ¶
AccessStore is a free data retrieval call binding the contract method 0x45e9ea6f.
Solidity: function accessStore() view returns(address)
func (*UsersCaller) AllowedChange ¶
AllowedChange is a free data retrieval call binding the contract method 0xe9b5b29a.
Solidity: function allowedChange(address ) view returns(bool)
func (*UsersCaller) EhrIndex ¶
EhrIndex is a free data retrieval call binding the contract method 0x98655acb.
Solidity: function ehrIndex() view returns(address)
func (*UsersCaller) GetUser ¶
func (_Users *UsersCaller) GetUser(opts *bind.CallOpts, addr common.Address) (IUsersUser, error)
GetUser is a free data retrieval call binding the contract method 0x6f77926b.
Solidity: function getUser(address addr) view returns((bytes32,uint8,(uint8,bytes)[]))
func (*UsersCaller) GetUserByCode ¶
func (_Users *UsersCaller) GetUserByCode(opts *bind.CallOpts, code uint64) (IUsersUser, error)
GetUserByCode is a free data retrieval call binding the contract method 0x138d131f.
Solidity: function getUserByCode(uint64 code) view returns((bytes32,uint8,(uint8,bytes)[]))
func (*UsersCaller) UserGroupGetByID ¶
func (_Users *UsersCaller) UserGroupGetByID(opts *bind.CallOpts, groupIdHash [32]byte) (IUsersUserGroup, error)
UserGroupGetByID is a free data retrieval call binding the contract method 0xc1dfff99.
Solidity: function userGroupGetByID(bytes32 groupIdHash) view returns(((uint8,bytes)[],(bytes32,bytes)[]))
type UsersCallerRaw ¶
type UsersCallerRaw struct {
Contract *UsersCaller // Generic read-only contract binding to access the raw methods on
}
UsersCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UsersCallerRaw) Call ¶
func (_Users *UsersCallerRaw) 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 UsersCallerSession ¶
type UsersCallerSession struct { Contract *UsersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UsersCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UsersCallerSession) AccessStore ¶
func (_Users *UsersCallerSession) AccessStore() (common.Address, error)
AccessStore is a free data retrieval call binding the contract method 0x45e9ea6f.
Solidity: function accessStore() view returns(address)
func (*UsersCallerSession) AllowedChange ¶
func (_Users *UsersCallerSession) AllowedChange(arg0 common.Address) (bool, error)
AllowedChange is a free data retrieval call binding the contract method 0xe9b5b29a.
Solidity: function allowedChange(address ) view returns(bool)
func (*UsersCallerSession) EhrIndex ¶
func (_Users *UsersCallerSession) EhrIndex() (common.Address, error)
EhrIndex is a free data retrieval call binding the contract method 0x98655acb.
Solidity: function ehrIndex() view returns(address)
func (*UsersCallerSession) GetUser ¶
func (_Users *UsersCallerSession) GetUser(addr common.Address) (IUsersUser, error)
GetUser is a free data retrieval call binding the contract method 0x6f77926b.
Solidity: function getUser(address addr) view returns((bytes32,uint8,(uint8,bytes)[]))
func (*UsersCallerSession) GetUserByCode ¶
func (_Users *UsersCallerSession) GetUserByCode(code uint64) (IUsersUser, error)
GetUserByCode is a free data retrieval call binding the contract method 0x138d131f.
Solidity: function getUserByCode(uint64 code) view returns((bytes32,uint8,(uint8,bytes)[]))
func (*UsersCallerSession) UserGroupGetByID ¶
func (_Users *UsersCallerSession) UserGroupGetByID(groupIdHash [32]byte) (IUsersUserGroup, error)
UserGroupGetByID is a free data retrieval call binding the contract method 0xc1dfff99.
Solidity: function userGroupGetByID(bytes32 groupIdHash) view returns(((uint8,bytes)[],(bytes32,bytes)[]))
type UsersFilterer ¶
type UsersFilterer struct {
// contains filtered or unexported fields
}
UsersFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUsersFilterer ¶
func NewUsersFilterer(address common.Address, filterer bind.ContractFilterer) (*UsersFilterer, error)
NewUsersFilterer creates a new log filterer instance of Users, bound to a specific deployed contract.
type UsersRaw ¶
type UsersRaw struct {
Contract *Users // Generic contract binding to access the raw methods on
}
UsersRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UsersRaw) Call ¶
func (_Users *UsersRaw) 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 (*UsersRaw) Transact ¶
func (_Users *UsersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UsersRaw) Transfer ¶
func (_Users *UsersRaw) 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 UsersSession ¶
type UsersSession struct { Contract *Users // 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 }
UsersSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UsersSession) AccessStore ¶
func (_Users *UsersSession) AccessStore() (common.Address, error)
AccessStore is a free data retrieval call binding the contract method 0x45e9ea6f.
Solidity: function accessStore() view returns(address)
func (*UsersSession) AllowedChange ¶
func (_Users *UsersSession) AllowedChange(arg0 common.Address) (bool, error)
AllowedChange is a free data retrieval call binding the contract method 0xe9b5b29a.
Solidity: function allowedChange(address ) view returns(bool)
func (*UsersSession) EhrIndex ¶
func (_Users *UsersSession) EhrIndex() (common.Address, error)
EhrIndex is a free data retrieval call binding the contract method 0x98655acb.
Solidity: function ehrIndex() view returns(address)
func (*UsersSession) GetUser ¶
func (_Users *UsersSession) GetUser(addr common.Address) (IUsersUser, error)
GetUser is a free data retrieval call binding the contract method 0x6f77926b.
Solidity: function getUser(address addr) view returns((bytes32,uint8,(uint8,bytes)[]))
func (*UsersSession) GetUserByCode ¶
func (_Users *UsersSession) GetUserByCode(code uint64) (IUsersUser, error)
GetUserByCode is a free data retrieval call binding the contract method 0x138d131f.
Solidity: function getUserByCode(uint64 code) view returns((bytes32,uint8,(uint8,bytes)[]))
func (*UsersSession) GroupAddUser ¶
func (_Users *UsersSession) GroupAddUser(p IUsersGroupAddUserParams) (*types.Transaction, error)
GroupAddUser is a paid mutator transaction binding the contract method 0x074ff531.
Solidity: function groupAddUser((bytes32,bytes32,uint8,bytes,bytes,address,uint256,bytes) p) returns()
func (*UsersSession) GroupRemoveUser ¶
func (_Users *UsersSession) GroupRemoveUser(groupIDHash [32]byte, userIDHash [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
GroupRemoveUser is a paid mutator transaction binding the contract method 0x6c1ce42b.
Solidity: function groupRemoveUser(bytes32 groupIDHash, bytes32 userIDHash, address signer, uint256 deadline, bytes signature) returns()
func (*UsersSession) Multicall ¶
func (_Users *UsersSession) Multicall(data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) returns(bytes[] results)
func (*UsersSession) SetAccess ¶
func (_Users *UsersSession) SetAccess(accessID [32]byte, a IAccessStoreAccess, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
SetAccess is a paid mutator transaction binding the contract method 0x04847979.
Solidity: function setAccess(bytes32 accessID, (uint8,bytes32,bytes,bytes,uint8) a, address signer, uint256 deadline, bytes signature) returns()
func (*UsersSession) SetAllowed ¶
func (_Users *UsersSession) SetAllowed(addr common.Address, allowed bool) (*types.Transaction, error)
SetAllowed is a paid mutator transaction binding the contract method 0x4697f05d.
Solidity: function setAllowed(address addr, bool allowed) returns()
func (*UsersSession) TransferOwnership ¶
func (_Users *UsersSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UsersSession) UserGroupCreate ¶
func (_Users *UsersSession) UserGroupCreate(groupIdHash [32]byte, attrs []AttributesAttribute, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
UserGroupCreate is a paid mutator transaction binding the contract method 0x938b13dc.
Solidity: function userGroupCreate(bytes32 groupIdHash, (uint8,bytes)[] attrs, address signer, uint256 deadline, bytes signature) returns()
func (*UsersSession) UserGroupGetByID ¶
func (_Users *UsersSession) UserGroupGetByID(groupIdHash [32]byte) (IUsersUserGroup, error)
UserGroupGetByID is a free data retrieval call binding the contract method 0xc1dfff99.
Solidity: function userGroupGetByID(bytes32 groupIdHash) view returns(((uint8,bytes)[],(bytes32,bytes)[]))
func (*UsersSession) UserNew ¶
func (_Users *UsersSession) UserNew(addr common.Address, IDHash [32]byte, role uint8, attrs []AttributesAttribute, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
UserNew is a paid mutator transaction binding the contract method 0x4d0eda61.
Solidity: function userNew(address addr, bytes32 IDHash, uint8 role, (uint8,bytes)[] attrs, address signer, uint256 deadline, bytes signature) returns()
type UsersTransactor ¶
type UsersTransactor struct {
// contains filtered or unexported fields
}
UsersTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUsersTransactor ¶
func NewUsersTransactor(address common.Address, transactor bind.ContractTransactor) (*UsersTransactor, error)
NewUsersTransactor creates a new write-only instance of Users, bound to a specific deployed contract.
func (*UsersTransactor) GroupAddUser ¶
func (_Users *UsersTransactor) GroupAddUser(opts *bind.TransactOpts, p IUsersGroupAddUserParams) (*types.Transaction, error)
GroupAddUser is a paid mutator transaction binding the contract method 0x074ff531.
Solidity: function groupAddUser((bytes32,bytes32,uint8,bytes,bytes,address,uint256,bytes) p) returns()
func (*UsersTransactor) GroupRemoveUser ¶
func (_Users *UsersTransactor) GroupRemoveUser(opts *bind.TransactOpts, groupIDHash [32]byte, userIDHash [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
GroupRemoveUser is a paid mutator transaction binding the contract method 0x6c1ce42b.
Solidity: function groupRemoveUser(bytes32 groupIDHash, bytes32 userIDHash, address signer, uint256 deadline, bytes signature) returns()
func (*UsersTransactor) Multicall ¶
func (_Users *UsersTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) returns(bytes[] results)
func (*UsersTransactor) SetAccess ¶
func (_Users *UsersTransactor) SetAccess(opts *bind.TransactOpts, accessID [32]byte, a IAccessStoreAccess, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
SetAccess is a paid mutator transaction binding the contract method 0x04847979.
Solidity: function setAccess(bytes32 accessID, (uint8,bytes32,bytes,bytes,uint8) a, address signer, uint256 deadline, bytes signature) returns()
func (*UsersTransactor) SetAllowed ¶
func (_Users *UsersTransactor) SetAllowed(opts *bind.TransactOpts, addr common.Address, allowed bool) (*types.Transaction, error)
SetAllowed is a paid mutator transaction binding the contract method 0x4697f05d.
Solidity: function setAllowed(address addr, bool allowed) returns()
func (*UsersTransactor) TransferOwnership ¶
func (_Users *UsersTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UsersTransactor) UserGroupCreate ¶
func (_Users *UsersTransactor) UserGroupCreate(opts *bind.TransactOpts, groupIdHash [32]byte, attrs []AttributesAttribute, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
UserGroupCreate is a paid mutator transaction binding the contract method 0x938b13dc.
Solidity: function userGroupCreate(bytes32 groupIdHash, (uint8,bytes)[] attrs, address signer, uint256 deadline, bytes signature) returns()
func (*UsersTransactor) UserNew ¶
func (_Users *UsersTransactor) UserNew(opts *bind.TransactOpts, addr common.Address, IDHash [32]byte, role uint8, attrs []AttributesAttribute, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
UserNew is a paid mutator transaction binding the contract method 0x4d0eda61.
Solidity: function userNew(address addr, bytes32 IDHash, uint8 role, (uint8,bytes)[] attrs, address signer, uint256 deadline, bytes signature) returns()
type UsersTransactorRaw ¶
type UsersTransactorRaw struct {
Contract *UsersTransactor // Generic write-only contract binding to access the raw methods on
}
UsersTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UsersTransactorRaw) Transact ¶
func (_Users *UsersTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UsersTransactorRaw) Transfer ¶
func (_Users *UsersTransactorRaw) 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 UsersTransactorSession ¶
type UsersTransactorSession struct { Contract *UsersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UsersTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UsersTransactorSession) GroupAddUser ¶
func (_Users *UsersTransactorSession) GroupAddUser(p IUsersGroupAddUserParams) (*types.Transaction, error)
GroupAddUser is a paid mutator transaction binding the contract method 0x074ff531.
Solidity: function groupAddUser((bytes32,bytes32,uint8,bytes,bytes,address,uint256,bytes) p) returns()
func (*UsersTransactorSession) GroupRemoveUser ¶
func (_Users *UsersTransactorSession) GroupRemoveUser(groupIDHash [32]byte, userIDHash [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
GroupRemoveUser is a paid mutator transaction binding the contract method 0x6c1ce42b.
Solidity: function groupRemoveUser(bytes32 groupIDHash, bytes32 userIDHash, address signer, uint256 deadline, bytes signature) returns()
func (*UsersTransactorSession) Multicall ¶
func (_Users *UsersTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) returns(bytes[] results)
func (*UsersTransactorSession) SetAccess ¶
func (_Users *UsersTransactorSession) SetAccess(accessID [32]byte, a IAccessStoreAccess, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
SetAccess is a paid mutator transaction binding the contract method 0x04847979.
Solidity: function setAccess(bytes32 accessID, (uint8,bytes32,bytes,bytes,uint8) a, address signer, uint256 deadline, bytes signature) returns()
func (*UsersTransactorSession) SetAllowed ¶
func (_Users *UsersTransactorSession) SetAllowed(addr common.Address, allowed bool) (*types.Transaction, error)
SetAllowed is a paid mutator transaction binding the contract method 0x4697f05d.
Solidity: function setAllowed(address addr, bool allowed) returns()
func (*UsersTransactorSession) TransferOwnership ¶
func (_Users *UsersTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UsersTransactorSession) UserGroupCreate ¶
func (_Users *UsersTransactorSession) UserGroupCreate(groupIdHash [32]byte, attrs []AttributesAttribute, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
UserGroupCreate is a paid mutator transaction binding the contract method 0x938b13dc.
Solidity: function userGroupCreate(bytes32 groupIdHash, (uint8,bytes)[] attrs, address signer, uint256 deadline, bytes signature) returns()
func (*UsersTransactorSession) UserNew ¶
func (_Users *UsersTransactorSession) UserNew(addr common.Address, IDHash [32]byte, role uint8, attrs []AttributesAttribute, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)
UserNew is a paid mutator transaction binding the contract method 0x4d0eda61.
Solidity: function userNew(address addr, bytes32 IDHash, uint8 role, (uint8,bytes)[] attrs, address signer, uint256 deadline, bytes signature) returns()