IoTeXDID

package
v0.0.0-...-78849dc Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const IoTeXDIDABI = "" /* 2058-byte string literal not displayed */

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

Variables

View Source
var IoTeXDIDBin = "" /* 12310-byte string literal not displayed */

IoTeXDIDBin is the compiled bytecode used for deploying new contracts.

View Source
var IoTeXDIDFuncSigs = map[string]string{
	"3e05e066": "createDID(string,bytes32,string)",
	"42e643bc": "deleteDID(string)",
	"5b6beeb9": "getHash(string)",
	"93ff5d3e": "getURI(string)",
	"78eab45a": "updateHash(string,bytes32)",
	"1789e2d8": "updateURI(string,string)",
}

IoTeXDIDFuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type IoTeXDID

type IoTeXDID struct {
	IoTeXDIDCaller     // Read-only binding to the contract
	IoTeXDIDTransactor // Write-only binding to the contract
	IoTeXDIDFilterer   // Log filterer for contract events
}

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

func DeployIoTeXDID

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

DeployIoTeXDID deploys a new Ethereum contract, binding an instance of IoTeXDID to it.

func NewIoTeXDID

func NewIoTeXDID(address common.Address, backend bind.ContractBackend) (*IoTeXDID, error)

NewIoTeXDID creates a new instance of IoTeXDID, bound to a specific deployed contract.

type IoTeXDIDCaller

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

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

func NewIoTeXDIDCaller

func NewIoTeXDIDCaller(address common.Address, caller bind.ContractCaller) (*IoTeXDIDCaller, error)

NewIoTeXDIDCaller creates a new read-only instance of IoTeXDID, bound to a specific deployed contract.

func (*IoTeXDIDCaller) GetHash

func (_IoTeXDID *IoTeXDIDCaller) GetHash(opts *bind.CallOpts, did string) ([32]byte, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string did) view returns(bytes32)

func (*IoTeXDIDCaller) GetURI

func (_IoTeXDID *IoTeXDIDCaller) GetURI(opts *bind.CallOpts, did string) (string, error)

GetURI is a free data retrieval call binding the contract method 0x93ff5d3e.

Solidity: function getURI(string did) view returns(string)

type IoTeXDIDCallerRaw

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

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

func (*IoTeXDIDCallerRaw) Call

func (_IoTeXDID *IoTeXDIDCallerRaw) 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 IoTeXDIDCallerSession

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

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

func (*IoTeXDIDCallerSession) GetHash

func (_IoTeXDID *IoTeXDIDCallerSession) GetHash(did string) ([32]byte, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string did) view returns(bytes32)

func (*IoTeXDIDCallerSession) GetURI

func (_IoTeXDID *IoTeXDIDCallerSession) GetURI(did string) (string, error)

GetURI is a free data retrieval call binding the contract method 0x93ff5d3e.

Solidity: function getURI(string did) view returns(string)

type IoTeXDIDCreateDID

type IoTeXDIDCreateDID struct {
	Id        common.Hash
	DidString string
	Raw       types.Log // Blockchain specific contextual infos
}

IoTeXDIDCreateDID represents a CreateDID event raised by the IoTeXDID contract.

type IoTeXDIDCreateDIDIterator

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

IoTeXDIDCreateDIDIterator is returned from FilterCreateDID and is used to iterate over the raw logs and unpacked data for CreateDID events raised by the IoTeXDID contract.

func (*IoTeXDIDCreateDIDIterator) Close

func (it *IoTeXDIDCreateDIDIterator) Close() error

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

func (*IoTeXDIDCreateDIDIterator) Error

func (it *IoTeXDIDCreateDIDIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoTeXDIDCreateDIDIterator) Next

func (it *IoTeXDIDCreateDIDIterator) 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 IoTeXDIDDeleteDID

type IoTeXDIDDeleteDID struct {
	DidString common.Hash
	Raw       types.Log // Blockchain specific contextual infos
}

IoTeXDIDDeleteDID represents a DeleteDID event raised by the IoTeXDID contract.

type IoTeXDIDDeleteDIDIterator

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

IoTeXDIDDeleteDIDIterator is returned from FilterDeleteDID and is used to iterate over the raw logs and unpacked data for DeleteDID events raised by the IoTeXDID contract.

func (*IoTeXDIDDeleteDIDIterator) Close

func (it *IoTeXDIDDeleteDIDIterator) Close() error

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

func (*IoTeXDIDDeleteDIDIterator) Error

func (it *IoTeXDIDDeleteDIDIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoTeXDIDDeleteDIDIterator) Next

func (it *IoTeXDIDDeleteDIDIterator) 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 IoTeXDIDFilterer

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

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

func NewIoTeXDIDFilterer

func NewIoTeXDIDFilterer(address common.Address, filterer bind.ContractFilterer) (*IoTeXDIDFilterer, error)

NewIoTeXDIDFilterer creates a new log filterer instance of IoTeXDID, bound to a specific deployed contract.

func (*IoTeXDIDFilterer) FilterCreateDID

func (_IoTeXDID *IoTeXDIDFilterer) FilterCreateDID(opts *bind.FilterOpts, id []string) (*IoTeXDIDCreateDIDIterator, error)

FilterCreateDID is a free log retrieval operation binding the contract event 0xedcad282d2fc969322aa68caeb2b9bf9de762094ec288a9965535b8968dca17f.

Solidity: event CreateDID(string indexed id, string didString)

func (*IoTeXDIDFilterer) FilterDeleteDID

func (_IoTeXDID *IoTeXDIDFilterer) FilterDeleteDID(opts *bind.FilterOpts, didString []string) (*IoTeXDIDDeleteDIDIterator, error)

FilterDeleteDID is a free log retrieval operation binding the contract event 0xf8910781c5d425c8a634b0a60a6567ef96cae8b2aa97b0db44389fff2bbcc64f.

Solidity: event DeleteDID(string indexed didString)

func (*IoTeXDIDFilterer) FilterUpdateHash

func (_IoTeXDID *IoTeXDIDFilterer) FilterUpdateHash(opts *bind.FilterOpts, didString []string) (*IoTeXDIDUpdateHashIterator, error)

FilterUpdateHash is a free log retrieval operation binding the contract event 0xad2d38b24c03f1f0db04b9345ca745dcf8904f27f8977599ec4769743d5e898d.

Solidity: event UpdateHash(string indexed didString, bytes32 hash)

func (*IoTeXDIDFilterer) FilterUpdateURI

func (_IoTeXDID *IoTeXDIDFilterer) FilterUpdateURI(opts *bind.FilterOpts, didString []string) (*IoTeXDIDUpdateURIIterator, error)

FilterUpdateURI is a free log retrieval operation binding the contract event 0xa55ea16d9a68fded3c5b007d1fbba6ed1524d9354d44c66bcc54c721108586c4.

Solidity: event UpdateURI(string indexed didString, string uri)

func (*IoTeXDIDFilterer) ParseCreateDID

func (_IoTeXDID *IoTeXDIDFilterer) ParseCreateDID(log types.Log) (*IoTeXDIDCreateDID, error)

ParseCreateDID is a log parse operation binding the contract event 0xedcad282d2fc969322aa68caeb2b9bf9de762094ec288a9965535b8968dca17f.

Solidity: event CreateDID(string indexed id, string didString)

func (*IoTeXDIDFilterer) ParseDeleteDID

func (_IoTeXDID *IoTeXDIDFilterer) ParseDeleteDID(log types.Log) (*IoTeXDIDDeleteDID, error)

ParseDeleteDID is a log parse operation binding the contract event 0xf8910781c5d425c8a634b0a60a6567ef96cae8b2aa97b0db44389fff2bbcc64f.

Solidity: event DeleteDID(string indexed didString)

func (*IoTeXDIDFilterer) ParseUpdateHash

func (_IoTeXDID *IoTeXDIDFilterer) ParseUpdateHash(log types.Log) (*IoTeXDIDUpdateHash, error)

ParseUpdateHash is a log parse operation binding the contract event 0xad2d38b24c03f1f0db04b9345ca745dcf8904f27f8977599ec4769743d5e898d.

Solidity: event UpdateHash(string indexed didString, bytes32 hash)

func (*IoTeXDIDFilterer) ParseUpdateURI

func (_IoTeXDID *IoTeXDIDFilterer) ParseUpdateURI(log types.Log) (*IoTeXDIDUpdateURI, error)

ParseUpdateURI is a log parse operation binding the contract event 0xa55ea16d9a68fded3c5b007d1fbba6ed1524d9354d44c66bcc54c721108586c4.

Solidity: event UpdateURI(string indexed didString, string uri)

func (*IoTeXDIDFilterer) WatchCreateDID

func (_IoTeXDID *IoTeXDIDFilterer) WatchCreateDID(opts *bind.WatchOpts, sink chan<- *IoTeXDIDCreateDID, id []string) (event.Subscription, error)

