KeyManager

package
v0.0.0-...-d304510 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const KeyManagerABI = "" /* 5925-byte string literal not displayed */

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

View Source
const KeyManagerBin = `` /* 15008-byte string literal not displayed */

KeyManagerBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyManager

type KeyManager struct {
	KeyManagerCaller     // Read-only binding to the contract
	KeyManagerTransactor // Write-only binding to the contract
	KeyManagerFilterer   // Log filterer for contract events
}

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

func DeployKeyManager

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

DeployKeyManager deploys a new Ethereum contract, binding an instance of KeyManager to it.

func NewKeyManager

func NewKeyManager(address common.Address, backend bind.ContractBackend) (*KeyManager, error)

NewKeyManager creates a new instance of KeyManager, bound to a specific deployed contract.

type KeyManagerApproved

type KeyManagerApproved struct {
	ExecutionID *big.Int
	Approved    bool
	Raw         types.Log // Blockchain specific contextual infos
}

KeyManagerApproved represents a Approved event raised by the KeyManager contract.

type KeyManagerApprovedIterator

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

KeyManagerApprovedIterator is returned from FilterApproved and is used to iterate over the raw logs and unpacked data for Approved events raised by the KeyManager contract.

func (*KeyManagerApprovedIterator) Close

func (it *KeyManagerApprovedIterator) Close() error

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

func (*KeyManagerApprovedIterator) Error

func (it *KeyManagerApprovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerApprovedIterator) Next

func (it *KeyManagerApprovedIterator) 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 KeyManagerCaller

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

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

func NewKeyManagerCaller

func NewKeyManagerCaller(address common.Address, caller bind.ContractCaller) (*KeyManagerCaller, error)

NewKeyManagerCaller creates a new read-only instance of KeyManager, bound to a specific deployed contract.

func (*KeyManagerCaller) GetClaim

func (_KeyManager *KeyManagerCaller) GetClaim(opts *bind.CallOpts, _claimId [32]byte) (struct {
	ClaimType     *big.Int
	Issuer        common.Address
	SignatureType *big.Int
	Signature     []byte
	Claim         []byte
	Uri           string
}, error)

GetClaim is a free data retrieval call binding the contract method 0xc9100bcb.

Solidity: function getClaim(bytes32 _claimId) constant returns(uint256 claimType, address issuer, uint256 signatureType, bytes signature, bytes claim, string uri)

func (*KeyManagerCaller) GetClaimsIdByType

func (_KeyManager *KeyManagerCaller) GetClaimsIdByType(opts *bind.CallOpts, _claimType *big.Int) ([][32]byte, error)

GetClaimsIdByType is a free data retrieval call binding the contract method 0x6fa28249.

Solidity: function getClaimsIdByType(uint256 _claimType) constant returns(bytes32[])

func (*KeyManagerCaller) GetKey

func (_KeyManager *KeyManagerCaller) GetKey(opts *bind.CallOpts, _key [32]byte) (struct {
	Purpose *big.Int
	KeyType *big.Int
	Key     [32]byte
}, error)

GetKey is a free data retrieval call binding the contract method 0x12aaac70.

Solidity: function getKey(bytes32 _key) constant returns(uint256 purpose, uint256 keyType, bytes32 key)

func (*KeyManagerCaller) GetKeysByPurpose

func (_KeyManager *KeyManagerCaller) GetKeysByPurpose(opts *bind.CallOpts, _purpose *big.Int) ([][32]byte, error)

GetKeysByPurpose is a free data retrieval call binding the contract method 0x9010f726.

Solidity: function getKeysByPurpose(uint256 _purpose) constant returns(bytes32[] _keys)

func (*KeyManagerCaller) KeyHasPurpose

func (_KeyManager *KeyManagerCaller) KeyHasPurpose(opts *bind.CallOpts, _key [32]byte, _purpose *big.Int) (bool, error)

KeyHasPurpose is a free data retrieval call binding the contract method 0xd202158d.

Solidity: function keyHasPurpose(bytes32 _key, uint256 _purpose) constant returns(bool isExistent)

type KeyManagerCallerRaw

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

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

func (*KeyManagerCallerRaw) Call

func (_KeyManager *KeyManagerCallerRaw) 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 KeyManagerCallerSession

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

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

func (*KeyManagerCallerSession) GetClaim

