quotamanager

package
v0.3.1-0...-684a909 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QuotaManagerABI = QuotaManagerMetaData.ABI

QuotaManagerABI is the input ABI used to generate the binding from. Deprecated: Use QuotaManagerMetaData.ABI instead.

View Source
var QuotaManagerMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addressManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"availableQuota\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_leap\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"consumeQuota\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"impl\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inNonReentrant\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"init\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_addressManager\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_quotaPeriod\",\"type\":\"uint24\",\"internalType\":\"uint24\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"lastUnpausedAt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"quotaPeriod\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint24\",\"internalType\":\"uint24\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"addresspayable\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"addresspayable\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setQuotaPeriod\",\"inputs\":[{\"name\":\"_quotaPeriod\",\"type\":\"uint24\",\"internalType\":\"uint24\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"tokenQuota\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"updatedAt\",\"type\":\"uint48\",\"internalType\":\"uint48\"},{\"name\":\"quota\",\"type\":\"uint104\",\"internalType\":\"uint104\"},{\"name\":\"available\",\"type\":\"uint104\",\"internalType\":\"uint104\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateQuota\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_quota\",\"type\":\"uint104\",\"internalType\":\"uint104\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeTo\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferStarted\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"QuotaPeriodUpdated\",\"inputs\":[{\"name\":\"quotaPeriod\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"QuotaUpdated\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"oldQuota\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"newQuota\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"FUNC_NOT_IMPLEMENTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PAUSE_STATUS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"QM_INVALID_PARAM\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"QM_OUT_OF_QUOTA\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"REENTRANT_CALL\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_INVALID_MANAGER\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_UNEXPECTED_CHAINID\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_ZERO_ADDR\",\"inputs\":[{\"name\":\"chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
}

QuotaManagerMetaData contains all meta data concerning the QuotaManager contract.

Functions

This section is empty.

Types

type QuotaManager

type QuotaManager struct {
	QuotaManagerCaller     // Read-only binding to the contract
	QuotaManagerTransactor // Write-only binding to the contract
	QuotaManagerFilterer   // Log filterer for contract events
}

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

func NewQuotaManager

func NewQuotaManager(address common.Address, backend bind.ContractBackend) (*QuotaManager, error)

NewQuotaManager creates a new instance of QuotaManager, bound to a specific deployed contract.

type QuotaManagerAdminChanged

type QuotaManagerAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

QuotaManagerAdminChanged represents a AdminChanged event raised by the QuotaManager contract.

type QuotaManagerAdminChangedIterator

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

QuotaManagerAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the QuotaManager contract.

func (*QuotaManagerAdminChangedIterator) Close

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

func (*QuotaManagerAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerAdminChangedIterator) 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 QuotaManagerBeaconUpgraded

type QuotaManagerBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

QuotaManagerBeaconUpgraded represents a BeaconUpgraded event raised by the QuotaManager contract.

type QuotaManagerBeaconUpgradedIterator

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

QuotaManagerBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the QuotaManager contract.

func (*QuotaManagerBeaconUpgradedIterator) Close

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

func (*QuotaManagerBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerBeaconUpgradedIterator) 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 QuotaManagerCaller

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

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

func NewQuotaManagerCaller

func NewQuotaManagerCaller(address common.Address, caller bind.ContractCaller) (*QuotaManagerCaller, error)

NewQuotaManagerCaller creates a new read-only instance of QuotaManager, bound to a specific deployed contract.

func (*QuotaManagerCaller) AddressManager

func (_QuotaManager *QuotaManagerCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*QuotaManagerCaller) AvailableQuota

func (_QuotaManager *QuotaManagerCaller) AvailableQuota(opts *bind.CallOpts, _token common.Address, _leap *big.Int) (*big.Int, error)

AvailableQuota is a free data retrieval call binding the contract method 0x105d9e6c.

Solidity: function availableQuota(address _token, uint256 _leap) view returns(uint256)

func (*QuotaManagerCaller) Impl

func (_QuotaManager *QuotaManagerCaller) Impl(opts *bind.CallOpts) (common.Address, error)

Impl is a free data retrieval call binding the contract method 0x8abf6077.

Solidity: function impl() view returns(address)

func (*QuotaManagerCaller) InNonReentrant

