Documentation ¶
Index ¶
- Variables
- type Arcana
- type ArcanaCaller
- func (_Arcana *ArcanaCaller) AccessSpecifier(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte, arg2 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaCaller) AggregateLogin(opts *bind.CallOpts) (bool, error)
- func (_Arcana *ArcanaCaller) Consumption(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaCaller) DefaultLimit(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Arcana *ArcanaCaller) GetAppConfig(opts *bind.CallOpts) ([32]byte, error)
- func (_Arcana *ArcanaCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)
- func (_Arcana *ArcanaCaller) Limit(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Arcana *ArcanaCaller) WalletType(opts *bind.CallOpts) (uint8, error)
- type ArcanaCallerRaw
- type ArcanaCallerSession
- func (_Arcana *ArcanaCallerSession) AccessSpecifier(arg0 [32]byte, arg1 [32]byte, arg2 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaCallerSession) AggregateLogin() (bool, error)
- func (_Arcana *ArcanaCallerSession) Consumption(arg0 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaCallerSession) DefaultLimit() (struct{ ... }, error)
- func (_Arcana *ArcanaCallerSession) GetAppConfig() ([32]byte, error)
- func (_Arcana *ArcanaCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)
- func (_Arcana *ArcanaCallerSession) Limit(arg0 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaCallerSession) Owner() (common.Address, error)
- func (_Arcana *ArcanaCallerSession) WalletType() (uint8, error)
- type ArcanaDeleteFileEvent
- type ArcanaDeleteFileEventIterator
- type ArcanaFilterer
- func (_Arcana *ArcanaFilterer) FilterDeleteFileEvent(opts *bind.FilterOpts, identity []common.Address, file [][32]byte) (*ArcanaDeleteFileEventIterator, error)
- func (_Arcana *ArcanaFilterer) FilterNewFileUpdate(opts *bind.FilterOpts, identity []common.Address, file [][32]byte) (*ArcanaNewFileUpdateIterator, error)
- func (_Arcana *ArcanaFilterer) FilterNewPermissionCheck(opts *bind.FilterOpts, identity []common.Address, file [][32]byte) (*ArcanaNewPermissionCheckIterator, error)
- func (_Arcana *ArcanaFilterer) FilterNewShare(opts *bind.FilterOpts, identity []common.Address, file [][32]byte, ...) (*ArcanaNewShareIterator, error)
- func (_Arcana *ArcanaFilterer) FilterNewUpdateAccess(opts *bind.FilterOpts, identity []common.Address, file [][32]byte, ...) (*ArcanaNewUpdateAccessIterator, error)
- func (_Arcana *ArcanaFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ArcanaOwnershipTransferredIterator, error)
- func (_Arcana *ArcanaFilterer) ParseDeleteFileEvent(log types.Log) (*ArcanaDeleteFileEvent, error)
- func (_Arcana *ArcanaFilterer) ParseNewFileUpdate(log types.Log) (*ArcanaNewFileUpdate, error)
- func (_Arcana *ArcanaFilterer) ParseNewPermissionCheck(log types.Log) (*ArcanaNewPermissionCheck, error)
- func (_Arcana *ArcanaFilterer) ParseNewShare(log types.Log) (*ArcanaNewShare, error)
- func (_Arcana *ArcanaFilterer) ParseNewUpdateAccess(log types.Log) (*ArcanaNewUpdateAccess, error)
- func (_Arcana *ArcanaFilterer) ParseOwnershipTransferred(log types.Log) (*ArcanaOwnershipTransferred, error)
- func (_Arcana *ArcanaFilterer) WatchDeleteFileEvent(opts *bind.WatchOpts, sink chan<- *ArcanaDeleteFileEvent, ...) (event.Subscription, error)
- func (_Arcana *ArcanaFilterer) WatchNewFileUpdate(opts *bind.WatchOpts, sink chan<- *ArcanaNewFileUpdate, ...) (event.Subscription, error)
- func (_Arcana *ArcanaFilterer) WatchNewPermissionCheck(opts *bind.WatchOpts, sink chan<- *ArcanaNewPermissionCheck, ...) (event.Subscription, error)
- func (_Arcana *ArcanaFilterer) WatchNewShare(opts *bind.WatchOpts, sink chan<- *ArcanaNewShare, identity []common.Address, ...) (event.Subscription, error)
- func (_Arcana *ArcanaFilterer) WatchNewUpdateAccess(opts *bind.WatchOpts, sink chan<- *ArcanaNewUpdateAccess, ...) (event.Subscription, error)
- func (_Arcana *ArcanaFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ArcanaOwnershipTransferred, ...) (event.Subscription, error)
- type ArcanaNewFileUpdate
- type ArcanaNewFileUpdateIterator
- type ArcanaNewPermissionCheck
- type ArcanaNewPermissionCheckIterator
- type ArcanaNewShare
- type ArcanaNewShareIterator
- type ArcanaNewUpdateAccess
- type ArcanaNewUpdateAccessIterator
- type ArcanaOwnershipTransferred
- type ArcanaOwnershipTransferredIterator
- type ArcanaRaw
- func (_Arcana *ArcanaRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Arcana *ArcanaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Arcana *ArcanaRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ArcanaSession
- func (_Arcana *ArcanaSession) AccessSpecifier(arg0 [32]byte, arg1 [32]byte, arg2 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaSession) AggregateLogin() (bool, error)
- func (_Arcana *ArcanaSession) ChangeFileOwner(_did [32]byte, _newOwner common.Address) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) CheckPermission(_did [32]byte, _accessType [32]byte, _ephemeralAddress common.Address) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) Consumption(arg0 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaSession) DefaultLimit() (struct{ ... }, error)
- func (_Arcana *ArcanaSession) DeleteFile(_did [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) GetAppConfig() ([32]byte, error)
- func (_Arcana *ArcanaSession) Initialize(_factory common.Address, _relayer common.Address, _aggregateLogin bool, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) IsTrustedForwarder(forwarder common.Address) (bool, error)
- func (_Arcana *ArcanaSession) Limit(arg0 common.Address) (struct{ ... }, error)
- func (_Arcana *ArcanaSession) LinkNFT(_did [32]byte, _tokenId *big.Int, _nftContract common.Address, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) Owner() (common.Address, error)
- func (_Arcana *ArcanaSession) RenounceOwnership() (*types.Transaction, error)
- func (_Arcana *ArcanaSession) Revoke(_did [32]byte, _user common.Address, _accessType [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) SetAppConfig(appConfig [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) SetAppLevelLimit(_store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) SetDefaultLimit(_store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) SetUiMode() (*types.Transaction, error)
- func (_Arcana *ArcanaSession) SetUserLevelLimit(_user common.Address, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) Share(_files [][32]byte, _user []common.Address, _accessType [][32]byte, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) UploadClose(_did [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) UploadInit(_did [32]byte, _fileSize *big.Int, _encryptedMetaData []byte, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaSession) WalletType() (uint8, error)
- type ArcanaTransactor
- func (_Arcana *ArcanaTransactor) ChangeFileOwner(opts *bind.TransactOpts, _did [32]byte, _newOwner common.Address) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) CheckPermission(opts *bind.TransactOpts, _did [32]byte, _accessType [32]byte, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) DeleteFile(opts *bind.TransactOpts, _did [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) Initialize(opts *bind.TransactOpts, _factory common.Address, _relayer common.Address, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) LinkNFT(opts *bind.TransactOpts, _did [32]byte, _tokenId *big.Int, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) Revoke(opts *bind.TransactOpts, _did [32]byte, _user common.Address, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) SetAppConfig(opts *bind.TransactOpts, appConfig [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) SetAppLevelLimit(opts *bind.TransactOpts, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) SetDefaultLimit(opts *bind.TransactOpts, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) SetUiMode(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) SetUserLevelLimit(opts *bind.TransactOpts, _user common.Address, _store *big.Int, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) Share(opts *bind.TransactOpts, _files [][32]byte, _user []common.Address, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) UploadClose(opts *bind.TransactOpts, _did [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactor) UploadInit(opts *bind.TransactOpts, _did [32]byte, _fileSize *big.Int, ...) (*types.Transaction, error)
- type ArcanaTransactorRaw
- type ArcanaTransactorSession
- func (_Arcana *ArcanaTransactorSession) ChangeFileOwner(_did [32]byte, _newOwner common.Address) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) CheckPermission(_did [32]byte, _accessType [32]byte, _ephemeralAddress common.Address) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) DeleteFile(_did [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) Initialize(_factory common.Address, _relayer common.Address, _aggregateLogin bool, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) LinkNFT(_did [32]byte, _tokenId *big.Int, _nftContract common.Address, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) Revoke(_did [32]byte, _user common.Address, _accessType [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) SetAppConfig(appConfig [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) SetAppLevelLimit(_store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) SetDefaultLimit(_store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) SetUiMode() (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) SetUserLevelLimit(_user common.Address, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) Share(_files [][32]byte, _user []common.Address, _accessType [][32]byte, ...) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) UploadClose(_did [32]byte) (*types.Transaction, error)
- func (_Arcana *ArcanaTransactorSession) UploadInit(_did [32]byte, _fileSize *big.Int, _encryptedMetaData []byte, ...) (*types.Transaction, error)
- type Forwarder
- type ForwarderCaller
- func (_Forwarder *ForwarderCaller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_Forwarder *ForwarderCaller) GetNonce(opts *bind.CallOpts, from common.Address) (*big.Int, error)
- func (_Forwarder *ForwarderCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Forwarder *ForwarderCaller) Verify(opts *bind.CallOpts, req ForwarderForwardRequest, signature []byte) (bool, error)
- type ForwarderCallerRaw
- type ForwarderCallerSession
- func (_Forwarder *ForwarderCallerSession) Factory() (common.Address, error)
- func (_Forwarder *ForwarderCallerSession) GetNonce(from common.Address) (*big.Int, error)
- func (_Forwarder *ForwarderCallerSession) Owner() (common.Address, error)
- func (_Forwarder *ForwarderCallerSession) Verify(req ForwarderForwardRequest, signature []byte) (bool, error)
- type ForwarderFilterer
- func (_Forwarder *ForwarderFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ForwarderOwnershipTransferredIterator, error)
- func (_Forwarder *ForwarderFilterer) ParseOwnershipTransferred(log types.Log) (*ForwarderOwnershipTransferred, error)
- func (_Forwarder *ForwarderFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ForwarderOwnershipTransferred, ...) (event.Subscription, error)
- type ForwarderForwardRequest
- type ForwarderOwnershipTransferred
- type ForwarderOwnershipTransferredIterator
- type ForwarderRaw
- func (_Forwarder *ForwarderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Forwarder *ForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Forwarder *ForwarderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ForwarderSession
- func (_Forwarder *ForwarderSession) Execute(req ForwarderForwardRequest, signature []byte) (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) Factory() (common.Address, error)
- func (_Forwarder *ForwarderSession) GetNonce(from common.Address) (*big.Int, error)
- func (_Forwarder *ForwarderSession) Owner() (common.Address, error)
- func (_Forwarder *ForwarderSession) RenounceOwnership() (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) SetFactory(_factory common.Address) (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) Verify(req ForwarderForwardRequest, signature []byte) (bool, error)
- type ForwarderTransactor
- func (_Forwarder *ForwarderTransactor) Execute(opts *bind.TransactOpts, req ForwarderForwardRequest, signature []byte) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactor) SetFactory(opts *bind.TransactOpts, _factory common.Address) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type ForwarderTransactorRaw
- type ForwarderTransactorSession
- func (_Forwarder *ForwarderTransactorSession) Execute(req ForwarderForwardRequest, signature []byte) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactorSession) SetFactory(_factory common.Address) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ArcanaABI = ArcanaMetaData.ABI
ArcanaABI is the input ABI used to generate the binding from. Deprecated: Use ArcanaMetaData.ABI instead.
var ArcanaMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"identity\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"file\",\"type\":\"bytes32\"}],\"name\":\"DeleteFileEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"identity\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"file\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fileSize\",\"type\":\"uint256\"}],\"name\":\"NewFileUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"identity\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"file\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"validity\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"accessType\",\"type\":\"bytes32\"}],\"name\":\"NewPermissionCheck\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"identity\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"file\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"accessType\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"validity\",\"type\":\"uint256\"}],\"name\":\"NewShare\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"identity\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"file\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"accessType\",\"type\":\"bytes32\"}],\"name\":\"NewUpdateAccess\",\"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\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"accessSpecifier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"version\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"aggregateLogin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"changeFileOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_accessType\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_ephemeralAddress\",\"type\":\"address\"}],\"name\":\"checkPermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"consumption\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"store\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bandwidth\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"store\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bandwidth\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"deleteFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAppConfig\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_aggregateLogin\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"_handlerContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_did\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_appConfigValue\",\"type\":\"bytes32\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"limit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"store\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bandwidth\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_nftContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"}],\"name\":\"linkNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_accessType\",\"type\":\"bytes32\"}],\"name\":\"revoke\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"appConfig\",\"type\":\"bytes32\"}],\"name\":\"setAppConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_store\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_bandwidth\",\"type\":\"uint256\"}],\"name\":\"setAppLevelLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_store\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_bandwidth\",\"type\":\"uint256\"}],\"name\":\"setDefaultLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setUiMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_store\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_bandwidth\",\"type\":\"uint256\"}],\"name\":\"setUserLevelLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_files\",\"type\":\"bytes32[]\"},{\"internalType\":\"address[]\",\"name\":\"_user\",\"type\":\"address[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_accessType\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_validity\",\"type\":\"uint256[]\"}],\"name\":\"share\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"}],\"name\":\"uploadClose\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_did\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_fileSize\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_encryptedMetaData\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_storageNode\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_ephemeralAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_duplicate\",\"type\":\"bool\"}],\"name\":\"uploadInit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"walletType\",\"outputs\":[{\"internalType\":\"enumArcana.WalletMode\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
ArcanaMetaData contains all meta data concerning the Arcana contract.
var ForwarderABI = ForwarderMetaData.ABI
ForwarderABI is the input ABI used to generate the binding from. Deprecated: Use ForwarderMetaData.ABI instead.
var ForwarderMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structForwarder.ForwardRequest\",\"name\":\"req\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"contractIFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"setFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structForwarder.ForwardRequest\",\"name\":\"req\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
ForwarderMetaData contains all meta data concerning the Forwarder contract.
Functions ¶
This section is empty.
Types ¶
type Arcana ¶
type Arcana struct { ArcanaCaller // Read-only binding to the contract ArcanaTransactor // Write-only binding to the contract ArcanaFilterer // Log filterer for contract events }
Arcana is an auto generated Go binding around an Ethereum contract.
type ArcanaCaller ¶
type ArcanaCaller struct {
// contains filtered or unexported fields
}
ArcanaCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewArcanaCaller ¶
func NewArcanaCaller(address common.Address, caller bind.ContractCaller) (*ArcanaCaller, error)
NewArcanaCaller creates a new read-only instance of Arcana, bound to a specific deployed contract.
func (*ArcanaCaller) AccessSpecifier ¶
func (_Arcana *ArcanaCaller) AccessSpecifier(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte, arg2 common.Address) (struct { Version *big.Int Time *big.Int }, error)
AccessSpecifier is a free data retrieval call binding the contract method 0x5f784b8a.
Solidity: function accessSpecifier(bytes32 , bytes32 , address ) view returns(uint256 version, uint256 time)
func (*ArcanaCaller) AggregateLogin ¶
func (_Arcana *ArcanaCaller) AggregateLogin(opts *bind.CallOpts) (bool, error)
AggregateLogin is a free data retrieval call binding the contract method 0xc53be4c8.
Solidity: function aggregateLogin() view returns(bool)
func (*ArcanaCaller) Consumption ¶
func (_Arcana *ArcanaCaller) Consumption(opts *bind.CallOpts, arg0 common.Address) (struct { Store *big.Int Bandwidth *big.Int }, error)
Consumption is a free data retrieval call binding the contract method 0x633f7155.
Solidity: function consumption(address ) view returns(uint256 store, uint256 bandwidth)
func (*ArcanaCaller) DefaultLimit ¶
func (_Arcana *ArcanaCaller) DefaultLimit(opts *bind.CallOpts) (struct { Store *big.Int Bandwidth *big.Int }, error)
DefaultLimit is a free data retrieval call binding the contract method 0xe26b013b.
Solidity: function defaultLimit() view returns(uint256 store, uint256 bandwidth)
func (*ArcanaCaller) GetAppConfig ¶
func (_Arcana *ArcanaCaller) GetAppConfig(opts *bind.CallOpts) ([32]byte, error)
GetAppConfig is a free data retrieval call binding the contract method 0xf7664c72.
Solidity: function getAppConfig() view returns(bytes32)
func (*ArcanaCaller) IsTrustedForwarder ¶
func (_Arcana *ArcanaCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)
IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.
Solidity: function isTrustedForwarder(address forwarder) view returns(bool)
func (*ArcanaCaller) Limit ¶
func (_Arcana *ArcanaCaller) Limit(opts *bind.CallOpts, arg0 common.Address) (struct { Store *big.Int Bandwidth *big.Int }, error)
Limit is a free data retrieval call binding the contract method 0xd8797262.
Solidity: function limit(address ) view returns(uint256 store, uint256 bandwidth)
func (*ArcanaCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
type ArcanaCallerRaw ¶
type ArcanaCallerRaw struct {
Contract *ArcanaCaller // Generic read-only contract binding to access the raw methods on
}
ArcanaCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ArcanaCallerRaw) Call ¶
func (_Arcana *ArcanaCallerRaw) 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 ArcanaCallerSession ¶
type ArcanaCallerSession struct { Contract *ArcanaCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ArcanaCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ArcanaCallerSession) AccessSpecifier ¶
func (_Arcana *ArcanaCallerSession) AccessSpecifier(arg0 [32]byte, arg1 [32]byte, arg2 common.Address) (struct { Version *big.Int Time *big.Int }, error)
AccessSpecifier is a free data retrieval call binding the contract method 0x5f784b8a.
Solidity: function accessSpecifier(bytes32 , bytes32 , address ) view returns(uint256 version, uint256 time)
func (*ArcanaCallerSession) AggregateLogin ¶
func (_Arcana *ArcanaCallerSession) AggregateLogin() (bool, error)
AggregateLogin is a free data retrieval call binding the contract method 0xc53be4c8.
Solidity: function aggregateLogin() view returns(bool)
func (*ArcanaCallerSession) Consumption ¶
func (_Arcana *ArcanaCallerSession) Consumption(arg0 common.Address) (struct { Store *big.Int Bandwidth *big.Int }, error)
Consumption is a free data retrieval call binding the contract method 0x633f7155.
Solidity: function consumption(address ) view returns(uint256 store, uint256 bandwidth)
func (*ArcanaCallerSession) DefaultLimit ¶
func (_Arcana *ArcanaCallerSession) DefaultLimit() (struct { Store *big.Int Bandwidth *big.Int }, error)
DefaultLimit is a free data retrieval call binding the contract method 0xe26b013b.
Solidity: function defaultLimit() view returns(uint256 store, uint256 bandwidth)
func (*ArcanaCallerSession) GetAppConfig ¶
func (_Arcana *ArcanaCallerSession) GetAppConfig() ([32]byte, error)
GetAppConfig is a free data retrieval call binding the contract method 0xf7664c72.
Solidity: function getAppConfig() view returns(bytes32)
func (*ArcanaCallerSession) IsTrustedForwarder ¶
func (_Arcana *ArcanaCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)
IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.
Solidity: function isTrustedForwarder(address forwarder) view returns(bool)
func (*ArcanaCallerSession) Limit ¶
func (_Arcana *ArcanaCallerSession) Limit(arg0 common.Address) (struct { Store *big.Int Bandwidth *big.Int }, error)
Limit is a free data retrieval call binding the contract method 0xd8797262.
Solidity: function limit(address ) view returns(uint256 store, uint256 bandwidth)
func (*ArcanaCallerSession) Owner ¶
func (_Arcana *ArcanaCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ArcanaCallerSession) WalletType ¶
func (_Arcana *ArcanaCallerSession) WalletType() (uint8, error)
WalletType is a free data retrieval call binding the contract method 0x5b648b0a.
Solidity: function walletType() view returns(uint8)
type ArcanaDeleteFileEvent ¶
type ArcanaDeleteFileEvent struct { Identity common.Address File [32]byte Raw types.Log // Blockchain specific contextual infos }
ArcanaDeleteFileEvent represents a DeleteFileEvent event raised by the Arcana contract.
type ArcanaDeleteFileEventIterator ¶
type ArcanaDeleteFileEventIterator struct { Event *ArcanaDeleteFileEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ArcanaDeleteFileEventIterator is returned from FilterDeleteFileEvent and is used to iterate over the raw logs and unpacked data for DeleteFileEvent events raised by the Arcana contract.
func (*ArcanaDeleteFileEventIterator) Close ¶
func (it *ArcanaDeleteFileEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ArcanaDeleteFileEventIterator) Error ¶
func (it *ArcanaDeleteFileEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ArcanaDeleteFileEventIterator) Next ¶
func (it *ArcanaDeleteFileEventIterator) 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 ArcanaFilterer ¶
type ArcanaFilterer struct {
// contains filtered or unexported fields
}
ArcanaFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewArcanaFilterer ¶
func NewArcanaFilterer(address common.Address, filterer bind.ContractFilterer) (*ArcanaFilterer, error)
NewArcanaFilterer creates a new log filterer instance of Arcana, bound to a specific deployed contract.
func (*ArcanaFilterer) FilterDeleteFileEvent ¶
func (_Arcana *ArcanaFilterer) FilterDeleteFileEvent(opts *bind.FilterOpts, identity []common.Address, file [][32]byte) (*ArcanaDeleteFileEventIterator, error)
FilterDeleteFileEvent is a free log retrieval operation binding the contract event 0xa2acc0b1cda8647780f0900a02e0ba141277133ea27552fa350439c0b6684d21.
Solidity: event DeleteFileEvent(address indexed identity, bytes32 indexed file)
func (*ArcanaFilterer) FilterNewFileUpdate ¶
func (_Arcana *ArcanaFilterer) FilterNewFileUpdate(opts *bind.FilterOpts, identity []common.Address, file [][32]byte) (*ArcanaNewFileUpdateIterator, error)
FilterNewFileUpdate is a free log retrieval operation binding the contract event 0x726a4464eb36c1fee64d3616d06107ca25ad191a8833f29e2b8e846321125263.
Solidity: event NewFileUpdate(address indexed identity, bytes32 indexed file, uint256 fileSize)
func (*ArcanaFilterer) FilterNewPermissionCheck ¶
func (_Arcana *ArcanaFilterer) FilterNewPermissionCheck(opts *bind.FilterOpts, identity []common.Address, file [][32]byte) (*ArcanaNewPermissionCheckIterator, error)
FilterNewPermissionCheck is a free log retrieval operation binding the contract event 0x70ca3209a41d34881db20cfa1e87e607cdc9bd70969efd77c71d730c778a1e39.
Solidity: event NewPermissionCheck(address indexed identity, bytes32 indexed file, uint256 validity, bytes32 accessType)
func (*ArcanaFilterer) FilterNewShare ¶
func (_Arcana *ArcanaFilterer) FilterNewShare(opts *bind.FilterOpts, identity []common.Address, file [][32]byte, user []common.Address) (*ArcanaNewShareIterator, error)
FilterNewShare is a free log retrieval operation binding the contract event 0x1ebaec2e787dc387c941232bf165b988dd5c126cd5f60b7215b6ece61bfbc879.
Solidity: event NewShare(address indexed identity, bytes32 indexed file, address indexed user, bytes32 accessType, uint256 validity)
func (*ArcanaFilterer) FilterNewUpdateAccess ¶
func (_Arcana *ArcanaFilterer) FilterNewUpdateAccess(opts *bind.FilterOpts, identity []common.Address, file [][32]byte, user []common.Address) (*ArcanaNewUpdateAccessIterator, error)
FilterNewUpdateAccess is a free log retrieval operation binding the contract event 0x020d11a518178a498576a55c87164bdcd0306e4c930caf13f2a9c2049cc70ba4.
Solidity: event NewUpdateAccess(address indexed identity, bytes32 indexed file, address indexed user, bytes32 accessType)
func (*ArcanaFilterer) FilterOwnershipTransferred ¶
func (_Arcana *ArcanaFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ArcanaOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ArcanaFilterer) ParseDeleteFileEvent ¶
func (_Arcana *ArcanaFilterer) ParseDeleteFileEvent(log types.Log) (*ArcanaDeleteFileEvent, error)
ParseDeleteFileEvent is a log parse operation binding the contract event 0xa2acc0b1cda8647780f0900a02e0ba141277133ea27552fa350439c0b6684d21.
Solidity: event DeleteFileEvent(address indexed identity, bytes32 indexed file)
func (*ArcanaFilterer) ParseNewFileUpdate ¶
func (_Arcana *ArcanaFilterer) ParseNewFileUpdate(log types.Log) (*ArcanaNewFileUpdate, error)
ParseNewFileUpdate is a log parse operation binding the contract event 0x726a4464eb36c1fee64d3616d06107ca25ad191a8833f29e2b8e846321125263.
Solidity: event NewFileUpdate(address indexed identity, bytes32 indexed file, uint256 fileSize)
func (*ArcanaFilterer) ParseNewPermissionCheck ¶
func (_Arcana *ArcanaFilterer) ParseNewPermissionCheck(log types.Log) (*ArcanaNewPermissionCheck, error)
ParseNewPermissionCheck is a log parse operation binding the contract event 0x70ca3209a41d34881db20cfa1e87e607cdc9bd70969efd77c71d730c778a1e39.
Solidity: event NewPermissionCheck(address indexed identity, bytes32 indexed file, uint256 validity, bytes32 accessType)
func (*ArcanaFilterer) ParseNewShare ¶
func (_Arcana *ArcanaFilterer) ParseNewShare(log types.Log) (*ArcanaNewShare, error)
ParseNewShare is a log parse operation binding the contract event 0x1ebaec2e787dc387c941232bf165b988dd5c126cd5f60b7215b6ece61bfbc879.
Solidity: event NewShare(address indexed identity, bytes32 indexed file, address indexed user, bytes32 accessType, uint256 validity)
func (*ArcanaFilterer) ParseNewUpdateAccess ¶
func (_Arcana *ArcanaFilterer) ParseNewUpdateAccess(log types.Log) (*ArcanaNewUpdateAccess, error)
ParseNewUpdateAccess is a log parse operation binding the contract event 0x020d11a518178a498576a55c87164bdcd0306e4c930caf13f2a9c2049cc70ba4.
Solidity: event NewUpdateAccess(address indexed identity, bytes32 indexed file, address indexed user, bytes32 accessType)
func (*ArcanaFilterer) ParseOwnershipTransferred ¶
func (_Arcana *ArcanaFilterer) ParseOwnershipTransferred(log types.Log) (*ArcanaOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ArcanaFilterer) WatchDeleteFileEvent ¶
func (_Arcana *ArcanaFilterer) WatchDeleteFileEvent(opts *bind.WatchOpts, sink chan<- *ArcanaDeleteFileEvent, identity []common.Address, file [][32]byte) (event.Subscription, error)
WatchDeleteFileEvent is a free log subscription operation binding the contract event 0xa2acc0b1cda8647780f0900a02e0ba141277133ea27552fa350439c0b6684d21.
Solidity: event DeleteFileEvent(address indexed identity, bytes32 indexed file)
func (*ArcanaFilterer) WatchNewFileUpdate ¶
func (_Arcana *ArcanaFilterer) WatchNewFileUpdate(opts *bind.WatchOpts, sink chan<- *ArcanaNewFileUpdate, identity []common.Address, file [][32]byte) (event.Subscription, error)
WatchNewFileUpdate is a free log subscription operation binding the contract event 0x726a4464eb36c1fee64d3616d06107ca25ad191a8833f29e2b8e846321125263.
Solidity: event NewFileUpdate(address indexed identity, bytes32 indexed file, uint256 fileSize)
func (*ArcanaFilterer) WatchNewPermissionCheck ¶
func (_Arcana *ArcanaFilterer) WatchNewPermissionCheck(opts *bind.WatchOpts, sink chan<- *ArcanaNewPermissionCheck, identity []common.Address, file [][32]byte) (event.Subscription, error)
WatchNewPermissionCheck is a free log subscription operation binding the contract event 0x70ca3209a41d34881db20cfa1e87e607cdc9bd70969efd77c71d730c778a1e39.
Solidity: event NewPermissionCheck(address indexed identity, bytes32 indexed file, uint256 validity, bytes32 accessType)
func (*ArcanaFilterer) WatchNewShare ¶
func (_Arcana *ArcanaFilterer) WatchNewShare(opts *bind.WatchOpts, sink chan<- *ArcanaNewShare, identity []common.Address, file [][32]byte, user []common.Address) (event.Subscription, error)
WatchNewShare is a free log subscription operation binding the contract event 0x1ebaec2e787dc387c941232bf165b988dd5c126cd5f60b7215b6ece61bfbc879.
Solidity: event NewShare(address indexed identity, bytes32 indexed file, address indexed user, bytes32 accessType, uint256 validity)
func (*ArcanaFilterer) WatchNewUpdateAccess ¶
func (_Arcana *ArcanaFilterer) WatchNewUpdateAccess(opts *bind.WatchOpts, sink chan<- *ArcanaNewUpdateAccess, identity []common.Address, file [][32]byte, user []common.Address) (event.Subscription, error)
WatchNewUpdateAccess is a free log subscription operation binding the contract event 0x020d11a518178a498576a55c87164bdcd0306e4c930caf13f2a9c2049cc70ba4.
Solidity: event NewUpdateAccess(address indexed identity, bytes32 indexed file, address indexed user, bytes32 accessType)
func (*ArcanaFilterer) WatchOwnershipTransferred ¶
func (_Arcana *ArcanaFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ArcanaOwnershipTransferred, 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)
type ArcanaNewFileUpdate ¶
type ArcanaNewFileUpdate struct { Identity common.Address File [32]byte FileSize *big.Int Raw types.Log // Blockchain specific contextual infos }
ArcanaNewFileUpdate represents a NewFileUpdate event raised by the Arcana contract.
type ArcanaNewFileUpdateIterator ¶
type ArcanaNewFileUpdateIterator struct { Event *ArcanaNewFileUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ArcanaNewFileUpdateIterator is returned from FilterNewFileUpdate and is used to iterate over the raw logs and unpacked data for NewFileUpdate events raised by the Arcana contract.
func (*ArcanaNewFileUpdateIterator) Close ¶
func (it *ArcanaNewFileUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ArcanaNewFileUpdateIterator) Error ¶
func (it *ArcanaNewFileUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ArcanaNewFileUpdateIterator) Next ¶
func (it *ArcanaNewFileUpdateIterator) 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 ArcanaNewPermissionCheck ¶
type ArcanaNewPermissionCheck struct { Identity common.Address File [32]byte Validity *big.Int AccessType [32]byte Raw types.Log // Blockchain specific contextual infos }
ArcanaNewPermissionCheck represents a NewPermissionCheck event raised by the Arcana contract.
type ArcanaNewPermissionCheckIterator ¶
type ArcanaNewPermissionCheckIterator struct { Event *ArcanaNewPermissionCheck // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ArcanaNewPermissionCheckIterator is returned from FilterNewPermissionCheck and is used to iterate over the raw logs and unpacked data for NewPermissionCheck events raised by the Arcana contract.
func (*ArcanaNewPermissionCheckIterator) Close ¶
func (it *ArcanaNewPermissionCheckIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ArcanaNewPermissionCheckIterator) Error ¶
func (it *ArcanaNewPermissionCheckIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ArcanaNewPermissionCheckIterator) Next ¶
func (it *ArcanaNewPermissionCheckIterator) 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 ArcanaNewShare ¶
type ArcanaNewShare struct {}
ArcanaNewShare represents a NewShare event raised by the Arcana contract.
type ArcanaNewShareIterator ¶
type ArcanaNewShareIterator struct { // contains filtered or unexported fields }
ArcanaNewShareIterator is returned from FilterNewShare and is used to iterate over the raw logs and unpacked data for NewShare events raised by the Arcana contract.
func (*ArcanaNewShareIterator) Close ¶
func (it *ArcanaNewShareIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ArcanaNewShareIterator) Error ¶
func (it *ArcanaNewShareIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ArcanaNewShareIterator) Next ¶
func (it *ArcanaNewShareIterator) 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 ArcanaNewUpdateAccess ¶
type ArcanaNewUpdateAccess struct { Identity common.Address File [32]byte User common.Address AccessType [32]byte Raw types.Log // Blockchain specific contextual infos }
ArcanaNewUpdateAccess represents a NewUpdateAccess event raised by the Arcana contract.
type ArcanaNewUpdateAccessIterator ¶
type ArcanaNewUpdateAccessIterator struct { Event *ArcanaNewUpdateAccess // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ArcanaNewUpdateAccessIterator is returned from FilterNewUpdateAccess and is used to iterate over the raw logs and unpacked data for NewUpdateAccess events raised by the Arcana contract.
func (*ArcanaNewUpdateAccessIterator) Close ¶
func (it *ArcanaNewUpdateAccessIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ArcanaNewUpdateAccessIterator) Error ¶
func (it *ArcanaNewUpdateAccessIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ArcanaNewUpdateAccessIterator) Next ¶
func (it *ArcanaNewUpdateAccessIterator) 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 ArcanaOwnershipTransferred ¶
type ArcanaOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ArcanaOwnershipTransferred represents a OwnershipTransferred event raised by the Arcana contract.
type ArcanaOwnershipTransferredIterator ¶
type ArcanaOwnershipTransferredIterator struct { Event *ArcanaOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ArcanaOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Arcana contract.
func (*ArcanaOwnershipTransferredIterator) Close ¶
func (it *ArcanaOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ArcanaOwnershipTransferredIterator) Error ¶
func (it *ArcanaOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ArcanaOwnershipTransferredIterator) Next ¶
func (it *ArcanaOwnershipTransferredIterator) 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 ArcanaRaw ¶
type ArcanaRaw struct {
Contract *Arcana // Generic contract binding to access the raw methods on
}
ArcanaRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ArcanaRaw) Call ¶
func (_Arcana *ArcanaRaw) 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 (*ArcanaRaw) Transact ¶
func (_Arcana *ArcanaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ArcanaRaw) Transfer ¶
func (_Arcana *ArcanaRaw) 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 ArcanaSession ¶
type ArcanaSession struct { Contract *Arcana // 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 }
ArcanaSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ArcanaSession) AccessSpecifier ¶
func (_Arcana *ArcanaSession) AccessSpecifier(arg0 [32]byte, arg1 [32]byte, arg2 common.Address) (struct { Version *big.Int Time *big.Int }, error)
AccessSpecifier is a free data retrieval call binding the contract method 0x5f784b8a.
Solidity: function accessSpecifier(bytes32 , bytes32 , address ) view returns(uint256 version, uint256 time)
func (*ArcanaSession) AggregateLogin ¶
func (_Arcana *ArcanaSession) AggregateLogin() (bool, error)
AggregateLogin is a free data retrieval call binding the contract method 0xc53be4c8.
Solidity: function aggregateLogin() view returns(bool)
func (*ArcanaSession) ChangeFileOwner ¶
func (_Arcana *ArcanaSession) ChangeFileOwner(_did [32]byte, _newOwner common.Address) (*types.Transaction, error)
ChangeFileOwner is a paid mutator transaction binding the contract method 0xc5b26447.
Solidity: function changeFileOwner(bytes32 _did, address _newOwner) returns()
func (*ArcanaSession) CheckPermission ¶
func (_Arcana *ArcanaSession) CheckPermission(_did [32]byte, _accessType [32]byte, _ephemeralAddress common.Address) (*types.Transaction, error)
CheckPermission is a paid mutator transaction binding the contract method 0x4a40d90d.
Solidity: function checkPermission(bytes32 _did, bytes32 _accessType, address _ephemeralAddress) returns()
func (*ArcanaSession) Consumption ¶
func (_Arcana *ArcanaSession) Consumption(arg0 common.Address) (struct { Store *big.Int Bandwidth *big.Int }, error)
Consumption is a free data retrieval call binding the contract method 0x633f7155.
Solidity: function consumption(address ) view returns(uint256 store, uint256 bandwidth)
func (*ArcanaSession) DefaultLimit ¶
DefaultLimit is a free data retrieval call binding the contract method 0xe26b013b.
Solidity: function defaultLimit() view returns(uint256 store, uint256 bandwidth)
func (*ArcanaSession) DeleteFile ¶
func (_Arcana *ArcanaSession) DeleteFile(_did [32]byte) (*types.Transaction, error)
DeleteFile is a paid mutator transaction binding the contract method 0x6ab799f1.
Solidity: function deleteFile(bytes32 _did) returns()
func (*ArcanaSession) GetAppConfig ¶
func (_Arcana *ArcanaSession) GetAppConfig() ([32]byte, error)
GetAppConfig is a free data retrieval call binding the contract method 0xf7664c72.
Solidity: function getAppConfig() view returns(bytes32)
func (*ArcanaSession) Initialize ¶
func (_Arcana *ArcanaSession) Initialize(_factory common.Address, _relayer common.Address, _aggregateLogin bool, _handlerContract common.Address, _did common.Address, _appConfigValue [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x6625df6e.
Solidity: function initialize(address _factory, address _relayer, bool _aggregateLogin, address _handlerContract, address _did, bytes32 _appConfigValue) returns()
func (*ArcanaSession) IsTrustedForwarder ¶
func (_Arcana *ArcanaSession) IsTrustedForwarder(forwarder common.Address) (bool, error)
IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.
Solidity: function isTrustedForwarder(address forwarder) view returns(bool)
func (*ArcanaSession) Limit ¶
func (_Arcana *ArcanaSession) Limit(arg0 common.Address) (struct { Store *big.Int Bandwidth *big.Int }, error)
Limit is a free data retrieval call binding the contract method 0xd8797262.
Solidity: function limit(address ) view returns(uint256 store, uint256 bandwidth)
func (*ArcanaSession) LinkNFT ¶
func (_Arcana *ArcanaSession) LinkNFT(_did [32]byte, _tokenId *big.Int, _nftContract common.Address, _chainId *big.Int) (*types.Transaction, error)
LinkNFT is a paid mutator transaction binding the contract method 0xbab43293.
Solidity: function linkNFT(bytes32 _did, uint256 _tokenId, address _nftContract, uint256 _chainId) returns()
func (*ArcanaSession) Owner ¶
func (_Arcana *ArcanaSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ArcanaSession) RenounceOwnership ¶
func (_Arcana *ArcanaSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ArcanaSession) Revoke ¶
func (_Arcana *ArcanaSession) Revoke(_did [32]byte, _user common.Address, _accessType [32]byte) (*types.Transaction, error)
Revoke is a paid mutator transaction binding the contract method 0x6b2877d4.
Solidity: function revoke(bytes32 _did, address _user, bytes32 _accessType) returns()
func (*ArcanaSession) SetAppConfig ¶
func (_Arcana *ArcanaSession) SetAppConfig(appConfig [32]byte) (*types.Transaction, error)
SetAppConfig is a paid mutator transaction binding the contract method 0x54c0439d.
Solidity: function setAppConfig(bytes32 appConfig) returns()
func (*ArcanaSession) SetAppLevelLimit ¶
func (_Arcana *ArcanaSession) SetAppLevelLimit(_store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetAppLevelLimit is a paid mutator transaction binding the contract method 0x8a8b0933.
Solidity: function setAppLevelLimit(uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaSession) SetDefaultLimit ¶
func (_Arcana *ArcanaSession) SetDefaultLimit(_store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetDefaultLimit is a paid mutator transaction binding the contract method 0x377dd46e.
Solidity: function setDefaultLimit(uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaSession) SetUiMode ¶
func (_Arcana *ArcanaSession) SetUiMode() (*types.Transaction, error)
SetUiMode is a paid mutator transaction binding the contract method 0x65a349f7.
Solidity: function setUiMode() returns()
func (*ArcanaSession) SetUserLevelLimit ¶
func (_Arcana *ArcanaSession) SetUserLevelLimit(_user common.Address, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetUserLevelLimit is a paid mutator transaction binding the contract method 0x6a29afdc.
Solidity: function setUserLevelLimit(address _user, uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaSession) Share ¶
func (_Arcana *ArcanaSession) Share(_files [][32]byte, _user []common.Address, _accessType [][32]byte, _validity []*big.Int) (*types.Transaction, error)
Share is a paid mutator transaction binding the contract method 0x33dd1c0f.
Solidity: function share(bytes32[] _files, address[] _user, bytes32[] _accessType, uint256[] _validity) returns()
func (*ArcanaSession) TransferOwnership ¶
func (_Arcana *ArcanaSession) 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 (*ArcanaSession) UploadClose ¶
func (_Arcana *ArcanaSession) UploadClose(_did [32]byte) (*types.Transaction, error)
UploadClose is a paid mutator transaction binding the contract method 0x63a15202.
Solidity: function uploadClose(bytes32 _did) returns()
func (*ArcanaSession) UploadInit ¶
func (_Arcana *ArcanaSession) UploadInit(_did [32]byte, _fileSize *big.Int, _encryptedMetaData []byte, _storageNode common.Address, _ephemeralAddress common.Address, _duplicate bool) (*types.Transaction, error)
UploadInit is a paid mutator transaction binding the contract method 0x14798715.
Solidity: function uploadInit(bytes32 _did, uint256 _fileSize, bytes _encryptedMetaData, address _storageNode, address _ephemeralAddress, bool _duplicate) returns()
func (*ArcanaSession) WalletType ¶
func (_Arcana *ArcanaSession) WalletType() (uint8, error)
WalletType is a free data retrieval call binding the contract method 0x5b648b0a.
Solidity: function walletType() view returns(uint8)
type ArcanaTransactor ¶
type ArcanaTransactor struct {
// contains filtered or unexported fields
}
ArcanaTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewArcanaTransactor ¶
func NewArcanaTransactor(address common.Address, transactor bind.ContractTransactor) (*ArcanaTransactor, error)
NewArcanaTransactor creates a new write-only instance of Arcana, bound to a specific deployed contract.
func (*ArcanaTransactor) ChangeFileOwner ¶
func (_Arcana *ArcanaTransactor) ChangeFileOwner(opts *bind.TransactOpts, _did [32]byte, _newOwner common.Address) (*types.Transaction, error)
ChangeFileOwner is a paid mutator transaction binding the contract method 0xc5b26447.
Solidity: function changeFileOwner(bytes32 _did, address _newOwner) returns()
func (*ArcanaTransactor) CheckPermission ¶
func (_Arcana *ArcanaTransactor) CheckPermission(opts *bind.TransactOpts, _did [32]byte, _accessType [32]byte, _ephemeralAddress common.Address) (*types.Transaction, error)
CheckPermission is a paid mutator transaction binding the contract method 0x4a40d90d.
Solidity: function checkPermission(bytes32 _did, bytes32 _accessType, address _ephemeralAddress) returns()
func (*ArcanaTransactor) DeleteFile ¶
func (_Arcana *ArcanaTransactor) DeleteFile(opts *bind.TransactOpts, _did [32]byte) (*types.Transaction, error)
DeleteFile is a paid mutator transaction binding the contract method 0x6ab799f1.
Solidity: function deleteFile(bytes32 _did) returns()
func (*ArcanaTransactor) Initialize ¶
func (_Arcana *ArcanaTransactor) Initialize(opts *bind.TransactOpts, _factory common.Address, _relayer common.Address, _aggregateLogin bool, _handlerContract common.Address, _did common.Address, _appConfigValue [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x6625df6e.
Solidity: function initialize(address _factory, address _relayer, bool _aggregateLogin, address _handlerContract, address _did, bytes32 _appConfigValue) returns()
func (*ArcanaTransactor) LinkNFT ¶
func (_Arcana *ArcanaTransactor) LinkNFT(opts *bind.TransactOpts, _did [32]byte, _tokenId *big.Int, _nftContract common.Address, _chainId *big.Int) (*types.Transaction, error)
LinkNFT is a paid mutator transaction binding the contract method 0xbab43293.
Solidity: function linkNFT(bytes32 _did, uint256 _tokenId, address _nftContract, uint256 _chainId) returns()
func (*ArcanaTransactor) RenounceOwnership ¶
func (_Arcana *ArcanaTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ArcanaTransactor) Revoke ¶
func (_Arcana *ArcanaTransactor) Revoke(opts *bind.TransactOpts, _did [32]byte, _user common.Address, _accessType [32]byte) (*types.Transaction, error)
Revoke is a paid mutator transaction binding the contract method 0x6b2877d4.
Solidity: function revoke(bytes32 _did, address _user, bytes32 _accessType) returns()
func (*ArcanaTransactor) SetAppConfig ¶
func (_Arcana *ArcanaTransactor) SetAppConfig(opts *bind.TransactOpts, appConfig [32]byte) (*types.Transaction, error)
SetAppConfig is a paid mutator transaction binding the contract method 0x54c0439d.
Solidity: function setAppConfig(bytes32 appConfig) returns()
func (*ArcanaTransactor) SetAppLevelLimit ¶
func (_Arcana *ArcanaTransactor) SetAppLevelLimit(opts *bind.TransactOpts, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetAppLevelLimit is a paid mutator transaction binding the contract method 0x8a8b0933.
Solidity: function setAppLevelLimit(uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaTransactor) SetDefaultLimit ¶
func (_Arcana *ArcanaTransactor) SetDefaultLimit(opts *bind.TransactOpts, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetDefaultLimit is a paid mutator transaction binding the contract method 0x377dd46e.
Solidity: function setDefaultLimit(uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaTransactor) SetUiMode ¶
func (_Arcana *ArcanaTransactor) SetUiMode(opts *bind.TransactOpts) (*types.Transaction, error)
SetUiMode is a paid mutator transaction binding the contract method 0x65a349f7.
Solidity: function setUiMode() returns()
func (*ArcanaTransactor) SetUserLevelLimit ¶
func (_Arcana *ArcanaTransactor) SetUserLevelLimit(opts *bind.TransactOpts, _user common.Address, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetUserLevelLimit is a paid mutator transaction binding the contract method 0x6a29afdc.
Solidity: function setUserLevelLimit(address _user, uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaTransactor) Share ¶
func (_Arcana *ArcanaTransactor) Share(opts *bind.TransactOpts, _files [][32]byte, _user []common.Address, _accessType [][32]byte, _validity []*big.Int) (*types.Transaction, error)
Share is a paid mutator transaction binding the contract method 0x33dd1c0f.
Solidity: function share(bytes32[] _files, address[] _user, bytes32[] _accessType, uint256[] _validity) returns()
func (*ArcanaTransactor) TransferOwnership ¶
func (_Arcana *ArcanaTransactor) 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 (*ArcanaTransactor) UploadClose ¶
func (_Arcana *ArcanaTransactor) UploadClose(opts *bind.TransactOpts, _did [32]byte) (*types.Transaction, error)
UploadClose is a paid mutator transaction binding the contract method 0x63a15202.
Solidity: function uploadClose(bytes32 _did) returns()
func (*ArcanaTransactor) UploadInit ¶
func (_Arcana *ArcanaTransactor) UploadInit(opts *bind.TransactOpts, _did [32]byte, _fileSize *big.Int, _encryptedMetaData []byte, _storageNode common.Address, _ephemeralAddress common.Address, _duplicate bool) (*types.Transaction, error)
UploadInit is a paid mutator transaction binding the contract method 0x14798715.
Solidity: function uploadInit(bytes32 _did, uint256 _fileSize, bytes _encryptedMetaData, address _storageNode, address _ephemeralAddress, bool _duplicate) returns()
type ArcanaTransactorRaw ¶
type ArcanaTransactorRaw struct {
Contract *ArcanaTransactor // Generic write-only contract binding to access the raw methods on
}
ArcanaTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ArcanaTransactorRaw) Transact ¶
func (_Arcana *ArcanaTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ArcanaTransactorRaw) Transfer ¶
func (_Arcana *ArcanaTransactorRaw) 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 ArcanaTransactorSession ¶
type ArcanaTransactorSession struct { Contract *ArcanaTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ArcanaTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ArcanaTransactorSession) ChangeFileOwner ¶
func (_Arcana *ArcanaTransactorSession) ChangeFileOwner(_did [32]byte, _newOwner common.Address) (*types.Transaction, error)
ChangeFileOwner is a paid mutator transaction binding the contract method 0xc5b26447.
Solidity: function changeFileOwner(bytes32 _did, address _newOwner) returns()
func (*ArcanaTransactorSession) CheckPermission ¶
func (_Arcana *ArcanaTransactorSession) CheckPermission(_did [32]byte, _accessType [32]byte, _ephemeralAddress common.Address) (*types.Transaction, error)
CheckPermission is a paid mutator transaction binding the contract method 0x4a40d90d.
Solidity: function checkPermission(bytes32 _did, bytes32 _accessType, address _ephemeralAddress) returns()
func (*ArcanaTransactorSession) DeleteFile ¶
func (_Arcana *ArcanaTransactorSession) DeleteFile(_did [32]byte) (*types.Transaction, error)
DeleteFile is a paid mutator transaction binding the contract method 0x6ab799f1.
Solidity: function deleteFile(bytes32 _did) returns()
func (*ArcanaTransactorSession) Initialize ¶
func (_Arcana *ArcanaTransactorSession) Initialize(_factory common.Address, _relayer common.Address, _aggregateLogin bool, _handlerContract common.Address, _did common.Address, _appConfigValue [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x6625df6e.
Solidity: function initialize(address _factory, address _relayer, bool _aggregateLogin, address _handlerContract, address _did, bytes32 _appConfigValue) returns()
func (*ArcanaTransactorSession) LinkNFT ¶
func (_Arcana *ArcanaTransactorSession) LinkNFT(_did [32]byte, _tokenId *big.Int, _nftContract common.Address, _chainId *big.Int) (*types.Transaction, error)
LinkNFT is a paid mutator transaction binding the contract method 0xbab43293.
Solidity: function linkNFT(bytes32 _did, uint256 _tokenId, address _nftContract, uint256 _chainId) returns()
func (*ArcanaTransactorSession) RenounceOwnership ¶
func (_Arcana *ArcanaTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ArcanaTransactorSession) Revoke ¶
func (_Arcana *ArcanaTransactorSession) Revoke(_did [32]byte, _user common.Address, _accessType [32]byte) (*types.Transaction, error)
Revoke is a paid mutator transaction binding the contract method 0x6b2877d4.
Solidity: function revoke(bytes32 _did, address _user, bytes32 _accessType) returns()
func (*ArcanaTransactorSession) SetAppConfig ¶
func (_Arcana *ArcanaTransactorSession) SetAppConfig(appConfig [32]byte) (*types.Transaction, error)
SetAppConfig is a paid mutator transaction binding the contract method 0x54c0439d.
Solidity: function setAppConfig(bytes32 appConfig) returns()
func (*ArcanaTransactorSession) SetAppLevelLimit ¶
func (_Arcana *ArcanaTransactorSession) SetAppLevelLimit(_store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetAppLevelLimit is a paid mutator transaction binding the contract method 0x8a8b0933.
Solidity: function setAppLevelLimit(uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaTransactorSession) SetDefaultLimit ¶
func (_Arcana *ArcanaTransactorSession) SetDefaultLimit(_store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetDefaultLimit is a paid mutator transaction binding the contract method 0x377dd46e.
Solidity: function setDefaultLimit(uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaTransactorSession) SetUiMode ¶
func (_Arcana *ArcanaTransactorSession) SetUiMode() (*types.Transaction, error)
SetUiMode is a paid mutator transaction binding the contract method 0x65a349f7.
Solidity: function setUiMode() returns()
func (*ArcanaTransactorSession) SetUserLevelLimit ¶
func (_Arcana *ArcanaTransactorSession) SetUserLevelLimit(_user common.Address, _store *big.Int, _bandwidth *big.Int) (*types.Transaction, error)
SetUserLevelLimit is a paid mutator transaction binding the contract method 0x6a29afdc.
Solidity: function setUserLevelLimit(address _user, uint256 _store, uint256 _bandwidth) returns()
func (*ArcanaTransactorSession) Share ¶
func (_Arcana *ArcanaTransactorSession) Share(_files [][32]byte, _user []common.Address, _accessType [][32]byte, _validity []*big.Int) (*types.Transaction, error)
Share is a paid mutator transaction binding the contract method 0x33dd1c0f.
Solidity: function share(bytes32[] _files, address[] _user, bytes32[] _accessType, uint256[] _validity) returns()
func (*ArcanaTransactorSession) TransferOwnership ¶
func (_Arcana *ArcanaTransactorSession) 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 (*ArcanaTransactorSession) UploadClose ¶
func (_Arcana *ArcanaTransactorSession) UploadClose(_did [32]byte) (*types.Transaction, error)
UploadClose is a paid mutator transaction binding the contract method 0x63a15202.
Solidity: function uploadClose(bytes32 _did) returns()
func (*ArcanaTransactorSession) UploadInit ¶
func (_Arcana *ArcanaTransactorSession) UploadInit(_did [32]byte, _fileSize *big.Int, _encryptedMetaData []byte, _storageNode common.Address, _ephemeralAddress common.Address, _duplicate bool) (*types.Transaction, error)
UploadInit is a paid mutator transaction binding the contract method 0x14798715.
Solidity: function uploadInit(bytes32 _did, uint256 _fileSize, bytes _encryptedMetaData, address _storageNode, address _ephemeralAddress, bool _duplicate) returns()
type Forwarder ¶
type Forwarder struct { ForwarderCaller // Read-only binding to the contract ForwarderTransactor // Write-only binding to the contract ForwarderFilterer // Log filterer for contract events }
Forwarder is an auto generated Go binding around an Ethereum contract.
type ForwarderCaller ¶
type ForwarderCaller struct {
// contains filtered or unexported fields
}
ForwarderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewForwarderCaller ¶
func NewForwarderCaller(address common.Address, caller bind.ContractCaller) (*ForwarderCaller, error)
NewForwarderCaller creates a new read-only instance of Forwarder, bound to a specific deployed contract.
func (*ForwarderCaller) Factory ¶
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*ForwarderCaller) GetNonce ¶
func (_Forwarder *ForwarderCaller) GetNonce(opts *bind.CallOpts, from common.Address) (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0x2d0335ab.
Solidity: function getNonce(address from) view returns(uint256)
func (*ForwarderCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ForwarderCaller) Verify ¶
func (_Forwarder *ForwarderCaller) Verify(opts *bind.CallOpts, req ForwarderForwardRequest, signature []byte) (bool, error)
Verify is a free data retrieval call binding the contract method 0xbf5d3bdb.
Solidity: function verify((address,address,uint256,uint256,uint256,bytes) req, bytes signature) view returns(bool)
type ForwarderCallerRaw ¶
type ForwarderCallerRaw struct {
Contract *ForwarderCaller // Generic read-only contract binding to access the raw methods on
}
ForwarderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ForwarderCallerRaw) Call ¶
func (_Forwarder *ForwarderCallerRaw) 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 ForwarderCallerSession ¶
type ForwarderCallerSession struct { Contract *ForwarderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ForwarderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ForwarderCallerSession) Factory ¶
func (_Forwarder *ForwarderCallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*ForwarderCallerSession) GetNonce ¶
GetNonce is a free data retrieval call binding the contract method 0x2d0335ab.
Solidity: function getNonce(address from) view returns(uint256)
func (*ForwarderCallerSession) Owner ¶
func (_Forwarder *ForwarderCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ForwarderCallerSession) Verify ¶
func (_Forwarder *ForwarderCallerSession) Verify(req ForwarderForwardRequest, signature []byte) (bool, error)
Verify is a free data retrieval call binding the contract method 0xbf5d3bdb.
Solidity: function verify((address,address,uint256,uint256,uint256,bytes) req, bytes signature) view returns(bool)
type ForwarderFilterer ¶
type ForwarderFilterer struct {
// contains filtered or unexported fields
}
ForwarderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewForwarderFilterer ¶
func NewForwarderFilterer(address common.Address, filterer bind.ContractFilterer) (*ForwarderFilterer, error)
NewForwarderFilterer creates a new log filterer instance of Forwarder, bound to a specific deployed contract.
func (*ForwarderFilterer) FilterOwnershipTransferred ¶
func (_Forwarder *ForwarderFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ForwarderOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ForwarderFilterer) ParseOwnershipTransferred ¶
func (_Forwarder *ForwarderFilterer) ParseOwnershipTransferred(log types.Log) (*ForwarderOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ForwarderFilterer) WatchOwnershipTransferred ¶
func (_Forwarder *ForwarderFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ForwarderOwnershipTransferred, 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)
type ForwarderForwardRequest ¶
type ForwarderForwardRequest struct { From common.Address To common.Address Value *big.Int Gas *big.Int Nonce *big.Int Data []byte }
ForwarderForwardRequest is an auto generated low-level Go binding around an user-defined struct.
type ForwarderOwnershipTransferred ¶
type ForwarderOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ForwarderOwnershipTransferred represents a OwnershipTransferred event raised by the Forwarder contract.
type ForwarderOwnershipTransferredIterator ¶
type ForwarderOwnershipTransferredIterator struct { Event *ForwarderOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ForwarderOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Forwarder contract.
func (*ForwarderOwnershipTransferredIterator) Close ¶
func (it *ForwarderOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ForwarderOwnershipTransferredIterator) Error ¶
func (it *ForwarderOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ForwarderOwnershipTransferredIterator) Next ¶
func (it *ForwarderOwnershipTransferredIterator) 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 ForwarderRaw ¶
type ForwarderRaw struct {
Contract *Forwarder // Generic contract binding to access the raw methods on
}
ForwarderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ForwarderRaw) Call ¶
func (_Forwarder *ForwarderRaw) 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 (*ForwarderRaw) Transact ¶
func (_Forwarder *ForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ForwarderRaw) Transfer ¶
func (_Forwarder *ForwarderRaw) 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 ForwarderSession ¶
type ForwarderSession struct { Contract *Forwarder // 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 }
ForwarderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ForwarderSession) Execute ¶
func (_Forwarder *ForwarderSession) Execute(req ForwarderForwardRequest, signature []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x47153f82.
Solidity: function execute((address,address,uint256,uint256,uint256,bytes) req, bytes signature) returns(bool, bytes)
func (*ForwarderSession) Factory ¶
func (_Forwarder *ForwarderSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*ForwarderSession) GetNonce ¶
GetNonce is a free data retrieval call binding the contract method 0x2d0335ab.
Solidity: function getNonce(address from) view returns(uint256)
func (*ForwarderSession) Owner ¶
func (_Forwarder *ForwarderSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ForwarderSession) RenounceOwnership ¶
func (_Forwarder *ForwarderSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ForwarderSession) SetFactory ¶
func (_Forwarder *ForwarderSession) SetFactory(_factory common.Address) (*types.Transaction, error)
SetFactory is a paid mutator transaction binding the contract method 0x5bb47808.
Solidity: function setFactory(address _factory) returns()
func (*ForwarderSession) TransferOwnership ¶
func (_Forwarder *ForwarderSession) 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 (*ForwarderSession) Verify ¶
func (_Forwarder *ForwarderSession) Verify(req ForwarderForwardRequest, signature []byte) (bool, error)
Verify is a free data retrieval call binding the contract method 0xbf5d3bdb.
Solidity: function verify((address,address,uint256,uint256,uint256,bytes) req, bytes signature) view returns(bool)
type ForwarderTransactor ¶
type ForwarderTransactor struct {
// contains filtered or unexported fields
}
ForwarderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewForwarderTransactor ¶
func NewForwarderTransactor(address common.Address, transactor bind.ContractTransactor) (*ForwarderTransactor, error)
NewForwarderTransactor creates a new write-only instance of Forwarder, bound to a specific deployed contract.
func (*ForwarderTransactor) Execute ¶
func (_Forwarder *ForwarderTransactor) Execute(opts *bind.TransactOpts, req ForwarderForwardRequest, signature []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x47153f82.
Solidity: function execute((address,address,uint256,uint256,uint256,bytes) req, bytes signature) returns(bool, bytes)
func (*ForwarderTransactor) RenounceOwnership ¶
func (_Forwarder *ForwarderTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ForwarderTransactor) SetFactory ¶
func (_Forwarder *ForwarderTransactor) SetFactory(opts *bind.TransactOpts, _factory common.Address) (*types.Transaction, error)
SetFactory is a paid mutator transaction binding the contract method 0x5bb47808.
Solidity: function setFactory(address _factory) returns()
func (*ForwarderTransactor) TransferOwnership ¶
func (_Forwarder *ForwarderTransactor) 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()
type ForwarderTransactorRaw ¶
type ForwarderTransactorRaw struct {
Contract *ForwarderTransactor // Generic write-only contract binding to access the raw methods on
}
ForwarderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ForwarderTransactorRaw) Transact ¶
func (_Forwarder *ForwarderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ForwarderTransactorRaw) Transfer ¶
func (_Forwarder *ForwarderTransactorRaw) 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 ForwarderTransactorSession ¶
type ForwarderTransactorSession struct { Contract *ForwarderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ForwarderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ForwarderTransactorSession) Execute ¶
func (_Forwarder *ForwarderTransactorSession) Execute(req ForwarderForwardRequest, signature []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x47153f82.
Solidity: function execute((address,address,uint256,uint256,uint256,bytes) req, bytes signature) returns(bool, bytes)
func (*ForwarderTransactorSession) RenounceOwnership ¶
func (_Forwarder *ForwarderTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ForwarderTransactorSession) SetFactory ¶
func (_Forwarder *ForwarderTransactorSession) SetFactory(_factory common.Address) (*types.Transaction, error)
SetFactory is a paid mutator transaction binding the contract method 0x5bb47808.
Solidity: function setFactory(address _factory) returns()
func (*ForwarderTransactorSession) TransferOwnership ¶
func (_Forwarder *ForwarderTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()