eth

package
v0.0.0-...-10d2010 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IDidABI = IDidMetaData.ABI

IDidABI is the input ABI used to generate the binding from. Deprecated: Use IDidMetaData.ABI instead.

View Source
var IDidFuncSigs = IDidMetaData.Sigs

Deprecated: Use IDidMetaData.Sigs instead. IDidFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IDidMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"}],\"name\":\"AddAddr\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"context\",\"type\":\"string\"}],\"name\":\"AddContext\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"controller\",\"type\":\"string\"}],\"name\":\"AddController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"}],\"name\":\"AddKey\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"}],\"name\":\"AddNewAuthAddr\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"}],\"name\":\"AddNewAuthKey\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"serviceId\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"serviceType\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"serviceEndpoint\",\"type\":\"string\"}],\"name\":\"AddService\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"Deactivate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"DeactivateAddr\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"DeactivateAuthAddr\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"}],\"name\":\"DeactivateAuthKey\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"}],\"name\":\"DeactivateKey\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"context\",\"type\":\"string\"}],\"name\":\"RemoveContext\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"controller\",\"type\":\"string\"}],\"name\":\"RemoveController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"serviceId\",\"type\":\"string\"}],\"name\":\"RemoveService\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"SetAuthAddr\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"}],\"name\":\"SetAuthKey\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"serviceId\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"serviceType\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"serviceEndpoint\",\"type\":\"string\"}],\"name\":\"UpdateService\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"pubKeyController\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"context\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addContext\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"controller\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"newPubKey\",\"type\":\"bytes\"},{\"internalType\":\"string[]\",\"name\":\"pubKeyController\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addNewAuthAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"controllerSigner\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addNewAuthAddrByController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addNewAuthKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"controllerSigner\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addNewAuthKeyByController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceType\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceEndpoint\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"addService\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"deactivateAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"deactivateAuthAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"controller\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"deactivateAuthAddrByController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"deactivateAuthKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"controller\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"deactivateAuthKeyByController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"deactivateID\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"deactivateKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"getAllAuthKey\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"keyType\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"pubKeyData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"deactivated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isPubKey\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"authIndex\",\"type\":\"uint256\"}],\"internalType\":\"structIDid.PublicKey[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"getAllController\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"getAllPubKey\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"keyType\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"pubKeyData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"deactivated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isPubKey\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"authIndex\",\"type\":\"uint256\"}],\"internalType\":\"structIDid.PublicKey[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"getAllService\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"serviceId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceType\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceEndpoint\",\"type\":\"string\"}],\"internalType\":\"structIDid.Service[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"getContext\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"getDocument\",\"outputs\":[{\"components\":[{\"internalType\":\"string[]\",\"name\":\"context\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"keyType\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"pubKeyData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"deactivated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isPubKey\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"authIndex\",\"type\":\"uint256\"}],\"internalType\":\"structIDid.PublicKey[]\",\"name\":\"publicKey\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"keyType\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"pubKeyData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"deactivated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isPubKey\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"authIndex\",\"type\":\"uint256\"}],\"internalType\":\"structIDid.PublicKey[]\",\"name\":\"authentication\",\"type\":\"tuple[]\"},{\"internalType\":\"string[]\",\"name\":\"controller\",\"type\":\"string[]\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"serviceId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceType\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceEndpoint\",\"type\":\"string\"}],\"internalType\":\"structIDid.Service[]\",\"name\":\"service\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"updated\",\"type\":\"uint256\"}],\"internalType\":\"structIDid.DIDDocument\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"getUpdatedTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"context\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"removeContext\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"controller\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"removeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceId\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"removeService\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"setAuthAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"controller\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"setAuthAddrByController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"setAuthKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"controller\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"setAuthKeyByController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceType\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"serviceEndpoint\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"singer\",\"type\":\"bytes\"}],\"name\":\"updateService\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"53864503": "addAddr(string,address,string[],bytes)",
		"65cbf7c3": "addContext(string,string[],bytes)",
		"0ec0865b": "addController(string,string,bytes)",
		"52c07c56": "addKey(string,bytes,string[],bytes)",
		"8da5588c": "addNewAuthAddr(string,address,string[],bytes)",
		"b0abb199": "addNewAuthAddrByController(string,address,string[],string,bytes)",
		"002b4c82": "addNewAuthKey(string,bytes,string[],bytes)",
		"db7d1f04": "addNewAuthKeyByController(string,bytes,string[],string,bytes)",
		"7d1c754f": "addService(string,string,string,string,bytes)",
		"d558cdea": "deactivateAddr(string,address,bytes)",
		"6747e9bc": "deactivateAuthAddr(string,address,bytes)",
		"88209cf3": "deactivateAuthAddrByController(string,address,string,bytes)",
		"958607b8": "deactivateAuthKey(string,bytes,bytes)",
		"9053ad03": "deactivateAuthKeyByController(string,bytes,string,bytes)",
		"ec02a3b5": "deactivateID(string,bytes)",
		"793f66c9": "deactivateKey(string,bytes,bytes)",
		"d22eafd9": "getAllAuthKey(string)",
		"2e35d7ca": "getAllController(string)",
		"1f7c7a9d": "getAllPubKey(string)",
		"f8d8f4ad": "getAllService(string)",
		"53949d4f": "getContext(string)",
		"7ccb6a64": "getDocument(string)",
		"ba964281": "getUpdatedTime(string)",
		"8095627f": "removeContext(string,string[],bytes)",
		"244d9153": "removeController(string,string,bytes)",
		"2e97b8d4": "removeService(string,string,bytes)",
		"398a85ec": "setAuthAddr(string,address,bytes)",
		"6e5f3183": "setAuthAddrByController(string,address,string,bytes)",
		"fa1bac72": "setAuthKey(string,bytes,bytes)",
		"9033d99a": "setAuthKeyByController(string,bytes,string,bytes)",
		"667f5fa3": "updateService(string,string,string,string,bytes)",
	},
}

IDidMetaData contains all meta data concerning the IDid contract.

Functions

This section is empty.

Types

type EthResolver

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

func (EthResolver) CreateCredential

func (e EthResolver) CreateCredential(did string, idx int, content interface{}, commit bool) (string, string, error)

func (*EthResolver) EncrypteDataWithDID

func (o *EthResolver) EncrypteDataWithDID(data []byte, did string) ([]byte, error)

func (EthResolver) GetPubkeyByDID

func (e EthResolver) GetPubkeyByDID(did string, idx int) (*IDidPublicKey, error)

func (EthResolver) RevokeCredential

func (e EthResolver) RevokeCredential(did string, idx int, cred string) (string, error)

func (*EthResolver) SignData

func (o *EthResolver) SignData(data []byte) ([]byte, error)

func (EthResolver) ValidateSig

func (e EthResolver) ValidateSig(did string, idx int, msg string, sig string) (bool, error)

type IDid

type IDid struct {
	IDidCaller     // Read-only binding to the contract
	IDidTransactor // Write-only binding to the contract
	IDidFilterer   // Log filterer for contract events
}

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

func NewIDid

func NewIDid(address common.Address, backend bind.ContractBackend) (*IDid, error)

NewIDid creates a new instance of IDid, bound to a specific deployed contract.

type IDidAddAddr

type IDidAddAddr struct {
	Did        string
	Addr       common.Address
	Controller []string
	Raw        types.Log // Blockchain specific contextual infos
}

IDidAddAddr represents a AddAddr event raised by the IDid contract.

type IDidAddAddrIterator

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

IDidAddAddrIterator is returned from FilterAddAddr and is used to iterate over the raw logs and unpacked data for AddAddr events raised by the IDid contract.

func (*IDidAddAddrIterator) Close

func (it *IDidAddAddrIterator) Close() error

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

func (*IDidAddAddrIterator) Error

func (it *IDidAddAddrIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidAddAddrIterator) Next

func (it *IDidAddAddrIterator) 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 IDidAddContext

type IDidAddContext struct {
	Did     string
	Context string
	Raw     types.Log // Blockchain specific contextual infos
}

IDidAddContext represents a AddContext event raised by the IDid contract.

type IDidAddContextIterator

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

IDidAddContextIterator is returned from FilterAddContext and is used to iterate over the raw logs and unpacked data for AddContext events raised by the IDid contract.

func (*IDidAddContextIterator) Close

func (it *IDidAddContextIterator) Close() error

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

func (*IDidAddContextIterator) Error

func (it *IDidAddContextIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidAddContextIterator) Next

func (it *IDidAddContextIterator) 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 IDidAddController

type IDidAddController struct {
	Did        string
	Controller string
	Raw        types.Log // Blockchain specific contextual infos
}

IDidAddController represents a AddController event raised by the IDid contract.

type IDidAddControllerIterator

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

IDidAddControllerIterator is returned from FilterAddController and is used to iterate over the raw logs and unpacked data for AddController events raised by the IDid contract.

func (*IDidAddControllerIterator) Close

func (it *IDidAddControllerIterator) Close() error

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

func (*IDidAddControllerIterator) Error

func (it *IDidAddControllerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidAddControllerIterator) Next

func (it *IDidAddControllerIterator) 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 IDidAddKey

type IDidAddKey struct {
	Did        string
	PubKey     []byte
	Controller []string
	Raw        types.Log // Blockchain specific contextual infos
}

IDidAddKey represents a AddKey event raised by the IDid contract.

type IDidAddKeyIterator

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

IDidAddKeyIterator is returned from FilterAddKey and is used to iterate over the raw logs and unpacked data for AddKey events raised by the IDid contract.

func (*IDidAddKeyIterator) Close

func (it *IDidAddKeyIterator) Close() error

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

func (*IDidAddKeyIterator) Error

func (it *IDidAddKeyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidAddKeyIterator) Next

