resolver

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 4752-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractAddressChanged

type ContractAddressChanged struct {
	TokenId    *big.Int
	CoinType   *big.Int
	NewAddress []byte
	Raw        types.Log // Blockchain specific contextual infos
}

ContractAddressChanged represents a AddressChanged event raised by the Contract contract.

type ContractAddressChangedIterator

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

ContractAddressChangedIterator is returned from FilterAddressChanged and is used to iterate over the raw logs and unpacked data for AddressChanged events raised by the Contract contract.

func (*ContractAddressChangedIterator) Close

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

func (*ContractAddressChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAddressChangedIterator) 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 ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) Addr

func (_Contract *ContractCaller) Addr(opts *bind.CallOpts, tokenId *big.Int, coinType *big.Int) ([]byte, error)

Addr is a free data retrieval call binding the contract method 0x724474cd.

Solidity: function addr(uint256 tokenId, uint256 coinType) view returns(bytes)

func (*ContractCaller) ContentHash

func (_Contract *ContractCaller) ContentHash(opts *bind.CallOpts, tokenId *big.Int) ([]byte, error)

ContentHash is a free data retrieval call binding the contract method 0xf3e0c290.

Solidity: function contentHash(uint256 tokenId) view returns(bytes)

func (*ContractCaller) Name

func (_Contract *ContractCaller) Name(opts *bind.CallOpts, _addr common.Address) (string, error)

Name is a free data retrieval call binding the contract method 0x01984892.

Solidity: function name(address _addr) view returns(string)

func (*ContractCaller) Pubkey

func (_Contract *ContractCaller) Pubkey(opts *bind.CallOpts, tokenId *big.Int) (struct {
	X [32]byte
	Y [32]byte
}, error)

Pubkey is a free data retrieval call binding the contract method 0x2cdfb6ae.

Solidity: function pubkey(uint256 tokenId) view returns(bytes32 x, bytes32 y)

func (*ContractCaller) Text

func (_Contract *ContractCaller) Text(opts *bind.CallOpts, tokenId *big.Int, key string) (string, error)

Text is a free data retrieval call binding the contract method 0x308e3386.

Solidity: function text(uint256 tokenId, string key) view returns(string)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) Addr

func (_Contract *ContractCallerSession) Addr(tokenId *big.Int, coinType *big.Int) ([]byte, error)

Addr is a free data retrieval call binding the contract method 0x724474cd.

Solidity: function addr(uint256 tokenId, uint256 coinType) view returns(bytes)

func (*ContractCallerSession) ContentHash

func (_Contract *ContractCallerSession) ContentHash(tokenId *big.Int) ([]byte, error)

ContentHash is a free data retrieval call binding the contract method 0xf3e0c290.

Solidity: function contentHash(uint256 tokenId) view returns(bytes)

func (*ContractCallerSession) Name

func (_Contract *ContractCallerSession) Name(_addr common.Address) (string, error)

Name is a free data retrieval call binding the contract method 0x01984892.

Solidity: function name(address _addr) view returns(string)

func (*ContractCallerSession) Pubkey

func (_Contract *ContractCallerSession) Pubkey(tokenId *big.Int) (struct {
	X [32]byte
	Y [32]byte
}, error)

Pubkey is a free data retrieval call binding the contract method 0x2cdfb6ae.

Solidity: function pubkey(uint256 tokenId) view returns(bytes32 x, bytes32 y)

func (*ContractCallerSession) Text

func (_Contract *ContractCallerSession) Text(tokenId *big.Int, key string) (string, error)

Text is a free data retrieval call binding the contract method 0x308e3386.

Solidity: function text(uint256 tokenId, string key) view returns(string)

type ContractContentHashChanged

type ContractContentHashChanged struct {
	TokenId *big.Int
	Cid     []byte
	Raw     types.Log // Blockchain specific contextual infos
}

ContractContentHashChanged represents a ContentHashChanged event raised by the Contract contract.

type ContractContentHashChangedIterator

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

ContractContentHashChangedIterator is returned from FilterContentHashChanged and is used to iterate over the raw logs and unpacked data for ContentHashChanged events raised by the Contract contract.

func (*ContractContentHashChangedIterator) Close

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

