publickeyresolver

package
v0.0.0-...-5a544cf Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const PublickeyresolverABI = "" /* 3052-byte string literal not displayed */

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

View Source
const PublickeyresolverBin = `` /* 10588-byte string literal not displayed */

PublickeyresolverBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

func CallAddPublicKeyDelegated

func CallAddPublicKeyDelegated(reqID uint64, instance *Publickeyresolver, associatedAddress common.Address, publickey hexutil.Bytes, v uint8, r [32]byte, s [32]byte, timestamp *big.Int) (*types.Transaction, error)

CallAddPublicKeyDelegated addKeyDelegated function call

func CallRemovePublicKeyDelegated

func CallRemovePublicKeyDelegated(reqID uint64, instance *Publickeyresolver, associatedAddress common.Address, v uint8, r [32]byte, s [32]byte, timestamp *big.Int) (*types.Transaction, error)

CallRemovePublicKeyDelegated RemoveKeyDelegated function call

func ContainsInAddresses

func ContainsInAddresses(_address common.Address) bool

func GetAddress

func GetAddress() *common.Address

GetAddress return current ServiceKeyResolver contract address

func GetAddressList

func GetAddressList() []common.Address

GetAddressList Return all old and current ServiceKeyResolver contract address list

Types

type Publickeyresolver

type Publickeyresolver struct {
	PublickeyresolverCaller     // Read-only binding to the contract
	PublickeyresolverTransactor // Write-only binding to the contract
	PublickeyresolverFilterer   // Log filterer for contract events
}

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

func DeployPublickeyresolver

func DeployPublickeyresolver(auth *bind.TransactOpts, backend bind.ContractBackend, identityRegistryAddress common.Address) (common.Address, *types.Transaction, *Publickeyresolver, error)

DeployPublickeyresolver deploys a new Ethereum contract, binding an instance of Publickeyresolver to it.

func GetInstance

func GetInstance(address common.Address) (*Publickeyresolver, error)

GetInstance get Servicekeyresolver Instance

func NewPublickeyresolver

func NewPublickeyresolver(address common.Address, backend bind.ContractBackend) (*Publickeyresolver, error)

NewPublickeyresolver creates a new instance of Publickeyresolver, bound to a specific deployed contract.

type PublickeyresolverCaller

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

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

func NewPublickeyresolverCaller

func NewPublickeyresolverCaller(address common.Address, caller bind.ContractCaller) (*PublickeyresolverCaller, error)

NewPublickeyresolverCaller creates a new read-only instance of Publickeyresolver, bound to a specific deployed contract.

func (*PublickeyresolverCaller) CalculateAddress

func (_Publickeyresolver *PublickeyresolverCaller) CalculateAddress(opts *bind.CallOpts, publicKey []byte) (common.Address, error)

CalculateAddress is a free data retrieval call binding the contract method 0xe8a4c04e.

Solidity: function calculateAddress(bytes publicKey) constant returns(address addr)

func (*PublickeyresolverCaller) GetPublicKey

func (_Publickeyresolver *PublickeyresolverCaller) GetPublicKey(opts *bind.CallOpts, addr common.Address) ([]byte, error)

GetPublicKey is a free data retrieval call binding the contract method 0x857cdbb8.

Solidity: function getPublicKey(address addr) constant returns(bytes)

func (*PublickeyresolverCaller) IsSigned