func (it *IDidAddKeyIterator) 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 IDidAddNewAuthAddr

type IDidAddNewAuthAddr struct {
	Did        string
	Addr       common.Address
	Controller []string
	Raw        types.Log // Blockchain specific contextual infos
}

IDidAddNewAuthAddr represents a AddNewAuthAddr event raised by the IDid contract.

type IDidAddNewAuthAddrIterator

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

IDidAddNewAuthAddrIterator is returned from FilterAddNewAuthAddr and is used to iterate over the raw logs and unpacked data for AddNewAuthAddr events raised by the IDid contract.

func (*IDidAddNewAuthAddrIterator) Close

func (it *IDidAddNewAuthAddrIterator) Close() error

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

func (*IDidAddNewAuthAddrIterator) Error

func (it *IDidAddNewAuthAddrIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidAddNewAuthAddrIterator) Next

func (it *IDidAddNewAuthAddrIterator) 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 IDidAddNewAuthKey

type IDidAddNewAuthKey struct {
	Did        string
	PubKey     []byte
	Controller []string
	Raw        types.Log // Blockchain specific contextual infos
}

IDidAddNewAuthKey represents a AddNewAuthKey event raised by the IDid contract.

type IDidAddNewAuthKeyIterator

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

IDidAddNewAuthKeyIterator is returned from FilterAddNewAuthKey and is used to iterate over the raw logs and unpacked data for AddNewAuthKey events raised by the IDid contract.

func (*IDidAddNewAuthKeyIterator) Close

func (it *IDidAddNewAuthKeyIterator) Close() error

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

func (*IDidAddNewAuthKeyIterator) Error

func (it *IDidAddNewAuthKeyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidAddNewAuthKeyIterator) Next

func (it *IDidAddNewAuthKeyIterator) 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 IDidAddService

type IDidAddService struct {
	Did             string
	ServiceId       string
	ServiceType     string
	ServiceEndpoint string
	Raw             types.Log // Blockchain specific contextual infos
}

IDidAddService represents a AddService event raised by the IDid contract.

type IDidAddServiceIterator

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

IDidAddServiceIterator is returned from FilterAddService and is used to iterate over the raw logs and unpacked data for AddService events raised by the IDid contract.

func (*IDidAddServiceIterator) Close

func (it *IDidAddServiceIterator) Close() error

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

func (*IDidAddServiceIterator) Error

func (it *IDidAddServiceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidAddServiceIterator) Next

func (it *IDidAddServiceIterator) 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 IDidCaller

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

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

func NewIDidCaller

func NewIDidCaller(address common.Address, caller bind.ContractCaller) (*IDidCaller, error)

NewIDidCaller creates a new read-only instance of IDid, bound to a specific deployed contract.

func (*IDidCaller) GetAllAuthKey

func (_IDid *IDidCaller) GetAllAuthKey(opts *bind.CallOpts, did string) ([]IDidPublicKey, error)

GetAllAuthKey is a free data retrieval call binding the contract method 0xd22eafd9.

Solidity: function getAllAuthKey(string did) view returns((string,string,string[],bytes,bool,bool,uint256)[])

func (*IDidCaller) GetAllController

func (_IDid *IDidCaller) GetAllController(opts *bind.CallOpts, did string) ([]string, error)

GetAllController is a free data retrieval call binding the contract method 0x2e35d7ca.

Solidity: function getAllController(string did) view returns(string[])

func (*IDidCaller) GetAllPubKey

func (_IDid *IDidCaller) GetAllPubKey(opts *bind.CallOpts, did string) ([]IDidPublicKey, error)

GetAllPubKey is a free data retrieval call binding the contract method 0x1f7c7a9d.

Solidity: function getAllPubKey(string did) view returns((string,string,string[],bytes,bool,bool,uint256)[])

func (*IDidCaller) GetAllService

func (_IDid *IDidCaller) GetAllService(opts *bind.CallOpts, did string) ([]IDidService, error)

GetAllService is a free data retrieval call binding the contract method 0xf8d8f4ad.

Solidity: function getAllService(string did) view returns((string,string,string)[])

func (*IDidCaller) GetContext

func (_IDid *IDidCaller) GetContext(opts *bind.CallOpts, did string) ([]string, error)

GetContext is a free data retrieval call binding the contract method 0x53949d4f.

Solidity: function getContext(string did) view returns(string[])

func (*IDidCaller) GetDocument

func (_IDid *IDidCaller) GetDocument(opts *bind.CallOpts, did string) (IDidDIDDocument, error)

GetDocument is a free data retrieval call binding the contract method 0x7ccb6a64.

Solidity: function getDocument(string did) view returns((string[],string,(string,string,string[],bytes,bool,bool,uint256)[],(string,string,string[],bytes,bool,bool,uint256)[],string[],(string,string,string)[],uint256))

func (*IDidCaller) GetUpdatedTime

func (_IDid *IDidCaller) GetUpdatedTime(opts *bind.CallOpts, did string) (*big.Int, error)

GetUpdatedTime is a free data retrieval call binding the contract method 0xba964281.

Solidity: function getUpdatedTime(string did) view returns(uint256)

type IDidCallerRaw

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

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

func (*IDidCallerRaw) Call

func (_IDid *IDidCallerRaw) 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 IDidCallerSession

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

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

func (*IDidCallerSession) GetAllAuthKey

func (_IDid *IDidCallerSession) GetAllAuthKey(did string) ([]IDidPublicKey, error)

GetAllAuthKey is a free data retrieval call binding the contract method 0xd22eafd9.

Solidity: function getAllAuthKey(string did) view returns((string,string,string[],bytes,bool,bool,uint256)[])

func (*IDidCallerSession) GetAllController

func (_IDid *IDidCallerSession) GetAllController(did string) ([]string, error)

GetAllController is a free data retrieval call binding the contract method 0x2e35d7ca.

Solidity: function getAllController(string did) view returns(string[])

func (*IDidCallerSession) GetAllPubKey

func (_IDid *IDidCallerSession) GetAllPubKey(did string) ([]IDidPublicKey, error)

GetAllPubKey is a free data retrieval call binding the contract method 0x1f7c7a9d.

Solidity: function getAllPubKey(string did) view returns((string,string,string[],bytes,bool,bool,uint256)[])

func (*IDidCallerSession) GetAllService

func (_IDid *IDidCallerSession) GetAllService(did string) ([]IDidService, error)

GetAllService is a free data retrieval call binding the contract method 0xf8d8f4ad.

Solidity: function getAllService(string did) view returns((string,string,string)[])

func (*IDidCallerSession) GetContext

func (_IDid *IDidCallerSession) GetContext(did string) ([]string, error)

GetContext is a free data retrieval call binding the contract method 0x53949d4f.

Solidity: function getContext(string did) view returns(string[])

func (*IDidCallerSession) GetDocument

func (_IDid *IDidCallerSession) GetDocument(did string) (IDidDIDDocument, error)

GetDocument is a free data retrieval call binding the contract method 0x7ccb6a64.

Solidity: function getDocument(string did) view returns((string[],string,(string,string,string[],bytes,bool,bool,uint256)[],(string,string,string[],bytes,bool,bool,uint256)[],string[],(string,string,string)[],uint256))

func (*IDidCallerSession) GetUpdatedTime

func (_IDid *IDidCallerSession) GetUpdatedTime(did string) (*big.Int, error)

GetUpdatedTime is a free data retrieval call binding the contract method 0xba964281.

Solidity: function getUpdatedTime(string did) view returns(uint256)

type IDidDIDDocument

type IDidDIDDocument struct {
	Context        []string
	Id             string
	PublicKey      []IDidPublicKey
	Authentication []IDidPublicKey
	Controller     []string
	Service        []IDidService
	Updated        *big.Int
}

IDidDIDDocument is an auto generated low-level Go binding around an user-defined struct.

type IDidDeactivate

type IDidDeactivate struct {
	Did string
	Raw types.Log // Blockchain specific contextual infos
}

IDidDeactivate represents a Deactivate event raised by the IDid contract.

type IDidDeactivateAddr

