registry

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegistryABI = RegistryMetaData.ABI

RegistryABI is the input ABI used to generate the binding from. Deprecated: Use RegistryMetaData.ABI instead.

View Source
var RegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidAccountNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"validTo\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousChange\",\"type\":\"uint256\"}],\"name\":\"DIDAttributeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldController\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newController\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousChange\",\"type\":\"uint256\"}],\"name\":\"DIDControllerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"delegateType\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"validTo\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousChange\",\"type\":\"uint256\"}],\"name\":\"DIDDelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"delegateType\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"validity\",\"type\":\"uint256\"}],\"name\":\"addDelegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"delegateType\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"validity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"addDelegatePermit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newController\",\"type\":\"address\"}],\"name\":\"changeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newController\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"changeControllerPermit\",\"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\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"}],\"name\":\"getController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"name\":\"revokeAttribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"revokeAttributePermit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"delegateType\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"}],\"name\":\"revokeDelegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"delegateType\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"revokeDelegatePermit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validity\",\"type\":\"uint256\"}],\"name\":\"setAttribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"setAttributePermit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"delegateType\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"}],\"name\":\"validDelegate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

RegistryMetaData contains all meta data concerning the Registry contract.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	RegistryCaller     // Read-only binding to the contract
	RegistryTransactor // Write-only binding to the contract
	RegistryFilterer   // Log filterer for contract events
}

Registry is an auto generated Go binding around an Ethereum contract.

func NewRegistry

func NewRegistry(address common.Address, backend bind.ContractBackend) (*Registry, error)

NewRegistry creates a new instance of Registry, bound to a specific deployed contract.

type RegistryCaller

type RegistryCaller struct {
	// contains filtered or unexported fields
}

RegistryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRegistryCaller

func NewRegistryCaller(address common.Address, caller bind.ContractCaller) (*RegistryCaller, error)

NewRegistryCaller creates a new read-only instance of Registry, bound to a specific deployed contract.

func (*RegistryCaller) Changed

func (_Registry *RegistryCaller) 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 (*RegistryCaller) DOMAINSEPARATOR

func (_Registry *RegistryCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*RegistryCaller) Delegates

func (_Registry *RegistryCaller) Delegates(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte, arg2 common.Address) (*big.Int, error)

Delegates is a free data retrieval call binding the contract method 0x0d44625b.

Solidity: function delegates(address , bytes32 , address ) view returns(uint256)

func (*RegistryCaller) Eip712Domain

func (_Registry *RegistryCaller) Eip712Domain(opts *bind.CallOpts) (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*RegistryCaller) GetController

func (_Registry *RegistryCaller) GetController(opts *bind.CallOpts, did common.Address) (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x88c662aa.

Solidity: function getController(address did) view returns(address)

func (*RegistryCaller) Nonces

func (_Registry *RegistryCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*RegistryCaller) ValidDelegate

func (_Registry *RegistryCaller) ValidDelegate(opts *bind.CallOpts, did common.Address, delegateType [32]byte, delegate common.Address) (bool, error)

ValidDelegate is a free data retrieval call binding the contract method 0x622b2a3c.

Solidity: function validDelegate(address did, bytes32 delegateType, address delegate) view returns(bool)

type RegistryCallerRaw

type RegistryCallerRaw struct {
	Contract *RegistryCaller // Generic read-only contract binding to access the raw methods on
}

RegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RegistryCallerRaw) Call

func (_Registry *RegistryCallerRaw) 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 RegistryCallerSession

type RegistryCallerSession struct {
	Contract *RegistryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

RegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RegistryCallerSession) Changed

func (_Registry *RegistryCallerSession) 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 (*RegistryCallerSession) DOMAINSEPARATOR

func (_Registry *RegistryCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*RegistryCallerSession) Delegates

func (_Registry *RegistryCallerSession) Delegates(arg0 common.Address, arg1 [32]byte, arg2 common.Address) (*big.Int, error)

Delegates is a free data retrieval call binding the contract method 0x0d44625b.

Solidity: function delegates(address , bytes32 , address ) view returns(uint256)

func (*RegistryCallerSession) Eip712Domain

func (_Registry *RegistryCallerSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*RegistryCallerSession) GetController