WatchCreateDID is a free log subscription operation binding the contract event 0xedcad282d2fc969322aa68caeb2b9bf9de762094ec288a9965535b8968dca17f.

Solidity: event CreateDID(string indexed id, string didString)

func (*IoTeXDIDFilterer) WatchDeleteDID

func (_IoTeXDID *IoTeXDIDFilterer) WatchDeleteDID(opts *bind.WatchOpts, sink chan<- *IoTeXDIDDeleteDID, didString []string) (event.Subscription, error)

WatchDeleteDID is a free log subscription operation binding the contract event 0xf8910781c5d425c8a634b0a60a6567ef96cae8b2aa97b0db44389fff2bbcc64f.

Solidity: event DeleteDID(string indexed didString)

func (*IoTeXDIDFilterer) WatchUpdateHash

func (_IoTeXDID *IoTeXDIDFilterer) WatchUpdateHash(opts *bind.WatchOpts, sink chan<- *IoTeXDIDUpdateHash, didString []string) (event.Subscription, error)

WatchUpdateHash is a free log subscription operation binding the contract event 0xad2d38b24c03f1f0db04b9345ca745dcf8904f27f8977599ec4769743d5e898d.

Solidity: event UpdateHash(string indexed didString, bytes32 hash)

func (*IoTeXDIDFilterer) WatchUpdateURI

func (_IoTeXDID *IoTeXDIDFilterer) WatchUpdateURI(opts *bind.WatchOpts, sink chan<- *IoTeXDIDUpdateURI, didString []string) (event.Subscription, error)

WatchUpdateURI is a free log subscription operation binding the contract event 0xa55ea16d9a68fded3c5b007d1fbba6ed1524d9354d44c66bcc54c721108586c4.

Solidity: event UpdateURI(string indexed didString, string uri)

type IoTeXDIDRaw

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

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

func (*IoTeXDIDRaw) Call

func (_IoTeXDID *IoTeXDIDRaw) 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 (*IoTeXDIDRaw) Transact

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

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

func (*IoTeXDIDRaw) Transfer

func (_IoTeXDID *IoTeXDIDRaw) 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 IoTeXDIDSession

type IoTeXDIDSession struct {
	Contract     *IoTeXDID         // 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
}

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

func (*IoTeXDIDSession) CreateDID

func (_IoTeXDID *IoTeXDIDSession) CreateDID(id string, hash [32]byte, uri string) (*types.Transaction, error)

CreateDID is a paid mutator transaction binding the contract method 0x3e05e066.

Solidity: function createDID(string id, bytes32 hash, string uri) returns()

func (*IoTeXDIDSession) DeleteDID

func (_IoTeXDID *IoTeXDIDSession) DeleteDID(did string) (*types.Transaction, error)

DeleteDID is a paid mutator transaction binding the contract method 0x42e643bc.

Solidity: function deleteDID(string did) returns()

func (*IoTeXDIDSession) GetHash

func (_IoTeXDID *IoTeXDIDSession) GetHash(did string) ([32]byte, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string did) view returns(bytes32)

func (*IoTeXDIDSession) GetURI

func (_IoTeXDID *IoTeXDIDSession) GetURI(did string) (string, error)

GetURI is a free data retrieval call binding the contract method 0x93ff5d3e.

Solidity: function getURI(string did) view returns(string)

func (*IoTeXDIDSession) UpdateHash

func (_IoTeXDID *IoTeXDIDSession) UpdateHash(did string, hash [32]byte) (*types.Transaction, error)

UpdateHash is a paid mutator transaction binding the contract method 0x78eab45a.

Solidity: function updateHash(string did, bytes32 hash) returns()

func (*IoTeXDIDSession) UpdateURI

func (_IoTeXDID *IoTeXDIDSession) UpdateURI(did string, uri string) (*types.Transaction, error)

UpdateURI is a paid mutator transaction binding the contract method 0x1789e2d8.

Solidity: function updateURI(string did, string uri) returns()

type IoTeXDIDTransactor

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

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

func NewIoTeXDIDTransactor

func NewIoTeXDIDTransactor(address common.Address, transactor bind.ContractTransactor) (*IoTeXDIDTransactor, error)

NewIoTeXDIDTransactor creates a new write-only instance of IoTeXDID, bound to a specific deployed contract.

func (*IoTeXDIDTransactor) CreateDID

func (_IoTeXDID *IoTeXDIDTransactor) CreateDID(opts *bind.TransactOpts, id string, hash [32]byte, uri string) (*types.Transaction, error)

CreateDID is a paid mutator transaction binding the contract method 0x3e05e066.