type IDidDeactivateAddr struct {
	Did  string
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

IDidDeactivateAddr represents a DeactivateAddr event raised by the IDid contract.

type IDidDeactivateAddrIterator

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

IDidDeactivateAddrIterator is returned from FilterDeactivateAddr and is used to iterate over the raw logs and unpacked data for DeactivateAddr events raised by the IDid contract.

func (*IDidDeactivateAddrIterator) Close

func (it *IDidDeactivateAddrIterator) Close() error

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

func (*IDidDeactivateAddrIterator) Error

func (it *IDidDeactivateAddrIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidDeactivateAddrIterator) Next

func (it *IDidDeactivateAddrIterator) 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 IDidDeactivateAuthAddr

type IDidDeactivateAuthAddr struct {
	Did  string
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

IDidDeactivateAuthAddr represents a DeactivateAuthAddr event raised by the IDid contract.

type IDidDeactivateAuthAddrIterator

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

IDidDeactivateAuthAddrIterator is returned from FilterDeactivateAuthAddr and is used to iterate over the raw logs and unpacked data for DeactivateAuthAddr events raised by the IDid contract.

func (*IDidDeactivateAuthAddrIterator) Close

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

func (*IDidDeactivateAuthAddrIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidDeactivateAuthAddrIterator) 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 IDidDeactivateAuthKey

type IDidDeactivateAuthKey struct {
	Did    string
	PubKey []byte
	Raw    types.Log // Blockchain specific contextual infos
}

IDidDeactivateAuthKey represents a DeactivateAuthKey event raised by the IDid contract.

type IDidDeactivateAuthKeyIterator

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

IDidDeactivateAuthKeyIterator is returned from FilterDeactivateAuthKey and is used to iterate over the raw logs and unpacked data for DeactivateAuthKey events raised by the IDid contract.

func (*IDidDeactivateAuthKeyIterator) Close

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

func (*IDidDeactivateAuthKeyIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidDeactivateAuthKeyIterator) 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 IDidDeactivateIterator

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

IDidDeactivateIterator is returned from FilterDeactivate and is used to iterate over the raw logs and unpacked data for Deactivate events raised by the IDid contract.

func (*IDidDeactivateIterator) Close

func (it *IDidDeactivateIterator) Close() error

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

func (*IDidDeactivateIterator) Error

func (it *IDidDeactivateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidDeactivateIterator) Next

func (it *IDidDeactivateIterator) 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 IDidDeactivateKey

type IDidDeactivateKey struct {
	Did    string
	PubKey []byte
	Raw    types.Log // Blockchain specific contextual infos
}

IDidDeactivateKey represents a DeactivateKey event raised by the IDid contract.

type IDidDeactivateKeyIterator

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

IDidDeactivateKeyIterator is returned from FilterDeactivateKey and is used to iterate over the raw logs and unpacked data for DeactivateKey events raised by the IDid contract.

func (*IDidDeactivateKeyIterator) Close

func (it *IDidDeactivateKeyIterator) Close() error

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

func (*IDidDeactivateKeyIterator) Error

func (it *IDidDeactivateKeyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidDeactivateKeyIterator) Next

func (it *IDidDeactivateKeyIterator) 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 IDidFilterer

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

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

func NewIDidFilterer

func NewIDidFilterer(address common.Address, filterer bind.ContractFilterer) (*IDidFilterer, error)

NewIDidFilterer creates a new log filterer instance of IDid, bound to a specific deployed contract.

func (*IDidFilterer) FilterAddAddr

func (_IDid *IDidFilterer) FilterAddAddr(opts *bind.FilterOpts) (*IDidAddAddrIterator, error)

FilterAddAddr is a free log retrieval operation binding the contract event 0xa9f8cf46beb11b19df1f3f276b45158a279eff65c1fb27bb4f3b91e1a894f0dd.

Solidity: event AddAddr(string did, address addr, string[] controller)

func (*IDidFilterer) FilterAddContext

func (_IDid *IDidFilterer) FilterAddContext(opts *bind.FilterOpts) (*IDidAddContextIterator, error)

FilterAddContext is a free log retrieval operation binding the contract event 0xab878ced0a294d7dde0c095c50e69cd0c400119ef2d9545bda4cc63d281148c5.

Solidity: event AddContext(string did, string context)

func (*IDidFilterer) FilterAddController

func (_IDid *IDidFilterer) FilterAddController(opts *bind.FilterOpts) (*IDidAddControllerIterator, error)

FilterAddController is a free log retrieval operation binding the contract event 0x158049e5f97a0923906423a422819a72f859b99834ab1471ec73c7e5d8c2221d.

Solidity: event AddController(string did, string controller)

func (*IDidFilterer) FilterAddKey

func (_IDid *IDidFilterer) FilterAddKey(opts *bind.FilterOpts) (*IDidAddKeyIterator, error)

FilterAddKey is a free log retrieval operation binding the contract event 0x0f649d2ebae9f0c1584c133d91aaae79f84b2580c33e7c2480a4bd0e27a29109.

Solidity: event AddKey(string did, bytes pubKey, string[] controller)

func (*IDidFilterer) FilterAddNewAuthAddr

func (_IDid *IDidFilterer) FilterAddNewAuthAddr(opts *bind.FilterOpts) (*IDidAddNewAuthAddrIterator, error)

FilterAddNewAuthAddr is a free log retrieval operation binding the contract event 0xe2bd3ac8e89e6fc034167d63de32d1247aa49f6802f2264875d0a00fd645da54.

Solidity: event AddNewAuthAddr(string did, address addr, string[] controller)

func (*IDidFilterer) FilterAddNewAuthKey

func (_IDid *IDidFilterer) FilterAddNewAuthKey(opts *bind.FilterOpts) (*IDidAddNewAuthKeyIterator, error)

FilterAddNewAuthKey is a free log retrieval operation binding the contract event 0xb22d64a17a74dc192d537930ccfefdcc25c0e279b7595081c4f42e7613f01cf8.

Solidity: event AddNewAuthKey(string did, bytes pubKey, string[] controller)

func (*IDidFilterer) FilterAddService

func (_IDid *IDidFilterer) FilterAddService(opts *bind.FilterOpts) (*IDidAddServiceIterator, error)

FilterAddService is a free log retrieval operation binding the contract event 0x8e2e47c852a8c05bbd1bc96df47294a54af338a51f99884924137ab38278860f.

Solidity: event AddService(string did, string serviceId, string serviceType, string serviceEndpoint)

func (*IDidFilterer) FilterDeactivate

func (_IDid *IDidFilterer) FilterDeactivate(opts *bind.FilterOpts) (*IDidDeactivateIterator, error)

FilterDeactivate is a free log retrieval operation binding the contract event 0xe0d447dee36c113fb0b5edf3262a72a06d967bd571d810cfaa2b7df89749f7ca.

Solidity: event Deactivate(string did)

func (*IDidFilterer) FilterDeactivateAddr

func (_IDid *IDidFilterer) FilterDeactivateAddr(opts *bind.FilterOpts) (*IDidDeactivateAddrIterator, error)

FilterDeactivateAddr is a free log retrieval operation binding the contract event 0x3364de2ecbd53e405faf989044be284732af4a4d2f29f9db04df4bcf1d753b51.

Solidity: event DeactivateAddr(string did, address addr)

func (*IDidFilterer) FilterDeactivateAuthAddr

func (_IDid *IDidFilterer) FilterDeactivateAuthAddr(opts *bind.FilterOpts) (*IDidDeactivateAuthAddrIterator, error)

FilterDeactivateAuthAddr is a free log retrieval operation binding the contract event 0x5b4ad0c78947966b48caff8e1256800d9ecc297743953b6ba78776d0e81d327f.

Solidity: event DeactivateAuthAddr(string did, address addr)

func (*IDidFilterer) FilterDeactivateAuthKey

func (_IDid *IDidFilterer) FilterDeactivateAuthKey(opts *bind.FilterOpts) (*IDidDeactivateAuthKeyIterator, error)

FilterDeactivateAuthKey is a free log retrieval operation binding the contract event 0x2b5997c0533b1b213e90a8955d60e56efed753c769a096d6e30f68b8fe955d06.

Solidity: event DeactivateAuthKey(string did, bytes pubKey)

func (*IDidFilterer) FilterDeactivateKey

func (_IDid *IDidFilterer) FilterDeactivateKey(opts *bind.FilterOpts) (*IDidDeactivateKeyIterator, error)

FilterDeactivateKey is a free log retrieval operation binding the contract event 0xc2613a8fbe2f84ee12626ff6451fe839595edd92aa6d8fd95e62e587b42a0e15.

Solidity: event DeactivateKey(string did, bytes pubKey)

func (*IDidFilterer) FilterRemoveContext

func (_IDid *IDidFilterer) FilterRemoveContext(opts *bind.FilterOpts) (*IDidRemoveContextIterator, error)

FilterRemoveContext is a free log retrieval operation binding the contract event 0x58055c159e081c2caccfa4852d9a4285566a460de7ba910919b0ff75271d877f.

Solidity: event RemoveContext(string did, string context)

func (*IDidFilterer) FilterRemoveController

func (_IDid *IDidFilterer) FilterRemoveController(opts *bind.FilterOpts) (*IDidRemoveControllerIterator, error)

FilterRemoveController is a free log retrieval operation binding the contract event 0x60b2df265d895cbd29c118ef04311b5ccf506bbc063740f4ed3eb7a60448afe7.

Solidity: event RemoveController(string did, string controller)

func (*IDidFilterer) FilterRemoveService

func (_IDid *IDidFilterer) FilterRemoveService(opts *bind.FilterOpts) (*IDidRemoveServiceIterator, error)

FilterRemoveService is a free log retrieval operation binding the contract event 0xab8833e166d8cbd16f823a1e7c05653d3f78d9c3498ebdf0b2393c16e3fe9487.

Solidity: event RemoveService(string did, string serviceId)

func (*IDidFilterer) FilterSetAuthAddr

func (_IDid *IDidFilterer) FilterSetAuthAddr(opts *bind.FilterOpts) (*IDidSetAuthAddrIterator, error)

FilterSetAuthAddr is a free log retrieval operation binding the contract event 0x605a8562b3e375915ae30d3f6a56e766cc11be0a6c592b68704f048f5ac9d867.

Solidity: event SetAuthAddr(string did, address addr)

func (*IDidFilterer) FilterSetAuthKey

func (_IDid *IDidFilterer) FilterSetAuthKey(opts *bind.FilterOpts) (*IDidSetAuthKeyIterator, error)

FilterSetAuthKey is a free log retrieval operation binding the contract event 0x40f36fc5010e18c1e871f706915909d1fcf1215d949a2c4d72350380162b1bd5.

Solidity: event SetAuthKey(string did, bytes pubKey)

func (*IDidFilterer) FilterUpdateService

func (_IDid *IDidFilterer) FilterUpdateService(opts *bind.FilterOpts) (*IDidUpdateServiceIterator, error)

FilterUpdateService is a free log retrieval operation binding the contract event 0xce02a40ad64d07c09428e43775774b9c09a2fb4050cb2133feffdaf82e7c201f.

Solidity: event UpdateService(string did, string serviceId, string serviceType, string serviceEndpoint)

func (*IDidFilterer) ParseAddAddr

func (_IDid *IDidFilterer) ParseAddAddr(log types.Log) (*IDidAddAddr, error)

ParseAddAddr is a log parse operation binding the contract event 0xa9f8cf46beb11b19df1f3f276b45158a279eff65c1fb27bb4f3b91e1a894f0dd.

Solidity: event AddAddr(string did, address addr, string[] controller)

func (*IDidFilterer) ParseAddContext

func (_IDid *IDidFilterer) ParseAddContext(log types.Log) (*IDidAddContext, error)

ParseAddContext is a log parse operation binding the contract event 0xab878ced0a294d7dde0c095c50e69cd0c400119ef2d9545bda4cc63d281148c5.

Solidity: event AddContext(string did, string context)

func (*IDidFilterer) ParseAddController

func (_IDid *IDidFilterer) ParseAddController(log types.Log) (*IDidAddController, error)

ParseAddController is a log parse operation binding the contract event 0x158049e5f97a0923906423a422819a72f859b99834ab1471ec73c7e5d8c2221d.

Solidity: event AddController(string did, string controller)

func (*IDidFilterer) ParseAddKey

func (_IDid *IDidFilterer) ParseAddKey(log types.Log) (*IDidAddKey, error)

ParseAddKey is a log parse operation binding the contract event 0x0f649d2ebae9f0c1584c133d91aaae79f84b2580c33e7c2480a4bd0e27a29109.

Solidity: event AddKey(string did, bytes pubKey, string[] controller)

func (*IDidFilterer) ParseAddNewAuthAddr

func (_IDid *IDidFilterer) ParseAddNewAuthAddr(log types.Log) (*IDidAddNewAuthAddr, error)

ParseAddNewAuthAddr is a log parse operation binding the contract event 0xe2bd3ac8e89e6fc034167d63de32d1247aa49f6802f2264875d0a00fd645da54.

Solidity: event AddNewAuthAddr(string did, address addr, string[] controller)

func (*IDidFilterer) ParseAddNewAuthKey

func (_IDid *IDidFilterer) ParseAddNewAuthKey(log types.Log) (*IDidAddNewAuthKey, error)

ParseAddNewAuthKey is a log parse operation binding the contract event 0xb22d64a17a74dc192d537930ccfefdcc25c0e279b7595081c4f42e7613f01cf8.

Solidity: event AddNewAuthKey(string did, bytes pubKey, string[] controller)

func (*IDidFilterer) ParseAddService

func (_IDid *IDidFilterer) ParseAddService(log types.Log) (*IDidAddService, error)

ParseAddService is a log parse operation binding the contract event 0x8e2e47c852a8c05bbd1bc96df47294a54af338a51f99884924137ab38278860f.

Solidity: event AddService(string did, string serviceId, string serviceType, string serviceEndpoint)

func (*IDidFilterer) ParseDeactivate

func (_IDid *IDidFilterer) ParseDeactivate(log types.Log) (*IDidDeactivate, error)

ParseDeactivate is a log parse operation binding the contract event 0xe0d447dee36c113fb0b5edf3262a72a06d967bd571d810cfaa2b7df89749f7ca.

Solidity: event Deactivate(string did)

func (*IDidFilterer) ParseDeactivateAddr

func (_IDid *IDidFilterer) ParseDeactivateAddr(log types.Log) (*IDidDeactivateAddr, error)

ParseDeactivateAddr is a log parse operation binding the contract event 0x3364de2ecbd53e405faf989044be284732af4a4d2f29f9db04df4bcf1d753b51.

Solidity: event DeactivateAddr(string did, address addr)

func (*IDidFilterer) ParseDeactivateAuthAddr

func (_IDid *IDidFilterer) ParseDeactivateAuthAddr(log types.Log) (*IDidDeactivateAuthAddr, error)

ParseDeactivateAuthAddr is a log parse operation binding the contract event 0x5b4ad0c78947966b48caff8e1256800d9ecc297743953b6ba78776d0e81d327f.

Solidity: event DeactivateAuthAddr(string did, address addr)

func (*IDidFilterer) ParseDeactivateAuthKey

func (_IDid *IDidFilterer) ParseDeactivateAuthKey(log types.Log) (*IDidDeactivateAuthKey, error)

ParseDeactivateAuthKey is a log parse operation binding the contract event 0x2b5997c0533b1b213e90a8955d60e56efed753c769a096d6e30f68b8fe955d06.

Solidity: event DeactivateAuthKey(string did, bytes pubKey)

func (*IDidFilterer) ParseDeactivateKey

func (_IDid *IDidFilterer) ParseDeactivateKey(log types.Log) (*IDidDeactivateKey, error)

ParseDeactivateKey is a log parse operation binding the contract event 0xc2613a8fbe2f84ee12626ff6451fe839595edd92aa6d8fd95e62e587b42a0e15.

Solidity: event DeactivateKey(string did, bytes pubKey)

func (*IDidFilterer) ParseRemoveContext

func (_IDid *IDidFilterer) ParseRemoveContext(log types.Log) (*IDidRemoveContext, error)

ParseRemoveContext is a log parse operation binding the contract event 0x58055c159e081c2caccfa4852d9a4285566a460de7ba910919b0ff75271d877f.

Solidity: event RemoveContext(string did, string context)

func (*IDidFilterer) ParseRemoveController

func (_IDid *IDidFilterer) ParseRemoveController(log types.Log) (*IDidRemoveController, error)

ParseRemoveController is a log parse operation binding the contract event 0x60b2df265d895cbd29c118ef04311b5ccf506bbc063740f4ed3eb7a60448afe7.

Solidity: event RemoveController(string did, string controller)

func (*IDidFilterer) ParseRemoveService

func (_IDid *IDidFilterer) ParseRemoveService(log types.Log) (*IDidRemoveService, error)

ParseRemoveService is a log parse operation binding the contract event 0xab8833e166d8cbd16f823a1e7c05653d3f78d9c3498ebdf0b2393c16e3fe9487.

Solidity: event RemoveService(string did, string serviceId)

func (*IDidFilterer) ParseSetAuthAddr

func (_IDid *IDidFilterer) ParseSetAuthAddr(log types.Log) (*IDidSetAuthAddr, error)

ParseSetAuthAddr is a log parse operation binding the contract event 0x605a8562b3e375915ae30d3f6a56e766cc11be0a6c592b68704f048f5ac9d867.

Solidity: event SetAuthAddr(string did, address addr)

func (*IDidFilterer) ParseSetAuthKey

func (_IDid *IDidFilterer) ParseSetAuthKey(log types.Log) (*IDidSetAuthKey, error)

ParseSetAuthKey is a log parse operation binding the contract event 0x40f36fc5010e18c1e871f706915909d1fcf1215d949a2c4d72350380162b1bd5.

Solidity: event SetAuthKey(string did, bytes pubKey)

func (*IDidFilterer) ParseUpdateService

func (_IDid *IDidFilterer) ParseUpdateService(log types.Log) (*IDidUpdateService, error)

ParseUpdateService is a log parse operation binding the contract event 0xce02a40ad64d07c09428e43775774b9c09a2fb4050cb2133feffdaf82e7c201f.

Solidity: event UpdateService(string did, string serviceId, string serviceType, string serviceEndpoint)

func (*IDidFilterer) WatchAddAddr

func (_IDid *IDidFilterer) WatchAddAddr(opts *bind.WatchOpts, sink chan<- *IDidAddAddr) (event.Subscription, error)

WatchAddAddr is a free log subscription operation binding the contract event 0xa9f8cf46beb11b19df1f3f276b45158a279eff65c1fb27bb4f3b91e1a894f0dd.

Solidity: event AddAddr(string did, address addr, string[] controller)

func (*IDidFilterer) WatchAddContext

func (_IDid *IDidFilterer) WatchAddContext(opts *bind.WatchOpts, sink chan<- *IDidAddContext) (event.Subscription, error)

WatchAddContext is a free log subscription operation binding the contract event 0xab878ced0a294d7dde0c095c50e69cd0c400119ef2d9545bda4cc63d281148c5.

Solidity: event AddContext(string did, string context)

func (*IDidFilterer) WatchAddController

func (_IDid *IDidFilterer) WatchAddController(opts *bind.WatchOpts, sink chan<- *IDidAddController) (event.Subscription, error)

WatchAddController is a free log subscription operation binding the contract event 0x158049e5f97a0923906423a422819a72f859b99834ab1471ec73c7e5d8c2221d.

Solidity: event AddController(string did, string controller)

func (*IDidFilterer) WatchAddKey

func (_IDid *IDidFilterer) WatchAddKey(opts *bind.WatchOpts, sink chan<- *IDidAddKey) (event.Subscription, error)

WatchAddKey is a free log subscription operation binding the contract event 0x0f649d2ebae9f0c1584c133d91aaae79f84b2580c33e7c2480a4bd0e27a29109.

Solidity: event AddKey(string did, bytes pubKey, string[] controller)

func (*IDidFilterer) WatchAddNewAuthAddr

func (_IDid *IDidFilterer) WatchAddNewAuthAddr(opts *bind.WatchOpts, sink chan<- *IDidAddNewAuthAddr) (event.Subscription, error)

WatchAddNewAuthAddr is a free log subscription operation binding the contract event 0xe2bd3ac8e89e6fc034167d63de32d1247aa49f6802f2264875d0a00fd645da54.

Solidity: event AddNewAuthAddr(string did, address addr, string[] controller)

func (*IDidFilterer) WatchAddNewAuthKey

func (_IDid *IDidFilterer) WatchAddNewAuthKey(opts *bind.WatchOpts, sink chan<- *IDidAddNewAuthKey) (event.Subscription, error)

WatchAddNewAuthKey is a free log subscription operation binding the contract event 0xb22d64a17a74dc192d537930ccfefdcc25c0e279b7595081c4f42e7613f01cf8.

Solidity: event AddNewAuthKey(string did, bytes pubKey, string[] controller)

func (*IDidFilterer) WatchAddService

func (_IDid *IDidFilterer) WatchAddService(opts *bind.WatchOpts, sink chan<- *IDidAddService) (event.Subscription, error)

WatchAddService is a free log subscription operation binding the contract event 0x8e2e47c852a8c05bbd1bc96df47294a54af338a51f99884924137ab38278860f.

Solidity: event AddService(string did, string serviceId, string serviceType, string serviceEndpoint)

func (*IDidFilterer) WatchDeactivate

func (_IDid *IDidFilterer) WatchDeactivate(opts *bind.WatchOpts, sink chan<- *IDidDeactivate) (event.Subscription, error)

WatchDeactivate is a free log subscription operation binding the contract event 0xe0d447dee36c113fb0b5edf3262a72a06d967bd571d810cfaa2b7df89749f7ca.

Solidity: event Deactivate(string did)

func (*IDidFilterer) WatchDeactivateAddr

func (_IDid *IDidFilterer) WatchDeactivateAddr(opts *bind.WatchOpts, sink chan<- *IDidDeactivateAddr) (event.Subscription, error)

WatchDeactivateAddr is a free log subscription operation binding the contract event 0x3364de2ecbd53e405faf989044be284732af4a4d2f29f9db04df4bcf1d753b51.

Solidity: event DeactivateAddr(string did, address addr)

func (*IDidFilterer) WatchDeactivateAuthAddr

func (_IDid *IDidFilterer) WatchDeactivateAuthAddr(opts *bind.WatchOpts, sink chan<- *IDidDeactivateAuthAddr) (event.Subscription, error)

WatchDeactivateAuthAddr is a free log subscription operation binding the contract event 0x5b4ad0c78947966b48caff8e1256800d9ecc297743953b6ba78776d0e81d327f.

Solidity: event DeactivateAuthAddr(string did, address addr)

func (*IDidFilterer) WatchDeactivateAuthKey

func (_IDid *IDidFilterer) WatchDeactivateAuthKey(opts *bind.WatchOpts, sink chan<- *IDidDeactivateAuthKey) (event.Subscription, error)

WatchDeactivateAuthKey is a free log subscription operation binding the contract event 0x2b5997c0533b1b213e90a8955d60e56efed753c769a096d6e30f68b8fe955d06.

Solidity: event DeactivateAuthKey(string did, bytes pubKey)

func (*IDidFilterer) WatchDeactivateKey

func (_IDid *IDidFilterer) WatchDeactivateKey(opts *bind.WatchOpts, sink chan<- *IDidDeactivateKey) (event.Subscription, error)

WatchDeactivateKey is a free log subscription operation binding the contract event 0xc2613a8fbe2f84ee12626ff6451fe839595edd92aa6d8fd95e62e587b42a0e15.

Solidity: event DeactivateKey(string did, bytes pubKey)

func (*IDidFilterer) WatchRemoveContext

func (_IDid *IDidFilterer) WatchRemoveContext(opts *bind.WatchOpts, sink chan<- *IDidRemoveContext) (event.Subscription, error)

WatchRemoveContext is a free log subscription operation binding the contract event 0x58055c159e081c2caccfa4852d9a4285566a460de7ba910919b0ff75271d877f.

Solidity: event RemoveContext(string did, string context)

func (*IDidFilterer) WatchRemoveController

func (_IDid *IDidFilterer) WatchRemoveController(opts *bind.WatchOpts, sink chan<- *IDidRemoveController) (event.Subscription, error)

WatchRemoveController is a free log subscription operation binding the contract event 0x60b2df265d895cbd29c118ef04311b5ccf506bbc063740f4ed3eb7a60448afe7.

Solidity: event RemoveController(string did, string controller)

func (*IDidFilterer) WatchRemoveService

func (_IDid *IDidFilterer) WatchRemoveService(opts *bind.WatchOpts, sink chan<- *IDidRemoveService) (event.Subscription, error)

WatchRemoveService is a free log subscription operation binding the contract event 0xab8833e166d8cbd16f823a1e7c05653d3f78d9c3498ebdf0b2393c16e3fe9487.

Solidity: event RemoveService(string did, string serviceId)

func (*IDidFilterer) WatchSetAuthAddr

func (_IDid *IDidFilterer) WatchSetAuthAddr(opts *bind.WatchOpts, sink chan<- *IDidSetAuthAddr) (event.Subscription, error)

WatchSetAuthAddr is a free log subscription operation binding the contract event 0x605a8562b3e375915ae30d3f6a56e766cc11be0a6c592b68704f048f5ac9d867.

Solidity: event SetAuthAddr(string did, address addr)

func (*IDidFilterer) WatchSetAuthKey

func (_IDid *IDidFilterer) WatchSetAuthKey(opts *bind.WatchOpts, sink chan<- *IDidSetAuthKey) (event.Subscription, error)

WatchSetAuthKey is a free log subscription operation binding the contract event 0x40f36fc5010e18c1e871f706915909d1fcf1215d949a2c4d72350380162b1bd5.

Solidity: event SetAuthKey(string did, bytes pubKey)

func (*IDidFilterer) WatchUpdateService

func (_IDid *IDidFilterer) WatchUpdateService(opts *bind.WatchOpts, sink chan<- *IDidUpdateService) (event.Subscription, error)

WatchUpdateService is a free log subscription operation binding the contract event 0xce02a40ad64d07c09428e43775774b9c09a2fb4050cb2133feffdaf82e7c201f.

Solidity: event UpdateService(string did, string serviceId, string serviceType, string serviceEndpoint)

type IDidPublicKey

type IDidPublicKey struct {
	Id          string
	KeyType     string
	Controller  []string
	PubKeyData  []byte
	Deactivated bool
	IsPubKey    bool
	AuthIndex   *big.Int
}

IDidPublicKey is an auto generated low-level Go binding around an user-defined struct.

type IDidRaw

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

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

func (*IDidRaw) Call

func (_IDid *IDidRaw) 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 (*IDidRaw) Transact

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

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

func (*IDidRaw) Transfer

func (_IDid *IDidRaw) 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 IDidRemoveContext

type IDidRemoveContext struct {
	Did     string
	Context string
	Raw     types.Log // Blockchain specific contextual infos
}

IDidRemoveContext represents a RemoveContext event raised by the IDid contract.

type IDidRemoveContextIterator

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

IDidRemoveContextIterator is returned from FilterRemoveContext and is used to iterate over the raw logs and unpacked data for RemoveContext events raised by the IDid contract.

func (*IDidRemoveContextIterator) Close

func (it *IDidRemoveContextIterator) Close() error

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

func (*IDidRemoveContextIterator) Error

func (it *IDidRemoveContextIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidRemoveContextIterator) Next

func (it *IDidRemoveContextIterator) 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 IDidRemoveController

type IDidRemoveController struct {
	Did        string
	Controller string
	Raw        types.Log // Blockchain specific contextual infos
}

IDidRemoveController represents a RemoveController event raised by the IDid contract.

type IDidRemoveControllerIterator

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

IDidRemoveControllerIterator is returned from FilterRemoveController and is used to iterate over the raw logs and unpacked data for RemoveController events raised by the IDid contract.

func (*IDidRemoveControllerIterator) Close

func (it *IDidRemoveControllerIterator) Close() error

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

func (*IDidRemoveControllerIterator) Error

func (it *IDidRemoveControllerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidRemoveControllerIterator) 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 IDidRemoveService

type IDidRemoveService struct {
	Did       string
	ServiceId string
	Raw       types.Log // Blockchain specific contextual infos
}

IDidRemoveService represents a RemoveService event raised by the IDid contract.

type IDidRemoveServiceIterator

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

IDidRemoveServiceIterator is returned from FilterRemoveService and is used to iterate over the raw logs and unpacked data for RemoveService events raised by the IDid contract.

func (*IDidRemoveServiceIterator) Close

func (it *IDidRemoveServiceIterator) Close() error

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

func (*IDidRemoveServiceIterator) Error

func (it *IDidRemoveServiceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidRemoveServiceIterator) Next

func (it *IDidRemoveServiceIterator) 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 IDidService

type IDidService struct {
	ServiceId       string
	ServiceType     string
	ServiceEndpoint string
}

IDidService is an auto generated low-level Go binding around an user-defined struct.

type IDidSession

type IDidSession struct {
	Contract     *IDid             // 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
}

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

func (*IDidSession) AddAddr

func (_IDid *IDidSession) AddAddr(did string, addr common.Address, pubKeyController []string, singer []byte) (*types.Transaction, error)

AddAddr is a paid mutator transaction binding the contract method 0x53864503.

Solidity: function addAddr(string did, address addr, string[] pubKeyController, bytes singer) returns()

func (*IDidSession) AddContext

func (_IDid *IDidSession) AddContext(did string, context []string, singer []byte) (*types.Transaction, error)

AddContext is a paid mutator transaction binding the contract method 0x65cbf7c3.

Solidity: function addContext(string did, string[] context, bytes singer) returns()

func (*IDidSession) AddController

func (_IDid *IDidSession) AddController(did string, controller string, singer []byte) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0x0ec0865b.

Solidity: function addController(string did, string controller, bytes singer) returns()

func (*IDidSession) AddKey

func (_IDid *IDidSession) AddKey(did string, newPubKey []byte, pubKeyController []string, singer []byte) (*types.Transaction, error)

AddKey is a paid mutator transaction binding the contract method 0x52c07c56.

Solidity: function addKey(string did, bytes newPubKey, string[] pubKeyController, bytes singer) returns()

func (*IDidSession) AddNewAuthAddr

func (_IDid *IDidSession) AddNewAuthAddr(did string, addr common.Address, controller []string, singer []byte) (*types.Transaction, error)

AddNewAuthAddr is a paid mutator transaction binding the contract method 0x8da5588c.

Solidity: function addNewAuthAddr(string did, address addr, string[] controller, bytes singer) returns()

func (*IDidSession) AddNewAuthAddrByController

func (_IDid *IDidSession) AddNewAuthAddrByController(did string, addr common.Address, controller []string, controllerSigner string, singer []byte) (*types.Transaction, error)

AddNewAuthAddrByController is a paid mutator transaction binding the contract method 0xb0abb199.

Solidity: function addNewAuthAddrByController(string did, address addr, string[] controller, string controllerSigner, bytes singer) returns()

func (*IDidSession) AddNewAuthKey

func (_IDid *IDidSession) AddNewAuthKey(did string, pubKey []byte, controller []string, singer []byte) (*types.Transaction, error)

AddNewAuthKey is a paid mutator transaction binding the contract method 0x002b4c82.

Solidity: function addNewAuthKey(string did, bytes pubKey, string[] controller, bytes singer) returns()

func (*IDidSession) AddNewAuthKeyByController

func (_IDid *IDidSession) AddNewAuthKeyByController(did string, pubKey []byte, controller []string, controllerSigner string, singer []byte) (*types.Transaction, error)

AddNewAuthKeyByController is a paid mutator transaction binding the contract method 0xdb7d1f04.

Solidity: function addNewAuthKeyByController(string did, bytes pubKey, string[] controller, string controllerSigner, bytes singer) returns()

func (*IDidSession) AddService

func (_IDid *IDidSession) AddService(did string, serviceId string, serviceType string, serviceEndpoint string, singer []byte) (*types.Transaction, error)

AddService is a paid mutator transaction binding the contract method 0x7d1c754f.

Solidity: function addService(string did, string serviceId, string serviceType, string serviceEndpoint, bytes singer) returns()

func (*IDidSession) DeactivateAddr

func (_IDid *IDidSession) DeactivateAddr(did string, addr common.Address, singer []byte) (*types.Transaction, error)

DeactivateAddr is a paid mutator transaction binding the contract method 0xd558cdea.

Solidity: function deactivateAddr(string did, address addr, bytes singer) returns()

func (*IDidSession) DeactivateAuthAddr

func (_IDid *IDidSession) DeactivateAuthAddr(did string, addr common.Address, singer []byte) (*types.Transaction, error)

DeactivateAuthAddr is a paid mutator transaction binding the contract method 0x6747e9bc.

Solidity: function deactivateAuthAddr(string did, address addr, bytes singer) returns()

func (*IDidSession) DeactivateAuthAddrByController

func (_IDid *IDidSession) DeactivateAuthAddrByController(did string, addr common.Address, controller string, singer []byte) (*types.Transaction, error)

DeactivateAuthAddrByController is a paid mutator transaction binding the contract method 0x88209cf3.

Solidity: function deactivateAuthAddrByController(string did, address addr, string controller, bytes singer) returns()

func (*IDidSession) DeactivateAuthKey

func (_IDid *IDidSession) DeactivateAuthKey(did string, pubKey []byte, singer []byte) (*types.Transaction, error)

DeactivateAuthKey is a paid mutator transaction binding the contract method 0x958607b8.

Solidity: function deactivateAuthKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidSession) DeactivateAuthKeyByController

func (_IDid *IDidSession) DeactivateAuthKeyByController(did string, pubKey []byte, controller string, singer []byte) (*types.Transaction, error)

DeactivateAuthKeyByController is a paid mutator transaction binding the contract method 0x9053ad03.

Solidity: function deactivateAuthKeyByController(string did, bytes pubKey, string controller, bytes singer) returns()

func (*IDidSession) DeactivateID

func (_IDid *IDidSession) DeactivateID(did string, singer []byte) (*types.Transaction, error)

DeactivateID is a paid mutator transaction binding the contract method 0xec02a3b5.

Solidity: function deactivateID(string did, bytes singer) returns()

func (*IDidSession) DeactivateKey

func (_IDid *IDidSession) DeactivateKey(did string, pubKey []byte, singer []byte) (*types.Transaction, error)

DeactivateKey is a paid mutator transaction binding the contract method 0x793f66c9.

Solidity: function deactivateKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidSession) GetAllAuthKey