func (_Publickeyresolver *PublickeyresolverCaller) IsSigned(opts *bind.CallOpts, _address common.Address, messageHash [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error)

IsSigned is a free data retrieval call binding the contract method 0x8677ebe8.

Solidity: function isSigned(address _address, bytes32 messageHash, uint8 v, bytes32 r, bytes32 s) constant returns(bool)

func (*PublickeyresolverCaller) NAME

func (_Publickeyresolver *PublickeyresolverCaller) NAME(opts *bind.CallOpts) (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() constant returns(string)

func (*PublickeyresolverCaller) SignatureTimeout

func (_Publickeyresolver *PublickeyresolverCaller) SignatureTimeout(opts *bind.CallOpts) (*big.Int, error)

SignatureTimeout is a free data retrieval call binding the contract method 0x5437b67c.

Solidity: function signatureTimeout() constant returns(uint256)

type PublickeyresolverCallerRaw

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

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

func (*PublickeyresolverCallerRaw) Call

func (_Publickeyresolver *PublickeyresolverCallerRaw) 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 PublickeyresolverCallerSession

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

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

func (*PublickeyresolverCallerSession) CalculateAddress

func (_Publickeyresolver *PublickeyresolverCallerSession) CalculateAddress(publicKey []byte) (common.Address, error)

CalculateAddress is a free data retrieval call binding the contract method 0xe8a4c04e.

Solidity: function calculateAddress(bytes publicKey) constant returns(address addr)

func (*PublickeyresolverCallerSession) GetPublicKey

func (_Publickeyresolver *PublickeyresolverCallerSession) GetPublicKey(addr common.Address) ([]byte, error)

GetPublicKey is a free data retrieval call binding the contract method 0x857cdbb8.

Solidity: function getPublicKey(address addr) constant returns(bytes)

func (*PublickeyresolverCallerSession) IsSigned

func (_Publickeyresolver *PublickeyresolverCallerSession) IsSigned(_address common.Address, messageHash [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error)

IsSigned is a free data retrieval call binding the contract method 0x8677ebe8.

Solidity: function isSigned(address _address, bytes32 messageHash, uint8 v, bytes32 r, bytes32 s) constant returns(bool)

func (*PublickeyresolverCallerSession) NAME

func (_Publickeyresolver *PublickeyresolverCallerSession) NAME() (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() constant returns(string)

func (*PublickeyresolverCallerSession) SignatureTimeout

func (_Publickeyresolver *PublickeyresolverCallerSession) SignatureTimeout() (*big.Int, error)

SignatureTimeout is a free data retrieval call binding the contract method 0x5437b67c.

Solidity: function signatureTimeout() constant returns(uint256)

type PublickeyresolverFilterer

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

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

func NewPublickeyresolverFilterer

func NewPublickeyresolverFilterer(address common.Address, filterer bind.ContractFilterer) (*PublickeyresolverFilterer, error)

NewPublickeyresolverFilterer creates a new log filterer instance of Publickeyresolver, bound to a specific deployed contract.

func (*PublickeyresolverFilterer) FilterPublicKeyAdded

func (_Publickeyresolver *PublickeyresolverFilterer) FilterPublicKeyAdded(opts *bind.FilterOpts, addr []common.Address, ein []*big.Int) (*PublickeyresolverPublicKeyAddedIterator, error)

FilterPublicKeyAdded is a free log retrieval operation binding the contract event 0xc604da33cee952ded8ce0db2b489092b367cc77da1b4965a9b76e48455b4797c.

Solidity: event PublicKeyAdded(address indexed addr, uint256 indexed ein, bytes publicKey, bool delegated)

func (*PublickeyresolverFilterer) FilterPublicKeyRemoved

func (_Publickeyresolver *PublickeyresolverFilterer) FilterPublicKeyRemoved(opts *bind.FilterOpts, addr []common.Address, ein []*big.Int) (*PublickeyresolverPublicKeyRemovedIterator, error)

FilterPublicKeyRemoved is a free log retrieval operation binding the contract event 0x627d6da185122bce6a368e7e5c48234968d76011fc1277894aa208786d8ece1e.

Solidity: event PublicKeyRemoved(address indexed addr, uint256 indexed ein, bool delegated)

func (*PublickeyresolverFilterer) WatchPublicKeyAdded

func (_Publickeyresolver *PublickeyresolverFilterer) WatchPublicKeyAdded(opts *bind.WatchOpts, sink chan<- *PublickeyresolverPublicKeyAdded, addr []common.Address, ein []*big.Int) (event.Subscription, error)

WatchPublicKeyAdded is a free log subscription operation binding the contract event 0xc604da33cee952ded8ce0db2b489092b367cc77da1b4965a9b76e48455b4797c.

Solidity: event PublicKeyAdded(address indexed addr, uint256 indexed ein, bytes publicKey, bool delegated)

func (*PublickeyresolverFilterer) WatchPublicKeyRemoved

func (_Publickeyresolver *PublickeyresolverFilterer) WatchPublicKeyRemoved(opts *bind.WatchOpts, sink chan<- *PublickeyresolverPublicKeyRemoved, addr []common.Address, ein []*big.Int) (event.Subscription, error)

WatchPublicKeyRemoved is a free log subscription operation binding the contract event 0x627d6da185122bce6a368e7e5c48234968d76011fc1277894aa208786d8ece1e.

Solidity: event PublicKeyRemoved(address indexed addr, uint256 indexed ein, bool delegated)

type PublickeyresolverPublicKeyAdded

type PublickeyresolverPublicKeyAdded struct {
	Addr      common.Address
	Ein       *big.Int
	PublicKey []byte
	Delegated bool
	Raw       types.Log // Blockchain specific contextual infos
}

PublickeyresolverPublicKeyAdded represents a PublicKeyAdded event raised by the Publickeyresolver contract.

type PublickeyresolverPublicKeyAddedIterator

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

PublickeyresolverPublicKeyAddedIterator is returned from FilterPublicKeyAdded and is used to iterate over the raw logs and unpacked data for PublicKeyAdded events raised by the Publickeyresolver contract.

func (*PublickeyresolverPublicKeyAddedIterator) Close

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

func (*PublickeyresolverPublicKeyAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublickeyresolverPublicKeyAddedIterator) 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 PublickeyresolverPublicKeyRemoved

type PublickeyresolverPublicKeyRemoved struct {
	Addr      common.Address
	Ein       *big.Int
	Delegated bool
	Raw       types.Log // Blockchain specific contextual infos
}

PublickeyresolverPublicKeyRemoved represents a PublicKeyRemoved event raised by the Publickeyresolver contract.

type PublickeyresolverPublicKeyRemovedIterator

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

PublickeyresolverPublicKeyRemovedIterator is returned from FilterPublicKeyRemoved and is used to iterate over the raw logs and unpacked data for PublicKeyRemoved events raised by the Publickeyresolver contract.

func (*PublickeyresolverPublicKeyRemovedIterator) Close

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

func (*PublickeyresolverPublicKeyRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublickeyresolverPublicKeyRemovedIterator) 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 PublickeyresolverRaw

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

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

func (*PublickeyresolverRaw) Call

func (_Publickeyresolver *PublickeyresolverRaw) 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 (*PublickeyresolverRaw) Transact

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

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

func (*PublickeyresolverRaw) Transfer

func (_Publickeyresolver *PublickeyresolverRaw) 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 PublickeyresolverSession

type PublickeyresolverSession struct {
	Contract     *Publickeyresolver // 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
}

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

func (*PublickeyresolverSession) AddPublicKey

func (_Publickeyresolver *PublickeyresolverSession) AddPublicKey(publicKey []byte) (*types.Transaction, error)

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

Solidity: function addPublicKey(bytes publicKey) returns()

func (*PublickeyresolverSession) AddPublicKeyDelegated

func (_Publickeyresolver *PublickeyresolverSession) AddPublicKeyDelegated(associatedAddress common.Address, publicKey []byte, v uint8, r [32]byte, s [32]byte, timestamp *big.Int) (*types.Transaction, error)

AddPublicKeyDelegated is a paid mutator transaction binding the contract method 0x3c31b7ea.

Solidity: function addPublicKeyDelegated(address associatedAddress, bytes publicKey, uint8 v, bytes32 r, bytes32 s, uint256 timestamp) returns()

func (*PublickeyresolverSession) CalculateAddress

func (_Publickeyresolver *PublickeyresolverSession) CalculateAddress(publicKey []byte) (common.Address, error)

CalculateAddress is a free data retrieval call binding the contract method 0xe8a4c04e.

Solidity: function calculateAddress(bytes publicKey) constant returns(address addr)

func (*PublickeyresolverSession) GetPublicKey

func (_Publickeyresolver *PublickeyresolverSession) GetPublicKey(addr common.Address) ([]byte, error)

GetPublicKey is a free data retrieval call binding the contract method 0x857cdbb8.

Solidity: function getPublicKey(address addr) constant returns(bytes)

func (*PublickeyresolverSession) IsSigned

func (_Publickeyresolver *PublickeyresolverSession) IsSigned(_address common.Address, messageHash [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error)

IsSigned is a free data retrieval call binding the contract method 0x8677ebe8.

Solidity: function isSigned(address _address, bytes32 messageHash, uint8 v, bytes32 r, bytes32 s) constant returns(bool)

func (*PublickeyresolverSession) NAME

func (_Publickeyresolver *PublickeyresolverSession) NAME() (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() constant returns(string)

func (*PublickeyresolverSession) RemovePublicKey

func (_Publickeyresolver *PublickeyresolverSession) RemovePublicKey() (*types.Transaction, error)

RemovePublicKey is a paid mutator transaction binding the contract method 0xa061bc74.

Solidity: function removePublicKey() returns()

func (*PublickeyresolverSession) RemovePublicKeyDelegated

func (_Publickeyresolver *PublickeyresolverSession) RemovePublicKeyDelegated(associatedAddress common.Address, v uint8, r [32]byte, s [32]byte, timestamp *big.Int) (*types.Transaction, error)

RemovePublicKeyDelegated is a paid mutator transaction binding the contract method 0x173c5249.

Solidity: function removePublicKeyDelegated(address associatedAddress, uint8 v, bytes32 r, bytes32 s, uint256 timestamp) returns()

func (*PublickeyresolverSession) SignatureTimeout

func (_Publickeyresolver *PublickeyresolverSession) SignatureTimeout() (*big.Int, error)

SignatureTimeout is a free data retrieval call binding the contract method 0x5437b67c.

Solidity: function signatureTimeout() constant returns(uint256)

type PublickeyresolverTransactor

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

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

func NewPublickeyresolverTransactor

func NewPublickeyresolverTransactor(address common.Address, transactor bind.ContractTransactor) (*PublickeyresolverTransactor, error)

NewPublickeyresolverTransactor creates a new write-only instance of Publickeyresolver, bound to a specific deployed contract.

func (*PublickeyresolverTransactor) AddPublicKey

func (_Publickeyresolver *PublickeyresolverTransactor) AddPublicKey(opts *bind.TransactOpts, publicKey []byte) (*types.Transaction, error)

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

Solidity: function addPublicKey(bytes publicKey) returns()

func (*PublickeyresolverTransactor) AddPublicKeyDelegated

func (_Publickeyresolver *PublickeyresolverTransactor) AddPublicKeyDelegated(opts *bind.TransactOpts, associatedAddress common.Address, publicKey []byte, v uint8, r [32]byte, s [32]byte, timestamp *big.Int) (*types.Transaction, error)

AddPublicKeyDelegated is a paid mutator transaction binding the contract method 0x3c31b7ea.

Solidity: function addPublicKeyDelegated(address associatedAddress, bytes publicKey, uint8 v, bytes32 r, bytes32 s, uint256 timestamp) returns()

func (*PublickeyresolverTransactor) RemovePublicKey

func (_Publickeyresolver *PublickeyresolverTransactor) RemovePublicKey(opts *bind.TransactOpts) (*types.Transaction, error)

RemovePublicKey is a paid mutator transaction binding the contract method 0xa061bc74.

Solidity: function removePublicKey() returns()

func (*PublickeyresolverTransactor) RemovePublicKeyDelegated

func (_Publickeyresolver *PublickeyresolverTransactor) RemovePublicKeyDelegated(opts *bind.TransactOpts, associatedAddress common.Address, v uint8, r [32]byte, s [32]byte, timestamp *big.Int) (*types.Transaction, error)

RemovePublicKeyDelegated is a paid mutator transaction binding the contract method 0x173c5249.

Solidity: function removePublicKeyDelegated(address associatedAddress, uint8 v, bytes32 r, bytes32 s, uint256 timestamp) returns()

type PublickeyresolverTransactorRaw

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

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

func (*PublickeyresolverTransactorRaw) Transact

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

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

func (*PublickeyresolverTransactorRaw) Transfer

func (_Publickeyresolver *PublickeyresolverTransactorRaw) 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 PublickeyresolverTransactorSession

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

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

func (*PublickeyresolverTransactorSession) AddPublicKey

func (_Publickeyresolver *PublickeyresolverTransactorSession) AddPublicKey(publicKey []byte) (*types.Transaction, error)

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

Solidity: function addPublicKey(bytes publicKey) returns()

func (*PublickeyresolverTransactorSession) AddPublicKeyDelegated

func (_Publickeyresolver *PublickeyresolverTransactorSession) AddPublicKeyDelegated(associatedAddress common.Address, publicKey []byte, v uint8, r [32]byte, s [32]byte, timestamp *big.Int) (*types.Transaction, error)

AddPublicKeyDelegated is a paid mutator transaction binding the contract method 0x3c31b7ea.

Solidity: function addPublicKeyDelegated(address associatedAddress, bytes publicKey, uint8 v, bytes32 r, bytes32 s, uint256 timestamp) returns()

func (*PublickeyresolverTransactorSession) RemovePublicKey

func (_Publickeyresolver *PublickeyresolverTransactorSession) RemovePublicKey() (*types.Transaction, error)

RemovePublicKey is a paid mutator transaction binding the contract method 0xa061bc74.

Solidity: function removePublicKey() returns()

func (*PublickeyresolverTransactorSession) RemovePublicKeyDelegated

func (_Publickeyresolver *PublickeyresolverTransactorSession) RemovePublicKeyDelegated(associatedAddress common.Address, v uint8, r [32]byte, s [32]byte, timestamp *big.Int) (*types.Transaction, error)

RemovePublicKeyDelegated is a paid mutator transaction binding the contract method 0x173c5249.

Solidity: function removePublicKeyDelegated(address associatedAddress, uint8 v, bytes32 r, bytes32 s, uint256 timestamp) returns()

Jump to

Keyboard shortcuts

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