Documentation ¶
Index ¶
- Constants
- Variables
- type FileMeta
- type FileMetaAdminChanged
- type FileMetaAdminChangedIterator
- type FileMetaBeaconUpgraded
- type FileMetaBeaconUpgradedIterator
- type FileMetaCaller
- func (_FileMeta *FileMetaCaller) GetFileMeta(opts *bind.CallOpts, cid string) (FileMetaFileMetaData, error)
- func (_FileMeta *FileMetaCaller) GetImplementation(opts *bind.CallOpts) (common.Address, error)
- func (_FileMeta *FileMetaCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_FileMeta *FileMetaCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- type FileMetaCallerRaw
- type FileMetaCallerSession
- func (_FileMeta *FileMetaCallerSession) GetFileMeta(cid string) (FileMetaFileMetaData, error)
- func (_FileMeta *FileMetaCallerSession) GetImplementation() (common.Address, error)
- func (_FileMeta *FileMetaCallerSession) Owner() (common.Address, error)
- func (_FileMeta *FileMetaCallerSession) ProxiableUUID() ([32]byte, error)
- type FileMetaEventAddFileMeta
- type FileMetaEventAddFileMetaIterator
- type FileMetaEventDeleteFileMeta
- type FileMetaEventDeleteFileMetaIterator
- type FileMetaFileMetaData
- type FileMetaFilterer
- func (_FileMeta *FileMetaFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*FileMetaAdminChangedIterator, error)
- func (_FileMeta *FileMetaFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*FileMetaBeaconUpgradedIterator, error)
- func (_FileMeta *FileMetaFilterer) FilterEventAddFileMeta(opts *bind.FilterOpts) (*FileMetaEventAddFileMetaIterator, error)
- func (_FileMeta *FileMetaFilterer) FilterEventDeleteFileMeta(opts *bind.FilterOpts) (*FileMetaEventDeleteFileMetaIterator, error)
- func (_FileMeta *FileMetaFilterer) FilterInitialized(opts *bind.FilterOpts) (*FileMetaInitializedIterator, error)
- func (_FileMeta *FileMetaFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*FileMetaOwnershipTransferredIterator, error)
- func (_FileMeta *FileMetaFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*FileMetaUpgradedIterator, error)
- func (_FileMeta *FileMetaFilterer) ParseAdminChanged(log types.Log) (*FileMetaAdminChanged, error)
- func (_FileMeta *FileMetaFilterer) ParseBeaconUpgraded(log types.Log) (*FileMetaBeaconUpgraded, error)
- func (_FileMeta *FileMetaFilterer) ParseEventAddFileMeta(log types.Log) (*FileMetaEventAddFileMeta, error)
- func (_FileMeta *FileMetaFilterer) ParseEventDeleteFileMeta(log types.Log) (*FileMetaEventDeleteFileMeta, error)
- func (_FileMeta *FileMetaFilterer) ParseInitialized(log types.Log) (*FileMetaInitialized, error)
- func (_FileMeta *FileMetaFilterer) ParseOwnershipTransferred(log types.Log) (*FileMetaOwnershipTransferred, error)
- func (_FileMeta *FileMetaFilterer) ParseUpgraded(log types.Log) (*FileMetaUpgraded, error)
- func (_FileMeta *FileMetaFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *FileMetaAdminChanged) (event.Subscription, error)
- func (_FileMeta *FileMetaFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *FileMetaBeaconUpgraded, ...) (event.Subscription, error)
- func (_FileMeta *FileMetaFilterer) WatchEventAddFileMeta(opts *bind.WatchOpts, sink chan<- *FileMetaEventAddFileMeta) (event.Subscription, error)
- func (_FileMeta *FileMetaFilterer) WatchEventDeleteFileMeta(opts *bind.WatchOpts, sink chan<- *FileMetaEventDeleteFileMeta) (event.Subscription, error)
- func (_FileMeta *FileMetaFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FileMetaInitialized) (event.Subscription, error)
- func (_FileMeta *FileMetaFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FileMetaOwnershipTransferred, ...) (event.Subscription, error)
- func (_FileMeta *FileMetaFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *FileMetaUpgraded, ...) (event.Subscription, error)
- type FileMetaInitialized
- type FileMetaInitializedIterator
- type FileMetaOwnershipTransferred
- type FileMetaOwnershipTransferredIterator
- type FileMetaRaw
- func (_FileMeta *FileMetaRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FileMeta *FileMetaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FileMeta *FileMetaRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FileMetaSession
- func (_FileMeta *FileMetaSession) AddFileMeta(cid string, metaData FileMetaFileMetaData) (*types.Transaction, error)
- func (_FileMeta *FileMetaSession) DeleteFileMeta(cid string) (*types.Transaction, error)
- func (_FileMeta *FileMetaSession) GetFileMeta(cid string) (FileMetaFileMetaData, error)
- func (_FileMeta *FileMetaSession) GetImplementation() (common.Address, error)
- func (_FileMeta *FileMetaSession) Initialize() (*types.Transaction, error)
- func (_FileMeta *FileMetaSession) Owner() (common.Address, error)
- func (_FileMeta *FileMetaSession) ProxiableUUID() ([32]byte, error)
- func (_FileMeta *FileMetaSession) RenounceOwnership() (*types.Transaction, error)
- func (_FileMeta *FileMetaSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_FileMeta *FileMetaSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_FileMeta *FileMetaSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type FileMetaTransactor
- func (_FileMeta *FileMetaTransactor) AddFileMeta(opts *bind.TransactOpts, cid string, metaData FileMetaFileMetaData) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactor) DeleteFileMeta(opts *bind.TransactOpts, cid string) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type FileMetaTransactorRaw
- type FileMetaTransactorSession
- func (_FileMeta *FileMetaTransactorSession) AddFileMeta(cid string, metaData FileMetaFileMetaData) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactorSession) DeleteFileMeta(cid string) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactorSession) Initialize() (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_FileMeta *FileMetaTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type FileMetaUpgraded
- type FileMetaUpgradedIterator
Constants ¶
const Erc20ABI = `` /* 3889-byte string literal not displayed */
const FactoryDeployedBin = "" /* 3250-byte string literal not displayed */
Current VaultFactory bytecode
const FactoryDeployedBinV1 = "" /* 3004-byte string literal not displayed */
const FactoryDeployedBinV2 = "" /* 3250-byte string literal not displayed */
const MutiOracleAbi = `` /* 3813-byte string literal not displayed */
const MutiVaultABI2 = `` /* 10532-byte string literal not displayed */
const OracleAbi2 = `` /* 3332-byte string literal not displayed */
const VaultABI = `` /* 6232-byte string literal not displayed */
const VaultFactoryABI = `` /* 2310-byte string literal not displayed */
Variables ¶
var FileMetaABI = FileMetaMetaData.ABI
FileMetaABI is the input ABI used to generate the binding from. Deprecated: Use FileMetaMetaData.ABI instead.
var FileMetaMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"ownerPeerId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"fileExt\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"isDir\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"fileSize\",\"type\":\"uint256\"}],\"internalType\":\"structFileMeta.FileMetaData\",\"name\":\"metaData\",\"type\":\"tuple\"}],\"name\":\"AddFileMeta\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"DeleteFileMeta\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"ownerPeerId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"fileExt\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"isDir\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"fileSize\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structFileMeta.FileMetaData\",\"name\":\"metaData\",\"type\":\"tuple\"}],\"name\":\"eventAddFileMeta\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"eventDeleteFileMeta\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"GetFileMeta\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"ownerPeerId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"fileExt\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"isDir\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"fileSize\",\"type\":\"uint256\"}],\"internalType\":\"structFileMeta.FileMetaData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
FileMetaMetaData contains all meta data concerning the FileMeta contract.
Functions ¶
This section is empty.
Types ¶
type FileMeta ¶
type FileMeta struct { FileMetaCaller // Read-only binding to the contract FileMetaTransactor // Write-only binding to the contract FileMetaFilterer // Log filterer for contract events }
FileMeta is an auto generated Go binding around an Ethereum contract.
func NewFileMeta ¶
NewFileMeta creates a new instance of FileMeta, bound to a specific deployed contract.
type FileMetaAdminChanged ¶
type FileMetaAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
FileMetaAdminChanged represents a AdminChanged event raised by the FileMeta contract.
type FileMetaAdminChangedIterator ¶
type FileMetaAdminChangedIterator struct { Event *FileMetaAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FileMetaAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the FileMeta contract.
func (*FileMetaAdminChangedIterator) Close ¶
func (it *FileMetaAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FileMetaAdminChangedIterator) Error ¶
func (it *FileMetaAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FileMetaAdminChangedIterator) Next ¶
func (it *FileMetaAdminChangedIterator) 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 FileMetaBeaconUpgraded ¶
type FileMetaBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
FileMetaBeaconUpgraded represents a BeaconUpgraded event raised by the FileMeta contract.
type FileMetaBeaconUpgradedIterator ¶
type FileMetaBeaconUpgradedIterator struct { Event *FileMetaBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FileMetaBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the FileMeta contract.
func (*FileMetaBeaconUpgradedIterator) Close ¶
func (it *FileMetaBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FileMetaBeaconUpgradedIterator) Error ¶
func (it *FileMetaBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FileMetaBeaconUpgradedIterator) Next ¶
func (it *FileMetaBeaconUpgradedIterator) 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 FileMetaCaller ¶
type FileMetaCaller struct {
// contains filtered or unexported fields
}
FileMetaCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFileMetaCaller ¶
func NewFileMetaCaller(address common.Address, caller bind.ContractCaller) (*FileMetaCaller, error)
NewFileMetaCaller creates a new read-only instance of FileMeta, bound to a specific deployed contract.
func (*FileMetaCaller) GetFileMeta ¶
func (_FileMeta *FileMetaCaller) GetFileMeta(opts *bind.CallOpts, cid string) (FileMetaFileMetaData, error)
GetFileMeta is a free data retrieval call binding the contract method 0x7d21ecd0.
Solidity: function GetFileMeta(string cid) view returns((string,address,string,string,bool,uint256))
func (*FileMetaCaller) GetImplementation ¶
GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
Solidity: function getImplementation() view returns(address)
func (*FileMetaCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FileMetaCaller) ProxiableUUID ¶
func (_FileMeta *FileMetaCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
type FileMetaCallerRaw ¶
type FileMetaCallerRaw struct {
Contract *FileMetaCaller // Generic read-only contract binding to access the raw methods on
}
FileMetaCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FileMetaCallerRaw) Call ¶
func (_FileMeta *FileMetaCallerRaw) 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 FileMetaCallerSession ¶
type FileMetaCallerSession struct { Contract *FileMetaCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FileMetaCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FileMetaCallerSession) GetFileMeta ¶
func (_FileMeta *FileMetaCallerSession) GetFileMeta(cid string) (FileMetaFileMetaData, error)
GetFileMeta is a free data retrieval call binding the contract method 0x7d21ecd0.
Solidity: function GetFileMeta(string cid) view returns((string,address,string,string,bool,uint256))
func (*FileMetaCallerSession) GetImplementation ¶
func (_FileMeta *FileMetaCallerSession) GetImplementation() (common.Address, error)
GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
Solidity: function getImplementation() view returns(address)
func (*FileMetaCallerSession) Owner ¶
func (_FileMeta *FileMetaCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FileMetaCallerSession) ProxiableUUID ¶
func (_FileMeta *FileMetaCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
type FileMetaEventAddFileMeta ¶
type FileMetaEventAddFileMeta struct { Cid string MetaData FileMetaFileMetaData Raw types.Log // Blockchain specific contextual infos }
FileMetaEventAddFileMeta represents a EventAddFileMeta event raised by the FileMeta contract.
type FileMetaEventAddFileMetaIterator ¶
type FileMetaEventAddFileMetaIterator struct { Event *FileMetaEventAddFileMeta // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FileMetaEventAddFileMetaIterator is returned from FilterEventAddFileMeta and is used to iterate over the raw logs and unpacked data for EventAddFileMeta events raised by the FileMeta contract.
func (*FileMetaEventAddFileMetaIterator) Close ¶
func (it *FileMetaEventAddFileMetaIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FileMetaEventAddFileMetaIterator) Error ¶
func (it *FileMetaEventAddFileMetaIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FileMetaEventAddFileMetaIterator) Next ¶
func (it *FileMetaEventAddFileMetaIterator) 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 FileMetaEventDeleteFileMeta ¶
type FileMetaEventDeleteFileMeta struct { Cid string Raw types.Log // Blockchain specific contextual infos }
FileMetaEventDeleteFileMeta represents a EventDeleteFileMeta event raised by the FileMeta contract.
type FileMetaEventDeleteFileMetaIterator ¶
type FileMetaEventDeleteFileMetaIterator struct { Event *FileMetaEventDeleteFileMeta // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FileMetaEventDeleteFileMetaIterator is returned from FilterEventDeleteFileMeta and is used to iterate over the raw logs and unpacked data for EventDeleteFileMeta events raised by the FileMeta contract.
func (*FileMetaEventDeleteFileMetaIterator) Close ¶
func (it *FileMetaEventDeleteFileMetaIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FileMetaEventDeleteFileMetaIterator) Error ¶
func (it *FileMetaEventDeleteFileMetaIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FileMetaEventDeleteFileMetaIterator) Next ¶
func (it *FileMetaEventDeleteFileMetaIterator) 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 FileMetaFileMetaData ¶
type FileMetaFileMetaData struct { OwnerPeerId string From common.Address FileName string FileExt string IsDir bool FileSize *big.Int }
FileMetaFileMetaData is an auto generated low-level Go binding around an user-defined struct.
type FileMetaFilterer ¶
type FileMetaFilterer struct {
// contains filtered or unexported fields
}
FileMetaFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFileMetaFilterer ¶
func NewFileMetaFilterer(address common.Address, filterer bind.ContractFilterer) (*FileMetaFilterer, error)
NewFileMetaFilterer creates a new log filterer instance of FileMeta, bound to a specific deployed contract.
func (*FileMetaFilterer) FilterAdminChanged ¶
func (_FileMeta *FileMetaFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*FileMetaAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*FileMetaFilterer) FilterBeaconUpgraded ¶
func (_FileMeta *FileMetaFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*FileMetaBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*FileMetaFilterer) FilterEventAddFileMeta ¶
func (_FileMeta *FileMetaFilterer) FilterEventAddFileMeta(opts *bind.FilterOpts) (*FileMetaEventAddFileMetaIterator, error)
FilterEventAddFileMeta is a free log retrieval operation binding the contract event 0x5858f0194a72c3a15e5d5f94dbbb35a90af87476e958f990a6fc31db87a16b95.
Solidity: event eventAddFileMeta(string cid, (string,address,string,string,bool,uint256) metaData)
func (*FileMetaFilterer) FilterEventDeleteFileMeta ¶
func (_FileMeta *FileMetaFilterer) FilterEventDeleteFileMeta(opts *bind.FilterOpts) (*FileMetaEventDeleteFileMetaIterator, error)
FilterEventDeleteFileMeta is a free log retrieval operation binding the contract event 0x75ab1296ebe483fe9506fccbfe8a4743edf9ef6cf8802c2c28c652dfa948e412.
Solidity: event eventDeleteFileMeta(string cid)
func (*FileMetaFilterer) FilterInitialized ¶
func (_FileMeta *FileMetaFilterer) FilterInitialized(opts *bind.FilterOpts) (*FileMetaInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*FileMetaFilterer) FilterOwnershipTransferred ¶
func (_FileMeta *FileMetaFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FileMetaOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*FileMetaFilterer) FilterUpgraded ¶
func (_FileMeta *FileMetaFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*FileMetaUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*FileMetaFilterer) ParseAdminChanged ¶
func (_FileMeta *FileMetaFilterer) ParseAdminChanged(log types.Log) (*FileMetaAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*FileMetaFilterer) ParseBeaconUpgraded ¶
func (_FileMeta *FileMetaFilterer) ParseBeaconUpgraded(log types.Log) (*FileMetaBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*FileMetaFilterer) ParseEventAddFileMeta ¶
func (_FileMeta *FileMetaFilterer) ParseEventAddFileMeta(log types.Log) (*FileMetaEventAddFileMeta, error)
ParseEventAddFileMeta is a log parse operation binding the contract event 0x5858f0194a72c3a15e5d5f94dbbb35a90af87476e958f990a6fc31db87a16b95.
Solidity: event eventAddFileMeta(string cid, (string,address,string,string,bool,uint256) metaData)
func (*FileMetaFilterer) ParseEventDeleteFileMeta ¶
func (_FileMeta *FileMetaFilterer) ParseEventDeleteFileMeta(log types.Log) (*FileMetaEventDeleteFileMeta, error)
ParseEventDeleteFileMeta is a log parse operation binding the contract event 0x75ab1296ebe483fe9506fccbfe8a4743edf9ef6cf8802c2c28c652dfa948e412.
Solidity: event eventDeleteFileMeta(string cid)
func (*FileMetaFilterer) ParseInitialized ¶
func (_FileMeta *FileMetaFilterer) ParseInitialized(log types.Log) (*FileMetaInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*FileMetaFilterer) ParseOwnershipTransferred ¶
func (_FileMeta *FileMetaFilterer) ParseOwnershipTransferred(log types.Log) (*FileMetaOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*FileMetaFilterer) ParseUpgraded ¶
func (_FileMeta *FileMetaFilterer) ParseUpgraded(log types.Log) (*FileMetaUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*FileMetaFilterer) WatchAdminChanged ¶
func (_FileMeta *FileMetaFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *FileMetaAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*FileMetaFilterer) WatchBeaconUpgraded ¶
func (_FileMeta *FileMetaFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *FileMetaBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*FileMetaFilterer) WatchEventAddFileMeta ¶
func (_FileMeta *FileMetaFilterer) WatchEventAddFileMeta(opts *bind.WatchOpts, sink chan<- *FileMetaEventAddFileMeta) (event.Subscription, error)
WatchEventAddFileMeta is a free log subscription operation binding the contract event 0x5858f0194a72c3a15e5d5f94dbbb35a90af87476e958f990a6fc31db87a16b95.
Solidity: event eventAddFileMeta(string cid, (string,address,string,string,bool,uint256) metaData)
func (*FileMetaFilterer) WatchEventDeleteFileMeta ¶
func (_FileMeta *FileMetaFilterer) WatchEventDeleteFileMeta(opts *bind.WatchOpts, sink chan<- *FileMetaEventDeleteFileMeta) (event.Subscription, error)
WatchEventDeleteFileMeta is a free log subscription operation binding the contract event 0x75ab1296ebe483fe9506fccbfe8a4743edf9ef6cf8802c2c28c652dfa948e412.
Solidity: event eventDeleteFileMeta(string cid)
func (*FileMetaFilterer) WatchInitialized ¶
func (_FileMeta *FileMetaFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FileMetaInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*FileMetaFilterer) WatchOwnershipTransferred ¶
func (_FileMeta *FileMetaFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FileMetaOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*FileMetaFilterer) WatchUpgraded ¶
func (_FileMeta *FileMetaFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *FileMetaUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type FileMetaInitialized ¶
type FileMetaInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
FileMetaInitialized represents a Initialized event raised by the FileMeta contract.
type FileMetaInitializedIterator ¶
type FileMetaInitializedIterator struct { Event *FileMetaInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FileMetaInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the FileMeta contract.
func (*FileMetaInitializedIterator) Close ¶
func (it *FileMetaInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FileMetaInitializedIterator) Error ¶
func (it *FileMetaInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FileMetaInitializedIterator) Next ¶
func (it *FileMetaInitializedIterator) 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 FileMetaOwnershipTransferred ¶
type FileMetaOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
FileMetaOwnershipTransferred represents a OwnershipTransferred event raised by the FileMeta contract.
type FileMetaOwnershipTransferredIterator ¶
type FileMetaOwnershipTransferredIterator struct { Event *FileMetaOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FileMetaOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FileMeta contract.
func (*FileMetaOwnershipTransferredIterator) Close ¶
func (it *FileMetaOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FileMetaOwnershipTransferredIterator) Error ¶
func (it *FileMetaOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FileMetaOwnershipTransferredIterator) Next ¶
func (it *FileMetaOwnershipTransferredIterator) 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 FileMetaRaw ¶
type FileMetaRaw struct {
Contract *FileMeta // Generic contract binding to access the raw methods on
}
FileMetaRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FileMetaRaw) Call ¶
func (_FileMeta *FileMetaRaw) 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 (*FileMetaRaw) Transact ¶
func (_FileMeta *FileMetaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FileMetaRaw) Transfer ¶
func (_FileMeta *FileMetaRaw) 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 FileMetaSession ¶
type FileMetaSession struct { Contract *FileMeta // 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 }
FileMetaSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FileMetaSession) AddFileMeta ¶
func (_FileMeta *FileMetaSession) AddFileMeta(cid string, metaData FileMetaFileMetaData) (*types.Transaction, error)
AddFileMeta is a paid mutator transaction binding the contract method 0x4592e045.
Solidity: function AddFileMeta(string cid, (string,address,string,string,bool,uint256) metaData) returns()
func (*FileMetaSession) DeleteFileMeta ¶
func (_FileMeta *FileMetaSession) DeleteFileMeta(cid string) (*types.Transaction, error)
DeleteFileMeta is a paid mutator transaction binding the contract method 0x91ec67dc.
Solidity: function DeleteFileMeta(string cid) returns()
func (*FileMetaSession) GetFileMeta ¶
func (_FileMeta *FileMetaSession) GetFileMeta(cid string) (FileMetaFileMetaData, error)
GetFileMeta is a free data retrieval call binding the contract method 0x7d21ecd0.
Solidity: function GetFileMeta(string cid) view returns((string,address,string,string,bool,uint256))
func (*FileMetaSession) GetImplementation ¶
func (_FileMeta *FileMetaSession) GetImplementation() (common.Address, error)
GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
Solidity: function getImplementation() view returns(address)
func (*FileMetaSession) Initialize ¶
func (_FileMeta *FileMetaSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*FileMetaSession) Owner ¶
func (_FileMeta *FileMetaSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FileMetaSession) ProxiableUUID ¶
func (_FileMeta *FileMetaSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*FileMetaSession) RenounceOwnership ¶
func (_FileMeta *FileMetaSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FileMetaSession) TransferOwnership ¶
func (_FileMeta *FileMetaSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*FileMetaSession) UpgradeTo ¶
func (_FileMeta *FileMetaSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*FileMetaSession) UpgradeToAndCall ¶
func (_FileMeta *FileMetaSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type FileMetaTransactor ¶
type FileMetaTransactor struct {
// contains filtered or unexported fields
}
FileMetaTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFileMetaTransactor ¶
func NewFileMetaTransactor(address common.Address, transactor bind.ContractTransactor) (*FileMetaTransactor, error)
NewFileMetaTransactor creates a new write-only instance of FileMeta, bound to a specific deployed contract.
func (*FileMetaTransactor) AddFileMeta ¶
func (_FileMeta *FileMetaTransactor) AddFileMeta(opts *bind.TransactOpts, cid string, metaData FileMetaFileMetaData) (*types.Transaction, error)
AddFileMeta is a paid mutator transaction binding the contract method 0x4592e045.
Solidity: function AddFileMeta(string cid, (string,address,string,string,bool,uint256) metaData) returns()
func (*FileMetaTransactor) DeleteFileMeta ¶
func (_FileMeta *FileMetaTransactor) DeleteFileMeta(opts *bind.TransactOpts, cid string) (*types.Transaction, error)
DeleteFileMeta is a paid mutator transaction binding the contract method 0x91ec67dc.
Solidity: function DeleteFileMeta(string cid) returns()
func (*FileMetaTransactor) Initialize ¶
func (_FileMeta *FileMetaTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*FileMetaTransactor) RenounceOwnership ¶
func (_FileMeta *FileMetaTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FileMetaTransactor) TransferOwnership ¶
func (_FileMeta *FileMetaTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*FileMetaTransactor) UpgradeTo ¶
func (_FileMeta *FileMetaTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*FileMetaTransactor) UpgradeToAndCall ¶
func (_FileMeta *FileMetaTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type FileMetaTransactorRaw ¶
type FileMetaTransactorRaw struct {
Contract *FileMetaTransactor // Generic write-only contract binding to access the raw methods on
}
FileMetaTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FileMetaTransactorRaw) Transact ¶
func (_FileMeta *FileMetaTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FileMetaTransactorRaw) Transfer ¶
func (_FileMeta *FileMetaTransactorRaw) 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 FileMetaTransactorSession ¶
type FileMetaTransactorSession struct { Contract *FileMetaTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FileMetaTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FileMetaTransactorSession) AddFileMeta ¶
func (_FileMeta *FileMetaTransactorSession) AddFileMeta(cid string, metaData FileMetaFileMetaData) (*types.Transaction, error)
AddFileMeta is a paid mutator transaction binding the contract method 0x4592e045.
Solidity: function AddFileMeta(string cid, (string,address,string,string,bool,uint256) metaData) returns()
func (*FileMetaTransactorSession) DeleteFileMeta ¶
func (_FileMeta *FileMetaTransactorSession) DeleteFileMeta(cid string) (*types.Transaction, error)
DeleteFileMeta is a paid mutator transaction binding the contract method 0x91ec67dc.
Solidity: function DeleteFileMeta(string cid) returns()
func (*FileMetaTransactorSession) Initialize ¶
func (_FileMeta *FileMetaTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*FileMetaTransactorSession) RenounceOwnership ¶
func (_FileMeta *FileMetaTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FileMetaTransactorSession) TransferOwnership ¶
func (_FileMeta *FileMetaTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*FileMetaTransactorSession) UpgradeTo ¶
func (_FileMeta *FileMetaTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*FileMetaTransactorSession) UpgradeToAndCall ¶
func (_FileMeta *FileMetaTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type FileMetaUpgraded ¶
type FileMetaUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
FileMetaUpgraded represents a Upgraded event raised by the FileMeta contract.
type FileMetaUpgradedIterator ¶
type FileMetaUpgradedIterator struct { Event *FileMetaUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FileMetaUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the FileMeta contract.
func (*FileMetaUpgradedIterator) Close ¶
func (it *FileMetaUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FileMetaUpgradedIterator) Error ¶
func (it *FileMetaUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FileMetaUpgradedIterator) Next ¶
func (it *FileMetaUpgradedIterator) 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.