did

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DidABI = "" /* 8917-byte string literal not displayed */

DidABI is the input ABI used to generate the binding from.

View Source
const DidBin = `` /* 24194-byte string literal not displayed */

DidBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Did

type Did struct {
	DidCaller     // Read-only binding to the contract
	DidTransactor // Write-only binding to the contract
	DidFilterer   // Log filterer for contract events
}

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

func DeployDid

func DeployDid(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Did, error)

DeployDid deploys a new Ethereum contract, binding an instance of Did to it.

func NewDid

func NewDid(address common.Address, backend bind.ContractBackend) (*Did, error)

NewDid creates a new instance of Did, bound to a specific deployed contract.

type DidCaller

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

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

func NewDidCaller

func NewDidCaller(address common.Address, caller bind.ContractCaller) (*DidCaller, error)

NewDidCaller creates a new read-only instance of Did, bound to a specific deployed contract.

func (*DidCaller) AttributeChanged

func (_Did *DidCaller) AttributeChanged(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

AttributeChanged is a free data retrieval call binding the contract method 0xd3c530d6.

Solidity: function attributeChanged( address) constant returns(uint256)

func (*DidCaller) AuthenticationChanged

func (_Did *DidCaller) AuthenticationChanged(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

AuthenticationChanged is a free data retrieval call binding the contract method 0x048ed937.

Solidity: function authenticationChanged( address) constant returns(uint256)

func (*DidCaller) Authentications

func (_Did *DidCaller) Authentications(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error)

Authentications is a free data retrieval call binding the contract method 0x39fdc728.

Solidity: function authentications( address, bytes32, bytes32) constant returns(uint256)

func (*DidCaller) IdentityOwner

func (_Did *DidCaller) IdentityOwner(opts *bind.CallOpts, identity common.Address) (common.Address, error)

IdentityOwner is a free data retrieval call binding the contract method 0x8733d4e8.

Solidity: function identityOwner(identity address) constant returns(address)

func (*DidCaller) Nonce

func (_Did *DidCaller) Nonce(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce( address) constant returns(uint256)

func (*DidCaller) Owners

func (_Did *DidCaller) Owners(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x022914a7.

Solidity: function owners( address) constant returns(address)

func (*DidCaller) PublicKeyChanged

func (_Did *DidCaller) PublicKeyChanged(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

PublicKeyChanged is a free data retrieval call binding the contract method 0x1a2bcf4c.

Solidity: function publicKeyChanged( address) constant returns(uint256)

func (*DidCaller) PublicKeys

func (_Did *DidCaller) PublicKeys(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error)

PublicKeys is a free data retrieval call binding the contract method 0x20cacc32.

Solidity: function publicKeys( address, bytes32, bytes32) constant returns(uint256)

func (*DidCaller) ValidAuthentication

func (_Did *DidCaller) ValidAuthentication(opts *bind.CallOpts, identity common.Address, authenticationType [32]byte, authentication [32]byte) (bool, error)

ValidAuthentication is a free data retrieval call binding the contract method 0xffb0254d.

Solidity: function validAuthentication(identity address, authenticationType bytes32, authentication bytes32) constant returns(bool)

func (*DidCaller) ValidPublicKey

func (_Did *DidCaller) ValidPublicKey(opts *bind.CallOpts, identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (bool, error)

ValidPublicKey is a free data retrieval call binding the contract method 0xe66bc6ba.

Solidity: function validPublicKey(identity address, publicKeyType bytes32, publicKey bytes32) constant returns(bool)

type DidCallerRaw

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

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

func (*DidCallerRaw) Call

func (_Did *DidCallerRaw) 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 DidCallerSession

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

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

func (*DidCallerSession) AttributeChanged

func (_Did *DidCallerSession) AttributeChanged(arg0 common.Address) (*big.Int, error)

AttributeChanged is a free data retrieval call binding the contract method 0xd3c530d6.

Solidity: function attributeChanged( address) constant returns(uint256)

func (*DidCallerSession) AuthenticationChanged

func (_Did *DidCallerSession) AuthenticationChanged(arg0 common.Address) (*big.Int, error)

AuthenticationChanged is a free data retrieval call binding the contract method 0x048ed937.

Solidity: function authenticationChanged( address) constant returns(uint256)

func (*DidCallerSession) Authentications

func (_Did *DidCallerSession) Authentications(arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error)

Authentications is a free data retrieval call binding the contract method 0x39fdc728.

Solidity: function authentications( address, bytes32, bytes32) constant returns(uint256)

func (*DidCallerSession) IdentityOwner

func (_Did *DidCallerSession) IdentityOwner(identity common.Address) (common.Address, error)

IdentityOwner is a free data retrieval call binding the contract method 0x8733d4e8.

Solidity: function identityOwner(identity address) constant returns(address)

func (*DidCallerSession) Nonce

func (_Did *DidCallerSession) Nonce(arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce( address) constant returns(uint256)

func (*DidCallerSession) Owners

func (_Did *DidCallerSession) Owners(arg0 common.Address) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x022914a7.

Solidity: function owners( address) constant returns(address)

func (*DidCallerSession) PublicKeyChanged

func (_Did *DidCallerSession) PublicKeyChanged(arg0 common.Address) (*big.Int, error)

PublicKeyChanged is a free data retrieval call binding the contract method 0x1a2bcf4c.

Solidity: function publicKeyChanged( address) constant returns(uint256)

func (*DidCallerSession) PublicKeys

func (_Did *DidCallerSession) PublicKeys(arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error)

PublicKeys is a free data retrieval call binding the contract method 0x20cacc32.

Solidity: function publicKeys( address, bytes32, bytes32) constant returns(uint256)

func (*DidCallerSession) ValidAuthentication

func (_Did *DidCallerSession) ValidAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte) (bool, error)

ValidAuthentication is a free data retrieval call binding the contract method 0xffb0254d.

Solidity: function validAuthentication(identity address, authenticationType bytes32, authentication bytes32) constant returns(bool)

func (*DidCallerSession) ValidPublicKey

func (_Did *DidCallerSession) ValidPublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (bool, error)

ValidPublicKey is a free data retrieval call binding the contract method 0xe66bc6ba.

Solidity: function validPublicKey(identity address, publicKeyType bytes32, publicKey bytes32) constant returns(bool)

type DidDIDAttributeChanged

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

DidDIDAttributeChanged represents a DIDAttributeChanged event raised by the Did contract.

type DidDIDAttributeChangedIterator

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

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

func (*DidDIDAttributeChangedIterator) Close

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

func (*DidDIDAttributeChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DidDIDAttributeChangedIterator) 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 DidDIDAuthenticationChanged

type DidDIDAuthenticationChanged struct {
	Identity           common.Address
	AuthenticationType [32]byte
	Authentication     [32]byte
	ValidTo            *big.Int
	PreviousChange     *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

DidDIDAuthenticationChanged represents a DIDAuthenticationChanged event raised by the Did contract.

type DidDIDAuthenticationChangedIterator

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

DidDIDAuthenticationChangedIterator is returned from FilterDIDAuthenticationChanged and is used to iterate over the raw logs and unpacked data for DIDAuthenticationChanged events raised by the Did contract.

func (*DidDIDAuthenticationChangedIterator) Close

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

func (*DidDIDAuthenticationChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DidDIDAuthenticationChangedIterator) 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 DidDIDPublicKeyChanged

type DidDIDPublicKeyChanged struct {
	Identity       common.Address
	PublicKeyType  [32]byte
	PublicKey      [32]byte
	ValidTo        *big.Int
	PreviousChange *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

DidDIDPublicKeyChanged represents a DIDPublicKeyChanged event raised by the Did contract.

type DidDIDPublicKeyChangedIterator

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

DidDIDPublicKeyChangedIterator is returned from FilterDIDPublicKeyChanged and is used to iterate over the raw logs and unpacked data for DIDPublicKeyChanged events raised by the Did contract.

func (*DidDIDPublicKeyChangedIterator) Close

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

func (*DidDIDPublicKeyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DidDIDPublicKeyChangedIterator) 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 DidFilterer

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

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

func NewDidFilterer

func NewDidFilterer(address common.Address, filterer bind.ContractFilterer) (*DidFilterer, error)

NewDidFilterer creates a new log filterer instance of Did, bound to a specific deployed contract.

func (*DidFilterer) FilterDIDAttributeChanged

func (_Did *DidFilterer) FilterDIDAttributeChanged(opts *bind.FilterOpts, identity []common.Address) (*DidDIDAttributeChangedIterator, error)

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

Solidity: e DIDAttributeChanged(identity indexed address, name bytes, value bytes, validTo uint256, previousChange uint256)

func (*DidFilterer) FilterDIDAuthenticationChanged

func (_Did *DidFilterer) FilterDIDAuthenticationChanged(opts *bind.FilterOpts, identity []common.Address) (*DidDIDAuthenticationChangedIterator, error)

FilterDIDAuthenticationChanged is a free log retrieval operation binding the contract event 0x6c1587d1ee8f4bdfb125ab048123336ebb2fb5f901a4561a8218e340ceffd2e0.

Solidity: e DIDAuthenticationChanged(identity indexed address, authenticationType bytes32, authentication bytes32, validTo uint256, previousChange uint256)

func (*DidFilterer) FilterDIDPublicKeyChanged

func (_Did *DidFilterer) FilterDIDPublicKeyChanged(opts *bind.FilterOpts, identity []common.Address) (*DidDIDPublicKeyChangedIterator, error)

FilterDIDPublicKeyChanged is a free log retrieval operation binding the contract event 0x213edff8255aa608dd36ca4cf7ed92d5480ddcd178865af1053f9d0bf5c77338.

Solidity: e DIDPublicKeyChanged(identity indexed address, publicKeyType bytes32, publicKey bytes32, validTo uint256, previousChange uint256)

func (*DidFilterer) WatchDIDAttributeChanged

func (_Did *DidFilterer) WatchDIDAttributeChanged(opts *bind.WatchOpts, sink chan<- *DidDIDAttributeChanged, identity []common.Address) (event.Subscription, error)

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

Solidity: e DIDAttributeChanged(identity indexed address, name bytes, value bytes, validTo uint256, previousChange uint256)

func (*DidFilterer) WatchDIDAuthenticationChanged

func (_Did *DidFilterer) WatchDIDAuthenticationChanged(opts *bind.WatchOpts, sink chan<- *DidDIDAuthenticationChanged, identity []common.Address) (event.Subscription, error)

WatchDIDAuthenticationChanged is a free log subscription operation binding the contract event 0x6c1587d1ee8f4bdfb125ab048123336ebb2fb5f901a4561a8218e340ceffd2e0.

Solidity: e DIDAuthenticationChanged(identity indexed address, authenticationType bytes32, authentication bytes32, validTo uint256, previousChange uint256)

func (*DidFilterer) WatchDIDPublicKeyChanged

func (_Did *DidFilterer) WatchDIDPublicKeyChanged(opts *bind.WatchOpts, sink chan<- *DidDIDPublicKeyChanged, identity []common.Address) (event.Subscription, error)

WatchDIDPublicKeyChanged is a free log subscription operation binding the contract event 0x213edff8255aa608dd36ca4cf7ed92d5480ddcd178865af1053f9d0bf5c77338.

Solidity: e DIDPublicKeyChanged(identity indexed address, publicKeyType bytes32, publicKey bytes32, validTo uint256, previousChange uint256)

type DidRaw

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

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

func (*DidRaw) Call

func (_Did *DidRaw) 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 (*DidRaw) Transact

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

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

func (*DidRaw) Transfer

func (_Did *DidRaw) 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 DidSession

type DidSession struct {
	Contract     *Did              // 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
}

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

func (*DidSession) AddAuthentication

func (_Did *DidSession) AddAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte, validity *big.Int) (*types.Transaction, error)

AddAuthentication is a paid mutator transaction binding the contract method 0x0824b3fa.

Solidity: function addAuthentication(identity address, authenticationType bytes32, authentication bytes32, validity uint256) returns()

func (*DidSession) AddAuthenticationSigned

func (_Did *DidSession) AddAuthenticationSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, authenticationType [32]byte, authentication [32]byte, validity *big.Int) (*types.Transaction, error)

AddAuthenticationSigned is a paid mutator transaction binding the contract method 0x0e110989.

Solidity: function addAuthenticationSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, authenticationType bytes32, authentication bytes32, validity uint256) returns()

func (*DidSession) AddPublicKey

func (_Did *DidSession) AddPublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte, validity *big.Int) (*types.Transaction, error)

AddPublicKey is a paid mutator transaction binding the contract method 0x6866a606.

Solidity: function addPublicKey(identity address, publicKeyType bytes32, publicKey bytes32, validity uint256) returns()

func (*DidSession) AddPublicKeySigned

func (_Did *DidSession) AddPublicKeySigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, publicKeyType [32]byte, publicKey [32]byte, validity *big.Int) (*types.Transaction, error)

AddPublicKeySigned is a paid mutator transaction binding the contract method 0x456fcfeb.

Solidity: function addPublicKeySigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, publicKeyType bytes32, publicKey bytes32, validity uint256) returns()

func (*DidSession) AttributeChanged

func (_Did *DidSession) AttributeChanged(arg0 common.Address) (*big.Int, error)

AttributeChanged is a free data retrieval call binding the contract method 0xd3c530d6.

Solidity: function attributeChanged( address) constant returns(uint256)

func (*DidSession) AuthenticationChanged

func (_Did *DidSession) AuthenticationChanged(arg0 common.Address) (*big.Int, error)

AuthenticationChanged is a free data retrieval call binding the contract method 0x048ed937.

Solidity: function authenticationChanged( address) constant returns(uint256)

func (*DidSession) Authentications

func (_Did *DidSession) Authentications(arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error)

Authentications is a free data retrieval call binding the contract method 0x39fdc728.

Solidity: function authentications( address, bytes32, bytes32) constant returns(uint256)

func (*DidSession) ChangeOwner

func (_Did *DidSession) ChangeOwner(identity common.Address, newOwner common.Address) (*types.Transaction, error)

ChangeOwner is a paid mutator transaction binding the contract method 0xf00d4b5d.

Solidity: function changeOwner(identity address, newOwner address) returns()

func (*DidSession) ChangeOwnerSigned

func (_Did *DidSession) ChangeOwnerSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, newOwner common.Address) (*types.Transaction, error)

ChangeOwnerSigned is a paid mutator transaction binding the contract method 0x240cf1fa.

Solidity: function changeOwnerSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, newOwner address) returns()