func (_IDid *IDidSession) GetAllAuthKey(did string) ([]IDidPublicKey, error)

GetAllAuthKey is a free data retrieval call binding the contract method 0xd22eafd9.

Solidity: function getAllAuthKey(string did) view returns((string,string,string[],bytes,bool,bool,uint256)[])

func (*IDidSession) GetAllController

func (_IDid *IDidSession) GetAllController(did string) ([]string, error)

GetAllController is a free data retrieval call binding the contract method 0x2e35d7ca.

Solidity: function getAllController(string did) view returns(string[])

func (*IDidSession) GetAllPubKey

func (_IDid *IDidSession) GetAllPubKey(did string) ([]IDidPublicKey, error)

GetAllPubKey is a free data retrieval call binding the contract method 0x1f7c7a9d.

Solidity: function getAllPubKey(string did) view returns((string,string,string[],bytes,bool,bool,uint256)[])

func (*IDidSession) GetAllService

func (_IDid *IDidSession) GetAllService(did string) ([]IDidService, error)

GetAllService is a free data retrieval call binding the contract method 0xf8d8f4ad.

Solidity: function getAllService(string did) view returns((string,string,string)[])

func (*IDidSession) GetContext

func (_IDid *IDidSession) GetContext(did string) ([]string, error)

GetContext is a free data retrieval call binding the contract method 0x53949d4f.