func (_QuotaManager *QuotaManagerCaller) InNonReentrant(opts *bind.CallOpts) (bool, error)

InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.

Solidity: function inNonReentrant() view returns(bool)

func (*QuotaManagerCaller) LastUnpausedAt

func (_QuotaManager *QuotaManagerCaller) LastUnpausedAt(opts *bind.CallOpts) (uint64, error)

LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.

Solidity: function lastUnpausedAt() view returns(uint64)

func (*QuotaManagerCaller) Owner

func (_QuotaManager *QuotaManagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*QuotaManagerCaller) Paused

func (_QuotaManager *QuotaManagerCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*QuotaManagerCaller) PendingOwner

func (_QuotaManager *QuotaManagerCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*QuotaManagerCaller) ProxiableUUID

func (_QuotaManager *QuotaManagerCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*QuotaManagerCaller) QuotaPeriod

func (_QuotaManager *QuotaManagerCaller) QuotaPeriod(opts *bind.CallOpts) (*big.Int, error)

QuotaPeriod is a free data retrieval call binding the contract method 0xc3e3a590.

Solidity: function quotaPeriod() view returns(uint24)

func (*QuotaManagerCaller) Resolve

func (_QuotaManager *QuotaManagerCaller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.

Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*QuotaManagerCaller) Resolve0

func (_QuotaManager *QuotaManagerCaller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*QuotaManagerCaller) TokenQuota

func (_QuotaManager *QuotaManagerCaller) TokenQuota(opts *bind.CallOpts, token common.Address) (struct {
	UpdatedAt *big.Int
	Quota     *big.Int
	Available *big.Int
}, error)

TokenQuota is a free data retrieval call binding the contract method 0x57839929.

Solidity: function tokenQuota(address token) view returns(uint48 updatedAt, uint104 quota, uint104 available)

type QuotaManagerCallerRaw

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

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

func (*QuotaManagerCallerRaw) Call

func (_QuotaManager *QuotaManagerCallerRaw) 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 QuotaManagerCallerSession

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

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

func (*QuotaManagerCallerSession) AddressManager

func (_QuotaManager *QuotaManagerCallerSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*QuotaManagerCallerSession) AvailableQuota

func (_QuotaManager *QuotaManagerCallerSession) AvailableQuota(_token common.Address, _leap *big.Int) (*big.Int, error)

AvailableQuota is a free data retrieval call binding the contract method 0x105d9e6c.

Solidity: function availableQuota(address _token, uint256 _leap) view returns(uint256)

func (*QuotaManagerCallerSession) Impl

func (_QuotaManager *QuotaManagerCallerSession) Impl() (common.Address, error)

Impl is a free data retrieval call binding the contract method 0x8abf6077.

Solidity: function impl() view returns(address)

func (*QuotaManagerCallerSession) InNonReentrant

func (_QuotaManager *QuotaManagerCallerSession) InNonReentrant() (bool, error)

InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.

Solidity: function inNonReentrant() view returns(bool)

func (*QuotaManagerCallerSession) LastUnpausedAt

func (_QuotaManager *QuotaManagerCallerSession) LastUnpausedAt() (uint64, error)

LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.

Solidity: function lastUnpausedAt() view returns(uint64)

func (*QuotaManagerCallerSession) Owner

func (_QuotaManager *QuotaManagerCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*QuotaManagerCallerSession) Paused

func (_QuotaManager *QuotaManagerCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*QuotaManagerCallerSession) PendingOwner

func (_QuotaManager *QuotaManagerCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*QuotaManagerCallerSession) ProxiableUUID

func (_QuotaManager *QuotaManagerCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*QuotaManagerCallerSession) QuotaPeriod

func (_QuotaManager *QuotaManagerCallerSession) QuotaPeriod() (*big.Int, error)

QuotaPeriod is a free data retrieval call binding the contract method 0xc3e3a590.

Solidity: function quotaPeriod() view returns(uint24)

func (*QuotaManagerCallerSession) Resolve

func (_QuotaManager *QuotaManagerCallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.

Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*QuotaManagerCallerSession) Resolve0

func (_QuotaManager *QuotaManagerCallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*QuotaManagerCallerSession) TokenQuota