func (*DidSession) IdentityOwner

func (_Did *DidSession) IdentityOwner(identity common.Address) (common.Address, error)

IdentityOwner is a free data retrieval call binding the contract method 0x8733d4e8.

Solidity: function identityOwner(identity address) constant returns(address)

func (*DidSession) Nonce

func (_Did *DidSession) Nonce(arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce( address) constant returns(uint256)

func (*DidSession) Owners

func (_Did *DidSession) Owners(arg0 common.Address) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x022914a7.

Solidity: function owners( address) constant returns(address)

func (*DidSession) PublicKeyChanged

func (_Did *DidSession) PublicKeyChanged(arg0 common.Address) (*big.Int, error)

PublicKeyChanged is a free data retrieval call binding the contract method 0x1a2bcf4c.

Solidity: function publicKeyChanged( address) constant returns(uint256)

func (*DidSession) PublicKeys

func (_Did *DidSession) PublicKeys(arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error)

PublicKeys is a free data retrieval call binding the contract method 0x20cacc32.

Solidity: function publicKeys( address, bytes32, bytes32) constant returns(uint256)

func (*DidSession) RevokeAttribute

func (_Did *DidSession) RevokeAttribute(identity common.Address, name []byte, value []byte) (*types.Transaction, error)

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

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

func (*DidSession) RevokeAttributeSigned

func (_Did *DidSession) RevokeAttributeSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, value []byte) (*types.Transaction, error)