Solidity: function getContext(string did) view returns(string[])

func (*IDidSession) GetDocument

func (_IDid *IDidSession) GetDocument(did string) (IDidDIDDocument, error)

GetDocument is a free data retrieval call binding the contract method 0x7ccb6a64.

Solidity: function getDocument(string did) view returns((string[],string,(string,string,string[],bytes,bool,bool,uint256)[],(string,string,string[],bytes,bool,bool,uint256)[],string[],(string,string,string)[],uint256))

func (*IDidSession) GetUpdatedTime

func (_IDid *IDidSession) GetUpdatedTime(did string) (*big.Int, error)

GetUpdatedTime is a free data retrieval call binding the contract method 0xba964281.

Solidity: function getUpdatedTime(string did) view returns(uint256)

func (*IDidSession) RemoveContext

func (_IDid *IDidSession) RemoveContext(did string, context []string, singer []byte) (*types.Transaction, error)

RemoveContext is a paid mutator transaction binding the contract method 0x8095627f.

Solidity: function removeContext(string did, string[] context, bytes singer) returns()

func (*IDidSession) RemoveController

func (_IDid *IDidSession) RemoveController(did string, controller string, singer []byte) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0x244d9153.

Solidity: function removeController(string did, string controller, bytes singer) returns()

func (*IDidSession) RemoveService