func (_QuotaManager *QuotaManagerCallerSession) TokenQuota(token common.Address) (struct {
	UpdatedAt *big.Int
	Quota     *big.Int
	Available *big.Int
}, error)

TokenQuota is a free data retrieval call binding the contract method 0x57839929.

Solidity: function tokenQuota(address token) view returns(uint48 updatedAt, uint104 quota, uint104 available)

type QuotaManagerFilterer

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

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

func NewQuotaManagerFilterer

func NewQuotaManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*QuotaManagerFilterer, error)

NewQuotaManagerFilterer creates a new log filterer instance of QuotaManager, bound to a specific deployed contract.

func (*QuotaManagerFilterer) FilterAdminChanged

func (_QuotaManager *QuotaManagerFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*QuotaManagerAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*QuotaManagerFilterer) FilterBeaconUpgraded

func (_QuotaManager *QuotaManagerFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*QuotaManagerBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*QuotaManagerFilterer) FilterInitialized

func (_QuotaManager *QuotaManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*QuotaManagerInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*QuotaManagerFilterer) FilterOwnershipTransferStarted

func (_QuotaManager *QuotaManagerFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*QuotaManagerOwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*QuotaManagerFilterer) FilterOwnershipTransferred

func (_QuotaManager *QuotaManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*QuotaManagerOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*QuotaManagerFilterer) FilterPaused

func (_QuotaManager *QuotaManagerFilterer) FilterPaused(opts *bind.FilterOpts) (*QuotaManagerPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*QuotaManagerFilterer) FilterQuotaPeriodUpdated

func (_QuotaManager *QuotaManagerFilterer) FilterQuotaPeriodUpdated(opts *bind.FilterOpts) (*QuotaManagerQuotaPeriodUpdatedIterator, error)

FilterQuotaPeriodUpdated is a free log retrieval operation binding the contract event 0x714cf57ffe172b008fcbb807b801535a5edc28672cff603865d82fc2708287ba.

Solidity: event QuotaPeriodUpdated(uint256 quotaPeriod)

func (*QuotaManagerFilterer) FilterQuotaUpdated

func (_QuotaManager *QuotaManagerFilterer) FilterQuotaUpdated(opts *bind.FilterOpts, token []common.Address) (*QuotaManagerQuotaUpdatedIterator, error)

FilterQuotaUpdated is a free log retrieval operation binding the contract event 0xc1879fe680552d3452890fc07618b28ab4a629c2abf665db5837c367c6dd5ede.

Solidity: event QuotaUpdated(address indexed token, uint256 oldQuota, uint256 newQuota)

func (*QuotaManagerFilterer) FilterUnpaused

func (_QuotaManager *QuotaManagerFilterer) FilterUnpaused(opts *bind.FilterOpts) (*QuotaManagerUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*QuotaManagerFilterer) FilterUpgraded

func (_QuotaManager *QuotaManagerFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*QuotaManagerUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*QuotaManagerFilterer) ParseAdminChanged

func (_QuotaManager *QuotaManagerFilterer) ParseAdminChanged(log types.Log) (*QuotaManagerAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*QuotaManagerFilterer) ParseBeaconUpgraded

func (_QuotaManager *QuotaManagerFilterer) ParseBeaconUpgraded(log types.Log) (*QuotaManagerBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*QuotaManagerFilterer) ParseInitialized

func (_QuotaManager *QuotaManagerFilterer) ParseInitialized(log types.Log) (*QuotaManagerInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*QuotaManagerFilterer) ParseOwnershipTransferStarted

func (_QuotaManager *QuotaManagerFilterer) ParseOwnershipTransferStarted(log types.Log) (*QuotaManagerOwnershipTransferStarted, error)

ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*QuotaManagerFilterer) ParseOwnershipTransferred

func (_QuotaManager *QuotaManagerFilterer) ParseOwnershipTransferred(log types.Log) (*QuotaManagerOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*QuotaManagerFilterer) ParsePaused

func (_QuotaManager *QuotaManagerFilterer) ParsePaused(log types.Log) (*QuotaManagerPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*QuotaManagerFilterer) ParseQuotaPeriodUpdated

func (_QuotaManager *QuotaManagerFilterer) ParseQuotaPeriodUpdated(log types.Log) (*QuotaManagerQuotaPeriodUpdated, error)