func (_KeyManager *KeyManagerCallerSession) GetClaim(_claimId [32]byte) (struct {
	ClaimType     *big.Int
	Issuer        common.Address
	SignatureType *big.Int
	Signature     []byte
	Claim         []byte
	Uri           string
}, error)

GetClaim is a free data retrieval call binding the contract method 0xc9100bcb.

Solidity: function getClaim(bytes32 _claimId) constant returns(uint256 claimType, address issuer, uint256 signatureType, bytes signature, bytes claim, string uri)

func (*KeyManagerCallerSession) GetClaimsIdByType

func (_KeyManager *KeyManagerCallerSession) GetClaimsIdByType(_claimType *big.Int) ([][32]byte, error)

GetClaimsIdByType is a free data retrieval call binding the contract method 0x6fa28249.

Solidity: function getClaimsIdByType(uint256 _claimType) constant returns(bytes32[])

func (*KeyManagerCallerSession) GetKey

func (_KeyManager *KeyManagerCallerSession) GetKey(_key [32]byte) (struct {
	Purpose *big.Int
	KeyType *big.Int
	Key     [32]byte
}, error)

GetKey is a free data retrieval call binding the contract method 0x12aaac70.

Solidity: function getKey(bytes32 _key) constant returns(uint256 purpose, uint256 keyType, bytes32 key)

func (*KeyManagerCallerSession) GetKeysByPurpose

func (_KeyManager *KeyManagerCallerSession) GetKeysByPurpose(_purpose *big.Int) ([][32]byte, error)

GetKeysByPurpose is a free data retrieval call binding the contract method 0x9010f726.

Solidity: function getKeysByPurpose(uint256 _purpose) constant returns(bytes32[] _keys)

func (*KeyManagerCallerSession) KeyHasPurpose

func (_KeyManager *KeyManagerCallerSession) KeyHasPurpose(_key [32]byte, _purpose *big.Int) (bool, error)

KeyHasPurpose is a free data retrieval call binding the contract method 0xd202158d.

Solidity: function keyHasPurpose(bytes32 _key, uint256 _purpose) constant returns(bool isExistent)

type KeyManagerClaimAdded

type KeyManagerClaimAdded struct {
	ClaimId   [32]byte
	ClaimType *big.Int
	Scheme    *big.Int
	Issuer    common.Address
	Signature []byte
	Data      []byte
	Uri       string
	Raw       types.Log // Blockchain specific contextual infos
}

KeyManagerClaimAdded represents a ClaimAdded event raised by the KeyManager contract.

type KeyManagerClaimAddedIterator

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

KeyManagerClaimAddedIterator is returned from FilterClaimAdded and is used to iterate over the raw logs and unpacked data for ClaimAdded events raised by the KeyManager contract.

func (*KeyManagerClaimAddedIterator) Close

func (it *KeyManagerClaimAddedIterator) Close() error

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

func (*KeyManagerClaimAddedIterator) Error

func (it *KeyManagerClaimAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerClaimAddedIterator) 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 KeyManagerClaimChanged

type KeyManagerClaimChanged struct {
	ClaimId   [32]byte
	ClaimType *big.Int
	Scheme    *big.Int
	Issuer    common.Address
	Signature []byte
	Data      []byte
	Uri       string
	Raw       types.Log // Blockchain specific contextual infos
}

KeyManagerClaimChanged represents a ClaimChanged event raised by the KeyManager contract.

type KeyManagerClaimChangedIterator

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

KeyManagerClaimChangedIterator is returned from FilterClaimChanged and is used to iterate over the raw logs and unpacked data for ClaimChanged events raised by the KeyManager contract.

func (*KeyManagerClaimChangedIterator) Close

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

func (*KeyManagerClaimChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerClaimChangedIterator) 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 KeyManagerClaimRemoved

type KeyManagerClaimRemoved struct {
	ClaimId   [32]byte
	ClaimType *big.Int
	Scheme    *big.Int
	Issuer    common.Address
	Signature []byte
	Data      []byte
	Uri       string
	Raw       types.Log // Blockchain specific contextual infos
}

KeyManagerClaimRemoved represents a ClaimRemoved event raised by the KeyManager contract.

type KeyManagerClaimRemovedIterator

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

KeyManagerClaimRemovedIterator is returned from FilterClaimRemoved and is used to iterate over the raw logs and unpacked data for ClaimRemoved events raised by the KeyManager contract.

func (*KeyManagerClaimRemovedIterator) Close

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

