allowlist

package
v0.0.0-...-63bf43c Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IAllowListABI = IAllowListMetaData.ABI

IAllowListABI is the input ABI used to generate the binding from. Deprecated: Use IAllowListMetaData.ABI instead.

View Source
var IAllowListMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumIAllowList.AccessMode\",\"name\":\"previousMode\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"enumIAllowList.AccessMode\",\"name\":\"newMode\",\"type\":\"uint8\"}],\"name\":\"UpdateAccessMode\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"functionSig\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"name\":\"UpdateCallPermission\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_caller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"_functionSig\",\"type\":\"bytes4\"}],\"name\":\"canCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"}],\"name\":\"getAccessMode\",\"outputs\":[{\"internalType\":\"enumIAllowList.AccessMode\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"}],\"name\":\"getTokenDepositLimitData\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"depositLimitation\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"depositCap\",\"type\":\"uint256\"}],\"internalType\":\"structIAllowList.Deposit\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_caller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"_functionSig\",\"type\":\"bytes4\"}],\"name\":\"hasSpecialAccessToCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"enumIAllowList.AccessMode\",\"name\":\"_accessMode\",\"type\":\"uint8\"}],\"name\":\"setAccessMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_targets\",\"type\":\"address[]\"},{\"internalType\":\"enumIAllowList.AccessMode[]\",\"name\":\"_accessMode\",\"type\":\"uint8[]\"}],\"name\":\"setBatchAccessMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_callers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_targets\",\"type\":\"address[]\"},{\"internalType\":\"bytes4[]\",\"name\":\"_functionSigs\",\"type\":\"bytes4[]\"},{\"internalType\":\"bool[]\",\"name\":\"_enables\",\"type\":\"bool[]\"}],\"name\":\"setBatchPermissionToCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_depositLimitation\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"_depositCap\",\"type\":\"uint256\"}],\"name\":\"setDepositLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_caller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"_functionSig\",\"type\":\"bytes4\"},{\"internalType\":\"bool\",\"name\":\"_enable\",\"type\":\"bool\"}],\"name\":\"setPermissionToCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IAllowListMetaData contains all meta data concerning the IAllowList contract.

Functions

This section is empty.

Types

type IAllowList

type IAllowList struct {
	IAllowListCaller     // Read-only binding to the contract
	IAllowListTransactor // Write-only binding to the contract
	IAllowListFilterer   // Log filterer for contract events
}

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

func NewIAllowList

func NewIAllowList(address common.Address, backend bind.ContractBackend) (*IAllowList, error)

NewIAllowList creates a new instance of IAllowList, bound to a specific deployed contract.

type IAllowListCaller

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

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

func NewIAllowListCaller

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

NewIAllowListCaller creates a new read-only instance of IAllowList, bound to a specific deployed contract.

func (*IAllowListCaller) CanCall

func (_IAllowList *IAllowListCaller) CanCall(opts *bind.CallOpts, _caller common.Address, _target common.Address, _functionSig [4]byte) (bool, error)

CanCall is a free data retrieval call binding the contract method 0xb7009613.

Solidity: function canCall(address _caller, address _target, bytes4 _functionSig) view returns(bool)

func (*IAllowListCaller) GetAccessMode

func (_IAllowList *IAllowListCaller) GetAccessMode(opts *bind.CallOpts, _target common.Address) (uint8, error)

GetAccessMode is a free data retrieval call binding the contract method 0x285712c8.

Solidity: function getAccessMode(address _target) view returns(uint8)

func (*IAllowListCaller) GetTokenDepositLimitData

func (_IAllowList *IAllowListCaller) GetTokenDepositLimitData(opts *bind.CallOpts, _l1Token common.Address) (IAllowListDeposit, error)

GetTokenDepositLimitData is a free data retrieval call binding the contract method 0x7cf14701.

Solidity: function getTokenDepositLimitData(address _l1Token) view returns((bool,uint256))

func (*IAllowListCaller) HasSpecialAccessToCall

