Versions in this module Expand all Collapse all v0 v0.2.0 Nov 20, 2018 Changes in this version + const DidABI + const DidBin + type Did struct + func DeployDid(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Did, error) + func NewDid(address common.Address, backend bind.ContractBackend) (*Did, error) + type DidCaller struct + func NewDidCaller(address common.Address, caller bind.ContractCaller) (*DidCaller, error) + func (_Did *DidCaller) AttributeChanged(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Did *DidCaller) AuthenticationChanged(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Did *DidCaller) Authentications(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error) + func (_Did *DidCaller) IdentityOwner(opts *bind.CallOpts, identity common.Address) (common.Address, error) + func (_Did *DidCaller) Nonce(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Did *DidCaller) Owners(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) + func (_Did *DidCaller) PublicKeyChanged(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Did *DidCaller) PublicKeys(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error) + func (_Did *DidCaller) ValidAuthentication(opts *bind.CallOpts, identity common.Address, authenticationType [32]byte, ...) (bool, error) + func (_Did *DidCaller) ValidPublicKey(opts *bind.CallOpts, identity common.Address, publicKeyType [32]byte, ...) (bool, error) + type DidCallerRaw struct + Contract *DidCaller + func (_Did *DidCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type DidCallerSession struct + CallOpts bind.CallOpts + Contract *DidCaller + func (_Did *DidCallerSession) AttributeChanged(arg0 common.Address) (*big.Int, error) + func (_Did *DidCallerSession) AuthenticationChanged(arg0 common.Address) (*big.Int, error) + func (_Did *DidCallerSession) Authentications(arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error) + func (_Did *DidCallerSession) IdentityOwner(identity common.Address) (common.Address, error) + func (_Did *DidCallerSession) Nonce(arg0 common.Address) (*big.Int, error) + func (_Did *DidCallerSession) Owners(arg0 common.Address) (common.Address, error) + func (_Did *DidCallerSession) PublicKeyChanged(arg0 common.Address) (*big.Int, error) + func (_Did *DidCallerSession) PublicKeys(arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error) + func (_Did *DidCallerSession) ValidAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte) (bool, error) + func (_Did *DidCallerSession) ValidPublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (bool, error) + type DidDIDAttributeChanged struct + Identity common.Address + Name []byte + PreviousChange *big.Int + Raw types.Log + ValidTo *big.Int + Value []byte + type DidDIDAttributeChangedIterator struct + Event *DidDIDAttributeChanged + func (it *DidDIDAttributeChangedIterator) Close() error + func (it *DidDIDAttributeChangedIterator) Error() error + func (it *DidDIDAttributeChangedIterator) Next() bool + type DidDIDAuthenticationChanged struct + Authentication [32]byte + AuthenticationType [32]byte + Identity common.Address + PreviousChange *big.Int + Raw types.Log + ValidTo *big.Int + type DidDIDAuthenticationChangedIterator struct + Event *DidDIDAuthenticationChanged + func (it *DidDIDAuthenticationChangedIterator) Close() error + func (it *DidDIDAuthenticationChangedIterator) Error() error + func (it *DidDIDAuthenticationChangedIterator) Next() bool + type DidDIDPublicKeyChanged struct + Identity common.Address + PreviousChange *big.Int + PublicKey [32]byte + PublicKeyType [32]byte + Raw types.Log + ValidTo *big.Int + type DidDIDPublicKeyChangedIterator struct + Event *DidDIDPublicKeyChanged + func (it *DidDIDPublicKeyChangedIterator) Close() error + func (it *DidDIDPublicKeyChangedIterator) Error() error + func (it *DidDIDPublicKeyChangedIterator) Next() bool + type DidFilterer struct + func NewDidFilterer(address common.Address, filterer bind.ContractFilterer) (*DidFilterer, error) + func (_Did *DidFilterer) FilterDIDAttributeChanged(opts *bind.FilterOpts, identity []common.Address) (*DidDIDAttributeChangedIterator, error) + func (_Did *DidFilterer) FilterDIDAuthenticationChanged(opts *bind.FilterOpts, identity []common.Address) (*DidDIDAuthenticationChangedIterator, error) + func (_Did *DidFilterer) FilterDIDPublicKeyChanged(opts *bind.FilterOpts, identity []common.Address) (*DidDIDPublicKeyChangedIterator, error) + func (_Did *DidFilterer) WatchDIDAttributeChanged(opts *bind.WatchOpts, sink chan<- *DidDIDAttributeChanged, ...) (event.Subscription, error) + func (_Did *DidFilterer) WatchDIDAuthenticationChanged(opts *bind.WatchOpts, sink chan<- *DidDIDAuthenticationChanged, ...) (event.Subscription, error) + func (_Did *DidFilterer) WatchDIDPublicKeyChanged(opts *bind.WatchOpts, sink chan<- *DidDIDPublicKeyChanged, ...) (event.Subscription, error) + type DidRaw struct + Contract *Did + func (_Did *DidRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (_Did *DidRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Did *DidRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type DidSession struct + CallOpts bind.CallOpts + Contract *Did + TransactOpts bind.TransactOpts + func (_Did *DidSession) AddAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte, ...) (*types.Transaction, error) + func (_Did *DidSession) AddAuthenticationSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidSession) AddPublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte, ...) (*types.Transaction, error) + func (_Did *DidSession) AddPublicKeySigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidSession) AttributeChanged(arg0 common.Address) (*big.Int, error) + func (_Did *DidSession) AuthenticationChanged(arg0 common.Address) (*big.Int, error) + func (_Did *DidSession) Authentications(arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error) + func (_Did *DidSession) ChangeOwner(identity common.Address, newOwner common.Address) (*types.Transaction, error) + func (_Did *DidSession) ChangeOwnerSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidSession) IdentityOwner(identity common.Address) (common.Address, error) + func (_Did *DidSession) Nonce(arg0 common.Address) (*big.Int, error) + func (_Did *DidSession) Owners(arg0 common.Address) (common.Address, error) + func (_Did *DidSession) PublicKeyChanged(arg0 common.Address) (*big.Int, error) + func (_Did *DidSession) PublicKeys(arg0 common.Address, arg1 [32]byte, arg2 [32]byte) (*big.Int, error) + func (_Did *DidSession) RevokeAttribute(identity common.Address, name []byte, value []byte) (*types.Transaction, error) + func (_Did *DidSession) RevokeAttributeSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, ...) (*types.Transaction, error) + func (_Did *DidSession) RevokeAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte) (*types.Transaction, error) + func (_Did *DidSession) RevokeAuthenticationSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidSession) RevokePublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (*types.Transaction, error) + func (_Did *DidSession) RevokePublicKeySigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidSession) SetAttribute(identity common.Address, name []byte, value []byte, validity *big.Int) (*types.Transaction, error) + func (_Did *DidSession) SetAttributeSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, ...) (*types.Transaction, error) + func (_Did *DidSession) ValidAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte) (bool, error) + func (_Did *DidSession) ValidPublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (bool, error) + type DidTransactor struct + func NewDidTransactor(address common.Address, transactor bind.ContractTransactor) (*DidTransactor, error) + func (_Did *DidTransactor) AddAuthentication(opts *bind.TransactOpts, identity common.Address, authenticationType [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) AddAuthenticationSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) AddPublicKey(opts *bind.TransactOpts, identity common.Address, publicKeyType [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) AddPublicKeySigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) ChangeOwner(opts *bind.TransactOpts, identity common.Address, newOwner common.Address) (*types.Transaction, error) + func (_Did *DidTransactor) ChangeOwnerSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) RevokeAttribute(opts *bind.TransactOpts, identity common.Address, name []byte, value []byte) (*types.Transaction, error) + func (_Did *DidTransactor) RevokeAttributeSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) RevokeAuthentication(opts *bind.TransactOpts, identity common.Address, authenticationType [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) RevokeAuthenticationSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) RevokePublicKey(opts *bind.TransactOpts, identity common.Address, publicKeyType [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) RevokePublicKeySigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) SetAttribute(opts *bind.TransactOpts, identity common.Address, name []byte, value []byte, ...) (*types.Transaction, error) + func (_Did *DidTransactor) SetAttributeSigned(opts *bind.TransactOpts, identity common.Address, sigV uint8, sigR [32]byte, ...) (*types.Transaction, error) + type DidTransactorRaw struct + Contract *DidTransactor + func (_Did *DidTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Did *DidTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type DidTransactorSession struct + Contract *DidTransactor + TransactOpts bind.TransactOpts + func (_Did *DidTransactorSession) AddAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactorSession) AddAuthenticationSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactorSession) AddPublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactorSession) AddPublicKeySigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactorSession) ChangeOwner(identity common.Address, newOwner common.Address) (*types.Transaction, error) + func (_Did *DidTransactorSession) ChangeOwnerSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactorSession) RevokeAttribute(identity common.Address, name []byte, value []byte) (*types.Transaction, error) + func (_Did *DidTransactorSession) RevokeAttributeSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, ...) (*types.Transaction, error) + func (_Did *DidTransactorSession) RevokeAuthentication(identity common.Address, authenticationType [32]byte, authentication [32]byte) (*types.Transaction, error) + func (_Did *DidTransactorSession) RevokeAuthenticationSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactorSession) RevokePublicKey(identity common.Address, publicKeyType [32]byte, publicKey [32]byte) (*types.Transaction, error) + func (_Did *DidTransactorSession) RevokePublicKeySigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, ...) (*types.Transaction, error) + func (_Did *DidTransactorSession) SetAttribute(identity common.Address, name []byte, value []byte, validity *big.Int) (*types.Transaction, error) + func (_Did *DidTransactorSession) SetAttributeSigned(identity common.Address, sigV uint8, sigR [32]byte, sigS [32]byte, name []byte, ...) (*types.Transaction, error)