RevokeAttributeSigned is a paid mutator transaction binding the contract method 0xdff0d6f4.

Solidity: function revokeAttributeSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, name bytes, value bytes) returns()

func (*DidSession) RevokeAuthentication

func (_Did *DidSession) RevokeAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte) (*types.Transaction, error)

RevokeAuthentication is a paid mutator transaction binding the contract method 0x3ea1a651.

Solidity: function revokeAuthentication(identity address, authenticationType bytes32, authentication bytes32) returns()

func (*DidSession) RevokeAuthenticationSigned

func (_Did *DidSession) RevokeAuthenticationSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, authenticationType [32]byte, authentication [32]byte) (*types.Transaction, error)

RevokeAuthenticationSigned is a paid mutator transaction binding the contract method 0xf8156eb8.

Solidity: function revokeAuthenticationSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, authenticationType bytes32, authentication bytes32) returns()

func (*DidSession) RevokePublicKey

func (_Did *DidSession) RevokePublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (*types.Transaction, error)

RevokePublicKey is a paid mutator transaction binding the contract method 0x787768ef.

Solidity: function revokePublicKey(identity address, publicKeyType bytes32, publicKey bytes32) returns()

func (*DidSession) RevokePublicKeySigned

func (_Did *DidSession) RevokePublicKeySigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, publicKeyType [32]byte, publicKey [32]byte) (*types.Transaction, error)

