Documentation ¶
Index ¶
- Variables
- type AccessContext
- type AccessContextCaller
- func (_AccessContext *AccessContextCaller) GetPolicies(opts *bind.CallOpts, _contexts [][32]byte, _ids [][32]byte) ([]IPolicyExtensionPolicy, error)
- func (_AccessContext *AccessContextCaller) GetPolicy(opts *bind.CallOpts, _context [32]byte, _id [32]byte) (IPolicyExtensionPolicy, error)
- func (_AccessContext *AccessContextCaller) HasRole(opts *bind.CallOpts, _role [32]byte, _did [32]byte) (bool, error)
- func (_AccessContext *AccessContextCaller) Owner(opts *bind.CallOpts) ([32]byte, error)
- type AccessContextCallerRaw
- type AccessContextCallerSession
- func (_AccessContext *AccessContextCallerSession) GetPolicies(_contexts [][32]byte, _ids [][32]byte) ([]IPolicyExtensionPolicy, error)
- func (_AccessContext *AccessContextCallerSession) GetPolicy(_context [32]byte, _id [32]byte) (IPolicyExtensionPolicy, error)
- func (_AccessContext *AccessContextCallerSession) HasRole(_role [32]byte, _did [32]byte) (bool, error)
- func (_AccessContext *AccessContextCallerSession) Owner() ([32]byte, error)
- type AccessContextFilterer
- func (_AccessContext *AccessContextFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner [][32]byte, newOwner [][32]byte) (*AccessContextOwnershipTransferredIterator, error)
- func (_AccessContext *AccessContextFilterer) ParseOwnershipTransferred(log types.Log) (*AccessContextOwnershipTransferred, error)
- func (_AccessContext *AccessContextFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AccessContextOwnershipTransferred, ...) (event.Subscription, error)
- type AccessContextHandler
- type AccessContextHandlerCaller
- type AccessContextHandlerCallerRaw
- type AccessContextHandlerCallerSession
- type AccessContextHandlerCreateContextInstance
- type AccessContextHandlerCreateContextInstanceIterator
- type AccessContextHandlerFilterer
- func (_AccessContextHandler *AccessContextHandlerFilterer) FilterCreateContextInstance(opts *bind.FilterOpts, accessContext []common.Address) (*AccessContextHandlerCreateContextInstanceIterator, error)
- func (_AccessContextHandler *AccessContextHandlerFilterer) ParseCreateContextInstance(log types.Log) (*AccessContextHandlerCreateContextInstance, error)
- func (_AccessContextHandler *AccessContextHandlerFilterer) WatchCreateContextInstance(opts *bind.WatchOpts, sink chan<- *AccessContextHandlerCreateContextInstance, ...) (event.Subscription, error)
- type AccessContextHandlerRaw
- func (_AccessContextHandler *AccessContextHandlerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AccessContextHandler *AccessContextHandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AccessContextHandlerSession
- func (_AccessContextHandler *AccessContextHandlerSession) CreateContextInstance(_id [32]byte, _salt [20]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerSession) DeleteContextInstance(_id [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerSession) GetContextInstance(_id [32]byte) (common.Address, error)
- func (_AccessContextHandler *AccessContextHandlerSession) GrantRole(_roleContext [32]byte, _role [32]byte, _did [32]byte, ...) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerSession) IsSession(_id [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerSession) IsSession0(_id [32]byte, _did [32]byte, _roleContext [32]byte, _role [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerSession) SetSessionRegistry(sessionRegistry common.Address) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerSession) StartSession(_did [32]byte, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerSession) StartSession0(_roleContext [32]byte, _role [32]byte, _did [32]byte, ...) (*types.Transaction, error)
- type AccessContextHandlerTransactor
- func (_AccessContextHandler *AccessContextHandlerTransactor) CreateContextInstance(opts *bind.TransactOpts, _id [32]byte, _salt [20]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactor) DeleteContextInstance(opts *bind.TransactOpts, _id [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactor) GrantRole(opts *bind.TransactOpts, _roleContext [32]byte, _role [32]byte, _did [32]byte, ...) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactor) IsSession(opts *bind.TransactOpts, _id [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactor) IsSession0(opts *bind.TransactOpts, _id [32]byte, _did [32]byte, _roleContext [32]byte, ...) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactor) SetSessionRegistry(opts *bind.TransactOpts, sessionRegistry common.Address) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactor) StartSession(opts *bind.TransactOpts, _did [32]byte, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactor) StartSession0(opts *bind.TransactOpts, _roleContext [32]byte, _role [32]byte, _did [32]byte, ...) (*types.Transaction, error)
- type AccessContextHandlerTransactorRaw
- type AccessContextHandlerTransactorSession
- func (_AccessContextHandler *AccessContextHandlerTransactorSession) CreateContextInstance(_id [32]byte, _salt [20]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactorSession) DeleteContextInstance(_id [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactorSession) GrantRole(_roleContext [32]byte, _role [32]byte, _did [32]byte, ...) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactorSession) IsSession(_id [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactorSession) IsSession0(_id [32]byte, _did [32]byte, _roleContext [32]byte, _role [32]byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactorSession) SetSessionRegistry(sessionRegistry common.Address) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactorSession) StartSession(_did [32]byte, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
- func (_AccessContextHandler *AccessContextHandlerTransactorSession) StartSession0(_roleContext [32]byte, _role [32]byte, _did [32]byte, ...) (*types.Transaction, error)
- type AccessContextOwnershipTransferred
- type AccessContextOwnershipTransferredIterator
- type AccessContextRaw
- func (_AccessContext *AccessContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AccessContext *AccessContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AccessContext *AccessContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AccessContextSession
- func (_AccessContext *AccessContextSession) AssignPermission(_permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) AssignPolicy(_policyContext [32]byte, _policy [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) CheckAdmin(_did [32]byte, _account common.Address) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) GetPolicies(_contexts [][32]byte, _ids [][32]byte) ([]IPolicyExtensionPolicy, error)
- func (_AccessContext *AccessContextSession) GetPolicy(_context [32]byte, _id [32]byte) (IPolicyExtensionPolicy, error)
- func (_AccessContext *AccessContextSession) GrantRole(_role [32]byte, _did [32]byte, _policyContexts [][32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) HasRole(_role [32]byte, _did [32]byte) (bool, error)
- func (_AccessContext *AccessContextSession) Init(initialOwner [32]byte, id [32]byte, handler common.Address, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) Owner() ([32]byte, error)
- func (_AccessContext *AccessContextSession) RegisterPermission(_permission [32]byte, _resource [32]byte, _operations []uint8) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) RegisterPermission0(_permission [32]byte, _resource [32]byte, _operations []uint8, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) RegisterPolicy(_policy [32]byte, _verifier common.Address, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) RegisterPolicy0(_policy [32]byte, _verifier common.Address, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) RenounceOwnership(owner_ [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) RevokeRole(_role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) SetupRole(_role [32]byte, _policy [32]byte, _permission [32]byte, _resource [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) SetupRole0(_role [32]byte, _policyContext [32]byte, _policy [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) TransferOwnership(oldOwner [32]byte, newOwner [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextSession) UnassignPermission(_permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- type AccessContextTransactor
- func (_AccessContext *AccessContextTransactor) AssignPermission(opts *bind.TransactOpts, _permission [32]byte, _roleContext [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) AssignPolicy(opts *bind.TransactOpts, _policyContext [32]byte, _policy [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) CheckAdmin(opts *bind.TransactOpts, _did [32]byte, _account common.Address) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) GrantRole(opts *bind.TransactOpts, _role [32]byte, _did [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) Init(opts *bind.TransactOpts, initialOwner [32]byte, id [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) RegisterPermission(opts *bind.TransactOpts, _permission [32]byte, _resource [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) RegisterPermission0(opts *bind.TransactOpts, _permission [32]byte, _resource [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) RegisterPolicy(opts *bind.TransactOpts, _policy [32]byte, _verifier common.Address, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) RegisterPolicy0(opts *bind.TransactOpts, _policy [32]byte, _verifier common.Address, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) RenounceOwnership(opts *bind.TransactOpts, owner_ [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) RevokeRole(opts *bind.TransactOpts, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) SetupRole(opts *bind.TransactOpts, _role [32]byte, _policy [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) SetupRole0(opts *bind.TransactOpts, _role [32]byte, _policyContext [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) TransferOwnership(opts *bind.TransactOpts, oldOwner [32]byte, newOwner [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactor) UnassignPermission(opts *bind.TransactOpts, _permission [32]byte, _roleContext [32]byte, ...) (*types.Transaction, error)
- type AccessContextTransactorRaw
- type AccessContextTransactorSession
- func (_AccessContext *AccessContextTransactorSession) AssignPermission(_permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) AssignPolicy(_policyContext [32]byte, _policy [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) CheckAdmin(_did [32]byte, _account common.Address) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) GrantRole(_role [32]byte, _did [32]byte, _policyContexts [][32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) Init(initialOwner [32]byte, id [32]byte, handler common.Address, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) RegisterPermission(_permission [32]byte, _resource [32]byte, _operations []uint8) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) RegisterPermission0(_permission [32]byte, _resource [32]byte, _operations []uint8, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) RegisterPolicy(_policy [32]byte, _verifier common.Address, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) RegisterPolicy0(_policy [32]byte, _verifier common.Address, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) RenounceOwnership(owner_ [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) RevokeRole(_role [32]byte, _did [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) SetupRole(_role [32]byte, _policy [32]byte, _permission [32]byte, _resource [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) SetupRole0(_role [32]byte, _policyContext [32]byte, _policy [32]byte, ...) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) TransferOwnership(oldOwner [32]byte, newOwner [32]byte) (*types.Transaction, error)
- func (_AccessContext *AccessContextTransactorSession) UnassignPermission(_permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
- type IPolicyExtensionPolicy
- type IPolicyVerifierProof
- type PairingG1Point
- type PairingG2Point
- type SessionRegistry
- type SessionRegistryCaller
- type SessionRegistryCallerRaw
- type SessionRegistryCallerSession
- type SessionRegistryFilterer
- type SessionRegistryRaw
- func (_SessionRegistry *SessionRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SessionRegistry *SessionRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SessionRegistry *SessionRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SessionRegistrySession
- func (_SessionRegistry *SessionRegistrySession) IsSession(_id [32]byte, _user [32]byte) (bool, error)
- func (_SessionRegistry *SessionRegistrySession) IsSessionValid(_id [32]byte) (bool, error)
- func (_SessionRegistry *SessionRegistrySession) RevokeSession(_id [32]byte) (*types.Transaction, error)
- func (_SessionRegistry *SessionRegistrySession) SetContextHandler(contextHandler common.Address) (*types.Transaction, error)
- func (_SessionRegistry *SessionRegistrySession) StartSession(_id [32]byte, _token []byte, _user [32]byte) (*types.Transaction, error)
- type SessionRegistryTransactor
- func (_SessionRegistry *SessionRegistryTransactor) RevokeSession(opts *bind.TransactOpts, _id [32]byte) (*types.Transaction, error)
- func (_SessionRegistry *SessionRegistryTransactor) SetContextHandler(opts *bind.TransactOpts, contextHandler common.Address) (*types.Transaction, error)
- func (_SessionRegistry *SessionRegistryTransactor) StartSession(opts *bind.TransactOpts, _id [32]byte, _token []byte, _user [32]byte) (*types.Transaction, error)
- type SessionRegistryTransactorRaw
- type SessionRegistryTransactorSession
- func (_SessionRegistry *SessionRegistryTransactorSession) RevokeSession(_id [32]byte) (*types.Transaction, error)
- func (_SessionRegistry *SessionRegistryTransactorSession) SetContextHandler(contextHandler common.Address) (*types.Transaction, error)
- func (_SessionRegistry *SessionRegistryTransactorSession) StartSession(_id [32]byte, _token []byte, _user [32]byte) (*types.Transaction, error)
- type SimpleDIDRegistry
- type SimpleDIDRegistryCaller
- func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) Changed(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) Controllers(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) GetController(opts *bind.CallOpts, identity [32]byte) (common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) GetControllers(opts *bind.CallOpts, identity [32]byte) ([]common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) IsController(opts *bind.CallOpts, identity [32]byte, actor common.Address) (bool, error)
- type SimpleDIDRegistryCallerRaw
- type SimpleDIDRegistryCallerSession
- func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) Changed(arg0 common.Address) (*big.Int, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) Controllers(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) GetController(identity [32]byte) (common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) GetControllers(identity [32]byte) ([]common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) IsController(identity [32]byte, actor common.Address) (bool, error)
- type SimpleDIDRegistryDIDControllerChanged
- type SimpleDIDRegistryDIDControllerChangedIterator
- type SimpleDIDRegistryFilterer
- func (_SimpleDIDRegistry *SimpleDIDRegistryFilterer) FilterDIDControllerChanged(opts *bind.FilterOpts) (*SimpleDIDRegistryDIDControllerChangedIterator, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryFilterer) ParseDIDControllerChanged(log types.Log) (*SimpleDIDRegistryDIDControllerChanged, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryFilterer) WatchDIDControllerChanged(opts *bind.WatchOpts, sink chan<- *SimpleDIDRegistryDIDControllerChanged) (event.Subscription, error)
- type SimpleDIDRegistryRaw
- func (_SimpleDIDRegistry *SimpleDIDRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SimpleDIDRegistry *SimpleDIDRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleDIDRegistrySession
- func (_SimpleDIDRegistry *SimpleDIDRegistrySession) AddController(identity [32]byte, controller common.Address) (*types.Transaction, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistrySession) ChangeController(identity [32]byte, newController common.Address) (*types.Transaction, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistrySession) Changed(arg0 common.Address) (*big.Int, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistrySession) Controllers(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistrySession) GetController(identity [32]byte) (common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistrySession) GetControllers(identity [32]byte) ([]common.Address, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistrySession) IsController(identity [32]byte, actor common.Address) (bool, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistrySession) RemoveController(identity [32]byte, controller common.Address) (*types.Transaction, error)
- type SimpleDIDRegistryTransactor
- func (_SimpleDIDRegistry *SimpleDIDRegistryTransactor) AddController(opts *bind.TransactOpts, identity [32]byte, controller common.Address) (*types.Transaction, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryTransactor) ChangeController(opts *bind.TransactOpts, identity [32]byte, newController common.Address) (*types.Transaction, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryTransactor) RemoveController(opts *bind.TransactOpts, identity [32]byte, controller common.Address) (*types.Transaction, error)
- type SimpleDIDRegistryTransactorRaw
- type SimpleDIDRegistryTransactorSession
- func (_SimpleDIDRegistry *SimpleDIDRegistryTransactorSession) AddController(identity [32]byte, controller common.Address) (*types.Transaction, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryTransactorSession) ChangeController(identity [32]byte, newController common.Address) (*types.Transaction, error)
- func (_SimpleDIDRegistry *SimpleDIDRegistryTransactorSession) RemoveController(identity [32]byte, controller common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var AccessContextABI = AccessContextMetaData.ABI
AccessContextABI is the input ABI used to generate the binding from. Deprecated: Use AccessContextMetaData.ABI instead.
var AccessContextHandlerABI = AccessContextHandlerMetaData.ABI
AccessContextHandlerABI is the input ABI used to generate the binding from. Deprecated: Use AccessContextHandlerMetaData.ABI instead.
var AccessContextHandlerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"didRegistry\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ERC1167FailedCreateClone\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"accessContext\",\"type\":\"address\"}],\"name\":\"CreateContextInstance\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes20\",\"name\":\"_salt\",\"type\":\"bytes20\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"createContextInstance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"deleteContextInstance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getContextInstance\",\"outputs\":[{\"internalType\":\"contractIContextInstance\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_roleContext\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"_policyContexts\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_policies\",\"type\":\"bytes32[]\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"structPairing.G1Point\",\"name\":\"a\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256[2]\",\"name\":\"X\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"Y\",\"type\":\"uint256[2]\"}],\"internalType\":\"structPairing.G2Point\",\"name\":\"b\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"structPairing.G1Point\",\"name\":\"c\",\"type\":\"tuple\"}],\"internalType\":\"structIPolicyVerifier.Proof[]\",\"name\":\"_proofs\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[20][]\",\"name\":\"_inputs\",\"type\":\"uint256[20][]\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"isSession\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_roleContext\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"}],\"name\":\"isSession\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sessionRegistry\",\"type\":\"address\"}],\"name\":\"setSessionRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_tokenId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_token\",\"type\":\"bytes\"}],\"name\":\"startSession\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_roleContext\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"_policyContexts\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_policies\",\"type\":\"bytes32[]\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"structPairing.G1Point\",\"name\":\"a\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256[2]\",\"name\":\"X\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"Y\",\"type\":\"uint256[2]\"}],\"internalType\":\"structPairing.G2Point\",\"name\":\"b\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"structPairing.G1Point\",\"name\":\"c\",\"type\":\"tuple\"}],\"internalType\":\"structIPolicyVerifier.Proof[]\",\"name\":\"_proofs\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[20][]\",\"name\":\"_inputs\",\"type\":\"uint256[20][]\"},{\"internalType\":\"bytes32\",\"name\":\"_tokenId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_token\",\"type\":\"bytes\"}],\"name\":\"startSession\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
AccessContextHandlerMetaData contains all meta data concerning the AccessContextHandler contract.
var AccessContextMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"owner\",\"type\":\"bytes32\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"did\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousOwner\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newOwner\",\"type\":\"bytes32\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_permission\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_roleContext\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"assignPermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_policyContext\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_policy\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"assignPolicy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"checkAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_contexts\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_ids\",\"type\":\"bytes32[]\"}],\"name\":\"getPolicies\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"context\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"contractIPolicyVerifier\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"internalType\":\"structIPolicyExtension.Policy[]\",\"name\":\"policies\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_context\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getPolicy\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"context\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"contractIPolicyVerifier\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"internalType\":\"structIPolicyExtension.Policy\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"_policyContexts\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_policies\",\"type\":\"bytes32[]\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"structPairing.G1Point\",\"name\":\"a\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256[2]\",\"name\":\"X\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"Y\",\"type\":\"uint256[2]\"}],\"internalType\":\"structPairing.G2Point\",\"name\":\"b\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"structPairing.G1Point\",\"name\":\"c\",\"type\":\"tuple\"}],\"internalType\":\"structIPolicyVerifier.Proof[]\",\"name\":\"_proofs\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[20][]\",\"name\":\"_inputs\",\"type\":\"uint256[20][]\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"initialOwner\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"handler\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"didRegistry\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_permission\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resource\",\"type\":\"bytes32\"},{\"internalType\":\"enumPermissionExtension.Operation[]\",\"name\":\"_operations\",\"type\":\"uint8[]\"}],\"name\":\"registerPermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_permission\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resource\",\"type\":\"bytes32\"},{\"internalType\":\"enumPermissionExtension.Operation[]\",\"name\":\"_operations\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32\",\"name\":\"_roleContext\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"registerPermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_policy\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_verifier\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"registerPolicy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_policy\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_verifier\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"registerPolicy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"owner_\",\"type\":\"bytes32\"}],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_policy\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_permission\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resource\",\"type\":\"bytes32\"},{\"internalType\":\"enumPermissionExtension.Operation[]\",\"name\":\"_operations\",\"type\":\"uint8[]\"},{\"internalType\":\"address\",\"name\":\"_verifier\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"setupRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_policyContext\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_policy\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_permission\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resource\",\"type\":\"bytes32\"},{\"internalType\":\"enumPermissionExtension.Operation[]\",\"name\":\"_operations\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"setupRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"oldOwner\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newOwner\",\"type\":\"bytes32\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_permission\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_roleContext\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_role\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"unassignPermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
AccessContextMetaData contains all meta data concerning the AccessContext contract.
var SessionRegistryABI = SessionRegistryMetaData.ABI
SessionRegistryABI is the input ABI used to generate the binding from. Deprecated: Use SessionRegistryMetaData.ABI instead.
var SessionRegistryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contextHandler\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"didRegistry\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_user\",\"type\":\"bytes32\"}],\"name\":\"isSession\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"isSessionValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"revokeSession\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contextHandler\",\"type\":\"address\"}],\"name\":\"setContextHandler\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_token\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_user\",\"type\":\"bytes32\"}],\"name\":\"startSession\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
SessionRegistryMetaData contains all meta data concerning the SessionRegistry contract.
var SimpleDIDRegistryABI = SimpleDIDRegistryMetaData.ABI
SimpleDIDRegistryABI is the input ABI used to generate the binding from. Deprecated: Use SimpleDIDRegistryMetaData.ABI instead.
var SimpleDIDRegistryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_identities\",\"type\":\"bytes32[]\"},{\"internalType\":\"address[]\",\"name\":\"_controllers\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"identity\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"DIDControllerChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"identity\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"addController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"identity\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newController\",\"type\":\"address\"}],\"name\":\"changeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"changed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"controllers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"identity\",\"type\":\"bytes32\"}],\"name\":\"getController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"identity\",\"type\":\"bytes32\"}],\"name\":\"getControllers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"identity\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"isController\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"identity\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"removeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
SimpleDIDRegistryMetaData contains all meta data concerning the SimpleDIDRegistry contract.
Functions ¶
This section is empty.
Types ¶
type AccessContext ¶
type AccessContext struct { AccessContextCaller // Read-only binding to the contract AccessContextTransactor // Write-only binding to the contract AccessContextFilterer // Log filterer for contract events }
AccessContext is an auto generated Go binding around an Ethereum contract.
func NewAccessContext ¶
func NewAccessContext(address common.Address, backend bind.ContractBackend) (*AccessContext, error)
NewAccessContext creates a new instance of AccessContext, bound to a specific deployed contract.
type AccessContextCaller ¶
type AccessContextCaller struct {
// contains filtered or unexported fields
}
AccessContextCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAccessContextCaller ¶
func NewAccessContextCaller(address common.Address, caller bind.ContractCaller) (*AccessContextCaller, error)
NewAccessContextCaller creates a new read-only instance of AccessContext, bound to a specific deployed contract.
func (*AccessContextCaller) GetPolicies ¶
func (_AccessContext *AccessContextCaller) GetPolicies(opts *bind.CallOpts, _contexts [][32]byte, _ids [][32]byte) ([]IPolicyExtensionPolicy, error)
GetPolicies is a free data retrieval call binding the contract method 0x32adfd2b.
Solidity: function getPolicies(bytes32[] _contexts, bytes32[] _ids) view returns((bytes32,bytes32,address,bool)[] policies)
func (*AccessContextCaller) GetPolicy ¶
func (_AccessContext *AccessContextCaller) GetPolicy(opts *bind.CallOpts, _context [32]byte, _id [32]byte) (IPolicyExtensionPolicy, error)
GetPolicy is a free data retrieval call binding the contract method 0x2654083f.
Solidity: function getPolicy(bytes32 _context, bytes32 _id) view returns((bytes32,bytes32,address,bool))
func (*AccessContextCaller) HasRole ¶
func (_AccessContext *AccessContextCaller) HasRole(opts *bind.CallOpts, _role [32]byte, _did [32]byte) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x0ca075d9.
Solidity: function hasRole(bytes32 _role, bytes32 _did) view returns(bool)
type AccessContextCallerRaw ¶
type AccessContextCallerRaw struct {
Contract *AccessContextCaller // Generic read-only contract binding to access the raw methods on
}
AccessContextCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AccessContextCallerRaw) Call ¶
func (_AccessContext *AccessContextCallerRaw) 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 AccessContextCallerSession ¶
type AccessContextCallerSession struct { Contract *AccessContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AccessContextCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AccessContextCallerSession) GetPolicies ¶
func (_AccessContext *AccessContextCallerSession) GetPolicies(_contexts [][32]byte, _ids [][32]byte) ([]IPolicyExtensionPolicy, error)
GetPolicies is a free data retrieval call binding the contract method 0x32adfd2b.
Solidity: function getPolicies(bytes32[] _contexts, bytes32[] _ids) view returns((bytes32,bytes32,address,bool)[] policies)
func (*AccessContextCallerSession) GetPolicy ¶
func (_AccessContext *AccessContextCallerSession) GetPolicy(_context [32]byte, _id [32]byte) (IPolicyExtensionPolicy, error)
GetPolicy is a free data retrieval call binding the contract method 0x2654083f.
Solidity: function getPolicy(bytes32 _context, bytes32 _id) view returns((bytes32,bytes32,address,bool))
func (*AccessContextCallerSession) HasRole ¶
func (_AccessContext *AccessContextCallerSession) HasRole(_role [32]byte, _did [32]byte) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x0ca075d9.
Solidity: function hasRole(bytes32 _role, bytes32 _did) view returns(bool)
func (*AccessContextCallerSession) Owner ¶
func (_AccessContext *AccessContextCallerSession) Owner() ([32]byte, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(bytes32)
type AccessContextFilterer ¶
type AccessContextFilterer struct {
// contains filtered or unexported fields
}
AccessContextFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAccessContextFilterer ¶
func NewAccessContextFilterer(address common.Address, filterer bind.ContractFilterer) (*AccessContextFilterer, error)
NewAccessContextFilterer creates a new log filterer instance of AccessContext, bound to a specific deployed contract.
func (*AccessContextFilterer) FilterOwnershipTransferred ¶
func (_AccessContext *AccessContextFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner [][32]byte, newOwner [][32]byte) (*AccessContextOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0xcbbb77f62b929125ef27b63e21aa7682e6a2cb1f238a0c221931211b4d1913eb.
Solidity: event OwnershipTransferred(bytes32 indexed previousOwner, bytes32 indexed newOwner)
func (*AccessContextFilterer) ParseOwnershipTransferred ¶
func (_AccessContext *AccessContextFilterer) ParseOwnershipTransferred(log types.Log) (*AccessContextOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0xcbbb77f62b929125ef27b63e21aa7682e6a2cb1f238a0c221931211b4d1913eb.
Solidity: event OwnershipTransferred(bytes32 indexed previousOwner, bytes32 indexed newOwner)
func (*AccessContextFilterer) WatchOwnershipTransferred ¶
func (_AccessContext *AccessContextFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AccessContextOwnershipTransferred, previousOwner [][32]byte, newOwner [][32]byte) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0xcbbb77f62b929125ef27b63e21aa7682e6a2cb1f238a0c221931211b4d1913eb.
Solidity: event OwnershipTransferred(bytes32 indexed previousOwner, bytes32 indexed newOwner)
type AccessContextHandler ¶
type AccessContextHandler struct { AccessContextHandlerCaller // Read-only binding to the contract AccessContextHandlerTransactor // Write-only binding to the contract AccessContextHandlerFilterer // Log filterer for contract events }
AccessContextHandler is an auto generated Go binding around an Ethereum contract.
func NewAccessContextHandler ¶
func NewAccessContextHandler(address common.Address, backend bind.ContractBackend) (*AccessContextHandler, error)
NewAccessContextHandler creates a new instance of AccessContextHandler, bound to a specific deployed contract.
type AccessContextHandlerCaller ¶
type AccessContextHandlerCaller struct {
// contains filtered or unexported fields
}
AccessContextHandlerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAccessContextHandlerCaller ¶
func NewAccessContextHandlerCaller(address common.Address, caller bind.ContractCaller) (*AccessContextHandlerCaller, error)
NewAccessContextHandlerCaller creates a new read-only instance of AccessContextHandler, bound to a specific deployed contract.
func (*AccessContextHandlerCaller) GetContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerCaller) GetContextInstance(opts *bind.CallOpts, _id [32]byte) (common.Address, error)
GetContextInstance is a free data retrieval call binding the contract method 0xa71a77d2.
Solidity: function getContextInstance(bytes32 _id) view returns(address)
type AccessContextHandlerCallerRaw ¶
type AccessContextHandlerCallerRaw struct {
Contract *AccessContextHandlerCaller // Generic read-only contract binding to access the raw methods on
}
AccessContextHandlerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AccessContextHandlerCallerRaw) Call ¶
func (_AccessContextHandler *AccessContextHandlerCallerRaw) 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 AccessContextHandlerCallerSession ¶
type AccessContextHandlerCallerSession struct { Contract *AccessContextHandlerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AccessContextHandlerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AccessContextHandlerCallerSession) GetContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerCallerSession) GetContextInstance(_id [32]byte) (common.Address, error)
GetContextInstance is a free data retrieval call binding the contract method 0xa71a77d2.
Solidity: function getContextInstance(bytes32 _id) view returns(address)
type AccessContextHandlerCreateContextInstance ¶
type AccessContextHandlerCreateContextInstance struct { AccessContext common.Address Raw types.Log // Blockchain specific contextual infos }
AccessContextHandlerCreateContextInstance represents a CreateContextInstance event raised by the AccessContextHandler contract.
type AccessContextHandlerCreateContextInstanceIterator ¶
type AccessContextHandlerCreateContextInstanceIterator struct { Event *AccessContextHandlerCreateContextInstance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessContextHandlerCreateContextInstanceIterator is returned from FilterCreateContextInstance and is used to iterate over the raw logs and unpacked data for CreateContextInstance events raised by the AccessContextHandler contract.
func (*AccessContextHandlerCreateContextInstanceIterator) Close ¶
func (it *AccessContextHandlerCreateContextInstanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessContextHandlerCreateContextInstanceIterator) Error ¶
func (it *AccessContextHandlerCreateContextInstanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessContextHandlerCreateContextInstanceIterator) Next ¶
func (it *AccessContextHandlerCreateContextInstanceIterator) 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 AccessContextHandlerFilterer ¶
type AccessContextHandlerFilterer struct {
// contains filtered or unexported fields
}
AccessContextHandlerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAccessContextHandlerFilterer ¶
func NewAccessContextHandlerFilterer(address common.Address, filterer bind.ContractFilterer) (*AccessContextHandlerFilterer, error)
NewAccessContextHandlerFilterer creates a new log filterer instance of AccessContextHandler, bound to a specific deployed contract.
func (*AccessContextHandlerFilterer) FilterCreateContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerFilterer) FilterCreateContextInstance(opts *bind.FilterOpts, accessContext []common.Address) (*AccessContextHandlerCreateContextInstanceIterator, error)
FilterCreateContextInstance is a free log retrieval operation binding the contract event 0xe949066119e817dca657ddef4b6bb5d7f3d1ccec2153ae908edcec5205f89000.
Solidity: event CreateContextInstance(address indexed accessContext)
func (*AccessContextHandlerFilterer) ParseCreateContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerFilterer) ParseCreateContextInstance(log types.Log) (*AccessContextHandlerCreateContextInstance, error)
ParseCreateContextInstance is a log parse operation binding the contract event 0xe949066119e817dca657ddef4b6bb5d7f3d1ccec2153ae908edcec5205f89000.
Solidity: event CreateContextInstance(address indexed accessContext)
func (*AccessContextHandlerFilterer) WatchCreateContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerFilterer) WatchCreateContextInstance(opts *bind.WatchOpts, sink chan<- *AccessContextHandlerCreateContextInstance, accessContext []common.Address) (event.Subscription, error)
WatchCreateContextInstance is a free log subscription operation binding the contract event 0xe949066119e817dca657ddef4b6bb5d7f3d1ccec2153ae908edcec5205f89000.
Solidity: event CreateContextInstance(address indexed accessContext)
type AccessContextHandlerRaw ¶
type AccessContextHandlerRaw struct {
Contract *AccessContextHandler // Generic contract binding to access the raw methods on
}
AccessContextHandlerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AccessContextHandlerRaw) Call ¶
func (_AccessContextHandler *AccessContextHandlerRaw) 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 (*AccessContextHandlerRaw) Transact ¶
func (_AccessContextHandler *AccessContextHandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccessContextHandlerRaw) Transfer ¶
func (_AccessContextHandler *AccessContextHandlerRaw) 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 AccessContextHandlerSession ¶
type AccessContextHandlerSession struct { Contract *AccessContextHandler // 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 }
AccessContextHandlerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AccessContextHandlerSession) CreateContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerSession) CreateContextInstance(_id [32]byte, _salt [20]byte, _did [32]byte) (*types.Transaction, error)
CreateContextInstance is a paid mutator transaction binding the contract method 0x656c4309.
Solidity: function createContextInstance(bytes32 _id, bytes20 _salt, bytes32 _did) returns()
func (*AccessContextHandlerSession) DeleteContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerSession) DeleteContextInstance(_id [32]byte, _did [32]byte) (*types.Transaction, error)
DeleteContextInstance is a paid mutator transaction binding the contract method 0xe657c9e9.
Solidity: function deleteContextInstance(bytes32 _id, bytes32 _did) returns()
func (*AccessContextHandlerSession) GetContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerSession) GetContextInstance(_id [32]byte) (common.Address, error)
GetContextInstance is a free data retrieval call binding the contract method 0xa71a77d2.
Solidity: function getContextInstance(bytes32 _id) view returns(address)
func (*AccessContextHandlerSession) GrantRole ¶
func (_AccessContextHandler *AccessContextHandlerSession) GrantRole(_roleContext [32]byte, _role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x86490b3e.
Solidity: function grantRole(bytes32 _roleContext, bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs) returns()
func (*AccessContextHandlerSession) IsSession ¶
func (_AccessContextHandler *AccessContextHandlerSession) IsSession(_id [32]byte, _did [32]byte) (*types.Transaction, error)
IsSession is a paid mutator transaction binding the contract method 0x011255b5.
Solidity: function isSession(bytes32 _id, bytes32 _did) returns(bool)
func (*AccessContextHandlerSession) IsSession0 ¶
func (_AccessContextHandler *AccessContextHandlerSession) IsSession0(_id [32]byte, _did [32]byte, _roleContext [32]byte, _role [32]byte) (*types.Transaction, error)
IsSession0 is a paid mutator transaction binding the contract method 0xc25e93da.
Solidity: function isSession(bytes32 _id, bytes32 _did, bytes32 _roleContext, bytes32 _role) returns(bool)
func (*AccessContextHandlerSession) SetSessionRegistry ¶
func (_AccessContextHandler *AccessContextHandlerSession) SetSessionRegistry(sessionRegistry common.Address) (*types.Transaction, error)
SetSessionRegistry is a paid mutator transaction binding the contract method 0x4fd9d24b.
Solidity: function setSessionRegistry(address sessionRegistry) returns()
func (*AccessContextHandlerSession) StartSession ¶
func (_AccessContextHandler *AccessContextHandlerSession) StartSession(_did [32]byte, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
StartSession is a paid mutator transaction binding the contract method 0x9e41f61e.
Solidity: function startSession(bytes32 _did, bytes32 _tokenId, bytes _token) returns()
func (*AccessContextHandlerSession) StartSession0 ¶
func (_AccessContextHandler *AccessContextHandlerSession) StartSession0(_roleContext [32]byte, _role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
StartSession0 is a paid mutator transaction binding the contract method 0xc83992ef.
Solidity: function startSession(bytes32 _roleContext, bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs, bytes32 _tokenId, bytes _token) returns()
type AccessContextHandlerTransactor ¶
type AccessContextHandlerTransactor struct {
// contains filtered or unexported fields
}
AccessContextHandlerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAccessContextHandlerTransactor ¶
func NewAccessContextHandlerTransactor(address common.Address, transactor bind.ContractTransactor) (*AccessContextHandlerTransactor, error)
NewAccessContextHandlerTransactor creates a new write-only instance of AccessContextHandler, bound to a specific deployed contract.
func (*AccessContextHandlerTransactor) CreateContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerTransactor) CreateContextInstance(opts *bind.TransactOpts, _id [32]byte, _salt [20]byte, _did [32]byte) (*types.Transaction, error)
CreateContextInstance is a paid mutator transaction binding the contract method 0x656c4309.
Solidity: function createContextInstance(bytes32 _id, bytes20 _salt, bytes32 _did) returns()
func (*AccessContextHandlerTransactor) DeleteContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerTransactor) DeleteContextInstance(opts *bind.TransactOpts, _id [32]byte, _did [32]byte) (*types.Transaction, error)
DeleteContextInstance is a paid mutator transaction binding the contract method 0xe657c9e9.
Solidity: function deleteContextInstance(bytes32 _id, bytes32 _did) returns()
func (*AccessContextHandlerTransactor) GrantRole ¶
func (_AccessContextHandler *AccessContextHandlerTransactor) GrantRole(opts *bind.TransactOpts, _roleContext [32]byte, _role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x86490b3e.
Solidity: function grantRole(bytes32 _roleContext, bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs) returns()
func (*AccessContextHandlerTransactor) IsSession ¶
func (_AccessContextHandler *AccessContextHandlerTransactor) IsSession(opts *bind.TransactOpts, _id [32]byte, _did [32]byte) (*types.Transaction, error)
IsSession is a paid mutator transaction binding the contract method 0x011255b5.
Solidity: function isSession(bytes32 _id, bytes32 _did) returns(bool)
func (*AccessContextHandlerTransactor) IsSession0 ¶
func (_AccessContextHandler *AccessContextHandlerTransactor) IsSession0(opts *bind.TransactOpts, _id [32]byte, _did [32]byte, _roleContext [32]byte, _role [32]byte) (*types.Transaction, error)
IsSession0 is a paid mutator transaction binding the contract method 0xc25e93da.
Solidity: function isSession(bytes32 _id, bytes32 _did, bytes32 _roleContext, bytes32 _role) returns(bool)
func (*AccessContextHandlerTransactor) SetSessionRegistry ¶
func (_AccessContextHandler *AccessContextHandlerTransactor) SetSessionRegistry(opts *bind.TransactOpts, sessionRegistry common.Address) (*types.Transaction, error)
SetSessionRegistry is a paid mutator transaction binding the contract method 0x4fd9d24b.
Solidity: function setSessionRegistry(address sessionRegistry) returns()
func (*AccessContextHandlerTransactor) StartSession ¶
func (_AccessContextHandler *AccessContextHandlerTransactor) StartSession(opts *bind.TransactOpts, _did [32]byte, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
StartSession is a paid mutator transaction binding the contract method 0x9e41f61e.
Solidity: function startSession(bytes32 _did, bytes32 _tokenId, bytes _token) returns()
func (*AccessContextHandlerTransactor) StartSession0 ¶
func (_AccessContextHandler *AccessContextHandlerTransactor) StartSession0(opts *bind.TransactOpts, _roleContext [32]byte, _role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
StartSession0 is a paid mutator transaction binding the contract method 0xc83992ef.
Solidity: function startSession(bytes32 _roleContext, bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs, bytes32 _tokenId, bytes _token) returns()
type AccessContextHandlerTransactorRaw ¶
type AccessContextHandlerTransactorRaw struct {
Contract *AccessContextHandlerTransactor // Generic write-only contract binding to access the raw methods on
}
AccessContextHandlerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AccessContextHandlerTransactorRaw) Transact ¶
func (_AccessContextHandler *AccessContextHandlerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccessContextHandlerTransactorRaw) Transfer ¶
func (_AccessContextHandler *AccessContextHandlerTransactorRaw) 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 AccessContextHandlerTransactorSession ¶
type AccessContextHandlerTransactorSession struct { Contract *AccessContextHandlerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AccessContextHandlerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AccessContextHandlerTransactorSession) CreateContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerTransactorSession) CreateContextInstance(_id [32]byte, _salt [20]byte, _did [32]byte) (*types.Transaction, error)
CreateContextInstance is a paid mutator transaction binding the contract method 0x656c4309.
Solidity: function createContextInstance(bytes32 _id, bytes20 _salt, bytes32 _did) returns()
func (*AccessContextHandlerTransactorSession) DeleteContextInstance ¶
func (_AccessContextHandler *AccessContextHandlerTransactorSession) DeleteContextInstance(_id [32]byte, _did [32]byte) (*types.Transaction, error)
DeleteContextInstance is a paid mutator transaction binding the contract method 0xe657c9e9.
Solidity: function deleteContextInstance(bytes32 _id, bytes32 _did) returns()
func (*AccessContextHandlerTransactorSession) GrantRole ¶
func (_AccessContextHandler *AccessContextHandlerTransactorSession) GrantRole(_roleContext [32]byte, _role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x86490b3e.
Solidity: function grantRole(bytes32 _roleContext, bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs) returns()
func (*AccessContextHandlerTransactorSession) IsSession ¶
func (_AccessContextHandler *AccessContextHandlerTransactorSession) IsSession(_id [32]byte, _did [32]byte) (*types.Transaction, error)
IsSession is a paid mutator transaction binding the contract method 0x011255b5.
Solidity: function isSession(bytes32 _id, bytes32 _did) returns(bool)
func (*AccessContextHandlerTransactorSession) IsSession0 ¶
func (_AccessContextHandler *AccessContextHandlerTransactorSession) IsSession0(_id [32]byte, _did [32]byte, _roleContext [32]byte, _role [32]byte) (*types.Transaction, error)
IsSession0 is a paid mutator transaction binding the contract method 0xc25e93da.
Solidity: function isSession(bytes32 _id, bytes32 _did, bytes32 _roleContext, bytes32 _role) returns(bool)
func (*AccessContextHandlerTransactorSession) SetSessionRegistry ¶
func (_AccessContextHandler *AccessContextHandlerTransactorSession) SetSessionRegistry(sessionRegistry common.Address) (*types.Transaction, error)
SetSessionRegistry is a paid mutator transaction binding the contract method 0x4fd9d24b.
Solidity: function setSessionRegistry(address sessionRegistry) returns()
func (*AccessContextHandlerTransactorSession) StartSession ¶
func (_AccessContextHandler *AccessContextHandlerTransactorSession) StartSession(_did [32]byte, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
StartSession is a paid mutator transaction binding the contract method 0x9e41f61e.
Solidity: function startSession(bytes32 _did, bytes32 _tokenId, bytes _token) returns()
func (*AccessContextHandlerTransactorSession) StartSession0 ¶
func (_AccessContextHandler *AccessContextHandlerTransactorSession) StartSession0(_roleContext [32]byte, _role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int, _tokenId [32]byte, _token []byte) (*types.Transaction, error)
StartSession0 is a paid mutator transaction binding the contract method 0xc83992ef.
Solidity: function startSession(bytes32 _roleContext, bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs, bytes32 _tokenId, bytes _token) returns()
type AccessContextOwnershipTransferred ¶
type AccessContextOwnershipTransferred struct { PreviousOwner [32]byte NewOwner [32]byte Raw types.Log // Blockchain specific contextual infos }
AccessContextOwnershipTransferred represents a OwnershipTransferred event raised by the AccessContext contract.
type AccessContextOwnershipTransferredIterator ¶
type AccessContextOwnershipTransferredIterator struct { Event *AccessContextOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessContextOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AccessContext contract.
func (*AccessContextOwnershipTransferredIterator) Close ¶
func (it *AccessContextOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessContextOwnershipTransferredIterator) Error ¶
func (it *AccessContextOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessContextOwnershipTransferredIterator) Next ¶
func (it *AccessContextOwnershipTransferredIterator) 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 AccessContextRaw ¶
type AccessContextRaw struct {
Contract *AccessContext // Generic contract binding to access the raw methods on
}
AccessContextRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AccessContextRaw) Call ¶
func (_AccessContext *AccessContextRaw) 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 (*AccessContextRaw) Transact ¶
func (_AccessContext *AccessContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccessContextRaw) Transfer ¶
func (_AccessContext *AccessContextRaw) 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 AccessContextSession ¶
type AccessContextSession struct { Contract *AccessContext // 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 }
AccessContextSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AccessContextSession) AssignPermission ¶
func (_AccessContext *AccessContextSession) AssignPermission(_permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
AssignPermission is a paid mutator transaction binding the contract method 0xd70da68e.
Solidity: function assignPermission(bytes32 _permission, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
func (*AccessContextSession) AssignPolicy ¶
func (_AccessContext *AccessContextSession) AssignPolicy(_policyContext [32]byte, _policy [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
AssignPolicy is a paid mutator transaction binding the contract method 0xb8bc0fd8.
Solidity: function assignPolicy(bytes32 _policyContext, bytes32 _policy, bytes32 _role, bytes32 _did) returns()
func (*AccessContextSession) CheckAdmin ¶
func (_AccessContext *AccessContextSession) CheckAdmin(_did [32]byte, _account common.Address) (*types.Transaction, error)
CheckAdmin is a paid mutator transaction binding the contract method 0xfd9965e6.
Solidity: function checkAdmin(bytes32 _did, address _account) returns(bool)
func (*AccessContextSession) GetPolicies ¶
func (_AccessContext *AccessContextSession) GetPolicies(_contexts [][32]byte, _ids [][32]byte) ([]IPolicyExtensionPolicy, error)
GetPolicies is a free data retrieval call binding the contract method 0x32adfd2b.
Solidity: function getPolicies(bytes32[] _contexts, bytes32[] _ids) view returns((bytes32,bytes32,address,bool)[] policies)
func (*AccessContextSession) GetPolicy ¶
func (_AccessContext *AccessContextSession) GetPolicy(_context [32]byte, _id [32]byte) (IPolicyExtensionPolicy, error)
GetPolicy is a free data retrieval call binding the contract method 0x2654083f.
Solidity: function getPolicy(bytes32 _context, bytes32 _id) view returns((bytes32,bytes32,address,bool))
func (*AccessContextSession) GrantRole ¶
func (_AccessContext *AccessContextSession) GrantRole(_role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x0888ee4c.
Solidity: function grantRole(bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs) returns()
func (*AccessContextSession) HasRole ¶
func (_AccessContext *AccessContextSession) HasRole(_role [32]byte, _did [32]byte) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x0ca075d9.
Solidity: function hasRole(bytes32 _role, bytes32 _did) view returns(bool)
func (*AccessContextSession) Init ¶
func (_AccessContext *AccessContextSession) Init(initialOwner [32]byte, id [32]byte, handler common.Address, didRegistry common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x118beb7a.
Solidity: function init(bytes32 initialOwner, bytes32 id, address handler, address didRegistry) returns()
func (*AccessContextSession) Owner ¶
func (_AccessContext *AccessContextSession) Owner() ([32]byte, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(bytes32)
func (*AccessContextSession) RegisterPermission ¶
func (_AccessContext *AccessContextSession) RegisterPermission(_permission [32]byte, _resource [32]byte, _operations []uint8) (*types.Transaction, error)
RegisterPermission is a paid mutator transaction binding the contract method 0x6c541a3d.
Solidity: function registerPermission(bytes32 _permission, bytes32 _resource, uint8[] _operations) returns()
func (*AccessContextSession) RegisterPermission0 ¶
func (_AccessContext *AccessContextSession) RegisterPermission0(_permission [32]byte, _resource [32]byte, _operations []uint8, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
RegisterPermission0 is a paid mutator transaction binding the contract method 0x9e8e764e.
Solidity: function registerPermission(bytes32 _permission, bytes32 _resource, uint8[] _operations, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
func (*AccessContextSession) RegisterPolicy ¶
func (_AccessContext *AccessContextSession) RegisterPolicy(_policy [32]byte, _verifier common.Address, _did [32]byte) (*types.Transaction, error)
RegisterPolicy is a paid mutator transaction binding the contract method 0x50ef0554.
Solidity: function registerPolicy(bytes32 _policy, address _verifier, bytes32 _did) returns()
func (*AccessContextSession) RegisterPolicy0 ¶
func (_AccessContext *AccessContextSession) RegisterPolicy0(_policy [32]byte, _verifier common.Address, _role [32]byte, _did [32]byte) (*types.Transaction, error)
RegisterPolicy0 is a paid mutator transaction binding the contract method 0xb51b05a9.
Solidity: function registerPolicy(bytes32 _policy, address _verifier, bytes32 _role, bytes32 _did) returns()
func (*AccessContextSession) RenounceOwnership ¶
func (_AccessContext *AccessContextSession) RenounceOwnership(owner_ [32]byte) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x219adc2e.
Solidity: function renounceOwnership(bytes32 owner_) returns()
func (*AccessContextSession) RevokeRole ¶
func (_AccessContext *AccessContextSession) RevokeRole(_role [32]byte, _did [32]byte) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0x7bf67eef.
Solidity: function revokeRole(bytes32 _role, bytes32 _did) returns()
func (*AccessContextSession) SetupRole ¶
func (_AccessContext *AccessContextSession) SetupRole(_role [32]byte, _policy [32]byte, _permission [32]byte, _resource [32]byte, _operations []uint8, _verifier common.Address, _did [32]byte) (*types.Transaction, error)
SetupRole is a paid mutator transaction binding the contract method 0x43aaf7ed.
Solidity: function setupRole(bytes32 _role, bytes32 _policy, bytes32 _permission, bytes32 _resource, uint8[] _operations, address _verifier, bytes32 _did) returns()
func (*AccessContextSession) SetupRole0 ¶
func (_AccessContext *AccessContextSession) SetupRole0(_role [32]byte, _policyContext [32]byte, _policy [32]byte, _permission [32]byte, _resource [32]byte, _operations []uint8, _did [32]byte) (*types.Transaction, error)
SetupRole0 is a paid mutator transaction binding the contract method 0xac2b831b.
Solidity: function setupRole(bytes32 _role, bytes32 _policyContext, bytes32 _policy, bytes32 _permission, bytes32 _resource, uint8[] _operations, bytes32 _did) returns()
func (*AccessContextSession) TransferOwnership ¶
func (_AccessContext *AccessContextSession) TransferOwnership(oldOwner [32]byte, newOwner [32]byte) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0x6d8c9532.
Solidity: function transferOwnership(bytes32 oldOwner, bytes32 newOwner) returns()
func (*AccessContextSession) UnassignPermission ¶
func (_AccessContext *AccessContextSession) UnassignPermission(_permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
UnassignPermission is a paid mutator transaction binding the contract method 0x7a8fbbce.
Solidity: function unassignPermission(bytes32 _permission, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
type AccessContextTransactor ¶
type AccessContextTransactor struct {
// contains filtered or unexported fields
}
AccessContextTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAccessContextTransactor ¶
func NewAccessContextTransactor(address common.Address, transactor bind.ContractTransactor) (*AccessContextTransactor, error)
NewAccessContextTransactor creates a new write-only instance of AccessContext, bound to a specific deployed contract.
func (*AccessContextTransactor) AssignPermission ¶
func (_AccessContext *AccessContextTransactor) AssignPermission(opts *bind.TransactOpts, _permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
AssignPermission is a paid mutator transaction binding the contract method 0xd70da68e.
Solidity: function assignPermission(bytes32 _permission, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactor) AssignPolicy ¶
func (_AccessContext *AccessContextTransactor) AssignPolicy(opts *bind.TransactOpts, _policyContext [32]byte, _policy [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
AssignPolicy is a paid mutator transaction binding the contract method 0xb8bc0fd8.
Solidity: function assignPolicy(bytes32 _policyContext, bytes32 _policy, bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactor) CheckAdmin ¶
func (_AccessContext *AccessContextTransactor) CheckAdmin(opts *bind.TransactOpts, _did [32]byte, _account common.Address) (*types.Transaction, error)
CheckAdmin is a paid mutator transaction binding the contract method 0xfd9965e6.
Solidity: function checkAdmin(bytes32 _did, address _account) returns(bool)
func (*AccessContextTransactor) GrantRole ¶
func (_AccessContext *AccessContextTransactor) GrantRole(opts *bind.TransactOpts, _role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x0888ee4c.
Solidity: function grantRole(bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs) returns()
func (*AccessContextTransactor) Init ¶
func (_AccessContext *AccessContextTransactor) Init(opts *bind.TransactOpts, initialOwner [32]byte, id [32]byte, handler common.Address, didRegistry common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x118beb7a.
Solidity: function init(bytes32 initialOwner, bytes32 id, address handler, address didRegistry) returns()
func (*AccessContextTransactor) RegisterPermission ¶
func (_AccessContext *AccessContextTransactor) RegisterPermission(opts *bind.TransactOpts, _permission [32]byte, _resource [32]byte, _operations []uint8) (*types.Transaction, error)
RegisterPermission is a paid mutator transaction binding the contract method 0x6c541a3d.
Solidity: function registerPermission(bytes32 _permission, bytes32 _resource, uint8[] _operations) returns()
func (*AccessContextTransactor) RegisterPermission0 ¶
func (_AccessContext *AccessContextTransactor) RegisterPermission0(opts *bind.TransactOpts, _permission [32]byte, _resource [32]byte, _operations []uint8, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
RegisterPermission0 is a paid mutator transaction binding the contract method 0x9e8e764e.
Solidity: function registerPermission(bytes32 _permission, bytes32 _resource, uint8[] _operations, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactor) RegisterPolicy ¶
func (_AccessContext *AccessContextTransactor) RegisterPolicy(opts *bind.TransactOpts, _policy [32]byte, _verifier common.Address, _did [32]byte) (*types.Transaction, error)
RegisterPolicy is a paid mutator transaction binding the contract method 0x50ef0554.
Solidity: function registerPolicy(bytes32 _policy, address _verifier, bytes32 _did) returns()
func (*AccessContextTransactor) RegisterPolicy0 ¶
func (_AccessContext *AccessContextTransactor) RegisterPolicy0(opts *bind.TransactOpts, _policy [32]byte, _verifier common.Address, _role [32]byte, _did [32]byte) (*types.Transaction, error)
RegisterPolicy0 is a paid mutator transaction binding the contract method 0xb51b05a9.
Solidity: function registerPolicy(bytes32 _policy, address _verifier, bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactor) RenounceOwnership ¶
func (_AccessContext *AccessContextTransactor) RenounceOwnership(opts *bind.TransactOpts, owner_ [32]byte) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x219adc2e.
Solidity: function renounceOwnership(bytes32 owner_) returns()
func (*AccessContextTransactor) RevokeRole ¶
func (_AccessContext *AccessContextTransactor) RevokeRole(opts *bind.TransactOpts, _role [32]byte, _did [32]byte) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0x7bf67eef.
Solidity: function revokeRole(bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactor) SetupRole ¶
func (_AccessContext *AccessContextTransactor) SetupRole(opts *bind.TransactOpts, _role [32]byte, _policy [32]byte, _permission [32]byte, _resource [32]byte, _operations []uint8, _verifier common.Address, _did [32]byte) (*types.Transaction, error)
SetupRole is a paid mutator transaction binding the contract method 0x43aaf7ed.
Solidity: function setupRole(bytes32 _role, bytes32 _policy, bytes32 _permission, bytes32 _resource, uint8[] _operations, address _verifier, bytes32 _did) returns()
func (*AccessContextTransactor) SetupRole0 ¶
func (_AccessContext *AccessContextTransactor) SetupRole0(opts *bind.TransactOpts, _role [32]byte, _policyContext [32]byte, _policy [32]byte, _permission [32]byte, _resource [32]byte, _operations []uint8, _did [32]byte) (*types.Transaction, error)
SetupRole0 is a paid mutator transaction binding the contract method 0xac2b831b.
Solidity: function setupRole(bytes32 _role, bytes32 _policyContext, bytes32 _policy, bytes32 _permission, bytes32 _resource, uint8[] _operations, bytes32 _did) returns()
func (*AccessContextTransactor) TransferOwnership ¶
func (_AccessContext *AccessContextTransactor) TransferOwnership(opts *bind.TransactOpts, oldOwner [32]byte, newOwner [32]byte) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0x6d8c9532.
Solidity: function transferOwnership(bytes32 oldOwner, bytes32 newOwner) returns()
func (*AccessContextTransactor) UnassignPermission ¶
func (_AccessContext *AccessContextTransactor) UnassignPermission(opts *bind.TransactOpts, _permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
UnassignPermission is a paid mutator transaction binding the contract method 0x7a8fbbce.
Solidity: function unassignPermission(bytes32 _permission, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
type AccessContextTransactorRaw ¶
type AccessContextTransactorRaw struct {
Contract *AccessContextTransactor // Generic write-only contract binding to access the raw methods on
}
AccessContextTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AccessContextTransactorRaw) Transact ¶
func (_AccessContext *AccessContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccessContextTransactorRaw) Transfer ¶
func (_AccessContext *AccessContextTransactorRaw) 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 AccessContextTransactorSession ¶
type AccessContextTransactorSession struct { Contract *AccessContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AccessContextTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AccessContextTransactorSession) AssignPermission ¶
func (_AccessContext *AccessContextTransactorSession) AssignPermission(_permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
AssignPermission is a paid mutator transaction binding the contract method 0xd70da68e.
Solidity: function assignPermission(bytes32 _permission, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactorSession) AssignPolicy ¶
func (_AccessContext *AccessContextTransactorSession) AssignPolicy(_policyContext [32]byte, _policy [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
AssignPolicy is a paid mutator transaction binding the contract method 0xb8bc0fd8.
Solidity: function assignPolicy(bytes32 _policyContext, bytes32 _policy, bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactorSession) CheckAdmin ¶
func (_AccessContext *AccessContextTransactorSession) CheckAdmin(_did [32]byte, _account common.Address) (*types.Transaction, error)
CheckAdmin is a paid mutator transaction binding the contract method 0xfd9965e6.
Solidity: function checkAdmin(bytes32 _did, address _account) returns(bool)
func (*AccessContextTransactorSession) GrantRole ¶
func (_AccessContext *AccessContextTransactorSession) GrantRole(_role [32]byte, _did [32]byte, _policyContexts [][32]byte, _policies [][32]byte, _proofs []IPolicyVerifierProof, _inputs [][20]*big.Int) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x0888ee4c.
Solidity: function grantRole(bytes32 _role, bytes32 _did, bytes32[] _policyContexts, bytes32[] _policies, ((uint256,uint256),(uint256[2],uint256[2]),(uint256,uint256))[] _proofs, uint256[20][] _inputs) returns()
func (*AccessContextTransactorSession) Init ¶
func (_AccessContext *AccessContextTransactorSession) Init(initialOwner [32]byte, id [32]byte, handler common.Address, didRegistry common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x118beb7a.
Solidity: function init(bytes32 initialOwner, bytes32 id, address handler, address didRegistry) returns()
func (*AccessContextTransactorSession) RegisterPermission ¶
func (_AccessContext *AccessContextTransactorSession) RegisterPermission(_permission [32]byte, _resource [32]byte, _operations []uint8) (*types.Transaction, error)
RegisterPermission is a paid mutator transaction binding the contract method 0x6c541a3d.
Solidity: function registerPermission(bytes32 _permission, bytes32 _resource, uint8[] _operations) returns()
func (*AccessContextTransactorSession) RegisterPermission0 ¶
func (_AccessContext *AccessContextTransactorSession) RegisterPermission0(_permission [32]byte, _resource [32]byte, _operations []uint8, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
RegisterPermission0 is a paid mutator transaction binding the contract method 0x9e8e764e.
Solidity: function registerPermission(bytes32 _permission, bytes32 _resource, uint8[] _operations, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactorSession) RegisterPolicy ¶
func (_AccessContext *AccessContextTransactorSession) RegisterPolicy(_policy [32]byte, _verifier common.Address, _did [32]byte) (*types.Transaction, error)
RegisterPolicy is a paid mutator transaction binding the contract method 0x50ef0554.
Solidity: function registerPolicy(bytes32 _policy, address _verifier, bytes32 _did) returns()
func (*AccessContextTransactorSession) RegisterPolicy0 ¶
func (_AccessContext *AccessContextTransactorSession) RegisterPolicy0(_policy [32]byte, _verifier common.Address, _role [32]byte, _did [32]byte) (*types.Transaction, error)
RegisterPolicy0 is a paid mutator transaction binding the contract method 0xb51b05a9.
Solidity: function registerPolicy(bytes32 _policy, address _verifier, bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactorSession) RenounceOwnership ¶
func (_AccessContext *AccessContextTransactorSession) RenounceOwnership(owner_ [32]byte) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x219adc2e.
Solidity: function renounceOwnership(bytes32 owner_) returns()
func (*AccessContextTransactorSession) RevokeRole ¶
func (_AccessContext *AccessContextTransactorSession) RevokeRole(_role [32]byte, _did [32]byte) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0x7bf67eef.
Solidity: function revokeRole(bytes32 _role, bytes32 _did) returns()
func (*AccessContextTransactorSession) SetupRole ¶
func (_AccessContext *AccessContextTransactorSession) SetupRole(_role [32]byte, _policy [32]byte, _permission [32]byte, _resource [32]byte, _operations []uint8, _verifier common.Address, _did [32]byte) (*types.Transaction, error)
SetupRole is a paid mutator transaction binding the contract method 0x43aaf7ed.
Solidity: function setupRole(bytes32 _role, bytes32 _policy, bytes32 _permission, bytes32 _resource, uint8[] _operations, address _verifier, bytes32 _did) returns()
func (*AccessContextTransactorSession) SetupRole0 ¶
func (_AccessContext *AccessContextTransactorSession) SetupRole0(_role [32]byte, _policyContext [32]byte, _policy [32]byte, _permission [32]byte, _resource [32]byte, _operations []uint8, _did [32]byte) (*types.Transaction, error)
SetupRole0 is a paid mutator transaction binding the contract method 0xac2b831b.
Solidity: function setupRole(bytes32 _role, bytes32 _policyContext, bytes32 _policy, bytes32 _permission, bytes32 _resource, uint8[] _operations, bytes32 _did) returns()
func (*AccessContextTransactorSession) TransferOwnership ¶
func (_AccessContext *AccessContextTransactorSession) TransferOwnership(oldOwner [32]byte, newOwner [32]byte) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0x6d8c9532.
Solidity: function transferOwnership(bytes32 oldOwner, bytes32 newOwner) returns()
func (*AccessContextTransactorSession) UnassignPermission ¶
func (_AccessContext *AccessContextTransactorSession) UnassignPermission(_permission [32]byte, _roleContext [32]byte, _role [32]byte, _did [32]byte) (*types.Transaction, error)
UnassignPermission is a paid mutator transaction binding the contract method 0x7a8fbbce.
Solidity: function unassignPermission(bytes32 _permission, bytes32 _roleContext, bytes32 _role, bytes32 _did) returns()
type IPolicyExtensionPolicy ¶
type IPolicyExtensionPolicy struct { Context [32]byte Id [32]byte Verifier common.Address Exists bool }
IPolicyExtensionPolicy is an auto generated low-level Go binding around an user-defined struct.
type IPolicyVerifierProof ¶
type IPolicyVerifierProof struct { A PairingG1Point B PairingG2Point C PairingG1Point }
IPolicyVerifierProof is an auto generated low-level Go binding around an user-defined struct.
type PairingG1Point ¶
PairingG1Point is an auto generated low-level Go binding around an user-defined struct.
type PairingG2Point ¶
PairingG2Point is an auto generated low-level Go binding around an user-defined struct.
type SessionRegistry ¶
type SessionRegistry struct { SessionRegistryCaller // Read-only binding to the contract SessionRegistryTransactor // Write-only binding to the contract SessionRegistryFilterer // Log filterer for contract events }
SessionRegistry is an auto generated Go binding around an Ethereum contract.
func NewSessionRegistry ¶
func NewSessionRegistry(address common.Address, backend bind.ContractBackend) (*SessionRegistry, error)
NewSessionRegistry creates a new instance of SessionRegistry, bound to a specific deployed contract.
type SessionRegistryCaller ¶
type SessionRegistryCaller struct {
// contains filtered or unexported fields
}
SessionRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSessionRegistryCaller ¶
func NewSessionRegistryCaller(address common.Address, caller bind.ContractCaller) (*SessionRegistryCaller, error)
NewSessionRegistryCaller creates a new read-only instance of SessionRegistry, bound to a specific deployed contract.
func (*SessionRegistryCaller) IsSession ¶
func (_SessionRegistry *SessionRegistryCaller) IsSession(opts *bind.CallOpts, _id [32]byte, _user [32]byte) (bool, error)
IsSession is a free data retrieval call binding the contract method 0x011255b5.
Solidity: function isSession(bytes32 _id, bytes32 _user) view returns(bool)
func (*SessionRegistryCaller) IsSessionValid ¶
func (_SessionRegistry *SessionRegistryCaller) IsSessionValid(opts *bind.CallOpts, _id [32]byte) (bool, error)
IsSessionValid is a free data retrieval call binding the contract method 0xfa333d9b.
Solidity: function isSessionValid(bytes32 _id) view returns(bool)
type SessionRegistryCallerRaw ¶
type SessionRegistryCallerRaw struct {
Contract *SessionRegistryCaller // Generic read-only contract binding to access the raw methods on
}
SessionRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SessionRegistryCallerRaw) Call ¶
func (_SessionRegistry *SessionRegistryCallerRaw) 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 SessionRegistryCallerSession ¶
type SessionRegistryCallerSession struct { Contract *SessionRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SessionRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SessionRegistryCallerSession) IsSession ¶
func (_SessionRegistry *SessionRegistryCallerSession) IsSession(_id [32]byte, _user [32]byte) (bool, error)
IsSession is a free data retrieval call binding the contract method 0x011255b5.
Solidity: function isSession(bytes32 _id, bytes32 _user) view returns(bool)
func (*SessionRegistryCallerSession) IsSessionValid ¶
func (_SessionRegistry *SessionRegistryCallerSession) IsSessionValid(_id [32]byte) (bool, error)
IsSessionValid is a free data retrieval call binding the contract method 0xfa333d9b.
Solidity: function isSessionValid(bytes32 _id) view returns(bool)
type SessionRegistryFilterer ¶
type SessionRegistryFilterer struct {
// contains filtered or unexported fields
}
SessionRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSessionRegistryFilterer ¶
func NewSessionRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*SessionRegistryFilterer, error)
NewSessionRegistryFilterer creates a new log filterer instance of SessionRegistry, bound to a specific deployed contract.
type SessionRegistryRaw ¶
type SessionRegistryRaw struct {
Contract *SessionRegistry // Generic contract binding to access the raw methods on
}
SessionRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SessionRegistryRaw) Call ¶
func (_SessionRegistry *SessionRegistryRaw) 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 (*SessionRegistryRaw) Transact ¶
func (_SessionRegistry *SessionRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SessionRegistryRaw) Transfer ¶
func (_SessionRegistry *SessionRegistryRaw) 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 SessionRegistrySession ¶
type SessionRegistrySession struct { Contract *SessionRegistry // 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 }
SessionRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SessionRegistrySession) IsSession ¶
func (_SessionRegistry *SessionRegistrySession) IsSession(_id [32]byte, _user [32]byte) (bool, error)
IsSession is a free data retrieval call binding the contract method 0x011255b5.
Solidity: function isSession(bytes32 _id, bytes32 _user) view returns(bool)
func (*SessionRegistrySession) IsSessionValid ¶
func (_SessionRegistry *SessionRegistrySession) IsSessionValid(_id [32]byte) (bool, error)
IsSessionValid is a free data retrieval call binding the contract method 0xfa333d9b.
Solidity: function isSessionValid(bytes32 _id) view returns(bool)
func (*SessionRegistrySession) RevokeSession ¶
func (_SessionRegistry *SessionRegistrySession) RevokeSession(_id [32]byte) (*types.Transaction, error)
RevokeSession is a paid mutator transaction binding the contract method 0xa7fed385.
Solidity: function revokeSession(bytes32 _id) returns()
func (*SessionRegistrySession) SetContextHandler ¶
func (_SessionRegistry *SessionRegistrySession) SetContextHandler(contextHandler common.Address) (*types.Transaction, error)
SetContextHandler is a paid mutator transaction binding the contract method 0x31487652.
Solidity: function setContextHandler(address contextHandler) returns()
func (*SessionRegistrySession) StartSession ¶
func (_SessionRegistry *SessionRegistrySession) StartSession(_id [32]byte, _token []byte, _user [32]byte) (*types.Transaction, error)
StartSession is a paid mutator transaction binding the contract method 0x04187076.
Solidity: function startSession(bytes32 _id, bytes _token, bytes32 _user) returns()
type SessionRegistryTransactor ¶
type SessionRegistryTransactor struct {
// contains filtered or unexported fields
}
SessionRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSessionRegistryTransactor ¶
func NewSessionRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*SessionRegistryTransactor, error)
NewSessionRegistryTransactor creates a new write-only instance of SessionRegistry, bound to a specific deployed contract.
func (*SessionRegistryTransactor) RevokeSession ¶
func (_SessionRegistry *SessionRegistryTransactor) RevokeSession(opts *bind.TransactOpts, _id [32]byte) (*types.Transaction, error)
RevokeSession is a paid mutator transaction binding the contract method 0xa7fed385.
Solidity: function revokeSession(bytes32 _id) returns()
func (*SessionRegistryTransactor) SetContextHandler ¶
func (_SessionRegistry *SessionRegistryTransactor) SetContextHandler(opts *bind.TransactOpts, contextHandler common.Address) (*types.Transaction, error)
SetContextHandler is a paid mutator transaction binding the contract method 0x31487652.
Solidity: function setContextHandler(address contextHandler) returns()
func (*SessionRegistryTransactor) StartSession ¶
func (_SessionRegistry *SessionRegistryTransactor) StartSession(opts *bind.TransactOpts, _id [32]byte, _token []byte, _user [32]byte) (*types.Transaction, error)
StartSession is a paid mutator transaction binding the contract method 0x04187076.
Solidity: function startSession(bytes32 _id, bytes _token, bytes32 _user) returns()
type SessionRegistryTransactorRaw ¶
type SessionRegistryTransactorRaw struct {
Contract *SessionRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
SessionRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SessionRegistryTransactorRaw) Transact ¶
func (_SessionRegistry *SessionRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SessionRegistryTransactorRaw) Transfer ¶
func (_SessionRegistry *SessionRegistryTransactorRaw) 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 SessionRegistryTransactorSession ¶
type SessionRegistryTransactorSession struct { Contract *SessionRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SessionRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SessionRegistryTransactorSession) RevokeSession ¶
func (_SessionRegistry *SessionRegistryTransactorSession) RevokeSession(_id [32]byte) (*types.Transaction, error)
RevokeSession is a paid mutator transaction binding the contract method 0xa7fed385.
Solidity: function revokeSession(bytes32 _id) returns()
func (*SessionRegistryTransactorSession) SetContextHandler ¶
func (_SessionRegistry *SessionRegistryTransactorSession) SetContextHandler(contextHandler common.Address) (*types.Transaction, error)
SetContextHandler is a paid mutator transaction binding the contract method 0x31487652.
Solidity: function setContextHandler(address contextHandler) returns()
func (*SessionRegistryTransactorSession) StartSession ¶
func (_SessionRegistry *SessionRegistryTransactorSession) StartSession(_id [32]byte, _token []byte, _user [32]byte) (*types.Transaction, error)
StartSession is a paid mutator transaction binding the contract method 0x04187076.
Solidity: function startSession(bytes32 _id, bytes _token, bytes32 _user) returns()
type SimpleDIDRegistry ¶
type SimpleDIDRegistry struct { SimpleDIDRegistryCaller // Read-only binding to the contract SimpleDIDRegistryTransactor // Write-only binding to the contract SimpleDIDRegistryFilterer // Log filterer for contract events }
SimpleDIDRegistry is an auto generated Go binding around an Ethereum contract.
func NewSimpleDIDRegistry ¶
func NewSimpleDIDRegistry(address common.Address, backend bind.ContractBackend) (*SimpleDIDRegistry, error)
NewSimpleDIDRegistry creates a new instance of SimpleDIDRegistry, bound to a specific deployed contract.
type SimpleDIDRegistryCaller ¶
type SimpleDIDRegistryCaller struct {
// contains filtered or unexported fields
}
SimpleDIDRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSimpleDIDRegistryCaller ¶
func NewSimpleDIDRegistryCaller(address common.Address, caller bind.ContractCaller) (*SimpleDIDRegistryCaller, error)
NewSimpleDIDRegistryCaller creates a new read-only instance of SimpleDIDRegistry, bound to a specific deployed contract.
func (*SimpleDIDRegistryCaller) Changed ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) Changed(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Changed is a free data retrieval call binding the contract method 0xf96d0f9f.
Solidity: function changed(address ) view returns(uint256)
func (*SimpleDIDRegistryCaller) Controllers ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) Controllers(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)
Controllers is a free data retrieval call binding the contract method 0x3d2c5803.
Solidity: function controllers(bytes32 , uint256 ) view returns(address)
func (*SimpleDIDRegistryCaller) GetController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) GetController(opts *bind.CallOpts, identity [32]byte) (common.Address, error)
GetController is a free data retrieval call binding the contract method 0x8f1815b2.
Solidity: function getController(bytes32 identity) view returns(address)
func (*SimpleDIDRegistryCaller) GetControllers ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) GetControllers(opts *bind.CallOpts, identity [32]byte) ([]common.Address, error)
GetControllers is a free data retrieval call binding the contract method 0x8eb2b820.
Solidity: function getControllers(bytes32 identity) view returns(address[])
func (*SimpleDIDRegistryCaller) IsController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCaller) IsController(opts *bind.CallOpts, identity [32]byte, actor common.Address) (bool, error)
IsController is a free data retrieval call binding the contract method 0x2427473b.
Solidity: function isController(bytes32 identity, address actor) view returns(bool)
type SimpleDIDRegistryCallerRaw ¶
type SimpleDIDRegistryCallerRaw struct {
Contract *SimpleDIDRegistryCaller // Generic read-only contract binding to access the raw methods on
}
SimpleDIDRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SimpleDIDRegistryCallerRaw) Call ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCallerRaw) 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 SimpleDIDRegistryCallerSession ¶
type SimpleDIDRegistryCallerSession struct { Contract *SimpleDIDRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SimpleDIDRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SimpleDIDRegistryCallerSession) Changed ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) Changed(arg0 common.Address) (*big.Int, error)
Changed is a free data retrieval call binding the contract method 0xf96d0f9f.
Solidity: function changed(address ) view returns(uint256)
func (*SimpleDIDRegistryCallerSession) Controllers ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) Controllers(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
Controllers is a free data retrieval call binding the contract method 0x3d2c5803.
Solidity: function controllers(bytes32 , uint256 ) view returns(address)
func (*SimpleDIDRegistryCallerSession) GetController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) GetController(identity [32]byte) (common.Address, error)
GetController is a free data retrieval call binding the contract method 0x8f1815b2.
Solidity: function getController(bytes32 identity) view returns(address)
func (*SimpleDIDRegistryCallerSession) GetControllers ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) GetControllers(identity [32]byte) ([]common.Address, error)
GetControllers is a free data retrieval call binding the contract method 0x8eb2b820.
Solidity: function getControllers(bytes32 identity) view returns(address[])
func (*SimpleDIDRegistryCallerSession) IsController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryCallerSession) IsController(identity [32]byte, actor common.Address) (bool, error)
IsController is a free data retrieval call binding the contract method 0x2427473b.
Solidity: function isController(bytes32 identity, address actor) view returns(bool)
type SimpleDIDRegistryDIDControllerChanged ¶
type SimpleDIDRegistryDIDControllerChanged struct { Identity [32]byte Controller common.Address Raw types.Log // Blockchain specific contextual infos }
SimpleDIDRegistryDIDControllerChanged represents a DIDControllerChanged event raised by the SimpleDIDRegistry contract.
type SimpleDIDRegistryDIDControllerChangedIterator ¶
type SimpleDIDRegistryDIDControllerChangedIterator struct { Event *SimpleDIDRegistryDIDControllerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SimpleDIDRegistryDIDControllerChangedIterator is returned from FilterDIDControllerChanged and is used to iterate over the raw logs and unpacked data for DIDControllerChanged events raised by the SimpleDIDRegistry contract.
func (*SimpleDIDRegistryDIDControllerChangedIterator) Close ¶
func (it *SimpleDIDRegistryDIDControllerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleDIDRegistryDIDControllerChangedIterator) Error ¶
func (it *SimpleDIDRegistryDIDControllerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleDIDRegistryDIDControllerChangedIterator) Next ¶
func (it *SimpleDIDRegistryDIDControllerChangedIterator) 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 SimpleDIDRegistryFilterer ¶
type SimpleDIDRegistryFilterer struct {
// contains filtered or unexported fields
}
SimpleDIDRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSimpleDIDRegistryFilterer ¶
func NewSimpleDIDRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleDIDRegistryFilterer, error)
NewSimpleDIDRegistryFilterer creates a new log filterer instance of SimpleDIDRegistry, bound to a specific deployed contract.
func (*SimpleDIDRegistryFilterer) FilterDIDControllerChanged ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryFilterer) FilterDIDControllerChanged(opts *bind.FilterOpts) (*SimpleDIDRegistryDIDControllerChangedIterator, error)
FilterDIDControllerChanged is a free log retrieval operation binding the contract event 0xcceb596a34a057e94b864e7a5aa0664ebb466c37b4d90914b2b3e1b49afa2d7b.
Solidity: event DIDControllerChanged(bytes32 identity, address controller)
func (*SimpleDIDRegistryFilterer) ParseDIDControllerChanged ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryFilterer) ParseDIDControllerChanged(log types.Log) (*SimpleDIDRegistryDIDControllerChanged, error)
ParseDIDControllerChanged is a log parse operation binding the contract event 0xcceb596a34a057e94b864e7a5aa0664ebb466c37b4d90914b2b3e1b49afa2d7b.
Solidity: event DIDControllerChanged(bytes32 identity, address controller)
func (*SimpleDIDRegistryFilterer) WatchDIDControllerChanged ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryFilterer) WatchDIDControllerChanged(opts *bind.WatchOpts, sink chan<- *SimpleDIDRegistryDIDControllerChanged) (event.Subscription, error)
WatchDIDControllerChanged is a free log subscription operation binding the contract event 0xcceb596a34a057e94b864e7a5aa0664ebb466c37b4d90914b2b3e1b49afa2d7b.
Solidity: event DIDControllerChanged(bytes32 identity, address controller)
type SimpleDIDRegistryRaw ¶
type SimpleDIDRegistryRaw struct {
Contract *SimpleDIDRegistry // Generic contract binding to access the raw methods on
}
SimpleDIDRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SimpleDIDRegistryRaw) Call ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryRaw) 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 (*SimpleDIDRegistryRaw) Transact ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleDIDRegistryRaw) Transfer ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryRaw) 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 SimpleDIDRegistrySession ¶
type SimpleDIDRegistrySession struct { Contract *SimpleDIDRegistry // 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 }
SimpleDIDRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SimpleDIDRegistrySession) AddController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistrySession) AddController(identity [32]byte, controller common.Address) (*types.Transaction, error)
AddController is a paid mutator transaction binding the contract method 0x854a03dc.
Solidity: function addController(bytes32 identity, address controller) returns()
func (*SimpleDIDRegistrySession) ChangeController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistrySession) ChangeController(identity [32]byte, newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x55161467.
Solidity: function changeController(bytes32 identity, address newController) returns()
func (*SimpleDIDRegistrySession) Changed ¶
Changed is a free data retrieval call binding the contract method 0xf96d0f9f.
Solidity: function changed(address ) view returns(uint256)
func (*SimpleDIDRegistrySession) Controllers ¶
func (_SimpleDIDRegistry *SimpleDIDRegistrySession) Controllers(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
Controllers is a free data retrieval call binding the contract method 0x3d2c5803.
Solidity: function controllers(bytes32 , uint256 ) view returns(address)
func (*SimpleDIDRegistrySession) GetController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistrySession) GetController(identity [32]byte) (common.Address, error)
GetController is a free data retrieval call binding the contract method 0x8f1815b2.
Solidity: function getController(bytes32 identity) view returns(address)
func (*SimpleDIDRegistrySession) GetControllers ¶
func (_SimpleDIDRegistry *SimpleDIDRegistrySession) GetControllers(identity [32]byte) ([]common.Address, error)
GetControllers is a free data retrieval call binding the contract method 0x8eb2b820.
Solidity: function getControllers(bytes32 identity) view returns(address[])
func (*SimpleDIDRegistrySession) IsController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistrySession) IsController(identity [32]byte, actor common.Address) (bool, error)
IsController is a free data retrieval call binding the contract method 0x2427473b.
Solidity: function isController(bytes32 identity, address actor) view returns(bool)
func (*SimpleDIDRegistrySession) RemoveController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistrySession) RemoveController(identity [32]byte, controller common.Address) (*types.Transaction, error)
RemoveController is a paid mutator transaction binding the contract method 0xfe1a8487.
Solidity: function removeController(bytes32 identity, address controller) returns()
type SimpleDIDRegistryTransactor ¶
type SimpleDIDRegistryTransactor struct {
// contains filtered or unexported fields
}
SimpleDIDRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSimpleDIDRegistryTransactor ¶
func NewSimpleDIDRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleDIDRegistryTransactor, error)
NewSimpleDIDRegistryTransactor creates a new write-only instance of SimpleDIDRegistry, bound to a specific deployed contract.
func (*SimpleDIDRegistryTransactor) AddController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryTransactor) AddController(opts *bind.TransactOpts, identity [32]byte, controller common.Address) (*types.Transaction, error)
AddController is a paid mutator transaction binding the contract method 0x854a03dc.
Solidity: function addController(bytes32 identity, address controller) returns()
func (*SimpleDIDRegistryTransactor) ChangeController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryTransactor) ChangeController(opts *bind.TransactOpts, identity [32]byte, newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x55161467.
Solidity: function changeController(bytes32 identity, address newController) returns()
func (*SimpleDIDRegistryTransactor) RemoveController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryTransactor) RemoveController(opts *bind.TransactOpts, identity [32]byte, controller common.Address) (*types.Transaction, error)
RemoveController is a paid mutator transaction binding the contract method 0xfe1a8487.
Solidity: function removeController(bytes32 identity, address controller) returns()
type SimpleDIDRegistryTransactorRaw ¶
type SimpleDIDRegistryTransactorRaw struct {
Contract *SimpleDIDRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
SimpleDIDRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SimpleDIDRegistryTransactorRaw) Transact ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleDIDRegistryTransactorRaw) Transfer ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryTransactorRaw) 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 SimpleDIDRegistryTransactorSession ¶
type SimpleDIDRegistryTransactorSession struct { Contract *SimpleDIDRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SimpleDIDRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SimpleDIDRegistryTransactorSession) AddController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryTransactorSession) AddController(identity [32]byte, controller common.Address) (*types.Transaction, error)
AddController is a paid mutator transaction binding the contract method 0x854a03dc.
Solidity: function addController(bytes32 identity, address controller) returns()
func (*SimpleDIDRegistryTransactorSession) ChangeController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryTransactorSession) ChangeController(identity [32]byte, newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x55161467.
Solidity: function changeController(bytes32 identity, address newController) returns()
func (*SimpleDIDRegistryTransactorSession) RemoveController ¶
func (_SimpleDIDRegistry *SimpleDIDRegistryTransactorSession) RemoveController(identity [32]byte, controller common.Address) (*types.Transaction, error)
RemoveController is a paid mutator transaction binding the contract method 0xfe1a8487.
Solidity: function removeController(bytes32 identity, address controller) returns()