func (*ContractContentHashChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractContentHashChangedIterator) 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 ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterAddressChanged

func (_Contract *ContractFilterer) FilterAddressChanged(opts *bind.FilterOpts) (*ContractAddressChangedIterator, error)

FilterAddressChanged is a free log retrieval operation binding the contract event 0x88c6f12b5d80135a1513a91ef6bea8f1e2f7e880e6512ac5ca1e06d8c4cd9455.

Solidity: event AddressChanged(uint256 tokenId, uint256 coinType, bytes newAddress)

func (*ContractFilterer) FilterContentHashChanged

func (_Contract *ContractFilterer) FilterContentHashChanged(opts *bind.FilterOpts, tokenId []*big.Int) (*ContractContentHashChangedIterator, error)

FilterContentHashChanged is a free log retrieval operation binding the contract event 0x2cfa0a96c5f362560b63aae3d9d8822b14c57d16b78c940ffc27774fd2d4e850.

Solidity: event ContentHashChanged(uint256 indexed tokenId, bytes cid)

func (*ContractFilterer) FilterInitialized

func (_Contract *ContractFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) FilterPubkeyChanged

func (_Contract *ContractFilterer) FilterPubkeyChanged(opts *bind.FilterOpts, tokenId []*big.Int) (*ContractPubkeyChangedIterator, error)

FilterPubkeyChanged is a free log retrieval operation binding the contract event 0x8186dbd5b7b59a23cc021ac204ef3930b9d607bc737eb3559fa463d1c50bb149.

Solidity: event PubkeyChanged(uint256 indexed tokenId, bytes32 x, bytes32 y)

func (*ContractFilterer) FilterReverseChanged

func (_Contract *ContractFilterer) FilterReverseChanged(opts *bind.FilterOpts, addr []common.Address) (*ContractReverseChangedIterator, error)

FilterReverseChanged is a free log retrieval operation binding the contract event 0x8182102840fb14a103d318c10736b4d72c565a944cce4fcb84f7d7f00b89fdf8.

Solidity: event ReverseChanged(address indexed addr, bool isReverse)

func (*ContractFilterer) FilterTextChanged

func (_Contract *ContractFilterer) FilterTextChanged(opts *bind.FilterOpts, tokenId []*big.Int) (*ContractTextChangedIterator, error)

FilterTextChanged is a free log retrieval operation binding the contract event 0x7121d1b42aabab02ef111a84b9dc36375a901fd0635378f23df84878362f96c7.

Solidity: event TextChanged(uint256 indexed tokenId, string key, string value)

func (*ContractFilterer) ParseAddressChanged

func (_Contract *ContractFilterer) ParseAddressChanged(log types.Log) (*ContractAddressChanged, error)

ParseAddressChanged is a log parse operation binding the contract event 0x88c6f12b5d80135a1513a91ef6bea8f1e2f7e880e6512ac5ca1e06d8c4cd9455.

Solidity: event AddressChanged(uint256 tokenId, uint256 coinType, bytes newAddress)

func (*ContractFilterer) ParseContentHashChanged

func (_Contract *ContractFilterer) ParseContentHashChanged(log types.Log) (*ContractContentHashChanged, error)

ParseContentHashChanged is a log parse operation binding the contract event 0x2cfa0a96c5f362560b63aae3d9d8822b14c57d16b78c940ffc27774fd2d4e850.

Solidity: event ContentHashChanged(uint256 indexed tokenId, bytes cid)

func (*ContractFilterer) ParseInitialized

func (_Contract *ContractFilterer) ParseInitialized(log types.Log) (*ContractInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) ParsePubkeyChanged

func (_Contract *ContractFilterer) ParsePubkeyChanged(log types.Log) (*ContractPubkeyChanged, error)

ParsePubkeyChanged is a log parse operation binding the contract event 0x8186dbd5b7b59a23cc021ac204ef3930b9d607bc737eb3559fa463d1c50bb149.

Solidity: event PubkeyChanged(uint256 indexed tokenId, bytes32 x, bytes32 y)

func (*ContractFilterer) ParseReverseChanged

func (_Contract *ContractFilterer) ParseReverseChanged(log types.Log) (*ContractReverseChanged, error)

ParseReverseChanged is a log parse operation binding the contract event 0x8182102840fb14a103d318c10736b4d72c565a944cce4fcb84f7d7f00b89fdf8.

Solidity: event ReverseChanged(address indexed addr, bool isReverse)

func (*ContractFilterer) ParseTextChanged

func (_Contract *ContractFilterer) ParseTextChanged(log types.Log) (*ContractTextChanged, error)

ParseTextChanged is a log parse operation binding the contract event 0x7121d1b42aabab02ef111a84b9dc36375a901fd0635378f23df84878362f96c7.

Solidity: event TextChanged(uint256 indexed tokenId, string key, string value)

func (*ContractFilterer) WatchAddressChanged

func (_Contract *ContractFilterer) WatchAddressChanged(opts *bind.WatchOpts, sink chan<- *ContractAddressChanged) (event.Subscription, error)

WatchAddressChanged is a free log subscription operation binding the contract event 0x88c6f12b5d80135a1513a91ef6bea8f1e2f7e880e6512ac5ca1e06d8c4cd9455.

Solidity: event AddressChanged(uint256 tokenId, uint256 coinType, bytes newAddress)

func (*ContractFilterer) WatchContentHashChanged

func (_Contract *ContractFilterer) WatchContentHashChanged(opts *bind.WatchOpts, sink chan<- *ContractContentHashChanged, tokenId []*big.Int) (event.Subscription, error)

WatchContentHashChanged is a free log subscription operation binding the contract event 0x2cfa0a96c5f362560b63aae3d9d8822b14c57d16b78c940ffc27774fd2d4e850.

Solidity: event ContentHashChanged(uint256 indexed tokenId, bytes cid)

func (*ContractFilterer) WatchInitialized

func (_Contract *ContractFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) WatchPubkeyChanged

func (_Contract *ContractFilterer) WatchPubkeyChanged(opts *bind.WatchOpts, sink chan<- *ContractPubkeyChanged, tokenId []*big.Int) (event.Subscription, error)

WatchPubkeyChanged is a free log subscription operation binding the contract event 0x8186dbd5b7b59a23cc021ac204ef3930b9d607bc737eb3559fa463d1c50bb149.

Solidity: event PubkeyChanged(uint256 indexed tokenId, bytes32 x, bytes32 y)

func (*ContractFilterer) WatchReverseChanged

func (_Contract *ContractFilterer) WatchReverseChanged(opts *bind.WatchOpts, sink chan<- *ContractReverseChanged, addr []common.Address) (event.Subscription, error)

WatchReverseChanged is a free log subscription operation binding the contract event 0x8182102840fb14a103d318c10736b4d72c565a944cce4fcb84f7d7f00b89fdf8.

Solidity: event ReverseChanged(address indexed addr, bool isReverse)

func (*ContractFilterer) WatchTextChanged

func (_Contract *ContractFilterer) WatchTextChanged(opts *bind.WatchOpts, sink chan<- *ContractTextChanged, tokenId []*big.Int) (event.Subscription, error)

WatchTextChanged is a free log subscription operation binding the contract event 0x7121d1b42aabab02ef111a84b9dc36375a901fd0635378f23df84878362f96c7.

Solidity: event TextChanged(uint256 indexed tokenId, string key, string value)

type ContractInitialized

type ContractInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContractInitialized represents a Initialized event raised by the Contract contract.

type ContractInitializedIterator

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

ContractInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Contract contract.

func (*ContractInitializedIterator) Close

func (it *ContractInitializedIterator) Close() error

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

func (*ContractInitializedIterator) Error

func (it *ContractInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractInitializedIterator) Next

func (it *ContractInitializedIterator) 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 ContractPubkeyChanged

type ContractPubkeyChanged struct {
	TokenId *big.Int
	X       [32]byte
	Y       [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

ContractPubkeyChanged represents a PubkeyChanged event raised by the Contract contract.

type ContractPubkeyChangedIterator

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

ContractPubkeyChangedIterator is returned from FilterPubkeyChanged and is used to iterate over the raw logs and unpacked data for PubkeyChanged events raised by the Contract contract.

func (*ContractPubkeyChangedIterator) Close

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

func (*ContractPubkeyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractPubkeyChangedIterator) 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 ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractReverseChanged

type ContractReverseChanged struct {
	Addr      common.Address
	IsReverse bool
	Raw       types.Log // Blockchain specific contextual infos
}

ContractReverseChanged represents a ReverseChanged event raised by the Contract contract.

type ContractReverseChangedIterator

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

ContractReverseChangedIterator is returned from FilterReverseChanged and is used to iterate over the raw logs and unpacked data for ReverseChanged events raised by the Contract contract.

func (*ContractReverseChangedIterator) Close

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

func (*ContractReverseChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractReverseChangedIterator) 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 ContractSession

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

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

func (*ContractSession) Addr

func (_Contract *ContractSession) Addr(tokenId *big.Int, coinType *big.Int) ([]byte, error)

Addr is a free data retrieval call binding the contract method 0x724474cd.

Solidity: function addr(uint256 tokenId, uint256 coinType) view returns(bytes)

func (*ContractSession) ContentHash

func (_Contract *ContractSession) ContentHash(tokenId *big.Int) ([]byte, error)

ContentHash is a free data retrieval call binding the contract method 0xf3e0c290.

Solidity: function contentHash(uint256 tokenId) view returns(bytes)

func (*ContractSession) Initialize

func (_Contract *ContractSession) Initialize(DIDAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address DIDAddr) returns()

func (*ContractSession) Name

func (_Contract *ContractSession) Name(_addr common.Address) (string, error)

Name is a free data retrieval call binding the contract method 0x01984892.

Solidity: function name(address _addr) view returns(string)

func (*ContractSession) Pubkey

func (_Contract *ContractSession) Pubkey(tokenId *big.Int) (struct {
	X [32]byte
	Y [32]byte
}, error)

Pubkey is a free data retrieval call binding the contract method 0x2cdfb6ae.

Solidity: function pubkey(uint256 tokenId) view returns(bytes32 x, bytes32 y)

func (*ContractSession) SetAddr

func (_Contract *ContractSession) SetAddr(tokenId *big.Int, coinType *big.Int, _addr []byte) (*types.Transaction, error)

SetAddr is a paid mutator transaction binding the contract method 0xf0e44e75.

Solidity: function setAddr(uint256 tokenId, uint256 coinType, bytes _addr) returns()

func (*ContractSession) SetContentHash

func (_Contract *ContractSession) SetContentHash(tokenId *big.Int, cid []byte) (*types.Transaction, error)

SetContentHash is a paid mutator transaction binding the contract method 0x18d977f8.

Solidity: function setContentHash(uint256 tokenId, bytes cid) returns()

func (*ContractSession) SetPubkey

func (_Contract *ContractSession) SetPubkey(tokenId *big.Int, x [32]byte, y [32]byte) (*types.Transaction, error)

SetPubkey is a paid mutator transaction binding the contract method 0x0c1906ec.

Solidity: function setPubkey(uint256 tokenId, bytes32 x, bytes32 y) returns()

func (*ContractSession) SetReverse

func (_Contract *ContractSession) SetReverse(_addr common.Address, isReverse bool) (*types.Transaction, error)

SetReverse is a paid mutator transaction binding the contract method 0x943120d8.

Solidity: function setReverse(address _addr, bool isReverse) returns()

func (*ContractSession) SetText

func (_Contract *ContractSession) SetText(tokenId *big.Int, key string, value string) (*types.Transaction, error)

SetText is a paid mutator transaction binding the contract method 0x3fb24782.

Solidity: function setText(uint256 tokenId, string key, string value) returns()

func (*ContractSession) Text

func (_Contract *ContractSession) Text(tokenId *big.Int, key string) (string, error)

Text is a free data retrieval call binding the contract method 0x308e3386.

Solidity: function text(uint256 tokenId, string key) view returns(string)

type ContractTextChanged

type ContractTextChanged struct {
	TokenId *big.Int
	Key     string
	Value   string
	Raw     types.Log // Blockchain specific contextual infos
}

ContractTextChanged represents a TextChanged event raised by the Contract contract.

type ContractTextChangedIterator

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

ContractTextChangedIterator is returned from FilterTextChanged and is used to iterate over the raw logs and unpacked data for TextChanged events raised by the Contract contract.

func (*ContractTextChangedIterator) Close

func (it *ContractTextChangedIterator) Close() error

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

func (*ContractTextChangedIterator) Error

func (it *ContractTextChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractTextChangedIterator) Next

func (it *ContractTextChangedIterator) 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 ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) Initialize

func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, DIDAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address DIDAddr) returns()