RevokePublicKeySigned is a paid mutator transaction binding the contract method 0x3be52425.

Solidity: function revokePublicKeySigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, publicKeyType bytes32, publicKey bytes32) returns()

func (*DidSession) SetAttribute

func (_Did *DidSession) SetAttribute(identity common.Address, name []byte, value []byte, validity *big.Int) (*types.Transaction, error)

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

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

func (*DidSession) SetAttributeSigned

func (_Did *DidSession) SetAttributeSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, value []byte, validity *big.Int) (*types.Transaction, error)

SetAttributeSigned is a paid mutator transaction binding the contract method 0xc7b2864d.

Solidity: function setAttributeSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, name bytes, value bytes, validity uint256) returns()

func (*DidSession) ValidAuthentication

func (_Did *DidSession) ValidAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte) (bool, error)

ValidAuthentication is a free data retrieval call binding the contract method 0xffb0254d.

Solidity: function validAuthentication(identity address, authenticationType bytes32, authentication bytes32) constant returns(bool)

func (*DidSession) ValidPublicKey

func (_Did *DidSession) ValidPublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (bool, error)

ValidPublicKey is a free data retrieval call binding the contract method 0xe66bc6ba.

Solidity: function validPublicKey(identity address, publicKeyType bytes32, publicKey bytes32) constant returns(bool)