func (*KeyManagerClaimRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerClaimRemovedIterator) 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 KeyManagerExecuted

type KeyManagerExecuted struct {
	ExecutionID *big.Int
	To          common.Address
	Value       *big.Int
	Data        []byte
	Raw         types.Log // Blockchain specific contextual infos
}

KeyManagerExecuted represents a Executed event raised by the KeyManager contract.

type KeyManagerExecutedIterator

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

KeyManagerExecutedIterator is returned from FilterExecuted and is used to iterate over the raw logs and unpacked data for Executed events raised by the KeyManager contract.

func (*KeyManagerExecutedIterator) Close

func (it *KeyManagerExecutedIterator) Close() error

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

func (*KeyManagerExecutedIterator) Error

func (it *KeyManagerExecutedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerExecutedIterator) Next

func (it *KeyManagerExecutedIterator) 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 KeyManagerExecutionRequested

type KeyManagerExecutionRequested struct {
	ExecutionID *big.Int
	To          common.Address
	Value       *big.Int
	Data        []byte
	Raw         types.Log // Blockchain specific contextual infos
}

KeyManagerExecutionRequested represents a ExecutionRequested event raised by the KeyManager contract.

type KeyManagerExecutionRequestedIterator

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

KeyManagerExecutionRequestedIterator is returned from FilterExecutionRequested and is used to iterate over the raw logs and unpacked data for ExecutionRequested events raised by the KeyManager contract.

func (*KeyManagerExecutionRequestedIterator) Close

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

func (*KeyManagerExecutionRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerExecutionRequestedIterator) 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 KeyManagerFilterer

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

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

func NewKeyManagerFilterer

func NewKeyManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*KeyManagerFilterer, error)

NewKeyManagerFilterer creates a new log filterer instance of KeyManager, bound to a specific deployed contract.

func (*KeyManagerFilterer) FilterApproved

func (_KeyManager *KeyManagerFilterer) FilterApproved(opts *bind.FilterOpts, executionID []*big.Int) (*KeyManagerApprovedIterator, error)

FilterApproved is a free log retrieval operation binding the contract event 0xb3932da477fe5d6c8ff2eafef050c0f3a1af18fc07121001482600f36f3715d8.

Solidity: event Approved(uint256 indexed executionID, bool approved)

func (*KeyManagerFilterer) FilterClaimAdded

func (_KeyManager *KeyManagerFilterer) FilterClaimAdded(opts *bind.FilterOpts, claimId [][32]byte, claimType []*big.Int, issuer []common.Address) (*KeyManagerClaimAddedIterator, error)

FilterClaimAdded is a free log retrieval operation binding the contract event 0x46149b18aa084502c3f12bc75e19eda8bda8d102b82cce8474677a6d0d5f43c5.

Solidity: event ClaimAdded(bytes32 indexed claimId, uint256 indexed claimType, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri)

func (*KeyManagerFilterer) FilterClaimChanged

func (_KeyManager *KeyManagerFilterer) FilterClaimChanged(opts *bind.FilterOpts, claimId [][32]byte, claimType []*big.Int, issuer []common.Address) (*KeyManagerClaimChangedIterator, error)

FilterClaimChanged is a free log retrieval operation binding the contract event 0x3bab293fc00db832d7619a9299914251b8747c036867ec056cbd506f60135b13.

Solidity: event ClaimChanged(bytes32 indexed claimId, uint256 indexed claimType, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri)

func (*KeyManagerFilterer) FilterClaimRemoved

func (_KeyManager *KeyManagerFilterer) FilterClaimRemoved(opts *bind.FilterOpts, claimId [][32]byte, claimType []*big.Int, issuer []common.Address) (*KeyManagerClaimRemovedIterator, error)

FilterClaimRemoved is a free log retrieval operation binding the contract event 0x3cf57863a89432c61c4a27073c6ee39e8a764bff5a05aebfbcdcdc80b2e6130a.

Solidity: event ClaimRemoved(bytes32 indexed claimId, uint256 indexed claimType, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri)

func (*KeyManagerFilterer) FilterExecuted

func (_KeyManager *KeyManagerFilterer) FilterExecuted(opts *bind.FilterOpts, executionID []*big.Int, to []common.Address, value []*big.Int) (*KeyManagerExecutedIterator, error)