func (_IDid *IDidSession) RemoveService(did string, serviceId string, singer []byte) (*types.Transaction, error)

RemoveService is a paid mutator transaction binding the contract method 0x2e97b8d4.

Solidity: function removeService(string did, string serviceId, bytes singer) returns()

func (*IDidSession) SetAuthAddr

func (_IDid *IDidSession) SetAuthAddr(did string, addr common.Address, singer []byte) (*types.Transaction, error)

SetAuthAddr is a paid mutator transaction binding the contract method 0x398a85ec.

Solidity: function setAuthAddr(string did, address addr, bytes singer) returns()

func (*IDidSession) SetAuthAddrByController

func (_IDid *IDidSession) SetAuthAddrByController(did string, addr common.Address, controller string, singer []byte) (*types.Transaction, error)

SetAuthAddrByController is a paid mutator transaction binding the contract method 0x6e5f3183.

Solidity: function setAuthAddrByController(string did, address addr, string controller, bytes singer) returns()

func (*IDidSession) SetAuthKey

func (_IDid *IDidSession) SetAuthKey(did string, pubKey []byte, singer []byte) (*types.Transaction, error)

SetAuthKey is a paid mutator transaction binding the contract method 0xfa1bac72.

Solidity: function setAuthKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidSession) SetAuthKeyByController

func (_IDid *IDidSession) SetAuthKeyByController(did string, pubKey []byte, controller string, singer []byte) (*types.Transaction, error)

SetAuthKeyByController is a paid mutator transaction binding the contract method 0x9033d99a.

Solidity: function setAuthKeyByController(string did, bytes pubKey, string controller, bytes singer) returns()

func (*IDidSession) UpdateService

func (_IDid *IDidSession) UpdateService(did string, serviceId string, serviceType string, serviceEndpoint string, singer []byte) (*types.Transaction, error)

UpdateService is a paid mutator transaction binding the contract method 0x667f5fa3.

Solidity: function updateService(string did, string serviceId, string serviceType, string serviceEndpoint, bytes singer) returns()

type IDidSetAuthAddr