type DidTransactor

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

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

func NewDidTransactor

func NewDidTransactor(address common.Address, transactor bind.ContractTransactor) (*DidTransactor, error)

NewDidTransactor creates a new write-only instance of Did, bound to a specific deployed contract.

func (*DidTransactor) AddAuthentication

func (_Did *DidTransactor) AddAuthentication(opts *bind.TransactOpts, identity common.Address, authenticationType [32]byte, authentication [32]byte, validity *big.Int) (*types.Transaction, error)

AddAuthentication is a paid mutator transaction binding the contract method 0x0824b3fa.

Solidity: function addAuthentication(identity address, authenticationType bytes32, authentication bytes32, validity uint256) returns()

func (*DidTransactor) AddAuthenticationSigned

func (_Did *DidTransactor) AddAuthenticationSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, authenticationType [32]byte, authentication [32]byte, validity *big.Int) (*types.Transaction, error)

AddAuthenticationSigned is a paid mutator transaction binding the contract method 0x0e110989.

Solidity: function addAuthenticationSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, authenticationType bytes32, authentication bytes32, validity uint256) returns()

func (*DidTransactor) AddPublicKey

func (_Did *DidTransactor) AddPublicKey(opts *bind.TransactOpts, identity common.Address, publicKeyType [32]byte, publicKey [32]byte, validity *big.Int) (*types.Transaction, error)

AddPublicKey is a paid mutator transaction binding the contract method 0x6866a606.

Solidity: function addPublicKey(identity address, publicKeyType bytes32, publicKey bytes32, validity uint256) returns()

func (*DidTransactor) AddPublicKeySigned

func (_Did *DidTransactor) AddPublicKeySigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, publicKeyType [32]byte, publicKey [32]byte, validity *big.Int) (*types.Transaction, error)

AddPublicKeySigned is a paid mutator transaction binding the contract method 0x456fcfeb.

Solidity: function addPublicKeySigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, publicKeyType bytes32, publicKey bytes32, validity uint256) returns()

func (*DidTransactor) ChangeOwner