FilterExecuted is a free log retrieval operation binding the contract event 0x1f920dbda597d7bf95035464170fa58d0a4b57f13a1c315ace6793b9f63688b8.

Solidity: event Executed(uint256 indexed executionID, address indexed to, uint256 indexed value, bytes data)

func (*KeyManagerFilterer) FilterExecutionRequested

func (_KeyManager *KeyManagerFilterer) FilterExecutionRequested(opts *bind.FilterOpts, executionID []*big.Int, to []common.Address, value []*big.Int) (*KeyManagerExecutionRequestedIterator, error)

FilterExecutionRequested is a free log retrieval operation binding the contract event 0x8afcfabcb00e47a53a8fc3e9f23ff47ee1926194bb1350dd007c50b412a6cee8.

Solidity: event ExecutionRequested(uint256 indexed executionID, address indexed to, uint256 indexed value, bytes data)

func (*KeyManagerFilterer) FilterKeyAdded

func (_KeyManager *KeyManagerFilterer) FilterKeyAdded(opts *bind.FilterOpts, key [][32]byte, purpose []*big.Int, keyType []*big.Int) (*KeyManagerKeyAddedIterator, error)

FilterKeyAdded is a free log retrieval operation binding the contract event 0x480000bb1edad8ca1470381cc334b1917fbd51c6531f3a623ea8e0ec7e38a6e9.

Solidity: event KeyAdded(bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType)

func (*KeyManagerFilterer) FilterKeyRemoved

func (_KeyManager *KeyManagerFilterer) FilterKeyRemoved(opts *bind.FilterOpts, key [][32]byte, purpose []*big.Int, keyType []*big.Int) (*KeyManagerKeyRemovedIterator, error)

FilterKeyRemoved is a free log retrieval operation binding the contract event 0x585a4aef50f8267a92b32412b331b20f7f8b96f2245b253b9cc50dcc621d3397.

Solidity: event KeyRemoved(bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType)

func (*KeyManagerFilterer) FilterKeysRequiredChanged

func (_KeyManager *KeyManagerFilterer) FilterKeysRequiredChanged(opts *bind.FilterOpts) (*KeyManagerKeysRequiredChangedIterator, error)

FilterKeysRequiredChanged is a free log retrieval operation binding the contract event 0x9f6d363a5a7fef1e6f9d2ac96e0554ca3494d7b59adfe0bf665020ddf9350d1a.

Solidity: event KeysRequiredChanged(uint256 purpose, uint256 number)

func (*KeyManagerFilterer) WatchApproved

func (_KeyManager *KeyManagerFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *KeyManagerApproved, executionID []*big.Int) (event.Subscription, error)

WatchApproved is a free log subscription operation binding the contract event 0xb3932da477fe5d6c8ff2eafef050c0f3a1af18fc07121001482600f36f3715d8.

Solidity: event Approved(uint256 indexed executionID, bool approved)

func (*KeyManagerFilterer) WatchClaimAdded

func (_KeyManager *KeyManagerFilterer) WatchClaimAdded(opts *bind.WatchOpts, sink chan<- *KeyManagerClaimAdded, claimId [][32]byte, claimType []*big.Int, issuer []common.Address) (event.Subscription, error)

WatchClaimAdded is a free log subscription operation binding the contract event 0x46149b18aa084502c3f12bc75e19eda8bda8d102b82cce8474677a6d0d5f43c5.

Solidity: event ClaimAdded(bytes32 indexed claimId, uint256 indexed claimType, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri)

func (*KeyManagerFilterer) WatchClaimChanged

func (_KeyManager *KeyManagerFilterer) WatchClaimChanged(opts *bind.WatchOpts, sink chan<- *KeyManagerClaimChanged, claimId [][32]byte, claimType []*big.Int, issuer []common.Address) (event.Subscription, error)

WatchClaimChanged is a free log subscription operation binding the contract event 0x3bab293fc00db832d7619a9299914251b8747c036867ec056cbd506f60135b13.

Solidity: event ClaimChanged(bytes32 indexed claimId, uint256 indexed claimType, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri)

func (*KeyManagerFilterer) WatchClaimRemoved

func (_KeyManager *KeyManagerFilterer) WatchClaimRemoved(opts *bind.WatchOpts, sink chan<- *KeyManagerClaimRemoved, claimId [][32]byte, claimType []*big.Int, issuer []common.Address) (event.Subscription, error)

