Documentation
¶
Index ¶
- Variables
- type AlastriaContracts
- type AlastriaContractsCaller
- func (_AlastriaContracts *AlastriaContractsCaller) GetPresentationStatus(opts *bind.CallOpts, subjectStatus uint8, receiverStatus uint8) (uint8, error)
- func (_AlastriaContracts *AlastriaContractsCaller) GetReceiverPresentationStatus(opts *bind.CallOpts, receiver common.Address, ...) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsCaller) GetSubjectPresentationList(opts *bind.CallOpts, subject common.Address) (*big.Int, [][32]byte, error)
- func (_AlastriaContracts *AlastriaContractsCaller) GetSubjectPresentationStatus(opts *bind.CallOpts, subject common.Address, subjectPresentationHash [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsCaller) PreviousPublishedVersion(opts *bind.CallOpts) (common.Address, error)
- func (_AlastriaContracts *AlastriaContractsCaller) SubjectPresentationListRegistry(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_AlastriaContracts *AlastriaContractsCaller) SubjectPresentationRegistry(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsCaller) Version(opts *bind.CallOpts) (*big.Int, error)
- type AlastriaContractsCallerRaw
- type AlastriaContractsCallerSession
- func (_AlastriaContracts *AlastriaContractsCallerSession) GetPresentationStatus(subjectStatus uint8, receiverStatus uint8) (uint8, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) GetReceiverPresentationStatus(receiver common.Address, receiverPresentationHash [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) GetSubjectPresentationList(subject common.Address) (*big.Int, [][32]byte, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) GetSubjectPresentationStatus(subject common.Address, subjectPresentationHash [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) PreviousPublishedVersion() (common.Address, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) SubjectPresentationListRegistry(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) SubjectPresentationRegistry(arg0 common.Address, arg1 [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsCallerSession) Version() (*big.Int, error)
- type AlastriaContractsFilterer
- func (_AlastriaContracts *AlastriaContractsFilterer) FilterPresentationUpdated(opts *bind.FilterOpts) (*AlastriaContractsPresentationUpdatedIterator, error)
- func (_AlastriaContracts *AlastriaContractsFilterer) ParsePresentationUpdated(log types.Log) (*AlastriaContractsPresentationUpdated, error)
- func (_AlastriaContracts *AlastriaContractsFilterer) WatchPresentationUpdated(opts *bind.WatchOpts, sink chan<- *AlastriaContractsPresentationUpdated) (event.Subscription, error)
- type AlastriaContractsPresentationUpdated
- type AlastriaContractsPresentationUpdatedIterator
- 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) AddSubjectPresentation(subjectPresentationHash [32]byte, URI string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsSession) GetPresentationStatus(subjectStatus uint8, receiverStatus uint8) (uint8, error)
- func (_AlastriaContracts *AlastriaContractsSession) GetReceiverPresentationStatus(receiver common.Address, receiverPresentationHash [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsSession) GetSubjectPresentationList(subject common.Address) (*big.Int, [][32]byte, error)
- func (_AlastriaContracts *AlastriaContractsSession) GetSubjectPresentationStatus(subject common.Address, subjectPresentationHash [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsSession) Initialize(_previousPublishedVersion common.Address) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsSession) PreviousPublishedVersion() (common.Address, error)
- func (_AlastriaContracts *AlastriaContractsSession) SubjectPresentationListRegistry(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_AlastriaContracts *AlastriaContractsSession) SubjectPresentationRegistry(arg0 common.Address, arg1 [32]byte) (struct{ ... }, error)
- func (_AlastriaContracts *AlastriaContractsSession) UpdateReceiverPresentation(receiverPresentationHash [32]byte, status uint8) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsSession) UpdateSubjectPresentation(subjectPresentationHash [32]byte, status uint8) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsSession) Version() (*big.Int, error)
- type AlastriaContractsTransactor
- func (_AlastriaContracts *AlastriaContractsTransactor) AddSubjectPresentation(opts *bind.TransactOpts, subjectPresentationHash [32]byte, URI string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactor) Initialize(opts *bind.TransactOpts, _previousPublishedVersion common.Address) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactor) UpdateReceiverPresentation(opts *bind.TransactOpts, receiverPresentationHash [32]byte, status uint8) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactor) UpdateSubjectPresentation(opts *bind.TransactOpts, subjectPresentationHash [32]byte, status uint8) (*types.Transaction, error)
- type AlastriaContractsTransactorRaw
- type AlastriaContractsTransactorSession
- func (_AlastriaContracts *AlastriaContractsTransactorSession) AddSubjectPresentation(subjectPresentationHash [32]byte, URI string) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactorSession) Initialize(_previousPublishedVersion common.Address) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactorSession) UpdateReceiverPresentation(receiverPresentationHash [32]byte, status uint8) (*types.Transaction, error)
- func (_AlastriaContracts *AlastriaContractsTransactorSession) UpdateSubjectPresentation(subjectPresentationHash [32]byte, status uint8) (*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\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"PresentationUpdated\",\"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\":\"subjectPresentationListRegistry\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"subjectPresentationRegistry\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"URI\",\"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\":\"bytes32\",\"name\":\"subjectPresentationHash\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"URI\",\"type\":\"string\"}],\"name\":\"addSubjectPresentation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"subjectPresentationHash\",\"type\":\"bytes32\"},{\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"updateSubjectPresentation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"subject\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"subjectPresentationHash\",\"type\":\"bytes32\"}],\"name\":\"getSubjectPresentationStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"subject\",\"type\":\"address\"}],\"name\":\"getSubjectPresentationList\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"receiverPresentationHash\",\"type\":\"bytes32\"},{\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"updateReceiverPresentation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"receiverPresentationHash\",\"type\":\"bytes32\"}],\"name\":\"getReceiverPresentationStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"subjectStatus\",\"type\":\"uint8\"},{\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"receiverStatus\",\"type\":\"uint8\"}],\"name\":\"getPresentationStatus\",\"outputs\":[{\"internalType\":\"enumAlastriaPresentationRegistry.Status\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"pure\",\"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) GetPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsCaller) GetPresentationStatus(opts *bind.CallOpts, subjectStatus uint8, receiverStatus uint8) (uint8, error)
GetPresentationStatus is a free data retrieval call binding the contract method 0x034f8408.
Solidity: function getPresentationStatus(uint8 subjectStatus, uint8 receiverStatus) pure returns(uint8)
func (*AlastriaContractsCaller) GetReceiverPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsCaller) GetReceiverPresentationStatus(opts *bind.CallOpts, receiver common.Address, receiverPresentationHash [32]byte) (struct { Exists bool Status uint8 }, error)
GetReceiverPresentationStatus is a free data retrieval call binding the contract method 0x9373014a.
Solidity: function getReceiverPresentationStatus(address receiver, bytes32 receiverPresentationHash) view returns(bool exists, uint8 status)
func (*AlastriaContractsCaller) GetSubjectPresentationList ¶
func (_AlastriaContracts *AlastriaContractsCaller) GetSubjectPresentationList(opts *bind.CallOpts, subject common.Address) (*big.Int, [][32]byte, error)
GetSubjectPresentationList is a free data retrieval call binding the contract method 0xc00dcd0e.
Solidity: function getSubjectPresentationList(address subject) view returns(uint256, bytes32[])
func (*AlastriaContractsCaller) GetSubjectPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsCaller) GetSubjectPresentationStatus(opts *bind.CallOpts, subject common.Address, subjectPresentationHash [32]byte) (struct { Exists bool Status uint8 }, error)
GetSubjectPresentationStatus is a free data retrieval call binding the contract method 0x5205080f.
Solidity: function getSubjectPresentationStatus(address subject, bytes32 subjectPresentationHash) view returns(bool exists, uint8 status)
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) SubjectPresentationListRegistry ¶
func (_AlastriaContracts *AlastriaContractsCaller) SubjectPresentationListRegistry(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([32]byte, error)
SubjectPresentationListRegistry is a free data retrieval call binding the contract method 0xe4734593.
Solidity: function subjectPresentationListRegistry(address , uint256 ) view returns(bytes32)
func (*AlastriaContractsCaller) SubjectPresentationRegistry ¶
func (_AlastriaContracts *AlastriaContractsCaller) SubjectPresentationRegistry(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (struct { Exists bool Status uint8 URI string }, error)
SubjectPresentationRegistry is a free data retrieval call binding the contract method 0x1e54e325.
Solidity: function subjectPresentationRegistry(address , bytes32 ) view returns(bool exists, uint8 status, string URI)
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) GetPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) GetPresentationStatus(subjectStatus uint8, receiverStatus uint8) (uint8, error)
GetPresentationStatus is a free data retrieval call binding the contract method 0x034f8408.
Solidity: function getPresentationStatus(uint8 subjectStatus, uint8 receiverStatus) pure returns(uint8)
func (*AlastriaContractsCallerSession) GetReceiverPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) GetReceiverPresentationStatus(receiver common.Address, receiverPresentationHash [32]byte) (struct { Exists bool Status uint8 }, error)
GetReceiverPresentationStatus is a free data retrieval call binding the contract method 0x9373014a.
Solidity: function getReceiverPresentationStatus(address receiver, bytes32 receiverPresentationHash) view returns(bool exists, uint8 status)
func (*AlastriaContractsCallerSession) GetSubjectPresentationList ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) GetSubjectPresentationList(subject common.Address) (*big.Int, [][32]byte, error)
GetSubjectPresentationList is a free data retrieval call binding the contract method 0xc00dcd0e.
Solidity: function getSubjectPresentationList(address subject) view returns(uint256, bytes32[])
func (*AlastriaContractsCallerSession) GetSubjectPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) GetSubjectPresentationStatus(subject common.Address, subjectPresentationHash [32]byte) (struct { Exists bool Status uint8 }, error)
GetSubjectPresentationStatus is a free data retrieval call binding the contract method 0x5205080f.
Solidity: function getSubjectPresentationStatus(address subject, bytes32 subjectPresentationHash) view returns(bool exists, uint8 status)
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) SubjectPresentationListRegistry ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) SubjectPresentationListRegistry(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
SubjectPresentationListRegistry is a free data retrieval call binding the contract method 0xe4734593.
Solidity: function subjectPresentationListRegistry(address , uint256 ) view returns(bytes32)
func (*AlastriaContractsCallerSession) SubjectPresentationRegistry ¶
func (_AlastriaContracts *AlastriaContractsCallerSession) SubjectPresentationRegistry(arg0 common.Address, arg1 [32]byte) (struct { Exists bool Status uint8 URI string }, error)
SubjectPresentationRegistry is a free data retrieval call binding the contract method 0x1e54e325.
Solidity: function subjectPresentationRegistry(address , bytes32 ) view returns(bool exists, uint8 status, string URI)
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) FilterPresentationUpdated ¶
func (_AlastriaContracts *AlastriaContractsFilterer) FilterPresentationUpdated(opts *bind.FilterOpts) (*AlastriaContractsPresentationUpdatedIterator, error)
FilterPresentationUpdated is a free log retrieval operation binding the contract event 0x52035ff46a15e119b23cfbf756f83f68ee8740523a40b78f621fdd44f091fb38.
Solidity: event PresentationUpdated(bytes32 hash, uint8 status)
func (*AlastriaContractsFilterer) ParsePresentationUpdated ¶
func (_AlastriaContracts *AlastriaContractsFilterer) ParsePresentationUpdated(log types.Log) (*AlastriaContractsPresentationUpdated, error)
ParsePresentationUpdated is a log parse operation binding the contract event 0x52035ff46a15e119b23cfbf756f83f68ee8740523a40b78f621fdd44f091fb38.
Solidity: event PresentationUpdated(bytes32 hash, uint8 status)
func (*AlastriaContractsFilterer) WatchPresentationUpdated ¶
func (_AlastriaContracts *AlastriaContractsFilterer) WatchPresentationUpdated(opts *bind.WatchOpts, sink chan<- *AlastriaContractsPresentationUpdated) (event.Subscription, error)
WatchPresentationUpdated is a free log subscription operation binding the contract event 0x52035ff46a15e119b23cfbf756f83f68ee8740523a40b78f621fdd44f091fb38.
Solidity: event PresentationUpdated(bytes32 hash, uint8 status)
type AlastriaContractsPresentationUpdated ¶
type AlastriaContractsPresentationUpdated struct { Hash [32]byte Status uint8 Raw types.Log // Blockchain specific contextual infos }
AlastriaContractsPresentationUpdated represents a PresentationUpdated event raised by the AlastriaContracts contract.
type AlastriaContractsPresentationUpdatedIterator ¶
type AlastriaContractsPresentationUpdatedIterator struct { Event *AlastriaContractsPresentationUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AlastriaContractsPresentationUpdatedIterator is returned from FilterPresentationUpdated and is used to iterate over the raw logs and unpacked data for PresentationUpdated events raised by the AlastriaContracts contract.
func (*AlastriaContractsPresentationUpdatedIterator) Close ¶
func (it *AlastriaContractsPresentationUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AlastriaContractsPresentationUpdatedIterator) Error ¶
func (it *AlastriaContractsPresentationUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AlastriaContractsPresentationUpdatedIterator) Next ¶
func (it *AlastriaContractsPresentationUpdatedIterator) 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) AddSubjectPresentation ¶
func (_AlastriaContracts *AlastriaContractsSession) AddSubjectPresentation(subjectPresentationHash [32]byte, URI string) (*types.Transaction, error)
AddSubjectPresentation is a paid mutator transaction binding the contract method 0x4e3a5de5.
Solidity: function addSubjectPresentation(bytes32 subjectPresentationHash, string URI) returns()
func (*AlastriaContractsSession) GetPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsSession) GetPresentationStatus(subjectStatus uint8, receiverStatus uint8) (uint8, error)
GetPresentationStatus is a free data retrieval call binding the contract method 0x034f8408.
Solidity: function getPresentationStatus(uint8 subjectStatus, uint8 receiverStatus) pure returns(uint8)
func (*AlastriaContractsSession) GetReceiverPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsSession) GetReceiverPresentationStatus(receiver common.Address, receiverPresentationHash [32]byte) (struct { Exists bool Status uint8 }, error)
GetReceiverPresentationStatus is a free data retrieval call binding the contract method 0x9373014a.
Solidity: function getReceiverPresentationStatus(address receiver, bytes32 receiverPresentationHash) view returns(bool exists, uint8 status)
func (*AlastriaContractsSession) GetSubjectPresentationList ¶
func (_AlastriaContracts *AlastriaContractsSession) GetSubjectPresentationList(subject common.Address) (*big.Int, [][32]byte, error)
GetSubjectPresentationList is a free data retrieval call binding the contract method 0xc00dcd0e.
Solidity: function getSubjectPresentationList(address subject) view returns(uint256, bytes32[])
func (*AlastriaContractsSession) GetSubjectPresentationStatus ¶
func (_AlastriaContracts *AlastriaContractsSession) GetSubjectPresentationStatus(subject common.Address, subjectPresentationHash [32]byte) (struct { Exists bool Status uint8 }, error)
GetSubjectPresentationStatus is a free data retrieval call binding the contract method 0x5205080f.
Solidity: function getSubjectPresentationStatus(address subject, bytes32 subjectPresentationHash) view returns(bool exists, uint8 status)
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) SubjectPresentationListRegistry ¶
func (_AlastriaContracts *AlastriaContractsSession) SubjectPresentationListRegistry(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
SubjectPresentationListRegistry is a free data retrieval call binding the contract method 0xe4734593.
Solidity: function subjectPresentationListRegistry(address , uint256 ) view returns(bytes32)
func (*AlastriaContractsSession) SubjectPresentationRegistry ¶
func (_AlastriaContracts *AlastriaContractsSession) SubjectPresentationRegistry(arg0 common.Address, arg1 [32]byte) (struct { Exists bool Status uint8 URI string }, error)
SubjectPresentationRegistry is a free data retrieval call binding the contract method 0x1e54e325.
Solidity: function subjectPresentationRegistry(address , bytes32 ) view returns(bool exists, uint8 status, string URI)
func (*AlastriaContractsSession) UpdateReceiverPresentation ¶
func (_AlastriaContracts *AlastriaContractsSession) UpdateReceiverPresentation(receiverPresentationHash [32]byte, status uint8) (*types.Transaction, error)
UpdateReceiverPresentation is a paid mutator transaction binding the contract method 0x3000dc39.
Solidity: function updateReceiverPresentation(bytes32 receiverPresentationHash, uint8 status) returns()
func (*AlastriaContractsSession) UpdateSubjectPresentation ¶
func (_AlastriaContracts *AlastriaContractsSession) UpdateSubjectPresentation(subjectPresentationHash [32]byte, status uint8) (*types.Transaction, error)
UpdateSubjectPresentation is a paid mutator transaction binding the contract method 0xe64af938.
Solidity: function updateSubjectPresentation(bytes32 subjectPresentationHash, uint8 status) 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) AddSubjectPresentation ¶
func (_AlastriaContracts *AlastriaContractsTransactor) AddSubjectPresentation(opts *bind.TransactOpts, subjectPresentationHash [32]byte, URI string) (*types.Transaction, error)
AddSubjectPresentation is a paid mutator transaction binding the contract method 0x4e3a5de5.
Solidity: function addSubjectPresentation(bytes32 subjectPresentationHash, string URI) 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) UpdateReceiverPresentation ¶
func (_AlastriaContracts *AlastriaContractsTransactor) UpdateReceiverPresentation(opts *bind.TransactOpts, receiverPresentationHash [32]byte, status uint8) (*types.Transaction, error)
UpdateReceiverPresentation is a paid mutator transaction binding the contract method 0x3000dc39.
Solidity: function updateReceiverPresentation(bytes32 receiverPresentationHash, uint8 status) returns()
func (*AlastriaContractsTransactor) UpdateSubjectPresentation ¶
func (_AlastriaContracts *AlastriaContractsTransactor) UpdateSubjectPresentation(opts *bind.TransactOpts, subjectPresentationHash [32]byte, status uint8) (*types.Transaction, error)
UpdateSubjectPresentation is a paid mutator transaction binding the contract method 0xe64af938.
Solidity: function updateSubjectPresentation(bytes32 subjectPresentationHash, uint8 status) 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) AddSubjectPresentation ¶
func (_AlastriaContracts *AlastriaContractsTransactorSession) AddSubjectPresentation(subjectPresentationHash [32]byte, URI string) (*types.Transaction, error)
AddSubjectPresentation is a paid mutator transaction binding the contract method 0x4e3a5de5.
Solidity: function addSubjectPresentation(bytes32 subjectPresentationHash, string URI) 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) UpdateReceiverPresentation ¶
func (_AlastriaContracts *AlastriaContractsTransactorSession) UpdateReceiverPresentation(receiverPresentationHash [32]byte, status uint8) (*types.Transaction, error)
UpdateReceiverPresentation is a paid mutator transaction binding the contract method 0x3000dc39.
Solidity: function updateReceiverPresentation(bytes32 receiverPresentationHash, uint8 status) returns()
func (*AlastriaContractsTransactorSession) UpdateSubjectPresentation ¶
func (_AlastriaContracts *AlastriaContractsTransactorSession) UpdateSubjectPresentation(subjectPresentationHash [32]byte, status uint8) (*types.Transaction, error)
UpdateSubjectPresentation is a paid mutator transaction binding the contract method 0xe64af938.
Solidity: function updateSubjectPresentation(bytes32 subjectPresentationHash, uint8 status) returns()