Solidity: function createDID(string id, bytes32 hash, string uri) returns()

func (*IoTeXDIDTransactor) DeleteDID

func (_IoTeXDID *IoTeXDIDTransactor) DeleteDID(opts *bind.TransactOpts, did string) (*types.Transaction, error)

DeleteDID is a paid mutator transaction binding the contract method 0x42e643bc.

Solidity: function deleteDID(string did) returns()

func (*IoTeXDIDTransactor) UpdateHash

func (_IoTeXDID *IoTeXDIDTransactor) UpdateHash(opts *bind.TransactOpts, did string, hash [32]byte) (*types.Transaction, error)

UpdateHash is a paid mutator transaction binding the contract method 0x78eab45a.

Solidity: function updateHash(string did, bytes32 hash) returns()

func (*IoTeXDIDTransactor) UpdateURI

func (_IoTeXDID *IoTeXDIDTransactor) UpdateURI(opts *bind.TransactOpts, did string, uri string) (*types.Transaction, error)

UpdateURI is a paid mutator transaction binding the contract method 0x1789e2d8.

Solidity: function updateURI(string did, string uri) returns()

type IoTeXDIDTransactorRaw

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

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

func (*IoTeXDIDTransactorRaw) Transact

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

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

func (*IoTeXDIDTransactorRaw) Transfer

func (_IoTeXDID *IoTeXDIDTransactorRaw) 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 IoTeXDIDTransactorSession

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

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

func (*IoTeXDIDTransactorSession) CreateDID

func (_IoTeXDID *IoTeXDIDTransactorSession) CreateDID(id string, hash [32]byte, uri string) (*types.Transaction, error)

CreateDID is a paid mutator transaction binding the contract method 0x3e05e066.

Solidity: function createDID(string id, bytes32 hash, string uri) returns()

func (*IoTeXDIDTransactorSession) DeleteDID

func (_IoTeXDID *IoTeXDIDTransactorSession) DeleteDID(did string) (*types.Transaction, error)

DeleteDID is a paid mutator transaction binding the contract method 0x42e643bc.

Solidity: function deleteDID(string did) returns()

func (*IoTeXDIDTransactorSession) UpdateHash

func (_IoTeXDID *IoTeXDIDTransactorSession) UpdateHash(did string, hash [32]byte) (*types.Transaction, error)

UpdateHash is a paid mutator transaction binding the contract method 0x78eab45a.

Solidity: function updateHash(string did, bytes32 hash) returns()

func (*IoTeXDIDTransactorSession) UpdateURI

func (_IoTeXDID *IoTeXDIDTransactorSession) UpdateURI(did string, uri string) (*types.Transaction, error)

UpdateURI is a paid mutator transaction binding the contract method 0x1789e2d8.

Solidity: function updateURI(string did, string uri) returns()

type IoTeXDIDUpdateHash

type IoTeXDIDUpdateHash struct {
	DidString common.Hash
	Hash      [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

IoTeXDIDUpdateHash represents a UpdateHash event raised by the IoTeXDID contract.

type IoTeXDIDUpdateHashIterator

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

IoTeXDIDUpdateHashIterator is returned from FilterUpdateHash and is used to iterate over the raw logs and unpacked data for UpdateHash events raised by the IoTeXDID contract.

func (*IoTeXDIDUpdateHashIterator) Close

func (it *IoTeXDIDUpdateHashIterator) Close() error

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

func (*IoTeXDIDUpdateHashIterator) Error

func (it *IoTeXDIDUpdateHashIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoTeXDIDUpdateHashIterator) Next

func (it *IoTeXDIDUpdateHashIterator) 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 IoTeXDIDUpdateURI

type IoTeXDIDUpdateURI struct {
	DidString common.Hash
	Uri       string
	Raw       types.Log // Blockchain specific contextual infos
}

IoTeXDIDUpdateURI represents a UpdateURI event raised by the IoTeXDID contract.

type IoTeXDIDUpdateURIIterator

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

IoTeXDIDUpdateURIIterator is returned from FilterUpdateURI and is used to iterate over the raw logs and unpacked data for UpdateURI events raised by the IoTeXDID contract.

func (*IoTeXDIDUpdateURIIterator) Close

func (it *IoTeXDIDUpdateURIIterator) Close() error

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

func (*IoTeXDIDUpdateURIIterator) Error

func (it *IoTeXDIDUpdateURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoTeXDIDUpdateURIIterator) Next

func (it *IoTeXDIDUpdateURIIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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