func (_Did *DidTransactor) ChangeOwner(opts *bind.TransactOpts, identity common.Address, newOwner common.Address) (*types.Transaction, error)

ChangeOwner is a paid mutator transaction binding the contract method 0xf00d4b5d.

Solidity: function changeOwner(identity address, newOwner address) returns()

func (*DidTransactor) ChangeOwnerSigned

func (_Did *DidTransactor) ChangeOwnerSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, newOwner common.Address) (*types.Transaction, error)

ChangeOwnerSigned is a paid mutator transaction binding the contract method 0x240cf1fa.

Solidity: function changeOwnerSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, newOwner address) returns()

func (*DidTransactor) RevokeAttribute

func (_Did *DidTransactor) RevokeAttribute(opts *bind.TransactOpts, identity common.Address, name []byte, value []byte) (*types.Transaction, error)

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

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

func (*DidTransactor) RevokeAttributeSigned

func (_Did *DidTransactor) RevokeAttributeSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, value []byte) (*types.Transaction, error)

RevokeAttributeSigned is a paid mutator transaction binding the contract method 0xdff0d6f4.

Solidity: function revokeAttributeSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, name bytes, value bytes) returns()

func (*DidTransactor) RevokeAuthentication

func (_Did *DidTransactor) RevokeAuthentication(opts *bind.TransactOpts, identity common.Address, authenticationType [32]byte, authentication [32]byte) (*types.Transaction, error)

RevokeAuthentication is a paid mutator transaction binding the contract method 0x3ea1a651.

Solidity: function revokeAuthentication(identity address, authenticationType bytes32, authentication bytes32) returns()

func (*DidTransactor) RevokeAuthenticationSigned

func (_Did *DidTransactor) RevokeAuthenticationSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, authenticationType [32]byte, authentication [32]byte) (*types.Transaction, error)

RevokeAuthenticationSigned is a paid mutator transaction binding the contract method 0xf8156eb8.

Solidity: function revokeAuthenticationSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, authenticationType bytes32, authentication bytes32) returns()

func (*DidTransactor) RevokePublicKey

func (_Did *DidTransactor) RevokePublicKey(opts *bind.TransactOpts, identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (*types.Transaction, error)

RevokePublicKey is a paid mutator transaction binding the contract method 0x787768ef.

Solidity: function revokePublicKey(identity address, publicKeyType bytes32, publicKey bytes32) returns()

func (*DidTransactor) RevokePublicKeySigned

func (_Did *DidTransactor) RevokePublicKeySigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, publicKeyType [32]byte, publicKey [32]byte) (*types.Transaction, error)

RevokePublicKeySigned is a paid mutator transaction binding the contract method 0x3be52425.

Solidity: function revokePublicKeySigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, publicKeyType bytes32, publicKey bytes32) returns()

func (*DidTransactor) SetAttribute

func (_Did *DidTransactor) SetAttribute(opts *bind.TransactOpts, identity common.Address, name []byte, value []byte, validity *big.Int) (*types.Transaction, error)

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

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

func (*DidTransactor) SetAttributeSigned

func (_Did *DidTransactor) SetAttributeSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, value []byte, validity *big.Int) (*types.Transaction, error)

SetAttributeSigned is a paid mutator transaction binding the contract method 0xc7b2864d.

Solidity: function setAttributeSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, name bytes, value bytes, validity uint256) returns()

type DidTransactorRaw

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

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

func (*DidTransactorRaw) Transact

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

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

func (*DidTransactorRaw) Transfer

func (_Did *DidTransactorRaw) 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 DidTransactorSession

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

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

func (*DidTransactorSession) AddAuthentication

func (_Did *DidTransactorSession) AddAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte, validity *big.Int) (*types.Transaction, error)

AddAuthentication is a paid mutator transaction binding the contract method 0x0824b3fa.

Solidity: function addAuthentication(identity address, authenticationType bytes32, authentication bytes32, validity uint256) returns()

func (*DidTransactorSession) AddAuthenticationSigned

func (_Did *DidTransactorSession) AddAuthenticationSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, authenticationType [32]byte, authentication [32]byte, validity *big.Int) (*types.Transaction, error)

AddAuthenticationSigned is a paid mutator transaction binding the contract method 0x0e110989.