func (_Registry *RegistryCallerSession) GetController(did common.Address) (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x88c662aa.

Solidity: function getController(address did) view returns(address)

func (*RegistryCallerSession) Nonces

func (_Registry *RegistryCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*RegistryCallerSession) ValidDelegate

func (_Registry *RegistryCallerSession) ValidDelegate(did common.Address, delegateType [32]byte, delegate common.Address) (bool, error)

ValidDelegate is a free data retrieval call binding the contract method 0x622b2a3c.

Solidity: function validDelegate(address did, bytes32 delegateType, address delegate) view returns(bool)

type RegistryDIDAttributeChanged

type RegistryDIDAttributeChanged struct {
	Did            common.Address
	Name           [32]byte
	Value          []byte
	ValidTo        *big.Int
	PreviousChange *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

RegistryDIDAttributeChanged represents a DIDAttributeChanged event raised by the Registry contract.

type RegistryDIDAttributeChangedIterator

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

RegistryDIDAttributeChangedIterator is returned from FilterDIDAttributeChanged and is used to iterate over the raw logs and unpacked data for DIDAttributeChanged events raised by the Registry contract.

func (*RegistryDIDAttributeChangedIterator) Close

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

func (*RegistryDIDAttributeChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryDIDAttributeChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RegistryDIDControllerChanged

type RegistryDIDControllerChanged struct {
	OldController  common.Address
	NewController  common.Address
	PreviousChange *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

RegistryDIDControllerChanged represents a DIDControllerChanged event raised by the Registry contract.

type RegistryDIDControllerChangedIterator

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

RegistryDIDControllerChangedIterator is returned from FilterDIDControllerChanged and is used to iterate over the raw logs and unpacked data for DIDControllerChanged events raised by the Registry contract.

func (*RegistryDIDControllerChangedIterator) Close

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

func (*RegistryDIDControllerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryDIDControllerChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RegistryDIDDelegateChanged

type RegistryDIDDelegateChanged struct {
	Did            common.Address
	DelegateType   [32]byte
	Delegate       common.Address
	ValidTo        *big.Int
	PreviousChange *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

RegistryDIDDelegateChanged represents a DIDDelegateChanged event raised by the Registry contract.

type RegistryDIDDelegateChangedIterator

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

RegistryDIDDelegateChangedIterator is returned from FilterDIDDelegateChanged and is used to iterate over the raw logs and unpacked data for DIDDelegateChanged events raised by the Registry contract.

func (*RegistryDIDDelegateChangedIterator) Close

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

func (*RegistryDIDDelegateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryDIDDelegateChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RegistryEIP712DomainChanged

type RegistryEIP712DomainChanged struct {
	Raw types.Log // Blockchain specific contextual infos
}

RegistryEIP712DomainChanged represents a EIP712DomainChanged event raised by the Registry contract.

type RegistryEIP712DomainChangedIterator

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

RegistryEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the Registry contract.

func (*RegistryEIP712DomainChangedIterator) Close

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

func (*RegistryEIP712DomainChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryEIP712DomainChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RegistryFilterer

type RegistryFilterer struct {
	// contains filtered or unexported fields
}

RegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRegistryFilterer

func NewRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistryFilterer, error)

NewRegistryFilterer creates a new log filterer instance of Registry, bound to a specific deployed contract.

func (*RegistryFilterer) FilterDIDAttributeChanged

func (_Registry *RegistryFilterer) FilterDIDAttributeChanged(opts *bind.FilterOpts, did []common.Address) (*RegistryDIDAttributeChangedIterator, error)

FilterDIDAttributeChanged is a free log retrieval operation binding the contract event 0x18ab6b2ae3d64306c00ce663125f2bd680e441a098de1635bd7ad8b0d44965e4.

Solidity: event DIDAttributeChanged(address indexed did, bytes32 name, bytes value, uint256 validTo, uint256 previousChange)

func (*RegistryFilterer) FilterDIDControllerChanged

func (_Registry *RegistryFilterer) FilterDIDControllerChanged(opts *bind.FilterOpts, oldController []common.Address) (*RegistryDIDControllerChangedIterator, error)

FilterDIDControllerChanged is a free log retrieval operation binding the contract event 0x2a7278c7e47d91c392e2d4f854ebe76d04458b3f431d27ef2e64707e68615e48.

Solidity: event DIDControllerChanged(address indexed oldController, address newController, uint256 previousChange)

func (*RegistryFilterer) FilterDIDDelegateChanged

func (_Registry *RegistryFilterer) FilterDIDDelegateChanged(opts *bind.FilterOpts, did []common.Address) (*RegistryDIDDelegateChangedIterator, error)

FilterDIDDelegateChanged is a free log retrieval operation binding the contract event 0x5a5084339536bcab65f20799fcc58724588145ca054bd2be626174b27ba156f7.

Solidity: event DIDDelegateChanged(address indexed did, bytes32 delegateType, address delegate, uint256 validTo, uint256 previousChange)

func (*RegistryFilterer) FilterEIP712DomainChanged

func (_Registry *RegistryFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*RegistryEIP712DomainChangedIterator, error)

FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*RegistryFilterer) ParseDIDAttributeChanged

func (_Registry *RegistryFilterer) ParseDIDAttributeChanged(log types.Log) (*RegistryDIDAttributeChanged, error)

ParseDIDAttributeChanged is a log parse operation binding the contract event 0x18ab6b2ae3d64306c00ce663125f2bd680e441a098de1635bd7ad8b0d44965e4.

Solidity: event DIDAttributeChanged(address indexed did, bytes32 name, bytes value, uint256 validTo, uint256 previousChange)

func (*RegistryFilterer) ParseDIDControllerChanged

func (_Registry *RegistryFilterer) ParseDIDControllerChanged(log types.Log) (*RegistryDIDControllerChanged, error)

ParseDIDControllerChanged is a log parse operation binding the contract event 0x2a7278c7e47d91c392e2d4f854ebe76d04458b3f431d27ef2e64707e68615e48.

Solidity: event DIDControllerChanged(address indexed oldController, address newController, uint256 previousChange)

func (*RegistryFilterer) ParseDIDDelegateChanged

func (_Registry *RegistryFilterer) ParseDIDDelegateChanged(log types.Log) (*RegistryDIDDelegateChanged, error)

ParseDIDDelegateChanged is a log parse operation binding the contract event 0x5a5084339536bcab65f20799fcc58724588145ca054bd2be626174b27ba156f7.

Solidity: event DIDDelegateChanged(address indexed did, bytes32 delegateType, address delegate, uint256 validTo, uint256 previousChange)

func (*RegistryFilterer) ParseEIP712DomainChanged

func (_Registry *RegistryFilterer) ParseEIP712DomainChanged(log types.Log) (*RegistryEIP712DomainChanged, error)

ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*RegistryFilterer) WatchDIDAttributeChanged

func (_Registry *RegistryFilterer) WatchDIDAttributeChanged(opts *bind.WatchOpts, sink chan<- *RegistryDIDAttributeChanged, did []common.Address) (event.Subscription, error)

WatchDIDAttributeChanged is a free log subscription operation binding the contract event 0x18ab6b2ae3d64306c00ce663125f2bd680e441a098de1635bd7ad8b0d44965e4.

Solidity: event DIDAttributeChanged(address indexed did, bytes32 name, bytes value, uint256 validTo, uint256 previousChange)

func (*RegistryFilterer) WatchDIDControllerChanged

func (_Registry *RegistryFilterer) WatchDIDControllerChanged(opts *bind.WatchOpts, sink chan<- *RegistryDIDControllerChanged, oldController []common.Address) (event.Subscription, error)

WatchDIDControllerChanged is a free log subscription operation binding the contract event 0x2a7278c7e47d91c392e2d4f854ebe76d04458b3f431d27ef2e64707e68615e48.

Solidity: event DIDControllerChanged(address indexed oldController, address newController, uint256 previousChange)

func (*RegistryFilterer) WatchDIDDelegateChanged

func (_Registry *RegistryFilterer) WatchDIDDelegateChanged(opts *bind.WatchOpts, sink chan<- *RegistryDIDDelegateChanged, did []common.Address) (event.Subscription, error)

WatchDIDDelegateChanged is a free log subscription operation binding the contract event 0x5a5084339536bcab65f20799fcc58724588145ca054bd2be626174b27ba156f7.

Solidity: event DIDDelegateChanged(address indexed did, bytes32 delegateType, address delegate, uint256 validTo, uint256 previousChange)

func (*RegistryFilterer) WatchEIP712DomainChanged

func (_Registry *RegistryFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *RegistryEIP712DomainChanged) (event.Subscription, error)

WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

type RegistryRaw

type RegistryRaw struct {
	Contract *Registry // Generic contract binding to access the raw methods on
}

RegistryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RegistryRaw) Call

func (_Registry *RegistryRaw) 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 (*RegistryRaw) Transact

func (_Registry *RegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RegistryRaw) Transfer

func (_Registry *RegistryRaw) 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 RegistrySession

type RegistrySession struct {
	Contract     *Registry         // 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
}

RegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RegistrySession) AddDelegate

func (_Registry *RegistrySession) AddDelegate(did common.Address, delegateType [32]byte, delegate common.Address, validity *big.Int) (*types.Transaction, error)

AddDelegate is a paid mutator transaction binding the contract method 0xa7068d66.

Solidity: function addDelegate(address did, bytes32 delegateType, address delegate, uint256 validity) returns()

func (*RegistrySession) AddDelegatePermit

func (_Registry *RegistrySession) AddDelegatePermit(did common.Address, delegateType [32]byte, delegate common.Address, validity *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)

AddDelegatePermit is a paid mutator transaction binding the contract method 0xfe2f0b11.

Solidity: function addDelegatePermit(address did, bytes32 delegateType, address delegate, uint256 validity, uint256 deadline, bytes signature) returns()

func (*RegistrySession) ChangeController

func (_Registry *RegistrySession) ChangeController(did common.Address, newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3e11e378.

Solidity: function changeController(address did, address newController) returns()

func (*RegistrySession) ChangeControllerPermit

func (_Registry *RegistrySession) ChangeControllerPermit(did common.Address, newController common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

ChangeControllerPermit is a paid mutator transaction binding the contract method 0x67c02b0a.

Solidity: function changeControllerPermit(address did, address newController, uint256 deadline, bytes signature) returns()

func (*RegistrySession) Changed

func (_Registry *RegistrySession) 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 (*RegistrySession) DOMAINSEPARATOR

func (_Registry *RegistrySession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*RegistrySession) Delegates

func (_Registry *RegistrySession) Delegates(arg0 common.Address, arg1 [32]byte, arg2 common.Address) (*big.Int, error)

Delegates is a free data retrieval call binding the contract method 0x0d44625b.

Solidity: function delegates(address , bytes32 , address ) view returns(uint256)

func (*RegistrySession) Eip712Domain

func (_Registry *RegistrySession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*RegistrySession) GetController

func (_Registry *RegistrySession) GetController(did common.Address) (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x88c662aa.

Solidity: function getController(address did) view returns(address)

func (*RegistrySession) Nonces

func (_Registry *RegistrySession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*RegistrySession) RevokeAttribute

func (_Registry *RegistrySession) RevokeAttribute(did common.Address, name [32]byte, value []byte) (*types.Transaction, error)

RevokeAttribute is a paid mutator transaction binding the contract method 0x00c023da.

Solidity: function revokeAttribute(address did, bytes32 name, bytes value) returns()

func (*RegistrySession) RevokeAttributePermit

func (_Registry *RegistrySession) RevokeAttributePermit(did common.Address, name [32]byte, value []byte, deadline *big.Int, signature []byte) (*types.Transaction, error)

RevokeAttributePermit is a paid mutator transaction binding the contract method 0x97880f96.

Solidity: function revokeAttributePermit(address did, bytes32 name, bytes value, uint256 deadline, bytes signature) returns()

func (*RegistrySession) RevokeDelegate

func (_Registry *RegistrySession) RevokeDelegate(did common.Address, delegateType [32]byte, delegate common.Address) (*types.Transaction, error)

RevokeDelegate is a paid mutator transaction binding the contract method 0x80b29f7c.

Solidity: function revokeDelegate(address did, bytes32 delegateType, address delegate) returns()

func (*RegistrySession) RevokeDelegatePermit

func (_Registry *RegistrySession) RevokeDelegatePermit(did common.Address, delegateType [32]byte, delegate common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

RevokeDelegatePermit is a paid mutator transaction binding the contract method 0xee75d2e8.

Solidity: function revokeDelegatePermit(address did, bytes32 delegateType, address delegate, uint256 deadline, bytes signature) returns()

func (*RegistrySession) SetAttribute

func (_Registry *RegistrySession) SetAttribute(did common.Address, name [32]byte, value []byte, validity *big.Int) (*types.Transaction, error)

SetAttribute is a paid mutator transaction binding the contract method 0x7ad4b0a4.

Solidity: function setAttribute(address did, bytes32 name, bytes value, uint256 validity) returns()

func (*RegistrySession) SetAttributePermit

func (_Registry *RegistrySession) SetAttributePermit(did common.Address, name [32]byte, value []byte, validity *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetAttributePermit is a paid mutator transaction binding the contract method 0x030b320d.

Solidity: function setAttributePermit(address did, bytes32 name, bytes value, uint256 validity, uint256 deadline, bytes signature) returns()

func (*RegistrySession) ValidDelegate

func (_Registry *RegistrySession) ValidDelegate(did common.Address, delegateType [32]byte, delegate common.Address) (bool, error)

ValidDelegate is a free data retrieval call binding the contract method 0x622b2a3c.

Solidity: function validDelegate(address did, bytes32 delegateType, address delegate) view returns(bool)

type RegistryTransactor

type RegistryTransactor struct {
	// contains filtered or unexported fields
}

RegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRegistryTransactor

func NewRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistryTransactor, error)

NewRegistryTransactor creates a new write-only instance of Registry, bound to a specific deployed contract.

func (*RegistryTransactor) AddDelegate

func (_Registry *RegistryTransactor) AddDelegate(opts *bind.TransactOpts, did common.Address, delegateType [32]byte, delegate common.Address, validity *big.Int) (*types.Transaction, error)

AddDelegate is a paid mutator transaction binding the contract method 0xa7068d66.

Solidity: function addDelegate(address did, bytes32 delegateType, address delegate, uint256 validity) returns()

func (*RegistryTransactor) AddDelegatePermit

func (_Registry *RegistryTransactor) AddDelegatePermit(opts *bind.TransactOpts, did common.Address, delegateType [32]byte, delegate common.Address, validity *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)

AddDelegatePermit is a paid mutator transaction binding the contract method 0xfe2f0b11.

Solidity: function addDelegatePermit(address did, bytes32 delegateType, address delegate, uint256 validity, uint256 deadline, bytes signature) returns()

func (*RegistryTransactor) ChangeController

func (_Registry *RegistryTransactor) ChangeController(opts *bind.TransactOpts, did common.Address, newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3e11e378.

Solidity: function changeController(address did, address newController) returns()

func (*RegistryTransactor) ChangeControllerPermit

func (_Registry *RegistryTransactor) ChangeControllerPermit(opts *bind.TransactOpts, did common.Address, newController common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

ChangeControllerPermit is a paid mutator transaction binding the contract method 0x67c02b0a.

Solidity: function changeControllerPermit(address did, address newController, uint256 deadline, bytes signature) returns()

func (*RegistryTransactor) RevokeAttribute

func (_Registry *RegistryTransactor) RevokeAttribute(opts *bind.TransactOpts, did common.Address, name [32]byte, value []byte) (*types.Transaction, error)

RevokeAttribute is a paid mutator transaction binding the contract method 0x00c023da.

Solidity: function revokeAttribute(address did, bytes32 name, bytes value) returns()

func (*RegistryTransactor) RevokeAttributePermit

func (_Registry *RegistryTransactor) RevokeAttributePermit(opts *bind.TransactOpts, did common.Address, name [32]byte, value []byte, deadline *big.Int, signature []byte) (*types.Transaction, error)

RevokeAttributePermit is a paid mutator transaction binding the contract method 0x97880f96.

Solidity: function revokeAttributePermit(address did, bytes32 name, bytes value, uint256 deadline, bytes signature) returns()

func (*RegistryTransactor) RevokeDelegate

func (_Registry *RegistryTransactor) RevokeDelegate(opts *bind.TransactOpts, did common.Address, delegateType [32]byte, delegate common.Address) (*types.Transaction, error)

RevokeDelegate is a paid mutator transaction binding the contract method 0x80b29f7c.

Solidity: function revokeDelegate(address did, bytes32 delegateType, address delegate) returns()

func (*RegistryTransactor) RevokeDelegatePermit

func (_Registry *RegistryTransactor) RevokeDelegatePermit(opts *bind.TransactOpts, did common.Address, delegateType [32]byte, delegate common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

RevokeDelegatePermit is a paid mutator transaction binding the contract method 0xee75d2e8.

Solidity: function revokeDelegatePermit(address did, bytes32 delegateType, address delegate, uint256 deadline, bytes signature) returns()

func (*RegistryTransactor) SetAttribute

func (_Registry *RegistryTransactor) SetAttribute(opts *bind.TransactOpts, did common.Address, name [32]byte, value []byte, validity *big.Int) (*types.Transaction, error)

SetAttribute is a paid mutator transaction binding the contract method 0x7ad4b0a4.

Solidity: function setAttribute(address did, bytes32 name, bytes value, uint256 validity) returns()

func (*RegistryTransactor) SetAttributePermit

func (_Registry *RegistryTransactor) SetAttributePermit(opts *bind.TransactOpts, did common.Address, name [32]byte, value []byte, validity *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetAttributePermit is a paid mutator transaction binding the contract method 0x030b320d.

Solidity: function setAttributePermit(address did, bytes32 name, bytes value, uint256 validity, uint256 deadline, bytes signature) returns()

type RegistryTransactorRaw

type RegistryTransactorRaw struct {
	Contract *RegistryTransactor // Generic write-only contract binding to access the raw methods on
}

RegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RegistryTransactorRaw) Transact

func (_Registry *RegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RegistryTransactorRaw) Transfer

func (_Registry *RegistryTransactorRaw) 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 RegistryTransactorSession

type RegistryTransactorSession struct {
	Contract     *RegistryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

RegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RegistryTransactorSession) AddDelegate

func (_Registry *RegistryTransactorSession) AddDelegate(did common.Address, delegateType [32]byte, delegate common.Address, validity *big.Int) (*types.Transaction, error)

AddDelegate is a paid mutator transaction binding the contract method 0xa7068d66.

Solidity: function addDelegate(address did, bytes32 delegateType, address delegate, uint256 validity) returns()

func (*RegistryTransactorSession) AddDelegatePermit

func (_Registry *RegistryTransactorSession) AddDelegatePermit(did common.Address, delegateType [32]byte, delegate common.Address, validity *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)

AddDelegatePermit is a paid mutator transaction binding the contract method 0xfe2f0b11.

Solidity: function addDelegatePermit(address did, bytes32 delegateType, address delegate, uint256 validity, uint256 deadline, bytes signature) returns()

func (*RegistryTransactorSession) ChangeController

func (_Registry *RegistryTransactorSession) ChangeController(did common.Address, newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3e11e378.

Solidity: function changeController(address did, address newController) returns()

func (*RegistryTransactorSession) ChangeControllerPermit

func (_Registry *RegistryTransactorSession) ChangeControllerPermit(did common.Address, newController common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

ChangeControllerPermit is a paid mutator transaction binding the contract method 0x67c02b0a.

Solidity: function changeControllerPermit(address did, address newController, uint256 deadline, bytes signature) returns()

func (*RegistryTransactorSession) RevokeAttribute

func (_Registry *RegistryTransactorSession) RevokeAttribute(did common.Address, name [32]byte, value []byte) (*types.Transaction, error)

RevokeAttribute is a paid mutator transaction binding the contract method 0x00c023da.

Solidity: function revokeAttribute(address did, bytes32 name, bytes value) returns()

func (*RegistryTransactorSession) RevokeAttributePermit

func (_Registry *RegistryTransactorSession) RevokeAttributePermit(did common.Address, name [32]byte, value []byte, deadline *big.Int, signature []byte) (*types.Transaction, error)

RevokeAttributePermit is a paid mutator transaction binding the contract method 0x97880f96.

Solidity: function revokeAttributePermit(address did, bytes32 name, bytes value, uint256 deadline, bytes signature) returns()

func (*RegistryTransactorSession) RevokeDelegate

func (_Registry *RegistryTransactorSession) RevokeDelegate(did common.Address, delegateType [32]byte, delegate common.Address) (*types.Transaction, error)

RevokeDelegate is a paid mutator transaction binding the contract method 0x80b29f7c.

Solidity: function revokeDelegate(address did, bytes32 delegateType, address delegate) returns()

func (*RegistryTransactorSession) RevokeDelegatePermit

func (_Registry *RegistryTransactorSession) RevokeDelegatePermit(did common.Address, delegateType [32]byte, delegate common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

RevokeDelegatePermit is a paid mutator transaction binding the contract method 0xee75d2e8.

Solidity: function revokeDelegatePermit(address did, bytes32 delegateType, address delegate, uint256 deadline, bytes signature) returns()

func (*RegistryTransactorSession) SetAttribute

func (_Registry *RegistryTransactorSession) SetAttribute(did common.Address, name [32]byte, value []byte, validity *big.Int) (*types.Transaction, error)

SetAttribute is a paid mutator transaction binding the contract method 0x7ad4b0a4.

Solidity: function setAttribute(address did, bytes32 name, bytes value, uint256 validity) returns()

func (*RegistryTransactorSession) SetAttributePermit

func (_Registry *RegistryTransactorSession) SetAttributePermit(did common.Address, name [32]byte, value []byte, validity *big.Int, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetAttributePermit is a paid mutator transaction binding the contract method 0x030b320d.

Solidity: function setAttributePermit(address did, bytes32 name, bytes value, uint256 validity, uint256 deadline, bytes signature) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL