Documentation ¶
Index ¶
- Variables
- type AlastriaContracts
- type AlastriaContractsCaller
- func (_AlastriaContracts *AlastriaContractsCaller) GetCurrentPublicKey(opts *bind.CallOpts, subject common.Address) (string, error)
- func (_AlastriaContracts *AlastriaContractsCaller) GetPublicKeyStatus(opts *bind.CallOpts, subject common.Address, publicKey [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsCaller) PreviousPublishedVersion(opts *bind.CallOpts) (common.Address, error)
- func (_AlastriaContracts *AlastriaContractsCaller) PublicKeyList(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (string, error)
- func (_AlastriaContracts *AlastriaContractsCaller) Version(opts *bind.CallOpts) (*big.Int, error)
- type AlastriaContractsCallerRaw
- type AlastriaContractsCallerSession
- func (_AlastriaContracts *AlastriaContractsCallerSession) GetCurrentPublicKey(subject common.Address) (string, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) GetPublicKeyStatus(subject common.Address, publicKey [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) PreviousPublishedVersion() (common.Address, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) PublicKeyList(arg0 common.Address, arg1 *big.Int) (string, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) Version() (*big.Int, error)
- type AlastriaContractsFilterer
- func (_AlastriaContracts *AlastriaContractsFilterer) FilterPublicKeyDeleted(opts *bind.FilterOpts) (*AlastriaContractsPublicKeyDeletedIterator, error)
- func (_AlastriaContracts *AlastriaContractsFilterer) FilterPublicKeyRevoked(opts *bind.FilterOpts) (*AlastriaContractsPublicKeyRevokedIterator, error)
- func (_AlastriaContracts *AlastriaContractsFilterer) ParsePublicKeyDeleted(log types.Log) (*AlastriaContractsPublicKeyDeleted, error)
- func (_AlastriaContracts *AlastriaContractsFilterer) ParsePublicKeyRevoked(log types.Log) (*AlastriaContractsPublicKeyRevoked, error)
- func (_AlastriaContracts *AlastriaContractsFilterer) WatchPublicKeyDeleted(opts *bind.WatchOpts, sink chan<- *AlastriaContractsPublicKeyDeleted) (event.Subscription, error)
- func (_AlastriaContracts *AlastriaContractsFilterer) WatchPublicKeyRevoked(opts *bind.WatchOpts, sink chan<- *AlastriaContractsPublicKeyRevoked) (event.Subscription, error)
- type AlastriaContractsPublicKeyDeleted
- type AlastriaContractsPublicKeyDeletedIterator
- type AlastriaContractsPublicKeyRevoked
- type AlastriaContractsPublicKeyRevokedIterator
- type AlastriaContractsRaw
- func (_AlastriaContracts *AlastriaContractsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AlastriaContracts *AlastriaContractsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AlastriaContractsSession
- func (_AlastriaContracts *AlastriaContractsSession) AddKey(publicKey string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsSession) DeletePublicKey(publicKey string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsSession) GetCurrentPublicKey(subject common.Address) (string, error)
- func (_AlastriaContracts *AlastriaContractsSession) GetPublicKeyStatus(subject common.Address, publicKey [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsSession) Initialize(_previousPublishedVersion common.Address) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsSession) PreviousPublishedVersion() (common.Address, error)
- func (_AlastriaContracts *AlastriaContractsSession) PublicKeyList(arg0 common.Address, arg1 *big.Int) (string, error)
- func (_AlastriaContracts *AlastriaContractsSession) RevokePublicKey(publicKey string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsSession) Version() (*big.Int, error)
- type AlastriaContractsTransactor
- func (_AlastriaContracts *AlastriaContractsTransactor) AddKey(opts *bind.TransactOpts, publicKey string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactor) DeletePublicKey(opts *bind.TransactOpts, publicKey string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactor) Initialize(opts *bind.TransactOpts, _previousPublishedVersion common.Address) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactor) RevokePublicKey(opts *bind.TransactOpts, publicKey string) (*types.Transaction, error)
- type AlastriaContractsTransactorRaw
- type AlastriaContractsTransactorSession
- func (_AlastriaContracts *AlastriaContractsTransactorSession) AddKey(publicKey string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactorSession) DeletePublicKey(publicKey string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactorSession) Initialize(_previousPublishedVersion common.Address) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactorSession) RevokePublicKey(publicKey string) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var AlastriaContractsABI = AlastriaContractsMetaData.ABI
AlastriaContractsABI is the input ABI used to generate the binding from. Deprecated: Use AlastriaContractsMetaData.ABI instead.
var AlastriaContractsMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"publicKey\",\"type\":\"string\"}],\"name\":\"PublicKeyDeleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"publicKey\",\"type\":\"string\"}],\"name\":\"PublicKeyRevoked\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"previousPublishedVersion\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"publicKeyList\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_previousPublishedVersion\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"publicKey\",\"type\":\"string\"}],\"name\":\"addKey\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"publicKey\",\"type\":\"string\"}],\"name\":\"revokePublicKey\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"publicKey\",\"type\":\"string\"}],\"name\":\"deletePublicKey\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"subject\",\"type\":\"address\"}],\"name\":\"getCurrentPublicKey\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"subject\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"publicKey\",\"type\":\"bytes32\"}],\"name\":\"getPublicKeyStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"enumAlastriaPublicKeyRegistry.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startDate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endDate\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
AlastriaContractsMetaData contains all meta data concerning the AlastriaContracts contract.
Functions ¶
This section is empty.
Types ¶
type AlastriaContracts ¶
type AlastriaContracts struct { AlastriaContractsCaller // Read-only binding to the contract AlastriaContractsTransactor // Write-only binding to the contract AlastriaContractsFilterer // Log filterer for contract events }
AlastriaContracts is an auto generated Go binding around an Ethereum contract.
func NewAlastriaContracts ¶
func NewAlastriaContracts(address common.Address, backend bind.ContractBackend) (*AlastriaContracts, error)
NewAlastriaContracts creates a new instance of AlastriaContracts, bound to a specific deployed contract.
type AlastriaContractsCaller ¶
type AlastriaContractsCaller struct {
// contains filtered or unexported fields
}
AlastriaContractsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAlastriaContractsCaller ¶
func NewAlastriaContractsCaller(address common.Address, caller bind.ContractCaller) (*AlastriaContractsCaller, error)
NewAlastriaContractsCaller creates a new read-only instance of AlastriaContracts, bound to a specific deployed contract.
func (*AlastriaContractsCaller) GetCurrentPublicKey ¶
func (_AlastriaContracts *AlastriaContractsCaller) GetCurrentPublicKey(opts *bind.CallOpts, subject common.Address) (string, error)
GetCurrentPublicKey is a free data retrieval call binding the contract method 0x31f7f259.
Solidity: function getCurrentPublicKey(address subject) view returns(string)
func (*AlastriaContractsCaller) GetPublicKeyStatus ¶
func (_AlastriaContracts *AlastriaContractsCaller) GetPublicKeyStatus(opts *bind.CallOpts, subject common.Address, publicKey [32]byte) (struct { Exists bool Status uint8 StartDate *big.Int EndDate *big.Int }, error)
GetPublicKeyStatus is a free data retrieval call binding the contract method 0x1226f6a5.
Solidity: function getPublicKeyStatus(address subject, bytes32 publicKey) view returns(bool exists, uint8 status, uint256 startDate, uint256 endDate)
func (*AlastriaContractsCaller) PreviousPublishedVersion ¶
func (_AlastriaContracts *AlastriaContractsCaller) PreviousPublishedVersion(opts *bind.CallOpts) (common.Address, error)
PreviousPublishedVersion is a free data retrieval call binding the contract method 0x6104464f.
Solidity: function previousPublishedVersion() view returns(address)
func (*AlastriaContractsCaller) PublicKeyList ¶
func (_AlastriaContracts *AlastriaContractsCaller) PublicKeyList(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (string, error)
PublicKeyList is a free data retrieval call binding the contract method 0xc000ceee.
Solidity: function publicKeyList(address , uint256 ) view returns(string)
type AlastriaContractsCallerRaw ¶
type AlastriaContractsCallerRaw struct {
Contract *AlastriaContractsCaller // Generic read-only contract binding to access the raw methods on
}
AlastriaContractsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AlastriaContractsCallerRaw) Call ¶
func (_AlastriaContracts *AlastriaContractsCallerRaw) 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 AlastriaContractsCallerSession ¶
type AlastriaContractsCallerSession struct { Contract *AlastriaContractsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AlastriaContractsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AlastriaContractsCallerSession) GetCurrentPublicKey ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) GetCurrentPublicKey(subject common.Address) (string, error)
GetCurrentPublicKey is a free data retrieval call binding the contract method 0x31f7f259.
Solidity: function getCurrentPublicKey(address subject) view returns(string)
func (*AlastriaContractsCallerSession) GetPublicKeyStatus ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) GetPublicKeyStatus(subject common.Address, publicKey [32]byte) (struct { Exists bool Status uint8 StartDate *big.Int EndDate *big.Int }, error)
GetPublicKeyStatus is a free data retrieval call binding the contract method 0x1226f6a5.
Solidity: function getPublicKeyStatus(address subject, bytes32 publicKey) view returns(bool exists, uint8 status, uint256 startDate, uint256 endDate)
func (*AlastriaContractsCallerSession) PreviousPublishedVersion ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) PreviousPublishedVersion() (common.Address, error)
PreviousPublishedVersion is a free data retrieval call binding the contract method 0x6104464f.
Solidity: function previousPublishedVersion() view returns(address)
func (*AlastriaContractsCallerSession) PublicKeyList ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) PublicKeyList(arg0 common.Address, arg1 *big.Int) (string, error)
PublicKeyList is a free data retrieval call binding the contract method 0xc000ceee.
Solidity: function publicKeyList(address , uint256 ) view returns(string)
type AlastriaContractsFilterer ¶
type AlastriaContractsFilterer struct {
// contains filtered or unexported fields
}
AlastriaContractsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAlastriaContractsFilterer ¶
func NewAlastriaContractsFilterer(address common.Address, filterer bind.ContractFilterer) (*AlastriaContractsFilterer, error)
NewAlastriaContractsFilterer creates a new log filterer instance of AlastriaContracts, bound to a specific deployed contract.
func (*AlastriaContractsFilterer) FilterPublicKeyDeleted ¶
func (_AlastriaContracts *AlastriaContractsFilterer) FilterPublicKeyDeleted(opts *bind.FilterOpts) (*AlastriaContractsPublicKeyDeletedIterator, error)
FilterPublicKeyDeleted is a free log retrieval operation binding the contract event 0x590ada3b231515dd26dca05728f31024554fc0eca9ef33aa1d623bc4d7d5fd50.
Solidity: event PublicKeyDeleted(string publicKey)
func (*AlastriaContractsFilterer) FilterPublicKeyRevoked ¶
func (_AlastriaContracts *AlastriaContractsFilterer) FilterPublicKeyRevoked(opts *bind.FilterOpts) (*AlastriaContractsPublicKeyRevokedIterator, error)
FilterPublicKeyRevoked is a free log retrieval operation binding the contract event 0x41d9cf228775966745bd16590f046aff534ab47ea15fc80127ddae02abc8bf34.
Solidity: event PublicKeyRevoked(string publicKey)
func (*AlastriaContractsFilterer) ParsePublicKeyDeleted ¶
func (_AlastriaContracts *AlastriaContractsFilterer) ParsePublicKeyDeleted(log types.Log) (*AlastriaContractsPublicKeyDeleted, error)
ParsePublicKeyDeleted is a log parse operation binding the contract event 0x590ada3b231515dd26dca05728f31024554fc0eca9ef33aa1d623bc4d7d5fd50.
Solidity: event PublicKeyDeleted(string publicKey)
func (*AlastriaContractsFilterer) ParsePublicKeyRevoked ¶
func (_AlastriaContracts *AlastriaContractsFilterer) ParsePublicKeyRevoked(log types.Log) (*AlastriaContractsPublicKeyRevoked, error)
ParsePublicKeyRevoked is a log parse operation binding the contract event 0x41d9cf228775966745bd16590f046aff534ab47ea15fc80127ddae02abc8bf34.
Solidity: event PublicKeyRevoked(string publicKey)
func (*AlastriaContractsFilterer) WatchPublicKeyDeleted ¶
func (_AlastriaContracts *AlastriaContractsFilterer) WatchPublicKeyDeleted(opts *bind.WatchOpts, sink chan<- *AlastriaContractsPublicKeyDeleted) (event.Subscription, error)
WatchPublicKeyDeleted is a free log subscription operation binding the contract event 0x590ada3b231515dd26dca05728f31024554fc0eca9ef33aa1d623bc4d7d5fd50.
Solidity: event PublicKeyDeleted(string publicKey)
func (*AlastriaContractsFilterer) WatchPublicKeyRevoked ¶
func (_AlastriaContracts *AlastriaContractsFilterer) WatchPublicKeyRevoked(opts *bind.WatchOpts, sink chan<- *AlastriaContractsPublicKeyRevoked) (event.Subscription, error)
WatchPublicKeyRevoked is a free log subscription operation binding the contract event 0x41d9cf228775966745bd16590f046aff534ab47ea15fc80127ddae02abc8bf34.
Solidity: event PublicKeyRevoked(string publicKey)
type AlastriaContractsPublicKeyDeleted ¶
type AlastriaContractsPublicKeyDeleted struct { PublicKey string Raw types.Log // Blockchain specific contextual infos }
AlastriaContractsPublicKeyDeleted represents a PublicKeyDeleted event raised by the AlastriaContracts contract.
type AlastriaContractsPublicKeyDeletedIterator ¶
type AlastriaContractsPublicKeyDeletedIterator struct { Event *AlastriaContractsPublicKeyDeleted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AlastriaContractsPublicKeyDeletedIterator is returned from FilterPublicKeyDeleted and is used to iterate over the raw logs and unpacked data for PublicKeyDeleted events raised by the AlastriaContracts contract.
func (*AlastriaContractsPublicKeyDeletedIterator) Close ¶
func (it *AlastriaContractsPublicKeyDeletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AlastriaContractsPublicKeyDeletedIterator) Error ¶
func (it *AlastriaContractsPublicKeyDeletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AlastriaContractsPublicKeyDeletedIterator) Next ¶
func (it *AlastriaContractsPublicKeyDeletedIterator) 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 AlastriaContractsPublicKeyRevoked ¶
type AlastriaContractsPublicKeyRevoked struct { PublicKey string Raw types.Log // Blockchain specific contextual infos }
AlastriaContractsPublicKeyRevoked represents a PublicKeyRevoked event raised by the AlastriaContracts contract.
type AlastriaContractsPublicKeyRevokedIterator ¶
type AlastriaContractsPublicKeyRevokedIterator struct { Event *AlastriaContractsPublicKeyRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AlastriaContractsPublicKeyRevokedIterator is returned from FilterPublicKeyRevoked and is used to iterate over the raw logs and unpacked data for PublicKeyRevoked events raised by the AlastriaContracts contract.
func (*AlastriaContractsPublicKeyRevokedIterator) Close ¶
func (it *AlastriaContractsPublicKeyRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AlastriaContractsPublicKeyRevokedIterator) Error ¶
func (it *AlastriaContractsPublicKeyRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AlastriaContractsPublicKeyRevokedIterator) Next ¶
func (it *AlastriaContractsPublicKeyRevokedIterator) 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 AlastriaContractsRaw ¶
type AlastriaContractsRaw struct {
Contract *AlastriaContracts // Generic contract binding to access the raw methods on
}
AlastriaContractsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AlastriaContractsRaw) Call ¶
func (_AlastriaContracts *AlastriaContractsRaw) 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 (*AlastriaContractsRaw) Transact ¶
func (_AlastriaContracts *AlastriaContractsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AlastriaContractsRaw) Transfer ¶
func (_AlastriaContracts *AlastriaContractsRaw) 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 AlastriaContractsSession ¶
type AlastriaContractsSession struct { Contract *AlastriaContracts // 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 }
AlastriaContractsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AlastriaContractsSession) AddKey ¶
func (_AlastriaContracts *AlastriaContractsSession) AddKey(publicKey string) (*types.Transaction, error)
AddKey is a paid mutator transaction binding the contract method 0x50382c1a.
Solidity: function addKey(string publicKey) returns()
func (*AlastriaContractsSession) DeletePublicKey ¶
func (_AlastriaContracts *AlastriaContractsSession) DeletePublicKey(publicKey string) (*types.Transaction, error)
DeletePublicKey is a paid mutator transaction binding the contract method 0x36241962.
Solidity: function deletePublicKey(string publicKey) returns()
func (*AlastriaContractsSession) GetCurrentPublicKey ¶
func (_AlastriaContracts *AlastriaContractsSession) GetCurrentPublicKey(subject common.Address) (string, error)
GetCurrentPublicKey is a free data retrieval call binding the contract method 0x31f7f259.
Solidity: function getCurrentPublicKey(address subject) view returns(string)
func (*AlastriaContractsSession) GetPublicKeyStatus ¶
func (_AlastriaContracts *AlastriaContractsSession) GetPublicKeyStatus(subject common.Address, publicKey [32]byte) (struct { Exists bool Status uint8 StartDate *big.Int EndDate *big.Int }, error)
GetPublicKeyStatus is a free data retrieval call binding the contract method 0x1226f6a5.
Solidity: function getPublicKeyStatus(address subject, bytes32 publicKey) view returns(bool exists, uint8 status, uint256 startDate, uint256 endDate)
func (*AlastriaContractsSession) Initialize ¶
func (_AlastriaContracts *AlastriaContractsSession) Initialize(_previousPublishedVersion common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _previousPublishedVersion) returns()
func (*AlastriaContractsSession) PreviousPublishedVersion ¶
func (_AlastriaContracts *AlastriaContractsSession) PreviousPublishedVersion() (common.Address, error)
PreviousPublishedVersion is a free data retrieval call binding the contract method 0x6104464f.
Solidity: function previousPublishedVersion() view returns(address)
func (*AlastriaContractsSession) PublicKeyList ¶
func (_AlastriaContracts *AlastriaContractsSession) PublicKeyList(arg0 common.Address, arg1 *big.Int) (string, error)
PublicKeyList is a free data retrieval call binding the contract method 0xc000ceee.
Solidity: function publicKeyList(address , uint256 ) view returns(string)
func (*AlastriaContractsSession) RevokePublicKey ¶
func (_AlastriaContracts *AlastriaContractsSession) RevokePublicKey(publicKey string) (*types.Transaction, error)
RevokePublicKey is a paid mutator transaction binding the contract method 0xd16df8ec.
Solidity: function revokePublicKey(string publicKey) returns()
type AlastriaContractsTransactor ¶
type AlastriaContractsTransactor struct {
// contains filtered or unexported fields
}
AlastriaContractsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAlastriaContractsTransactor ¶
func NewAlastriaContractsTransactor(address common.Address, transactor bind.ContractTransactor) (*AlastriaContractsTransactor, error)
NewAlastriaContractsTransactor creates a new write-only instance of AlastriaContracts, bound to a specific deployed contract.
func (*AlastriaContractsTransactor) AddKey ¶
func (_AlastriaContracts *AlastriaContractsTransactor) AddKey(opts *bind.TransactOpts, publicKey string) (*types.Transaction, error)
AddKey is a paid mutator transaction binding the contract method 0x50382c1a.
Solidity: function addKey(string publicKey) returns()
func (*AlastriaContractsTransactor) DeletePublicKey ¶
func (_AlastriaContracts *AlastriaContractsTransactor) DeletePublicKey(opts *bind.TransactOpts, publicKey string) (*types.Transaction, error)
DeletePublicKey is a paid mutator transaction binding the contract method 0x36241962.
Solidity: function deletePublicKey(string publicKey) returns()
func (*AlastriaContractsTransactor) Initialize ¶
func (_AlastriaContracts *AlastriaContractsTransactor) Initialize(opts *bind.TransactOpts, _previousPublishedVersion common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _previousPublishedVersion) returns()
func (*AlastriaContractsTransactor) RevokePublicKey ¶
func (_AlastriaContracts *AlastriaContractsTransactor) RevokePublicKey(opts *bind.TransactOpts, publicKey string) (*types.Transaction, error)
RevokePublicKey is a paid mutator transaction binding the contract method 0xd16df8ec.
Solidity: function revokePublicKey(string publicKey) returns()
type AlastriaContractsTransactorRaw ¶
type AlastriaContractsTransactorRaw struct {
Contract *AlastriaContractsTransactor // Generic write-only contract binding to access the raw methods on
}
AlastriaContractsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AlastriaContractsTransactorRaw) Transact ¶
func (_AlastriaContracts *AlastriaContractsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AlastriaContractsTransactorRaw) Transfer ¶
func (_AlastriaContracts *AlastriaContractsTransactorRaw) 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 AlastriaContractsTransactorSession ¶
type AlastriaContractsTransactorSession struct { Contract *AlastriaContractsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AlastriaContractsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AlastriaContractsTransactorSession) AddKey ¶
func (_AlastriaContracts *AlastriaContractsTransactorSession) AddKey(publicKey string) (*types.Transaction, error)
AddKey is a paid mutator transaction binding the contract method 0x50382c1a.
Solidity: function addKey(string publicKey) returns()
func (*AlastriaContractsTransactorSession) DeletePublicKey ¶
func (_AlastriaContracts *AlastriaContractsTransactorSession) DeletePublicKey(publicKey string) (*types.Transaction, error)
DeletePublicKey is a paid mutator transaction binding the contract method 0x36241962.
Solidity: function deletePublicKey(string publicKey) returns()
func (*AlastriaContractsTransactorSession) Initialize ¶
func (_AlastriaContracts *AlastriaContractsTransactorSession) Initialize(_previousPublishedVersion common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _previousPublishedVersion) returns()
func (*AlastriaContractsTransactorSession) RevokePublicKey ¶
func (_AlastriaContracts *AlastriaContractsTransactorSession) RevokePublicKey(publicKey string) (*types.Transaction, error)
RevokePublicKey is a paid mutator transaction binding the contract method 0xd16df8ec.
Solidity: function revokePublicKey(string publicKey) returns()