ParseQuotaPeriodUpdated is a log parse operation binding the contract event 0x714cf57ffe172b008fcbb807b801535a5edc28672cff603865d82fc2708287ba.

Solidity: event QuotaPeriodUpdated(uint256 quotaPeriod)

func (*QuotaManagerFilterer) ParseQuotaUpdated

func (_QuotaManager *QuotaManagerFilterer) ParseQuotaUpdated(log types.Log) (*QuotaManagerQuotaUpdated, error)

ParseQuotaUpdated is a log parse operation binding the contract event 0xc1879fe680552d3452890fc07618b28ab4a629c2abf665db5837c367c6dd5ede.

Solidity: event QuotaUpdated(address indexed token, uint256 oldQuota, uint256 newQuota)

func (*QuotaManagerFilterer) ParseUnpaused

func (_QuotaManager *QuotaManagerFilterer) ParseUnpaused(log types.Log) (*QuotaManagerUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*QuotaManagerFilterer) ParseUpgraded

func (_QuotaManager *QuotaManagerFilterer) ParseUpgraded(log types.Log) (*QuotaManagerUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*QuotaManagerFilterer) WatchAdminChanged

func (_QuotaManager *QuotaManagerFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *QuotaManagerAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*QuotaManagerFilterer) WatchBeaconUpgraded

func (_QuotaManager *QuotaManagerFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *QuotaManagerBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*QuotaManagerFilterer) WatchInitialized

func (_QuotaManager *QuotaManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *QuotaManagerInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*QuotaManagerFilterer) WatchOwnershipTransferStarted

func (_QuotaManager *QuotaManagerFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *QuotaManagerOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*QuotaManagerFilterer) WatchOwnershipTransferred

func (_QuotaManager *QuotaManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *QuotaManagerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*QuotaManagerFilterer) WatchPaused

func (_QuotaManager *QuotaManagerFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *QuotaManagerPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*QuotaManagerFilterer) WatchQuotaPeriodUpdated

func (_QuotaManager *QuotaManagerFilterer) WatchQuotaPeriodUpdated(opts *bind.WatchOpts, sink chan<- *QuotaManagerQuotaPeriodUpdated) (event.Subscription, error)

WatchQuotaPeriodUpdated is a free log subscription operation binding the contract event 0x714cf57ffe172b008fcbb807b801535a5edc28672cff603865d82fc2708287ba.

Solidity: event QuotaPeriodUpdated(uint256 quotaPeriod)

func (*QuotaManagerFilterer) WatchQuotaUpdated

func (_QuotaManager *QuotaManagerFilterer) WatchQuotaUpdated(opts *bind.WatchOpts, sink chan<- *QuotaManagerQuotaUpdated, token []common.Address) (event.Subscription, error)

WatchQuotaUpdated is a free log subscription operation binding the contract event 0xc1879fe680552d3452890fc07618b28ab4a629c2abf665db5837c367c6dd5ede.

Solidity: event QuotaUpdated(address indexed token, uint256 oldQuota, uint256 newQuota)

func (*QuotaManagerFilterer) WatchUnpaused

func (_QuotaManager *QuotaManagerFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *QuotaManagerUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*QuotaManagerFilterer) WatchUpgraded