func (_IAllowList *IAllowListCaller) HasSpecialAccessToCall(opts *bind.CallOpts, _caller common.Address, _target common.Address, _functionSig [4]byte) (bool, error)

HasSpecialAccessToCall is a free data retrieval call binding the contract method 0x5965cf8c.

Solidity: function hasSpecialAccessToCall(address _caller, address _target, bytes4 _functionSig) view returns(bool)

type IAllowListCallerRaw

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

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

func (*IAllowListCallerRaw) Call

func (_IAllowList *IAllowListCallerRaw) 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 IAllowListCallerSession

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

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

func (*IAllowListCallerSession) CanCall

func (_IAllowList *IAllowListCallerSession) CanCall(_caller common.Address, _target common.Address, _functionSig [4]byte) (bool, error)

CanCall is a free data retrieval call binding the contract method 0xb7009613.

Solidity: function canCall(address _caller, address _target, bytes4 _functionSig) view returns(bool)

func (*IAllowListCallerSession) GetAccessMode

func (_IAllowList *IAllowListCallerSession) GetAccessMode(_target common.Address) (uint8, error)

GetAccessMode is a free data retrieval call binding the contract method 0x285712c8.

Solidity: function getAccessMode(address _target) view returns(uint8)

func (*IAllowListCallerSession) GetTokenDepositLimitData

func (_IAllowList *IAllowListCallerSession) GetTokenDepositLimitData(_l1Token common.Address) (IAllowListDeposit, error)

GetTokenDepositLimitData is a free data retrieval call binding the contract method 0x7cf14701.

Solidity: function getTokenDepositLimitData(address _l1Token) view returns((bool,uint256))

func (*IAllowListCallerSession) HasSpecialAccessToCall

func (_IAllowList *IAllowListCallerSession) HasSpecialAccessToCall(_caller common.Address, _target common.Address, _functionSig [4]byte) (bool, error)

HasSpecialAccessToCall is a free data retrieval call binding the contract method 0x5965cf8c.

Solidity: function hasSpecialAccessToCall(address _caller, address _target, bytes4 _functionSig) view returns(bool)

type IAllowListDeposit

type IAllowListDeposit struct {
	DepositLimitation bool
	DepositCap        *big.Int
}

IAllowListDeposit is an auto generated low-level Go binding around an user-defined struct.

type IAllowListFilterer

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

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

func NewIAllowListFilterer

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

NewIAllowListFilterer creates a new log filterer instance of IAllowList, bound to a specific deployed contract.

func (*IAllowListFilterer) FilterUpdateAccessMode

func (_IAllowList *IAllowListFilterer) FilterUpdateAccessMode(opts *bind.FilterOpts, target []common.Address) (*IAllowListUpdateAccessModeIterator, error)

FilterUpdateAccessMode is a free log retrieval operation binding the contract event 0x3b3c3f982e4b12b1870d2ff77adfdb97d3838faab0fd8a6b255160e52e79a82f.

Solidity: event UpdateAccessMode(address indexed target, uint8 previousMode, uint8 newMode)

func (*IAllowListFilterer) FilterUpdateCallPermission

func (_IAllowList *IAllowListFilterer) FilterUpdateCallPermission(opts *bind.FilterOpts, caller []common.Address, target []common.Address, functionSig [][4]byte) (*IAllowListUpdateCallPermissionIterator, error)

FilterUpdateCallPermission is a free log retrieval operation binding the contract event 0x3336e7aa4c86fcb95fa993c8022c30690f1f696f67f138c845d81dc5484c9a32.

Solidity: event UpdateCallPermission(address indexed caller, address indexed target, bytes4 indexed functionSig, bool status)

func (*IAllowListFilterer) ParseUpdateAccessMode

func (_IAllowList *IAllowListFilterer) ParseUpdateAccessMode(log types.Log) (*IAllowListUpdateAccessMode, error)

ParseUpdateAccessMode is a log parse operation binding the contract event 0x3b3c3f982e4b12b1870d2ff77adfdb97d3838faab0fd8a6b255160e52e79a82f.