type IDidSetAuthAddr struct {
	Did  string
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

IDidSetAuthAddr represents a SetAuthAddr event raised by the IDid contract.

type IDidSetAuthAddrIterator

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

IDidSetAuthAddrIterator is returned from FilterSetAuthAddr and is used to iterate over the raw logs and unpacked data for SetAuthAddr events raised by the IDid contract.

func (*IDidSetAuthAddrIterator) Close

func (it *IDidSetAuthAddrIterator) Close() error

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

func (*IDidSetAuthAddrIterator) Error

func (it *IDidSetAuthAddrIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidSetAuthAddrIterator) Next

func (it *IDidSetAuthAddrIterator) 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 IDidSetAuthKey

type IDidSetAuthKey struct {
	Did    string
	PubKey []byte
	Raw    types.Log // Blockchain specific contextual infos
}

IDidSetAuthKey represents a SetAuthKey event raised by the IDid contract.

type IDidSetAuthKeyIterator

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

IDidSetAuthKeyIterator is returned from FilterSetAuthKey and is used to iterate over the raw logs and unpacked data for SetAuthKey events raised by the IDid contract.

func (*IDidSetAuthKeyIterator) Close

func (it *IDidSetAuthKeyIterator) Close() error

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

func (*IDidSetAuthKeyIterator) Error

func (it *IDidSetAuthKeyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidSetAuthKeyIterator) Next

func (it *IDidSetAuthKeyIterator) 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 IDidTransactor

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

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

func NewIDidTransactor

func NewIDidTransactor(address common.Address, transactor bind.ContractTransactor) (*IDidTransactor, error)

NewIDidTransactor creates a new write-only instance of IDid, bound to a specific deployed contract.

func (*IDidTransactor) AddAddr

func (_IDid *IDidTransactor) AddAddr(opts *bind.TransactOpts, did string, addr common.Address, pubKeyController []string, singer []byte) (*types.Transaction, error)

AddAddr is a paid mutator transaction binding the contract method 0x53864503.

Solidity: function addAddr(string did, address addr, string[] pubKeyController, bytes singer) returns()

func (*IDidTransactor) AddContext

func (_IDid *IDidTransactor) AddContext(opts *bind.TransactOpts, did string, context []string, singer []byte) (*types.Transaction, error)

AddContext is a paid mutator transaction binding the contract method 0x65cbf7c3.

Solidity: function addContext(string did, string[] context, bytes singer) returns()

func (*IDidTransactor) AddController

func (_IDid *IDidTransactor) AddController(opts *bind.TransactOpts, did string, controller string, singer []byte) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0x0ec0865b.

Solidity: function addController(string did, string controller, bytes singer) returns()

func (*IDidTransactor) AddKey

func (_IDid *IDidTransactor) AddKey(opts *bind.TransactOpts, did string, newPubKey []byte, pubKeyController []string, singer []byte) (*types.Transaction, error)

AddKey is a paid mutator transaction binding the contract method 0x52c07c56.

Solidity: function addKey(string did, bytes newPubKey, string[] pubKeyController, bytes singer) returns()

func (*IDidTransactor) AddNewAuthAddr

func (_IDid *IDidTransactor) AddNewAuthAddr(opts *bind.TransactOpts, did string, addr common.Address, controller []string, singer []byte) (*types.Transaction, error)

AddNewAuthAddr is a paid mutator transaction binding the contract method 0x8da5588c.

Solidity: function addNewAuthAddr(string did, address addr, string[] controller, bytes singer) returns()

func (*IDidTransactor) AddNewAuthAddrByController

func (_IDid *IDidTransactor) AddNewAuthAddrByController(opts *bind.TransactOpts, did string, addr common.Address, controller []string, controllerSigner string, singer []byte) (*types.Transaction, error)

AddNewAuthAddrByController is a paid mutator transaction binding the contract method 0xb0abb199.

Solidity: function addNewAuthAddrByController(string did, address addr, string[] controller, string controllerSigner, bytes singer) returns()

func (*IDidTransactor) AddNewAuthKey

func (_IDid *IDidTransactor) AddNewAuthKey(opts *bind.TransactOpts, did string, pubKey []byte, controller []string, singer []byte) (*types.Transaction, error)

AddNewAuthKey is a paid mutator transaction binding the contract method 0x002b4c82.

Solidity: function addNewAuthKey(string did, bytes pubKey, string[] controller, bytes singer) returns()

func (*IDidTransactor) AddNewAuthKeyByController

func (_IDid *IDidTransactor) AddNewAuthKeyByController(opts *bind.TransactOpts, did string, pubKey []byte, controller []string, controllerSigner string, singer []byte) (*types.Transaction, error)

AddNewAuthKeyByController is a paid mutator transaction binding the contract method 0xdb7d1f04.

Solidity: function addNewAuthKeyByController(string did, bytes pubKey, string[] controller, string controllerSigner, bytes singer) returns()

func (*IDidTransactor) AddService

func (_IDid *IDidTransactor) AddService(opts *bind.TransactOpts, did string, serviceId string, serviceType string, serviceEndpoint string, singer []byte) (*types.Transaction, error)

AddService is a paid mutator transaction binding the contract method 0x7d1c754f.

Solidity: function addService(string did, string serviceId, string serviceType, string serviceEndpoint, bytes singer) returns()

func (*IDidTransactor) DeactivateAddr

func (_IDid *IDidTransactor) DeactivateAddr(opts *bind.TransactOpts, did string, addr common.Address, singer []byte) (*types.Transaction, error)

DeactivateAddr is a paid mutator transaction binding the contract method 0xd558cdea.

Solidity: function deactivateAddr(string did, address addr, bytes singer) returns()

func (*IDidTransactor) DeactivateAuthAddr

func (_IDid *IDidTransactor) DeactivateAuthAddr(opts *bind.TransactOpts, did string, addr common.Address, singer []byte) (*types.Transaction, error)

DeactivateAuthAddr is a paid mutator transaction binding the contract method 0x6747e9bc.

Solidity: function deactivateAuthAddr(string did, address addr, bytes singer) returns()

func (*IDidTransactor) DeactivateAuthAddrByController

func (_IDid *IDidTransactor) DeactivateAuthAddrByController(opts *bind.TransactOpts, did string, addr common.Address, controller string, singer []byte) (*types.Transaction, error)

DeactivateAuthAddrByController is a paid mutator transaction binding the contract method 0x88209cf3.

Solidity: function deactivateAuthAddrByController(string did, address addr, string controller, bytes singer) returns()

func (*IDidTransactor) DeactivateAuthKey

func (_IDid *IDidTransactor) DeactivateAuthKey(opts *bind.TransactOpts, did string, pubKey []byte, singer []byte) (*types.Transaction, error)

DeactivateAuthKey is a paid mutator transaction binding the contract method 0x958607b8.

Solidity: function deactivateAuthKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidTransactor) DeactivateAuthKeyByController

func (_IDid *IDidTransactor) DeactivateAuthKeyByController(opts *bind.TransactOpts, did string, pubKey []byte, controller string, singer []byte) (*types.Transaction, error)

DeactivateAuthKeyByController is a paid mutator transaction binding the contract method 0x9053ad03.

Solidity: function deactivateAuthKeyByController(string did, bytes pubKey, string controller, bytes singer) returns()

func (*IDidTransactor) DeactivateID

func (_IDid *IDidTransactor) DeactivateID(opts *bind.TransactOpts, did string, singer []byte) (*types.Transaction, error)

DeactivateID is a paid mutator transaction binding the contract method 0xec02a3b5.

Solidity: function deactivateID(string did, bytes singer) returns()

func (*IDidTransactor) DeactivateKey

func (_IDid *IDidTransactor) DeactivateKey(opts *bind.TransactOpts, did string, pubKey []byte, singer []byte) (*types.Transaction, error)

DeactivateKey is a paid mutator transaction binding the contract method 0x793f66c9.

Solidity: function deactivateKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidTransactor) RemoveContext

func (_IDid *IDidTransactor) RemoveContext(opts *bind.TransactOpts, did string, context []string, singer []byte) (*types.Transaction, error)

RemoveContext is a paid mutator transaction binding the contract method 0x8095627f.

Solidity: function removeContext(string did, string[] context, bytes singer) returns()

func (*IDidTransactor) RemoveController

func (_IDid *IDidTransactor) RemoveController(opts *bind.TransactOpts, did string, controller string, singer []byte) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0x244d9153.

Solidity: function removeController(string did, string controller, bytes singer) returns()

func (*IDidTransactor) RemoveService

func (_IDid *IDidTransactor) RemoveService(opts *bind.TransactOpts, did string, serviceId string, singer []byte) (*types.Transaction, error)

RemoveService is a paid mutator transaction binding the contract method 0x2e97b8d4.

Solidity: function removeService(string did, string serviceId, bytes singer) returns()

func (*IDidTransactor) SetAuthAddr

func (_IDid *IDidTransactor) SetAuthAddr(opts *bind.TransactOpts, did string, addr common.Address, singer []byte) (*types.Transaction, error)

SetAuthAddr is a paid mutator transaction binding the contract method 0x398a85ec.

Solidity: function setAuthAddr(string did, address addr, bytes singer) returns()

func (*IDidTransactor) SetAuthAddrByController

func (_IDid *IDidTransactor) SetAuthAddrByController(opts *bind.TransactOpts, did string, addr common.Address, controller string, singer []byte) (*types.Transaction, error)

SetAuthAddrByController is a paid mutator transaction binding the contract method 0x6e5f3183.

Solidity: function setAuthAddrByController(string did, address addr, string controller, bytes singer) returns()

func (*IDidTransactor) SetAuthKey

func (_IDid *IDidTransactor) SetAuthKey(opts *bind.TransactOpts, did string, pubKey []byte, singer []byte) (*types.Transaction, error)

SetAuthKey is a paid mutator transaction binding the contract method 0xfa1bac72.

Solidity: function setAuthKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidTransactor) SetAuthKeyByController

func (_IDid *IDidTransactor) SetAuthKeyByController(opts *bind.TransactOpts, did string, pubKey []byte, controller string, singer []byte) (*types.Transaction, error)

SetAuthKeyByController is a paid mutator transaction binding the contract method 0x9033d99a.

Solidity: function setAuthKeyByController(string did, bytes pubKey, string controller, bytes singer) returns()

func (*IDidTransactor) UpdateService

func (_IDid *IDidTransactor) UpdateService(opts *bind.TransactOpts, did string, serviceId string, serviceType string, serviceEndpoint string, singer []byte) (*types.Transaction, error)

UpdateService is a paid mutator transaction binding the contract method 0x667f5fa3.