func (*ContractTransactor) SetAddr

func (_Contract *ContractTransactor) SetAddr(opts *bind.TransactOpts, tokenId *big.Int, coinType *big.Int, _addr []byte) (*types.Transaction, error)

SetAddr is a paid mutator transaction binding the contract method 0xf0e44e75.

Solidity: function setAddr(uint256 tokenId, uint256 coinType, bytes _addr) returns()

func (*ContractTransactor) SetContentHash

func (_Contract *ContractTransactor) SetContentHash(opts *bind.TransactOpts, tokenId *big.Int, cid []byte) (*types.Transaction, error)

SetContentHash is a paid mutator transaction binding the contract method 0x18d977f8.

Solidity: function setContentHash(uint256 tokenId, bytes cid) returns()

func (*ContractTransactor) SetPubkey

func (_Contract *ContractTransactor) SetPubkey(opts *bind.TransactOpts, tokenId *big.Int, x [32]byte, y [32]byte) (*types.Transaction, error)

SetPubkey is a paid mutator transaction binding the contract method 0x0c1906ec.

Solidity: function setPubkey(uint256 tokenId, bytes32 x, bytes32 y) returns()

func (*ContractTransactor) SetReverse

func (_Contract *ContractTransactor) SetReverse(opts *bind.TransactOpts, _addr common.Address, isReverse bool) (*types.Transaction, error)

SetReverse is a paid mutator transaction binding the contract method 0x943120d8.

Solidity: function setReverse(address _addr, bool isReverse) returns()

func (*ContractTransactor) SetText

func (_Contract *ContractTransactor) SetText(opts *bind.TransactOpts, tokenId *big.Int, key string, value string) (*types.Transaction, error)

SetText is a paid mutator transaction binding the contract method 0x3fb24782.

Solidity: function setText(uint256 tokenId, string key, string value) returns()

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) Initialize

func (_Contract *ContractTransactorSession) Initialize(DIDAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address DIDAddr) returns()

func (*ContractTransactorSession) SetAddr

func (_Contract *ContractTransactorSession) SetAddr(tokenId *big.Int, coinType *big.Int, _addr []byte) (*types.Transaction, error)

SetAddr is a paid mutator transaction binding the contract method 0xf0e44e75.

Solidity: function setAddr(uint256 tokenId, uint256 coinType, bytes _addr) returns()

func (*ContractTransactorSession) SetContentHash

func (_Contract *ContractTransactorSession) SetContentHash(tokenId *big.Int, cid []byte) (*types.Transaction, error)

SetContentHash is a paid mutator transaction binding the contract method 0x18d977f8.

Solidity: function setContentHash(uint256 tokenId, bytes cid) returns()

func (*ContractTransactorSession) SetPubkey

func (_Contract *ContractTransactorSession) SetPubkey(tokenId *big.Int, x [32]byte, y [32]byte) (*types.Transaction, error)

SetPubkey is a paid mutator transaction binding the contract method 0x0c1906ec.

Solidity: function setPubkey(uint256 tokenId, bytes32 x, bytes32 y) returns()

func (*ContractTransactorSession) SetReverse

func (_Contract *ContractTransactorSession) SetReverse(_addr common.Address, isReverse bool) (*types.Transaction, error)

SetReverse is a paid mutator transaction binding the contract method 0x943120d8.

Solidity: function setReverse(address _addr, bool isReverse) returns()

func (*ContractTransactorSession) SetText

func (_Contract *ContractTransactorSession) SetText(tokenId *big.Int, key string, value string) (*types.Transaction, error)

SetText is a paid mutator transaction binding the contract method 0x3fb24782.

Solidity: function setText(uint256 tokenId, string key, string value) returns()

Jump to

Keyboard shortcuts

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