Solidity: event UpdateAccessMode(address indexed target, uint8 previousMode, uint8 newMode)

func (*IAllowListFilterer) ParseUpdateCallPermission

func (_IAllowList *IAllowListFilterer) ParseUpdateCallPermission(log types.Log) (*IAllowListUpdateCallPermission, error)

ParseUpdateCallPermission is a log parse operation binding the contract event 0x3336e7aa4c86fcb95fa993c8022c30690f1f696f67f138c845d81dc5484c9a32.

Solidity: event UpdateCallPermission(address indexed caller, address indexed target, bytes4 indexed functionSig, bool status)

func (*IAllowListFilterer) WatchUpdateAccessMode

func (_IAllowList *IAllowListFilterer) WatchUpdateAccessMode(opts *bind.WatchOpts, sink chan<- *IAllowListUpdateAccessMode, target []common.Address) (event.Subscription, error)

WatchUpdateAccessMode is a free log subscription operation binding the contract event 0x3b3c3f982e4b12b1870d2ff77adfdb97d3838faab0fd8a6b255160e52e79a82f.

Solidity: event UpdateAccessMode(address indexed target, uint8 previousMode, uint8 newMode)

func (*IAllowListFilterer) WatchUpdateCallPermission

func (_IAllowList *IAllowListFilterer) WatchUpdateCallPermission(opts *bind.WatchOpts, sink chan<- *IAllowListUpdateCallPermission, caller []common.Address, target []common.Address, functionSig [][4]byte) (event.Subscription, error)

WatchUpdateCallPermission is a free log subscription operation binding the contract event 0x3336e7aa4c86fcb95fa993c8022c30690f1f696f67f138c845d81dc5484c9a32.

Solidity: event UpdateCallPermission(address indexed caller, address indexed target, bytes4 indexed functionSig, bool status)

type IAllowListRaw

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

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

func (*IAllowListRaw) Call

func (_IAllowList *IAllowListRaw) 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 (*IAllowListRaw) Transact

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

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

func (*IAllowListRaw) Transfer

func (_IAllowList *IAllowListRaw) 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 IAllowListSession

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

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

func (*IAllowListSession) CanCall

func (_IAllowList *IAllowListSession) CanCall(_caller common.Address, _target common.Address, _functionSig [4]byte) (bool, error)

CanCall is a free data retrieval call binding the contract method 0xb7009613.

Solidity: function canCall(address _caller, address _target, bytes4 _functionSig) view returns(bool)

func (*IAllowListSession) GetAccessMode

func (_IAllowList *IAllowListSession) GetAccessMode(_target common.Address) (uint8, error)

GetAccessMode is a free data retrieval call binding the contract method 0x285712c8.

Solidity: function getAccessMode(address _target) view returns(uint8)

func (*IAllowListSession) GetTokenDepositLimitData

func (_IAllowList *IAllowListSession) GetTokenDepositLimitData(_l1Token common.Address) (IAllowListDeposit, error)

GetTokenDepositLimitData is a free data retrieval call binding the contract method 0x7cf14701.

Solidity: function getTokenDepositLimitData(address _l1Token) view returns((bool,uint256))

func (*IAllowListSession) HasSpecialAccessToCall

func (_IAllowList *IAllowListSession) HasSpecialAccessToCall(_caller common.Address, _target common.Address, _functionSig [4]byte) (bool, error)

HasSpecialAccessToCall is a free data retrieval call binding the contract method 0x5965cf8c.

Solidity: function hasSpecialAccessToCall(address _caller, address _target, bytes4 _functionSig) view returns(bool)

func (*IAllowListSession) SetAccessMode

func (_IAllowList *IAllowListSession) SetAccessMode(_target common.Address, _accessMode uint8) (*types.Transaction, error)

SetAccessMode is a paid mutator transaction binding the contract method 0xffc7d0b4.

Solidity: function setAccessMode(address _target, uint8 _accessMode) returns()

func (*IAllowListSession) SetBatchAccessMode