WatchClaimRemoved is a free log subscription operation binding the contract event 0x3cf57863a89432c61c4a27073c6ee39e8a764bff5a05aebfbcdcdc80b2e6130a.

Solidity: event ClaimRemoved(bytes32 indexed claimId, uint256 indexed claimType, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri)

func (*KeyManagerFilterer) WatchExecuted

func (_KeyManager *KeyManagerFilterer) WatchExecuted(opts *bind.WatchOpts, sink chan<- *KeyManagerExecuted, executionID []*big.Int, to []common.Address, value []*big.Int) (event.Subscription, error)

WatchExecuted is a free log subscription operation binding the contract event 0x1f920dbda597d7bf95035464170fa58d0a4b57f13a1c315ace6793b9f63688b8.

Solidity: event Executed(uint256 indexed executionID, address indexed to, uint256 indexed value, bytes data)

func (*KeyManagerFilterer) WatchExecutionRequested

func (_KeyManager *KeyManagerFilterer) WatchExecutionRequested(opts *bind.WatchOpts, sink chan<- *KeyManagerExecutionRequested, executionID []*big.Int, to []common.Address, value []*big.Int) (event.Subscription, error)

WatchExecutionRequested is a free log subscription operation binding the contract event 0x8afcfabcb00e47a53a8fc3e9f23ff47ee1926194bb1350dd007c50b412a6cee8.

Solidity: event ExecutionRequested(uint256 indexed executionID, address indexed to, uint256 indexed value, bytes data)

func (*KeyManagerFilterer) WatchKeyAdded

func (_KeyManager *KeyManagerFilterer) WatchKeyAdded(opts *bind.WatchOpts, sink chan<- *KeyManagerKeyAdded, key [][32]byte, purpose []*big.Int, keyType []*big.Int) (event.Subscription, error)

WatchKeyAdded is a free log subscription operation binding the contract event 0x480000bb1edad8ca1470381cc334b1917fbd51c6531f3a623ea8e0ec7e38a6e9.

Solidity: event KeyAdded(bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType)

func (*KeyManagerFilterer) WatchKeyRemoved

func (_KeyManager *KeyManagerFilterer) WatchKeyRemoved(opts *bind.WatchOpts, sink chan<- *KeyManagerKeyRemoved, key [][32]byte, purpose []*big.Int, keyType []*big.Int) (event.Subscription, error)

WatchKeyRemoved is a free log subscription operation binding the contract event 0x585a4aef50f8267a92b32412b331b20f7f8b96f2245b253b9cc50dcc621d3397.

Solidity: event KeyRemoved(bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType)

func (*KeyManagerFilterer) WatchKeysRequiredChanged

func (_KeyManager *KeyManagerFilterer) WatchKeysRequiredChanged(opts *bind.WatchOpts, sink chan<- *KeyManagerKeysRequiredChanged) (event.Subscription, error)

WatchKeysRequiredChanged is a free log subscription operation binding the contract event 0x9f6d363a5a7fef1e6f9d2ac96e0554ca3494d7b59adfe0bf665020ddf9350d1a.

Solidity: event KeysRequiredChanged(uint256 purpose, uint256 number)

type KeyManagerKeyAdded