Solidity: function updateService(string did, string serviceId, string serviceType, string serviceEndpoint, bytes singer) returns()

type IDidTransactorRaw

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

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

func (*IDidTransactorRaw) Transact

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

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

func (*IDidTransactorRaw) Transfer

func (_IDid *IDidTransactorRaw) 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 IDidTransactorSession

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

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

func (*IDidTransactorSession) AddAddr

func (_IDid *IDidTransactorSession) AddAddr(did string, addr common.Address, pubKeyController []string, singer []byte) (*types.Transaction, error)

AddAddr is a paid mutator transaction binding the contract method 0x53864503.

Solidity: function addAddr(string did, address addr, string[] pubKeyController, bytes singer) returns()

func (*IDidTransactorSession) AddContext

func (_IDid *IDidTransactorSession) AddContext(did string, context []string, singer []byte) (*types.Transaction, error)

AddContext is a paid mutator transaction binding the contract method 0x65cbf7c3.

Solidity: function addContext(string did, string[] context, bytes singer) returns()

func (*IDidTransactorSession) AddController

func (_IDid *IDidTransactorSession) AddController(did string, controller string, singer []byte) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0x0ec0865b.

Solidity: function addController(string did, string controller, bytes singer) returns()

func (*IDidTransactorSession) AddKey

func (_IDid *IDidTransactorSession) AddKey(did string, newPubKey []byte, pubKeyController []string, singer []byte) (*types.Transaction, error)

AddKey is a paid mutator transaction binding the contract method 0x52c07c56.

Solidity: function addKey(string did, bytes newPubKey, string[] pubKeyController, bytes singer) returns()

func (*IDidTransactorSession) AddNewAuthAddr

func (_IDid *IDidTransactorSession) AddNewAuthAddr(did string, addr common.Address, controller []string, singer []byte) (*types.Transaction, error)

AddNewAuthAddr is a paid mutator transaction binding the contract method 0x8da5588c.

Solidity: function addNewAuthAddr(string did, address addr, string[] controller, bytes singer) returns()

func (*IDidTransactorSession) AddNewAuthAddrByController

func (_IDid *IDidTransactorSession) AddNewAuthAddrByController(did string, addr common.Address, controller []string, controllerSigner string, singer []byte) (*types.Transaction, error)

AddNewAuthAddrByController is a paid mutator transaction binding the contract method 0xb0abb199.

Solidity: function addNewAuthAddrByController(string did, address addr, string[] controller, string controllerSigner, bytes singer) returns()

func (*IDidTransactorSession) AddNewAuthKey

func (_IDid *IDidTransactorSession) AddNewAuthKey(did string, pubKey []byte, controller []string, singer []byte) (*types.Transaction, error)

AddNewAuthKey is a paid mutator transaction binding the contract method 0x002b4c82.

Solidity: function addNewAuthKey(string did, bytes pubKey, string[] controller, bytes singer) returns()

func (*IDidTransactorSession) AddNewAuthKeyByController

func (_IDid *IDidTransactorSession) AddNewAuthKeyByController(did string, pubKey []byte, controller []string, controllerSigner string, singer []byte) (*types.Transaction, error)

AddNewAuthKeyByController is a paid mutator transaction binding the contract method 0xdb7d1f04.

Solidity: function addNewAuthKeyByController(string did, bytes pubKey, string[] controller, string controllerSigner, bytes singer) returns()

func (*IDidTransactorSession) AddService

func (_IDid *IDidTransactorSession) AddService(did string, serviceId string, serviceType string, serviceEndpoint string, singer []byte) (*types.Transaction, error)

AddService is a paid mutator transaction binding the contract method 0x7d1c754f.

Solidity: function addService(string did, string serviceId, string serviceType, string serviceEndpoint, bytes singer) returns()

func (*IDidTransactorSession) DeactivateAddr

func (_IDid *IDidTransactorSession) DeactivateAddr(did string, addr common.Address, singer []byte) (*types.Transaction, error)

DeactivateAddr is a paid mutator transaction binding the contract method 0xd558cdea.

Solidity: function deactivateAddr(string did, address addr, bytes singer) returns()

func (*IDidTransactorSession) DeactivateAuthAddr

func (_IDid *IDidTransactorSession) DeactivateAuthAddr(did string, addr common.Address, singer []byte) (*types.Transaction, error)

DeactivateAuthAddr is a paid mutator transaction binding the contract method 0x6747e9bc.

Solidity: function deactivateAuthAddr(string did, address addr, bytes singer) returns()

func (*IDidTransactorSession) DeactivateAuthAddrByController

func (_IDid *IDidTransactorSession) DeactivateAuthAddrByController(did string, addr common.Address, controller string, singer []byte) (*types.Transaction, error)

DeactivateAuthAddrByController is a paid mutator transaction binding the contract method 0x88209cf3.

Solidity: function deactivateAuthAddrByController(string did, address addr, string controller, bytes singer) returns()

func (*IDidTransactorSession) DeactivateAuthKey

func (_IDid *IDidTransactorSession) DeactivateAuthKey(did string, pubKey []byte, singer []byte) (*types.Transaction, error)

DeactivateAuthKey is a paid mutator transaction binding the contract method 0x958607b8.

Solidity: function deactivateAuthKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidTransactorSession) DeactivateAuthKeyByController

func (_IDid *IDidTransactorSession) DeactivateAuthKeyByController(did string, pubKey []byte, controller string, singer []byte) (*types.Transaction, error)

DeactivateAuthKeyByController is a paid mutator transaction binding the contract method 0x9053ad03.

Solidity: function deactivateAuthKeyByController(string did, bytes pubKey, string controller, bytes singer) returns()

func (*IDidTransactorSession) DeactivateID

func (_IDid *IDidTransactorSession) DeactivateID(did string, singer []byte) (*types.Transaction, error)

DeactivateID is a paid mutator transaction binding the contract method 0xec02a3b5.

Solidity: function deactivateID(string did, bytes singer) returns()

func (*IDidTransactorSession) DeactivateKey

func (_IDid *IDidTransactorSession) DeactivateKey(did string, pubKey []byte, singer []byte) (*types.Transaction, error)

DeactivateKey is a paid mutator transaction binding the contract method 0x793f66c9.

Solidity: function deactivateKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidTransactorSession) RemoveContext

func (_IDid *IDidTransactorSession) RemoveContext(did string, context []string, singer []byte) (*types.Transaction, error)

RemoveContext is a paid mutator transaction binding the contract method 0x8095627f.

Solidity: function removeContext(string did, string[] context, bytes singer) returns()

func (*IDidTransactorSession) RemoveController

func (_IDid *IDidTransactorSession) RemoveController(did string, controller string, singer []byte) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0x244d9153.

Solidity: function removeController(string did, string controller, bytes singer) returns()

func (*IDidTransactorSession) RemoveService

func (_IDid *IDidTransactorSession) RemoveService(did string, serviceId string, singer []byte) (*types.Transaction, error)

RemoveService is a paid mutator transaction binding the contract method 0x2e97b8d4.

Solidity: function removeService(string did, string serviceId, bytes singer) returns()

func (*IDidTransactorSession) SetAuthAddr

func (_IDid *IDidTransactorSession) SetAuthAddr(did string, addr common.Address, singer []byte) (*types.Transaction, error)

SetAuthAddr is a paid mutator transaction binding the contract method 0x398a85ec.

Solidity: function setAuthAddr(string did, address addr, bytes singer) returns()

func (*IDidTransactorSession) SetAuthAddrByController

func (_IDid *IDidTransactorSession) SetAuthAddrByController(did string, addr common.Address, controller string, singer []byte) (*types.Transaction, error)

SetAuthAddrByController is a paid mutator transaction binding the contract method 0x6e5f3183.

Solidity: function setAuthAddrByController(string did, address addr, string controller, bytes singer) returns()

func (*IDidTransactorSession) SetAuthKey

func (_IDid *IDidTransactorSession) SetAuthKey(did string, pubKey []byte, singer []byte) (*types.Transaction, error)

SetAuthKey is a paid mutator transaction binding the contract method 0xfa1bac72.

Solidity: function setAuthKey(string did, bytes pubKey, bytes singer) returns()

func (*IDidTransactorSession) SetAuthKeyByController

func (_IDid *IDidTransactorSession) SetAuthKeyByController(did string, pubKey []byte, controller string, singer []byte) (*types.Transaction, error)

SetAuthKeyByController is a paid mutator transaction binding the contract method 0x9033d99a.

Solidity: function setAuthKeyByController(string did, bytes pubKey, string controller, bytes singer) returns()

func (*IDidTransactorSession) UpdateService

func (_IDid *IDidTransactorSession) UpdateService(did string, serviceId string, serviceType string, serviceEndpoint string, singer []byte) (*types.Transaction, error)

UpdateService is a paid mutator transaction binding the contract method 0x667f5fa3.

Solidity: function updateService(string did, string serviceId, string serviceType, string serviceEndpoint, bytes singer) returns()

type IDidUpdateService

type IDidUpdateService struct {
	Did             string
	ServiceId       string
	ServiceType     string
	ServiceEndpoint string
	Raw             types.Log // Blockchain specific contextual infos
}

IDidUpdateService represents a UpdateService event raised by the IDid contract.

type IDidUpdateServiceIterator

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

IDidUpdateServiceIterator is returned from FilterUpdateService and is used to iterate over the raw logs and unpacked data for UpdateService events raised by the IDid contract.

func (*IDidUpdateServiceIterator) Close

func (it *IDidUpdateServiceIterator) Close() error

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

func (*IDidUpdateServiceIterator) Error

func (it *IDidUpdateServiceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IDidUpdateServiceIterator) Next

func (it *IDidUpdateServiceIterator) 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.

Jump to

Keyboard shortcuts

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