func (_IAllowList *IAllowListSession) SetBatchAccessMode(_targets []common.Address, _accessMode []uint8) (*types.Transaction, error)

SetBatchAccessMode is a paid mutator transaction binding the contract method 0xec5f109a.

Solidity: function setBatchAccessMode(address[] _targets, uint8[] _accessMode) returns()

func (*IAllowListSession) SetBatchPermissionToCall

func (_IAllowList *IAllowListSession) SetBatchPermissionToCall(_callers []common.Address, _targets []common.Address, _functionSigs [][4]byte, _enables []bool) (*types.Transaction, error)

SetBatchPermissionToCall is a paid mutator transaction binding the contract method 0x507d1bed.

Solidity: function setBatchPermissionToCall(address[] _callers, address[] _targets, bytes4[] _functionSigs, bool[] _enables) returns()

func (*IAllowListSession) SetDepositLimit

func (_IAllowList *IAllowListSession) SetDepositLimit(_l1Token common.Address, _depositLimitation bool, _depositCap *big.Int) (*types.Transaction, error)

SetDepositLimit is a paid mutator transaction binding the contract method 0xdff05449.

Solidity: function setDepositLimit(address _l1Token, bool _depositLimitation, uint256 _depositCap) returns()

func (*IAllowListSession) SetPermissionToCall

func (_IAllowList *IAllowListSession) SetPermissionToCall(_caller common.Address, _target common.Address, _functionSig [4]byte, _enable bool) (*types.Transaction, error)

SetPermissionToCall is a paid mutator transaction binding the contract method 0x73df5d8d.

Solidity: function setPermissionToCall(address _caller, address _target, bytes4 _functionSig, bool _enable) returns()

type IAllowListTransactor

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

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

func NewIAllowListTransactor

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

NewIAllowListTransactor creates a new write-only instance of IAllowList, bound to a specific deployed contract.

func (*IAllowListTransactor) SetAccessMode

func (_IAllowList *IAllowListTransactor) SetAccessMode(opts *bind.TransactOpts, _target common.Address, _accessMode uint8) (*types.Transaction, error)

SetAccessMode is a paid mutator transaction binding the contract method 0xffc7d0b4.

Solidity: function setAccessMode(address _target, uint8 _accessMode) returns()

func (*IAllowListTransactor) SetBatchAccessMode

func (_IAllowList *IAllowListTransactor) SetBatchAccessMode(opts *bind.TransactOpts, _targets []common.Address, _accessMode []uint8) (*types.Transaction, error)

SetBatchAccessMode is a paid mutator transaction binding the contract method 0xec5f109a.

Solidity: function setBatchAccessMode(address[] _targets, uint8[] _accessMode) returns()

func (*IAllowListTransactor) SetBatchPermissionToCall

func (_IAllowList *IAllowListTransactor) SetBatchPermissionToCall(opts *bind.TransactOpts, _callers []common.Address, _targets []common.Address, _functionSigs [][4]byte, _enables []bool) (*types.Transaction, error)

SetBatchPermissionToCall is a paid mutator transaction binding the contract method 0x507d1bed.

Solidity: function setBatchPermissionToCall(address[] _callers, address[] _targets, bytes4[] _functionSigs, bool[] _enables) returns()

func (*IAllowListTransactor) SetDepositLimit

func (_IAllowList *IAllowListTransactor) SetDepositLimit(opts *bind.TransactOpts, _l1Token common.Address, _depositLimitation bool, _depositCap *big.Int) (*types.Transaction, error)

SetDepositLimit is a paid mutator transaction binding the contract method 0xdff05449.

Solidity: function setDepositLimit(address _l1Token, bool _depositLimitation, uint256 _depositCap) returns()

func (*IAllowListTransactor) SetPermissionToCall

func (_IAllowList *IAllowListTransactor) SetPermissionToCall(opts *bind.TransactOpts, _caller common.Address, _target common.Address, _functionSig [4]byte, _enable bool) (*types.Transaction, error)

SetPermissionToCall is a paid mutator transaction binding the contract method 0x73df5d8d.