type KeyManagerKeyAdded struct {
	Key     [32]byte
	Purpose *big.Int
	KeyType *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

KeyManagerKeyAdded represents a KeyAdded event raised by the KeyManager contract.

type KeyManagerKeyAddedIterator

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

KeyManagerKeyAddedIterator is returned from FilterKeyAdded and is used to iterate over the raw logs and unpacked data for KeyAdded events raised by the KeyManager contract.

func (*KeyManagerKeyAddedIterator) Close

func (it *KeyManagerKeyAddedIterator) Close() error

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

func (*KeyManagerKeyAddedIterator) Error

func (it *KeyManagerKeyAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerKeyAddedIterator) Next

func (it *KeyManagerKeyAddedIterator) 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 KeyManagerKeyRemoved

type KeyManagerKeyRemoved struct {
	Key     [32]byte
	Purpose *big.Int
	KeyType *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

KeyManagerKeyRemoved represents a KeyRemoved event raised by the KeyManager contract.

type KeyManagerKeyRemovedIterator

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

KeyManagerKeyRemovedIterator is returned from FilterKeyRemoved and is used to iterate over the raw logs and unpacked data for KeyRemoved events raised by the KeyManager contract.

func (*KeyManagerKeyRemovedIterator) Close

func (it *KeyManagerKeyRemovedIterator) Close() error

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

func (*KeyManagerKeyRemovedIterator) Error

func (it *KeyManagerKeyRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerKeyRemovedIterator) 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 KeyManagerKeysRequiredChanged

type KeyManagerKeysRequiredChanged struct {
	Purpose *big.Int
	Number  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

KeyManagerKeysRequiredChanged represents a KeysRequiredChanged event raised by the KeyManager contract.

type KeyManagerKeysRequiredChangedIterator

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

KeyManagerKeysRequiredChangedIterator is returned from FilterKeysRequiredChanged and is used to iterate over the raw logs and unpacked data for KeysRequiredChanged events raised by the KeyManager contract.

func (*KeyManagerKeysRequiredChangedIterator) Close

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

func (*KeyManagerKeysRequiredChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KeyManagerKeysRequiredChangedIterator) 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 KeyManagerRaw

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

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

func (*KeyManagerRaw) Call

func (_KeyManager *KeyManagerRaw) 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 (*KeyManagerRaw) Transact

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

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

func (*KeyManagerRaw) Transfer

func (_KeyManager *KeyManagerRaw) 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 KeyManagerSession

type KeyManagerSession struct {
	Contract     *KeyManager       // 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
}

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

func (*KeyManagerSession) AddClaim

func (_KeyManager *KeyManagerSession) AddClaim(_claimType *big.Int, _issuer common.Address, _signatureType *big.Int, _signature []byte, _claim []byte, _uri string) (*types.Transaction, error)

AddClaim is a paid mutator transaction binding the contract method 0x0607f937.

Solidity: function addClaim(uint256 _claimType, address _issuer, uint256 _signatureType, bytes _signature, bytes _claim, string _uri) returns(bytes32 claimId)

func (*KeyManagerSession) AddKey

func (_KeyManager *KeyManagerSession) AddKey(_key [32]byte, _purpose *big.Int, _keyType *big.Int) (*types.Transaction, error)

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

Solidity: function addKey(bytes32 _key, uint256 _purpose, uint256 _keyType) returns(bool success)

func (*KeyManagerSession) GetClaim

func (_KeyManager *KeyManagerSession) GetClaim(_claimId [32]byte) (struct {
	ClaimType     *big.Int
	Issuer        common.Address
	SignatureType *big.Int
	Signature     []byte
	Claim         []byte
	Uri           string
}, error)

GetClaim is a free data retrieval call binding the contract method 0xc9100bcb.

Solidity: function getClaim(bytes32 _claimId) constant returns(uint256 claimType, address issuer, uint256 signatureType, bytes signature, bytes claim, string uri)

func (*KeyManagerSession) GetClaimsIdByType

func (_KeyManager *KeyManagerSession) GetClaimsIdByType(_claimType *big.Int) ([][32]byte, error)

GetClaimsIdByType is a free data retrieval call binding the contract method 0x6fa28249.

Solidity: function getClaimsIdByType(uint256 _claimType) constant returns(bytes32[])

func (*KeyManagerSession) GetKey

func (_KeyManager *KeyManagerSession) GetKey(_key [32]byte) (struct {
	Purpose *big.Int
	KeyType *big.Int
	Key     [32]byte
}, error)

GetKey is a free data retrieval call binding the contract method 0x12aaac70.

Solidity: function getKey(bytes32 _key) constant returns(uint256 purpose, uint256 keyType, bytes32 key)

func (*KeyManagerSession) GetKeysByPurpose

func (_KeyManager *KeyManagerSession) GetKeysByPurpose(_purpose *big.Int) ([][32]byte, error)

GetKeysByPurpose is a free data retrieval call binding the contract method 0x9010f726.

Solidity: function getKeysByPurpose(uint256 _purpose) constant returns(bytes32[] _keys)

func (*KeyManagerSession) KeyHasPurpose

func (_KeyManager *KeyManagerSession) KeyHasPurpose(_key [32]byte, _purpose *big.Int) (bool, error)

KeyHasPurpose is a free data retrieval call binding the contract method 0xd202158d.

Solidity: function keyHasPurpose(bytes32 _key, uint256 _purpose) constant returns(bool isExistent)

func (*KeyManagerSession) RemoveClaim

func (_KeyManager *KeyManagerSession) RemoveClaim(_claimId [32]byte) (*types.Transaction, error)

RemoveClaim is a paid mutator transaction binding the contract method 0x4eee424a.

Solidity: function removeClaim(bytes32 _claimId) returns(bool success)

func (*KeyManagerSession) RemoveKey

func (_KeyManager *KeyManagerSession) RemoveKey(_key [32]byte, _purpose *big.Int) (*types.Transaction, error)

RemoveKey is a paid mutator transaction binding the contract method 0x53d413c5.

Solidity: function removeKey(bytes32 _key, uint256 _purpose) returns(bool success)

type KeyManagerTransactor

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

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

func NewKeyManagerTransactor

func NewKeyManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*KeyManagerTransactor, error)

NewKeyManagerTransactor creates a new write-only instance of KeyManager, bound to a specific deployed contract.

func (*KeyManagerTransactor) AddClaim

func (_KeyManager *KeyManagerTransactor) AddClaim(opts *bind.TransactOpts, _claimType *big.Int, _issuer common.Address, _signatureType *big.Int, _signature []byte, _claim []byte, _uri string) (*types.Transaction, error)

AddClaim is a paid mutator transaction binding the contract method 0x0607f937.

Solidity: function addClaim(uint256 _claimType, address _issuer, uint256 _signatureType, bytes _signature, bytes _claim, string _uri) returns(bytes32 claimId)

func (*KeyManagerTransactor) AddKey

func (_KeyManager *KeyManagerTransactor) AddKey(opts *bind.TransactOpts, _key [32]byte, _purpose *big.Int, _keyType *big.Int) (*types.Transaction, error)

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

Solidity: function addKey(bytes32 _key, uint256 _purpose, uint256 _keyType) returns(bool success)

func (*KeyManagerTransactor) RemoveClaim

func (_KeyManager *KeyManagerTransactor) RemoveClaim(opts *bind.TransactOpts, _claimId [32]byte) (*types.Transaction, error)

RemoveClaim is a paid mutator transaction binding the contract method 0x4eee424a.

Solidity: function removeClaim(bytes32 _claimId) returns(bool success)

func (*KeyManagerTransactor) RemoveKey

func (_KeyManager *KeyManagerTransactor) RemoveKey(opts *bind.TransactOpts, _key [32]byte, _purpose *big.Int) (*types.Transaction, error)

RemoveKey is a paid mutator transaction binding the contract method 0x53d413c5.

Solidity: function removeKey(bytes32 _key, uint256 _purpose) returns(bool success)

type KeyManagerTransactorRaw

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

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

func (*KeyManagerTransactorRaw) Transact

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

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

func (*KeyManagerTransactorRaw) Transfer

func (_KeyManager *KeyManagerTransactorRaw) 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 KeyManagerTransactorSession

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

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

func (*KeyManagerTransactorSession) AddClaim

func (_KeyManager *KeyManagerTransactorSession) AddClaim(_claimType *big.Int, _issuer common.Address, _signatureType *big.Int, _signature []byte, _claim []byte, _uri string) (*types.Transaction, error)

AddClaim is a paid mutator transaction binding the contract method 0x0607f937.

Solidity: function addClaim(uint256 _claimType, address _issuer, uint256 _signatureType, bytes _signature, bytes _claim, string _uri) returns(bytes32 claimId)

func (*KeyManagerTransactorSession) AddKey

func (_KeyManager *KeyManagerTransactorSession) AddKey(_key [32]byte, _purpose *big.Int, _keyType *big.Int) (*types.Transaction, error)

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

Solidity: function addKey(bytes32 _key, uint256 _purpose, uint256 _keyType) returns(bool success)

func (*KeyManagerTransactorSession) RemoveClaim

func (_KeyManager *KeyManagerTransactorSession) RemoveClaim(_claimId [32]byte) (*types.Transaction, error)

RemoveClaim is a paid mutator transaction binding the contract method 0x4eee424a.

Solidity: function removeClaim(bytes32 _claimId) returns(bool success)

func (*KeyManagerTransactorSession) RemoveKey

func (_KeyManager *KeyManagerTransactorSession) RemoveKey(_key [32]byte, _purpose *big.Int) (*types.Transaction, error)

RemoveKey is a paid mutator transaction binding the contract method 0x53d413c5.

Solidity: function removeKey(bytes32 _key, uint256 _purpose) returns(bool success)

Jump to

Keyboard shortcuts

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