Solidity: function addAuthenticationSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, authenticationType bytes32, authentication bytes32, validity uint256) returns()

func (*DidTransactorSession) AddPublicKey

func (_Did *DidTransactorSession) AddPublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte, validity *big.Int) (*types.Transaction, error)

AddPublicKey is a paid mutator transaction binding the contract method 0x6866a606.

Solidity: function addPublicKey(identity address, publicKeyType bytes32, publicKey bytes32, validity uint256) returns()

func (*DidTransactorSession) AddPublicKeySigned

func (_Did *DidTransactorSession) AddPublicKeySigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, publicKeyType [32]byte, publicKey [32]byte, validity *big.Int) (*types.Transaction, error)

AddPublicKeySigned is a paid mutator transaction binding the contract method 0x456fcfeb.

Solidity: function addPublicKeySigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, publicKeyType bytes32, publicKey bytes32, validity uint256) returns()

func (*DidTransactorSession) ChangeOwner

func (_Did *DidTransactorSession) ChangeOwner(identity common.Address, newOwner common.Address) (*types.Transaction, error)

ChangeOwner is a paid mutator transaction binding the contract method 0xf00d4b5d.

Solidity: function changeOwner(identity address, newOwner address) returns()

func (*DidTransactorSession) ChangeOwnerSigned

func (_Did *DidTransactorSession) ChangeOwnerSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, newOwner common.Address) (*types.Transaction, error)

ChangeOwnerSigned is a paid mutator transaction binding the contract method 0x240cf1fa.

Solidity: function changeOwnerSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, newOwner address) returns()

func (*DidTransactorSession) RevokeAttribute

func (_Did *DidTransactorSession) RevokeAttribute(identity common.Address, name []byte, value []byte) (*types.Transaction, error)

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

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

func (*DidTransactorSession) RevokeAttributeSigned

func (_Did *DidTransactorSession) RevokeAttributeSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, value []byte) (*types.Transaction, error)

RevokeAttributeSigned is a paid mutator transaction binding the contract method 0xdff0d6f4.

Solidity: function revokeAttributeSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, name bytes, value bytes) returns()

func (*DidTransactorSession) RevokeAuthentication

func (_Did *DidTransactorSession) RevokeAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte) (*types.Transaction, error)

RevokeAuthentication is a paid mutator transaction binding the contract method 0x3ea1a651.

Solidity: function revokeAuthentication(identity address, authenticationType bytes32, authentication bytes32) returns()

func (*DidTransactorSession) RevokeAuthenticationSigned

func (_Did *DidTransactorSession) RevokeAuthenticationSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, authenticationType [32]byte, authentication [32]byte) (*types.Transaction, error)

RevokeAuthenticationSigned is a paid mutator transaction binding the contract method 0xf8156eb8.

Solidity: function revokeAuthenticationSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, authenticationType bytes32, authentication bytes32) returns()

func (*DidTransactorSession) RevokePublicKey

func (_Did *DidTransactorSession) RevokePublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (*types.Transaction, error)

RevokePublicKey is a paid mutator transaction binding the contract method 0x787768ef.

Solidity: function revokePublicKey(identity address, publicKeyType bytes32, publicKey bytes32) returns()

func (*DidTransactorSession) RevokePublicKeySigned

func (_Did *DidTransactorSession) RevokePublicKeySigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, publicKeyType [32]byte, publicKey [32]byte) (*types.Transaction, error)

RevokePublicKeySigned is a paid mutator transaction binding the contract method 0x3be52425.

Solidity: function revokePublicKeySigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, publicKeyType bytes32, publicKey bytes32) returns()

func (*DidTransactorSession) SetAttribute

func (_Did *DidTransactorSession) SetAttribute(identity common.Address, name []byte, value []byte, validity *big.Int) (*types.Transaction, error)

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

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

func (*DidTransactorSession) SetAttributeSigned

func (_Did *DidTransactorSession) SetAttributeSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, value []byte, validity *big.Int) (*types.Transaction, error)

SetAttributeSigned is a paid mutator transaction binding the contract method 0xc7b2864d.

Solidity: function setAttributeSigned(identity address, sigV uint8, sigR bytes32, sigS bytes32, name bytes, value bytes, validity uint256) returns()

Jump to

Keyboard shortcuts

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