Solidity: function setPermissionToCall(address _caller, address _target, bytes4 _functionSig, bool _enable) returns()

type IAllowListTransactorRaw

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

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

func (*IAllowListTransactorRaw) Transact

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

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

func (*IAllowListTransactorRaw) Transfer

func (_IAllowList *IAllowListTransactorRaw) 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 IAllowListTransactorSession

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

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

func (*IAllowListTransactorSession) SetAccessMode

func (_IAllowList *IAllowListTransactorSession) SetAccessMode(_target common.Address, _accessMode uint8) (*types.Transaction, error)

SetAccessMode is a paid mutator transaction binding the contract method 0xffc7d0b4.

Solidity: function setAccessMode(address _target, uint8 _accessMode) returns()

func (*IAllowListTransactorSession) SetBatchAccessMode

func (_IAllowList *IAllowListTransactorSession) SetBatchAccessMode(_targets []common.Address, _accessMode []uint8) (*types.Transaction, error)

SetBatchAccessMode is a paid mutator transaction binding the contract method 0xec5f109a.

Solidity: function setBatchAccessMode(address[] _targets, uint8[] _accessMode) returns()

func (*IAllowListTransactorSession) SetBatchPermissionToCall

func (_IAllowList *IAllowListTransactorSession) SetBatchPermissionToCall(_callers []common.Address, _targets []common.Address, _functionSigs [][4]byte, _enables []bool) (*types.Transaction, error)

SetBatchPermissionToCall is a paid mutator transaction binding the contract method 0x507d1bed.

Solidity: function setBatchPermissionToCall(address[] _callers, address[] _targets, bytes4[] _functionSigs, bool[] _enables) returns()

func (*IAllowListTransactorSession) SetDepositLimit

func (_IAllowList *IAllowListTransactorSession) SetDepositLimit(_l1Token common.Address, _depositLimitation bool, _depositCap *big.Int) (*types.Transaction, error)

SetDepositLimit is a paid mutator transaction binding the contract method 0xdff05449.

Solidity: function setDepositLimit(address _l1Token, bool _depositLimitation, uint256 _depositCap) returns()

func (*IAllowListTransactorSession) SetPermissionToCall

func (_IAllowList *IAllowListTransactorSession) SetPermissionToCall(_caller common.Address, _target common.Address, _functionSig [4]byte, _enable bool) (*types.Transaction, error)

SetPermissionToCall is a paid mutator transaction binding the contract method 0x73df5d8d.

Solidity: function setPermissionToCall(address _caller, address _target, bytes4 _functionSig, bool _enable) returns()

type IAllowListUpdateAccessMode

type IAllowListUpdateAccessMode struct {
	Target       common.Address
	PreviousMode uint8
	NewMode      uint8
	Raw          types.Log // Blockchain specific contextual infos
}

IAllowListUpdateAccessMode represents a UpdateAccessMode event raised by the IAllowList contract.

type IAllowListUpdateAccessModeIterator

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

IAllowListUpdateAccessModeIterator is returned from FilterUpdateAccessMode and is used to iterate over the raw logs and unpacked data for UpdateAccessMode events raised by the IAllowList contract.

func (*IAllowListUpdateAccessModeIterator) Close

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

func (*IAllowListUpdateAccessModeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAllowListUpdateAccessModeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IAllowListUpdateCallPermission

type IAllowListUpdateCallPermission struct {
	Caller      common.Address
	Target      common.Address
	FunctionSig [4]byte
	Status      bool
	Raw         types.Log // Blockchain specific contextual infos
}

IAllowListUpdateCallPermission represents a UpdateCallPermission event raised by the IAllowList contract.

type IAllowListUpdateCallPermissionIterator

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

IAllowListUpdateCallPermissionIterator is returned from FilterUpdateCallPermission and is used to iterate over the raw logs and unpacked data for UpdateCallPermission events raised by the IAllowList contract.

func (*IAllowListUpdateCallPermissionIterator) Close

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

func (*IAllowListUpdateCallPermissionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAllowListUpdateCallPermissionIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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