func (_QuotaManager *QuotaManagerFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *QuotaManagerUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type QuotaManagerInitialized

type QuotaManagerInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

QuotaManagerInitialized represents a Initialized event raised by the QuotaManager contract.

type QuotaManagerInitializedIterator

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

QuotaManagerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the QuotaManager contract.

func (*QuotaManagerInitializedIterator) Close

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

func (*QuotaManagerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerInitializedIterator) 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 QuotaManagerOwnershipTransferStarted

type QuotaManagerOwnershipTransferStarted struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

QuotaManagerOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the QuotaManager contract.

type QuotaManagerOwnershipTransferStartedIterator

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

QuotaManagerOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the QuotaManager contract.

func (*QuotaManagerOwnershipTransferStartedIterator) Close

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

func (*QuotaManagerOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerOwnershipTransferStartedIterator) 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 QuotaManagerOwnershipTransferred

type QuotaManagerOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

QuotaManagerOwnershipTransferred represents a OwnershipTransferred event raised by the QuotaManager contract.

type QuotaManagerOwnershipTransferredIterator

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

QuotaManagerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the QuotaManager contract.

func (*QuotaManagerOwnershipTransferredIterator) Close

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

func (*QuotaManagerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerOwnershipTransferredIterator) 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 QuotaManagerPaused

type QuotaManagerPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

QuotaManagerPaused represents a Paused event raised by the QuotaManager contract.

type QuotaManagerPausedIterator

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

QuotaManagerPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the QuotaManager contract.

func (*QuotaManagerPausedIterator) Close

func (it *QuotaManagerPausedIterator) Close() error

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

func (*QuotaManagerPausedIterator) Error

func (it *QuotaManagerPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerPausedIterator) Next

func (it *QuotaManagerPausedIterator) 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 QuotaManagerQuotaPeriodUpdated

type QuotaManagerQuotaPeriodUpdated struct {
	QuotaPeriod *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

QuotaManagerQuotaPeriodUpdated represents a QuotaPeriodUpdated event raised by the QuotaManager contract.

type QuotaManagerQuotaPeriodUpdatedIterator

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

QuotaManagerQuotaPeriodUpdatedIterator is returned from FilterQuotaPeriodUpdated and is used to iterate over the raw logs and unpacked data for QuotaPeriodUpdated events raised by the QuotaManager contract.

func (*QuotaManagerQuotaPeriodUpdatedIterator) Close

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

func (*QuotaManagerQuotaPeriodUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerQuotaPeriodUpdatedIterator) 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 QuotaManagerQuotaUpdated

type QuotaManagerQuotaUpdated struct {
	Token    common.Address
	OldQuota *big.Int
	NewQuota *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

QuotaManagerQuotaUpdated represents a QuotaUpdated event raised by the QuotaManager contract.

type QuotaManagerQuotaUpdatedIterator

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

QuotaManagerQuotaUpdatedIterator is returned from FilterQuotaUpdated and is used to iterate over the raw logs and unpacked data for QuotaUpdated events raised by the QuotaManager contract.

func (*QuotaManagerQuotaUpdatedIterator) Close

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

func (*QuotaManagerQuotaUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerQuotaUpdatedIterator) 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 QuotaManagerRaw

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

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

func (*QuotaManagerRaw) Call

func (_QuotaManager *QuotaManagerRaw) 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 (*QuotaManagerRaw) Transact

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

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

func (*QuotaManagerRaw) Transfer

func (_QuotaManager *QuotaManagerRaw) 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 QuotaManagerSession

type QuotaManagerSession struct {
	Contract     *QuotaManager     // 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
}

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

func (*QuotaManagerSession) AcceptOwnership

func (_QuotaManager *QuotaManagerSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*QuotaManagerSession) AddressManager

func (_QuotaManager *QuotaManagerSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*QuotaManagerSession) AvailableQuota

func (_QuotaManager *QuotaManagerSession) AvailableQuota(_token common.Address, _leap *big.Int) (*big.Int, error)

AvailableQuota is a free data retrieval call binding the contract method 0x105d9e6c.

Solidity: function availableQuota(address _token, uint256 _leap) view returns(uint256)

func (*QuotaManagerSession) ConsumeQuota

func (_QuotaManager *QuotaManagerSession) ConsumeQuota(_token common.Address, _amount *big.Int) (*types.Transaction, error)

ConsumeQuota is a paid mutator transaction binding the contract method 0xae31c7d8.

Solidity: function consumeQuota(address _token, uint256 _amount) returns()

func (*QuotaManagerSession) Impl

func (_QuotaManager *QuotaManagerSession) Impl() (common.Address, error)

Impl is a free data retrieval call binding the contract method 0x8abf6077.

Solidity: function impl() view returns(address)

func (*QuotaManagerSession) InNonReentrant

func (_QuotaManager *QuotaManagerSession) InNonReentrant() (bool, error)

InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.

Solidity: function inNonReentrant() view returns(bool)

func (*QuotaManagerSession) Init

func (_QuotaManager *QuotaManagerSession) Init(_owner common.Address, _addressManager common.Address, _quotaPeriod *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x28b94164.

Solidity: function init(address _owner, address _addressManager, uint24 _quotaPeriod) returns()

func (*QuotaManagerSession) LastUnpausedAt

func (_QuotaManager *QuotaManagerSession) LastUnpausedAt() (uint64, error)

LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.

Solidity: function lastUnpausedAt() view returns(uint64)

func (*QuotaManagerSession) Owner

func (_QuotaManager *QuotaManagerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*QuotaManagerSession) Pause

func (_QuotaManager *QuotaManagerSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*QuotaManagerSession) Paused

func (_QuotaManager *QuotaManagerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*QuotaManagerSession) PendingOwner

func (_QuotaManager *QuotaManagerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*QuotaManagerSession) ProxiableUUID

func (_QuotaManager *QuotaManagerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*QuotaManagerSession) QuotaPeriod

func (_QuotaManager *QuotaManagerSession) QuotaPeriod() (*big.Int, error)

QuotaPeriod is a free data retrieval call binding the contract method 0xc3e3a590.

Solidity: function quotaPeriod() view returns(uint24)

func (*QuotaManagerSession) RenounceOwnership

func (_QuotaManager *QuotaManagerSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*QuotaManagerSession) Resolve

func (_QuotaManager *QuotaManagerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.

Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*QuotaManagerSession) Resolve0

func (_QuotaManager *QuotaManagerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*QuotaManagerSession) SetQuotaPeriod

func (_QuotaManager *QuotaManagerSession) SetQuotaPeriod(_quotaPeriod *big.Int) (*types.Transaction, error)

SetQuotaPeriod is a paid mutator transaction binding the contract method 0xb91d1651.

Solidity: function setQuotaPeriod(uint24 _quotaPeriod) returns()

func (*QuotaManagerSession) TokenQuota

func (_QuotaManager *QuotaManagerSession) TokenQuota(token common.Address) (struct {
	UpdatedAt *big.Int
	Quota     *big.Int
	Available *big.Int
}, error)

TokenQuota is a free data retrieval call binding the contract method 0x57839929.

Solidity: function tokenQuota(address token) view returns(uint48 updatedAt, uint104 quota, uint104 available)

func (*QuotaManagerSession) TransferOwnership

func (_QuotaManager *QuotaManagerSession) 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 (*QuotaManagerSession) Unpause

func (_QuotaManager *QuotaManagerSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*QuotaManagerSession) UpdateQuota

func (_QuotaManager *QuotaManagerSession) UpdateQuota(_token common.Address, _quota *big.Int) (*types.Transaction, error)

UpdateQuota is a paid mutator transaction binding the contract method 0xeabbe47b.

Solidity: function updateQuota(address _token, uint104 _quota) returns()

func (*QuotaManagerSession) UpgradeTo

func (_QuotaManager *QuotaManagerSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*QuotaManagerSession) UpgradeToAndCall

func (_QuotaManager *QuotaManagerSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type QuotaManagerTransactor

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

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

func NewQuotaManagerTransactor

func NewQuotaManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*QuotaManagerTransactor, error)

NewQuotaManagerTransactor creates a new write-only instance of QuotaManager, bound to a specific deployed contract.

func (*QuotaManagerTransactor) AcceptOwnership

func (_QuotaManager *QuotaManagerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*QuotaManagerTransactor) ConsumeQuota

func (_QuotaManager *QuotaManagerTransactor) ConsumeQuota(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

ConsumeQuota is a paid mutator transaction binding the contract method 0xae31c7d8.

Solidity: function consumeQuota(address _token, uint256 _amount) returns()

func (*QuotaManagerTransactor) Init

func (_QuotaManager *QuotaManagerTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _addressManager common.Address, _quotaPeriod *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x28b94164.

Solidity: function init(address _owner, address _addressManager, uint24 _quotaPeriod) returns()

func (*QuotaManagerTransactor) Pause

func (_QuotaManager *QuotaManagerTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*QuotaManagerTransactor) RenounceOwnership

func (_QuotaManager *QuotaManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*QuotaManagerTransactor) SetQuotaPeriod

func (_QuotaManager *QuotaManagerTransactor) SetQuotaPeriod(opts *bind.TransactOpts, _quotaPeriod *big.Int) (*types.Transaction, error)

SetQuotaPeriod is a paid mutator transaction binding the contract method 0xb91d1651.

Solidity: function setQuotaPeriod(uint24 _quotaPeriod) returns()

func (*QuotaManagerTransactor) TransferOwnership

func (_QuotaManager *QuotaManagerTransactor) 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 (*QuotaManagerTransactor) Unpause

func (_QuotaManager *QuotaManagerTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*QuotaManagerTransactor) UpdateQuota

func (_QuotaManager *QuotaManagerTransactor) UpdateQuota(opts *bind.TransactOpts, _token common.Address, _quota *big.Int) (*types.Transaction, error)

UpdateQuota is a paid mutator transaction binding the contract method 0xeabbe47b.

Solidity: function updateQuota(address _token, uint104 _quota) returns()

func (*QuotaManagerTransactor) UpgradeTo

func (_QuotaManager *QuotaManagerTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*QuotaManagerTransactor) UpgradeToAndCall

func (_QuotaManager *QuotaManagerTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type QuotaManagerTransactorRaw

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

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

func (*QuotaManagerTransactorRaw) Transact

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

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

func (*QuotaManagerTransactorRaw) Transfer

func (_QuotaManager *QuotaManagerTransactorRaw) 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 QuotaManagerTransactorSession

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

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

func (*QuotaManagerTransactorSession) AcceptOwnership

func (_QuotaManager *QuotaManagerTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*QuotaManagerTransactorSession) ConsumeQuota

func (_QuotaManager *QuotaManagerTransactorSession) ConsumeQuota(_token common.Address, _amount *big.Int) (*types.Transaction, error)

ConsumeQuota is a paid mutator transaction binding the contract method 0xae31c7d8.

Solidity: function consumeQuota(address _token, uint256 _amount) returns()

func (*QuotaManagerTransactorSession) Init

func (_QuotaManager *QuotaManagerTransactorSession) Init(_owner common.Address, _addressManager common.Address, _quotaPeriod *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x28b94164.

Solidity: function init(address _owner, address _addressManager, uint24 _quotaPeriod) returns()

func (*QuotaManagerTransactorSession) Pause

func (_QuotaManager *QuotaManagerTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*QuotaManagerTransactorSession) RenounceOwnership

func (_QuotaManager *QuotaManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*QuotaManagerTransactorSession) SetQuotaPeriod

func (_QuotaManager *QuotaManagerTransactorSession) SetQuotaPeriod(_quotaPeriod *big.Int) (*types.Transaction, error)

SetQuotaPeriod is a paid mutator transaction binding the contract method 0xb91d1651.

Solidity: function setQuotaPeriod(uint24 _quotaPeriod) returns()

func (*QuotaManagerTransactorSession) TransferOwnership

func (_QuotaManager *QuotaManagerTransactorSession) 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 (*QuotaManagerTransactorSession) Unpause

func (_QuotaManager *QuotaManagerTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*QuotaManagerTransactorSession) UpdateQuota

func (_QuotaManager *QuotaManagerTransactorSession) UpdateQuota(_token common.Address, _quota *big.Int) (*types.Transaction, error)

UpdateQuota is a paid mutator transaction binding the contract method 0xeabbe47b.

Solidity: function updateQuota(address _token, uint104 _quota) returns()

func (*QuotaManagerTransactorSession) UpgradeTo

func (_QuotaManager *QuotaManagerTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*QuotaManagerTransactorSession) UpgradeToAndCall

func (_QuotaManager *QuotaManagerTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type QuotaManagerUnpaused

type QuotaManagerUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

QuotaManagerUnpaused represents a Unpaused event raised by the QuotaManager contract.

type QuotaManagerUnpausedIterator

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

QuotaManagerUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the QuotaManager contract.

func (*QuotaManagerUnpausedIterator) Close

func (it *QuotaManagerUnpausedIterator) Close() error

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

func (*QuotaManagerUnpausedIterator) Error

func (it *QuotaManagerUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerUnpausedIterator) 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 QuotaManagerUpgraded

type QuotaManagerUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

QuotaManagerUpgraded represents a Upgraded event raised by the QuotaManager contract.

type QuotaManagerUpgradedIterator

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

QuotaManagerUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the QuotaManager contract.

func (*QuotaManagerUpgradedIterator) Close

func (it *QuotaManagerUpgradedIterator) Close() error

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

func (*QuotaManagerUpgradedIterator) Error

func (it *QuotaManagerUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuotaManagerUpgradedIterator) 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