bindings

package
v0.0.0-...-5793453 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnstakeRequestsManagerABI = UnstakeRequestsManagerMetaData.ABI

UnstakeRequestsManagerABI is the input ABI used to generate the binding from. Deprecated: Use UnstakeRequestsManagerMetaData.ABI instead.

View Source
var UnstakeRequestsManagerMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MANAGER_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"REQUEST_CANCELLER_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allocateETH\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"allocatedETHDeficit\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allocatedETHForClaims\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allocatedETHSurplus\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"balance\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"claim\",\"inputs\":[{\"name\":\"requests\",\"type\":\"tuple[]\",\"internalType\":\"structIUnstakeRequestsManagerWrite.requestsInfo[]\",\"components\":[{\"name\":\"requestAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"unStakeMessageNonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"sourceChainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"destChainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"create\",\"inputs\":[{\"name\":\"requester\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"l2Strategy\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"dETHLocked\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"ethRequested\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"destChainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"currentRequestedCumulativeETH\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"dEthLockedAmount\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getLocator\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractL1ILocator\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMember\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMemberCount\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"init\",\"type\":\"tuple\",\"internalType\":\"structUnstakeRequestsManager.Init\",\"components\":[{\"name\":\"admin\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"manager\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"requestCanceller\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"numberOfBlocksToFinalize\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"l2ChainStrategyAmount\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l2ChainStrategyBlockNumber\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestCumulativeETHRequested\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"locator\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"numberOfBlocksToFinalize\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"callerConfirmation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"requestByID\",\"inputs\":[{\"name\":\"destChainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"l2Strategy\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"requestInfo\",\"inputs\":[{\"name\":\"destChainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"l2Strategy\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setLocator\",\"inputs\":[{\"name\":\"_locator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setNumberOfBlocksToFinalize\",\"inputs\":[{\"name\":\"numberOfBlocksToFinalize_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalClaimed\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawAllocatedETHSurplus\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ProtocolConfigChanged\",\"inputs\":[{\"name\":\"setterSelector\",\"type\":\"bytes4\",\"indexed\":true,\"internalType\":\"bytes4\"},{\"name\":\"setterSignature\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"value\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UnstakeRequestCancelled\",\"inputs\":[{\"name\":\"id\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"requester\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"dETHLocked\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"ethRequested\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"cumulativeETHRequested\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"blockNumber\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UnstakeRequestClaimed\",\"inputs\":[{\"name\":\"l2strategy\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"ethRequested\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"dETHLocked\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"destChainId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"csBlockNumber\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"bridgeAddress\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"unStakeMessageNonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UnstakeRequestCreated\",\"inputs\":[{\"name\":\"requester\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"strategy\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"dETHLocked\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"ethRequested\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"cumulativeETHRequested\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"blockNumber\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"destChainId\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AccessControlBadConfirmation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AccessControlUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"neededRole\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"AlreadyClaimed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"DoesNotReceiveETH\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NoRequests\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotEnoughFunds\",\"inputs\":[{\"name\":\"cumulativeETHOnRequest\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"allocatedETHForClaims\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"NotFinalized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotRequester\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotStakingManagerContract\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ReentrancyGuardReentrantCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroAddress\",\"inputs\":[]}]",
}

UnstakeRequestsManagerMetaData contains all meta data concerning the UnstakeRequestsManager contract.

Functions

This section is empty.

Types

type IUnstakeRequestsManagerWriterequestsInfo

type IUnstakeRequestsManagerWriterequestsInfo struct {
	RequestAddress      common.Address
	UnStakeMessageNonce *big.Int
}

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

type UnstakeRequestsManager

type UnstakeRequestsManager struct {
	UnstakeRequestsManagerCaller     // Read-only binding to the contract
	UnstakeRequestsManagerTransactor // Write-only binding to the contract
	UnstakeRequestsManagerFilterer   // Log filterer for contract events
}

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

func NewUnstakeRequestsManager

func NewUnstakeRequestsManager(address common.Address, backend bind.ContractBackend) (*UnstakeRequestsManager, error)

NewUnstakeRequestsManager creates a new instance of UnstakeRequestsManager, bound to a specific deployed contract.

type UnstakeRequestsManagerCaller

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

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

func NewUnstakeRequestsManagerCaller

func NewUnstakeRequestsManagerCaller(address common.Address, caller bind.ContractCaller) (*UnstakeRequestsManagerCaller, error)

NewUnstakeRequestsManagerCaller creates a new read-only instance of UnstakeRequestsManager, bound to a specific deployed contract.

func (*UnstakeRequestsManagerCaller) AllocatedETHDeficit

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) AllocatedETHDeficit(opts *bind.CallOpts) (*big.Int, error)

AllocatedETHDeficit is a free data retrieval call binding the contract method 0x106b263c.

Solidity: function allocatedETHDeficit() view returns(uint256)

func (*UnstakeRequestsManagerCaller) AllocatedETHForClaims

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) AllocatedETHForClaims(opts *bind.CallOpts) (*big.Int, error)

AllocatedETHForClaims is a free data retrieval call binding the contract method 0x1453444d.

Solidity: function allocatedETHForClaims() view returns(uint256)

func (*UnstakeRequestsManagerCaller) AllocatedETHSurplus

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) AllocatedETHSurplus(opts *bind.CallOpts) (*big.Int, error)

AllocatedETHSurplus is a free data retrieval call binding the contract method 0xc02d4c8e.

Solidity: function allocatedETHSurplus() view returns(uint256)

func (*UnstakeRequestsManagerCaller) Balance

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) Balance(opts *bind.CallOpts) (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xb69ef8a8.

Solidity: function balance() view returns(uint256)

func (*UnstakeRequestsManagerCaller) CurrentRequestedCumulativeETH

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) CurrentRequestedCumulativeETH(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)

CurrentRequestedCumulativeETH is a free data retrieval call binding the contract method 0xf48811a5.

Solidity: function currentRequestedCumulativeETH(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerCaller) DEFAULTADMINROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerCaller) DEthLockedAmount

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) DEthLockedAmount(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)

DEthLockedAmount is a free data retrieval call binding the contract method 0xa75c3e17.

Solidity: function dEthLockedAmount(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerCaller) GetLocator

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) GetLocator(opts *bind.CallOpts) (common.Address, error)

GetLocator is a free data retrieval call binding the contract method 0xd8343dcb.

Solidity: function getLocator() view returns(address)

func (*UnstakeRequestsManagerCaller) GetRoleAdmin

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*UnstakeRequestsManagerCaller) GetRoleMember

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*UnstakeRequestsManagerCaller) GetRoleMemberCount

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*UnstakeRequestsManagerCaller) HasRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*UnstakeRequestsManagerCaller) L2ChainStrategyAmount

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) L2ChainStrategyAmount(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)

L2ChainStrategyAmount is a free data retrieval call binding the contract method 0xa5a05aee.

Solidity: function l2ChainStrategyAmount(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerCaller) L2ChainStrategyBlockNumber

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) L2ChainStrategyBlockNumber(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)

L2ChainStrategyBlockNumber is a free data retrieval call binding the contract method 0x88a3e1af.

Solidity: function l2ChainStrategyBlockNumber(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerCaller) LatestCumulativeETHRequested

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) LatestCumulativeETHRequested(opts *bind.CallOpts) (*big.Int, error)

LatestCumulativeETHRequested is a free data retrieval call binding the contract method 0x278c5acd.

Solidity: function latestCumulativeETHRequested() view returns(uint256)

func (*UnstakeRequestsManagerCaller) Locator

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) Locator(opts *bind.CallOpts) (common.Address, error)

Locator is a free data retrieval call binding the contract method 0x7c957fc8.

Solidity: function locator() view returns(address)

func (*UnstakeRequestsManagerCaller) MANAGERROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) MANAGERROLE(opts *bind.CallOpts) ([32]byte, error)

MANAGERROLE is a free data retrieval call binding the contract method 0xec87621c.

Solidity: function MANAGER_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerCaller) NumberOfBlocksToFinalize

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) NumberOfBlocksToFinalize(opts *bind.CallOpts) (*big.Int, error)

NumberOfBlocksToFinalize is a free data retrieval call binding the contract method 0xae5cf272.

Solidity: function numberOfBlocksToFinalize() view returns(uint256)

func (*UnstakeRequestsManagerCaller) REQUESTCANCELLERROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) REQUESTCANCELLERROLE(opts *bind.CallOpts) ([32]byte, error)

REQUESTCANCELLERROLE is a free data retrieval call binding the contract method 0xfe3af1c1.

Solidity: function REQUEST_CANCELLER_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerCaller) RequestByID

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) RequestByID(opts *bind.CallOpts, destChainId *big.Int, l2Strategy common.Address) (*big.Int, *big.Int, *big.Int, error)

RequestByID is a free data retrieval call binding the contract method 0x7b2071c6.

Solidity: function requestByID(uint256 destChainId, address l2Strategy) view returns(uint256, uint256, uint256)

func (*UnstakeRequestsManagerCaller) RequestInfo

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) RequestInfo(opts *bind.CallOpts, destChainId *big.Int, l2Strategy common.Address) (bool, *big.Int, error)

RequestInfo is a free data retrieval call binding the contract method 0xd4be074f.

Solidity: function requestInfo(uint256 destChainId, address l2Strategy) view returns(bool, uint256)

func (*UnstakeRequestsManagerCaller) SupportsInterface

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*UnstakeRequestsManagerCaller) TotalClaimed

func (_UnstakeRequestsManager *UnstakeRequestsManagerCaller) TotalClaimed(opts *bind.CallOpts) (*big.Int, error)

TotalClaimed is a free data retrieval call binding the contract method 0xd54ad2a1.

Solidity: function totalClaimed() view returns(uint256)

type UnstakeRequestsManagerCallerRaw

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

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

func (*UnstakeRequestsManagerCallerRaw) Call

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerRaw) 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 UnstakeRequestsManagerCallerSession

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

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

func (*UnstakeRequestsManagerCallerSession) AllocatedETHDeficit

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) AllocatedETHDeficit() (*big.Int, error)

AllocatedETHDeficit is a free data retrieval call binding the contract method 0x106b263c.

Solidity: function allocatedETHDeficit() view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) AllocatedETHForClaims

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) AllocatedETHForClaims() (*big.Int, error)

AllocatedETHForClaims is a free data retrieval call binding the contract method 0x1453444d.

Solidity: function allocatedETHForClaims() view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) AllocatedETHSurplus

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) AllocatedETHSurplus() (*big.Int, error)

AllocatedETHSurplus is a free data retrieval call binding the contract method 0xc02d4c8e.

Solidity: function allocatedETHSurplus() view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) Balance

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) Balance() (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xb69ef8a8.

Solidity: function balance() view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) CurrentRequestedCumulativeETH

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) CurrentRequestedCumulativeETH(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

CurrentRequestedCumulativeETH is a free data retrieval call binding the contract method 0xf48811a5.

Solidity: function currentRequestedCumulativeETH(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) DEFAULTADMINROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerCallerSession) DEthLockedAmount

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) DEthLockedAmount(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

DEthLockedAmount is a free data retrieval call binding the contract method 0xa75c3e17.

Solidity: function dEthLockedAmount(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) GetLocator

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) GetLocator() (common.Address, error)

GetLocator is a free data retrieval call binding the contract method 0xd8343dcb.

Solidity: function getLocator() view returns(address)

func (*UnstakeRequestsManagerCallerSession) GetRoleAdmin

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*UnstakeRequestsManagerCallerSession) GetRoleMember

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*UnstakeRequestsManagerCallerSession) GetRoleMemberCount

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) HasRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*UnstakeRequestsManagerCallerSession) L2ChainStrategyAmount

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) L2ChainStrategyAmount(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

L2ChainStrategyAmount is a free data retrieval call binding the contract method 0xa5a05aee.

Solidity: function l2ChainStrategyAmount(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) L2ChainStrategyBlockNumber

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) L2ChainStrategyBlockNumber(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

L2ChainStrategyBlockNumber is a free data retrieval call binding the contract method 0x88a3e1af.

Solidity: function l2ChainStrategyBlockNumber(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) LatestCumulativeETHRequested

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) LatestCumulativeETHRequested() (*big.Int, error)

LatestCumulativeETHRequested is a free data retrieval call binding the contract method 0x278c5acd.

Solidity: function latestCumulativeETHRequested() view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) Locator

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) Locator() (common.Address, error)

Locator is a free data retrieval call binding the contract method 0x7c957fc8.

Solidity: function locator() view returns(address)

func (*UnstakeRequestsManagerCallerSession) MANAGERROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) MANAGERROLE() ([32]byte, error)

MANAGERROLE is a free data retrieval call binding the contract method 0xec87621c.

Solidity: function MANAGER_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerCallerSession) NumberOfBlocksToFinalize

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) NumberOfBlocksToFinalize() (*big.Int, error)

NumberOfBlocksToFinalize is a free data retrieval call binding the contract method 0xae5cf272.

Solidity: function numberOfBlocksToFinalize() view returns(uint256)

func (*UnstakeRequestsManagerCallerSession) REQUESTCANCELLERROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) REQUESTCANCELLERROLE() ([32]byte, error)

REQUESTCANCELLERROLE is a free data retrieval call binding the contract method 0xfe3af1c1.

Solidity: function REQUEST_CANCELLER_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerCallerSession) RequestByID

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) RequestByID(destChainId *big.Int, l2Strategy common.Address) (*big.Int, *big.Int, *big.Int, error)

RequestByID is a free data retrieval call binding the contract method 0x7b2071c6.

Solidity: function requestByID(uint256 destChainId, address l2Strategy) view returns(uint256, uint256, uint256)

func (*UnstakeRequestsManagerCallerSession) RequestInfo

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) RequestInfo(destChainId *big.Int, l2Strategy common.Address) (bool, *big.Int, error)

RequestInfo is a free data retrieval call binding the contract method 0xd4be074f.

Solidity: function requestInfo(uint256 destChainId, address l2Strategy) view returns(bool, uint256)

func (*UnstakeRequestsManagerCallerSession) SupportsInterface

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*UnstakeRequestsManagerCallerSession) TotalClaimed

func (_UnstakeRequestsManager *UnstakeRequestsManagerCallerSession) TotalClaimed() (*big.Int, error)

TotalClaimed is a free data retrieval call binding the contract method 0xd54ad2a1.

Solidity: function totalClaimed() view returns(uint256)

type UnstakeRequestsManagerFilterer

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

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

func NewUnstakeRequestsManagerFilterer

func NewUnstakeRequestsManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*UnstakeRequestsManagerFilterer, error)

NewUnstakeRequestsManagerFilterer creates a new log filterer instance of UnstakeRequestsManager, bound to a specific deployed contract.

func (*UnstakeRequestsManagerFilterer) FilterInitialized

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*UnstakeRequestsManagerInitializedIterator, error)

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

Solidity: event Initialized(uint64 version)

func (*UnstakeRequestsManagerFilterer) FilterProtocolConfigChanged

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) FilterProtocolConfigChanged(opts *bind.FilterOpts, setterSelector [][4]byte) (*UnstakeRequestsManagerProtocolConfigChangedIterator, error)

FilterProtocolConfigChanged is a free log retrieval operation binding the contract event 0x01d854e8dde9402801a4c6f2840193465752abfad61e0bb7c4258d526ae42e74.

Solidity: event ProtocolConfigChanged(bytes4 indexed setterSelector, string setterSignature, bytes value)

func (*UnstakeRequestsManagerFilterer) FilterRoleAdminChanged

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*UnstakeRequestsManagerRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*UnstakeRequestsManagerFilterer) FilterRoleGranted

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*UnstakeRequestsManagerRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*UnstakeRequestsManagerFilterer) FilterRoleRevoked

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*UnstakeRequestsManagerRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*UnstakeRequestsManagerFilterer) FilterUnstakeRequestCancelled

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) FilterUnstakeRequestCancelled(opts *bind.FilterOpts, id []*big.Int, requester []common.Address) (*UnstakeRequestsManagerUnstakeRequestCancelledIterator, error)

FilterUnstakeRequestCancelled is a free log retrieval operation binding the contract event 0xf8d5df096390c80d709314ba3a8e55a91854bab1fbf8cce78081bdd48eb49aed.

Solidity: event UnstakeRequestCancelled(uint256 indexed id, address indexed requester, uint256 dETHLocked, uint256 ethRequested, uint256 cumulativeETHRequested, uint256 blockNumber)

func (*UnstakeRequestsManagerFilterer) FilterUnstakeRequestClaimed

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) FilterUnstakeRequestClaimed(opts *bind.FilterOpts, l2strategy []common.Address, destChainId []*big.Int, csBlockNumber []*big.Int) (*UnstakeRequestsManagerUnstakeRequestClaimedIterator, error)

FilterUnstakeRequestClaimed is a free log retrieval operation binding the contract event 0x4d88ab48fd3a514a018a38f136c8a4bf616fb79e3e2f25d70c4e76a181cee2cf.

Solidity: event UnstakeRequestClaimed(address indexed l2strategy, uint256 ethRequested, uint256 dETHLocked, uint256 indexed destChainId, uint256 indexed csBlockNumber, address bridgeAddress, uint256 unStakeMessageNonce)

func (*UnstakeRequestsManagerFilterer) FilterUnstakeRequestCreated

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) FilterUnstakeRequestCreated(opts *bind.FilterOpts, requester []common.Address, strategy []common.Address) (*UnstakeRequestsManagerUnstakeRequestCreatedIterator, error)

FilterUnstakeRequestCreated is a free log retrieval operation binding the contract event 0x319883689186488248969ba55a688029c4bb01b7e60c9b4b9914f475f60ad2e4.

Solidity: event UnstakeRequestCreated(address indexed requester, address indexed strategy, uint256 dETHLocked, uint256 ethRequested, uint256 cumulativeETHRequested, uint256 blockNumber, uint256 destChainId)

func (*UnstakeRequestsManagerFilterer) ParseInitialized

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) ParseInitialized(log types.Log) (*UnstakeRequestsManagerInitialized, error)

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

Solidity: event Initialized(uint64 version)

func (*UnstakeRequestsManagerFilterer) ParseProtocolConfigChanged

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) ParseProtocolConfigChanged(log types.Log) (*UnstakeRequestsManagerProtocolConfigChanged, error)

ParseProtocolConfigChanged is a log parse operation binding the contract event 0x01d854e8dde9402801a4c6f2840193465752abfad61e0bb7c4258d526ae42e74.

Solidity: event ProtocolConfigChanged(bytes4 indexed setterSelector, string setterSignature, bytes value)

func (*UnstakeRequestsManagerFilterer) ParseRoleAdminChanged

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) ParseRoleAdminChanged(log types.Log) (*UnstakeRequestsManagerRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*UnstakeRequestsManagerFilterer) ParseRoleGranted

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) ParseRoleGranted(log types.Log) (*UnstakeRequestsManagerRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*UnstakeRequestsManagerFilterer) ParseRoleRevoked

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) ParseRoleRevoked(log types.Log) (*UnstakeRequestsManagerRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*UnstakeRequestsManagerFilterer) ParseUnstakeRequestCancelled

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) ParseUnstakeRequestCancelled(log types.Log) (*UnstakeRequestsManagerUnstakeRequestCancelled, error)

ParseUnstakeRequestCancelled is a log parse operation binding the contract event 0xf8d5df096390c80d709314ba3a8e55a91854bab1fbf8cce78081bdd48eb49aed.

Solidity: event UnstakeRequestCancelled(uint256 indexed id, address indexed requester, uint256 dETHLocked, uint256 ethRequested, uint256 cumulativeETHRequested, uint256 blockNumber)

func (*UnstakeRequestsManagerFilterer) ParseUnstakeRequestClaimed

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) ParseUnstakeRequestClaimed(log types.Log) (*UnstakeRequestsManagerUnstakeRequestClaimed, error)

ParseUnstakeRequestClaimed is a log parse operation binding the contract event 0x4d88ab48fd3a514a018a38f136c8a4bf616fb79e3e2f25d70c4e76a181cee2cf.

Solidity: event UnstakeRequestClaimed(address indexed l2strategy, uint256 ethRequested, uint256 dETHLocked, uint256 indexed destChainId, uint256 indexed csBlockNumber, address bridgeAddress, uint256 unStakeMessageNonce)

func (*UnstakeRequestsManagerFilterer) ParseUnstakeRequestCreated

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) ParseUnstakeRequestCreated(log types.Log) (*UnstakeRequestsManagerUnstakeRequestCreated, error)

ParseUnstakeRequestCreated is a log parse operation binding the contract event 0x319883689186488248969ba55a688029c4bb01b7e60c9b4b9914f475f60ad2e4.

Solidity: event UnstakeRequestCreated(address indexed requester, address indexed strategy, uint256 dETHLocked, uint256 ethRequested, uint256 cumulativeETHRequested, uint256 blockNumber, uint256 destChainId)

func (*UnstakeRequestsManagerFilterer) WatchInitialized

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *UnstakeRequestsManagerInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint64 version)

func (*UnstakeRequestsManagerFilterer) WatchProtocolConfigChanged

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) WatchProtocolConfigChanged(opts *bind.WatchOpts, sink chan<- *UnstakeRequestsManagerProtocolConfigChanged, setterSelector [][4]byte) (event.Subscription, error)

WatchProtocolConfigChanged is a free log subscription operation binding the contract event 0x01d854e8dde9402801a4c6f2840193465752abfad61e0bb7c4258d526ae42e74.

Solidity: event ProtocolConfigChanged(bytes4 indexed setterSelector, string setterSignature, bytes value)

func (*UnstakeRequestsManagerFilterer) WatchRoleAdminChanged

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *UnstakeRequestsManagerRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*UnstakeRequestsManagerFilterer) WatchRoleGranted

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *UnstakeRequestsManagerRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*UnstakeRequestsManagerFilterer) WatchRoleRevoked

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *UnstakeRequestsManagerRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*UnstakeRequestsManagerFilterer) WatchUnstakeRequestCancelled

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) WatchUnstakeRequestCancelled(opts *bind.WatchOpts, sink chan<- *UnstakeRequestsManagerUnstakeRequestCancelled, id []*big.Int, requester []common.Address) (event.Subscription, error)

WatchUnstakeRequestCancelled is a free log subscription operation binding the contract event 0xf8d5df096390c80d709314ba3a8e55a91854bab1fbf8cce78081bdd48eb49aed.

Solidity: event UnstakeRequestCancelled(uint256 indexed id, address indexed requester, uint256 dETHLocked, uint256 ethRequested, uint256 cumulativeETHRequested, uint256 blockNumber)

func (*UnstakeRequestsManagerFilterer) WatchUnstakeRequestClaimed

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) WatchUnstakeRequestClaimed(opts *bind.WatchOpts, sink chan<- *UnstakeRequestsManagerUnstakeRequestClaimed, l2strategy []common.Address, destChainId []*big.Int, csBlockNumber []*big.Int) (event.Subscription, error)

WatchUnstakeRequestClaimed is a free log subscription operation binding the contract event 0x4d88ab48fd3a514a018a38f136c8a4bf616fb79e3e2f25d70c4e76a181cee2cf.

Solidity: event UnstakeRequestClaimed(address indexed l2strategy, uint256 ethRequested, uint256 dETHLocked, uint256 indexed destChainId, uint256 indexed csBlockNumber, address bridgeAddress, uint256 unStakeMessageNonce)

func (*UnstakeRequestsManagerFilterer) WatchUnstakeRequestCreated

func (_UnstakeRequestsManager *UnstakeRequestsManagerFilterer) WatchUnstakeRequestCreated(opts *bind.WatchOpts, sink chan<- *UnstakeRequestsManagerUnstakeRequestCreated, requester []common.Address, strategy []common.Address) (event.Subscription, error)

WatchUnstakeRequestCreated is a free log subscription operation binding the contract event 0x319883689186488248969ba55a688029c4bb01b7e60c9b4b9914f475f60ad2e4.

Solidity: event UnstakeRequestCreated(address indexed requester, address indexed strategy, uint256 dETHLocked, uint256 ethRequested, uint256 cumulativeETHRequested, uint256 blockNumber, uint256 destChainId)

type UnstakeRequestsManagerInit

type UnstakeRequestsManagerInit struct {
	Admin                    common.Address
	Manager                  common.Address
	RequestCanceller         common.Address
	NumberOfBlocksToFinalize *big.Int
}

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

type UnstakeRequestsManagerInitialized

type UnstakeRequestsManagerInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

UnstakeRequestsManagerInitialized represents a Initialized event raised by the UnstakeRequestsManager contract.

type UnstakeRequestsManagerInitializedIterator

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

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

func (*UnstakeRequestsManagerInitializedIterator) Close

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

func (*UnstakeRequestsManagerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type UnstakeRequestsManagerProtocolConfigChanged struct {
	SetterSelector  [4]byte
	SetterSignature string
	Value           []byte
	Raw             types.Log // Blockchain specific contextual infos
}

UnstakeRequestsManagerProtocolConfigChanged represents a ProtocolConfigChanged event raised by the UnstakeRequestsManager contract.

type UnstakeRequestsManagerProtocolConfigChangedIterator

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

UnstakeRequestsManagerProtocolConfigChangedIterator is returned from FilterProtocolConfigChanged and is used to iterate over the raw logs and unpacked data for ProtocolConfigChanged events raised by the UnstakeRequestsManager contract.

func (*UnstakeRequestsManagerProtocolConfigChangedIterator) Close

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

func (*UnstakeRequestsManagerProtocolConfigChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*UnstakeRequestsManagerRaw) Call

func (_UnstakeRequestsManager *UnstakeRequestsManagerRaw) 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 (*UnstakeRequestsManagerRaw) Transact

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

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

func (*UnstakeRequestsManagerRaw) Transfer

func (_UnstakeRequestsManager *UnstakeRequestsManagerRaw) 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 UnstakeRequestsManagerRoleAdminChanged

type UnstakeRequestsManagerRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

UnstakeRequestsManagerRoleAdminChanged represents a RoleAdminChanged event raised by the UnstakeRequestsManager contract.

type UnstakeRequestsManagerRoleAdminChangedIterator

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

UnstakeRequestsManagerRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the UnstakeRequestsManager contract.

func (*UnstakeRequestsManagerRoleAdminChangedIterator) Close

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

func (*UnstakeRequestsManagerRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type UnstakeRequestsManagerRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

UnstakeRequestsManagerRoleGranted represents a RoleGranted event raised by the UnstakeRequestsManager contract.

type UnstakeRequestsManagerRoleGrantedIterator

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

UnstakeRequestsManagerRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the UnstakeRequestsManager contract.

func (*UnstakeRequestsManagerRoleGrantedIterator) Close

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

func (*UnstakeRequestsManagerRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type UnstakeRequestsManagerRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

UnstakeRequestsManagerRoleRevoked represents a RoleRevoked event raised by the UnstakeRequestsManager contract.

type UnstakeRequestsManagerRoleRevokedIterator

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

UnstakeRequestsManagerRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the UnstakeRequestsManager contract.

func (*UnstakeRequestsManagerRoleRevokedIterator) Close

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

func (*UnstakeRequestsManagerRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type UnstakeRequestsManagerSession struct {
	Contract     *UnstakeRequestsManager // 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
}

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

func (*UnstakeRequestsManagerSession) AllocateETH

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) AllocateETH() (*types.Transaction, error)

AllocateETH is a paid mutator transaction binding the contract method 0x4d13bfa6.

Solidity: function allocateETH() payable returns()

func (*UnstakeRequestsManagerSession) AllocatedETHDeficit

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) AllocatedETHDeficit() (*big.Int, error)

AllocatedETHDeficit is a free data retrieval call binding the contract method 0x106b263c.

Solidity: function allocatedETHDeficit() view returns(uint256)

func (*UnstakeRequestsManagerSession) AllocatedETHForClaims

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) AllocatedETHForClaims() (*big.Int, error)

AllocatedETHForClaims is a free data retrieval call binding the contract method 0x1453444d.

Solidity: function allocatedETHForClaims() view returns(uint256)

func (*UnstakeRequestsManagerSession) AllocatedETHSurplus

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) AllocatedETHSurplus() (*big.Int, error)

AllocatedETHSurplus is a free data retrieval call binding the contract method 0xc02d4c8e.

Solidity: function allocatedETHSurplus() view returns(uint256)

func (*UnstakeRequestsManagerSession) Balance

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) Balance() (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xb69ef8a8.

Solidity: function balance() view returns(uint256)

func (*UnstakeRequestsManagerSession) Claim

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) Claim(requests []IUnstakeRequestsManagerWriterequestsInfo, sourceChainId *big.Int, destChainId *big.Int, gasLimit *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x0597ca9c.

Solidity: function claim((address,uint256)[] requests, uint256 sourceChainId, uint256 destChainId, uint256 gasLimit) returns()

func (*UnstakeRequestsManagerSession) Create

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) Create(requester common.Address, l2Strategy common.Address, dETHLocked *big.Int, ethRequested *big.Int, destChainId *big.Int) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x891b1a00.

Solidity: function create(address requester, address l2Strategy, uint256 dETHLocked, uint256 ethRequested, uint256 destChainId) returns()

func (*UnstakeRequestsManagerSession) CurrentRequestedCumulativeETH

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) CurrentRequestedCumulativeETH(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

CurrentRequestedCumulativeETH is a free data retrieval call binding the contract method 0xf48811a5.

Solidity: function currentRequestedCumulativeETH(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerSession) DEFAULTADMINROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerSession) DEthLockedAmount

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) DEthLockedAmount(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

DEthLockedAmount is a free data retrieval call binding the contract method 0xa75c3e17.

Solidity: function dEthLockedAmount(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerSession) GetLocator

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) GetLocator() (common.Address, error)

GetLocator is a free data retrieval call binding the contract method 0xd8343dcb.

Solidity: function getLocator() view returns(address)

func (*UnstakeRequestsManagerSession) GetRoleAdmin

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*UnstakeRequestsManagerSession) GetRoleMember

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*UnstakeRequestsManagerSession) GetRoleMemberCount

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*UnstakeRequestsManagerSession) GrantRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*UnstakeRequestsManagerSession) HasRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*UnstakeRequestsManagerSession) Initialize

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) Initialize(init UnstakeRequestsManagerInit) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x65e80414.

Solidity: function initialize((address,address,address,uint256) init) returns()

func (*UnstakeRequestsManagerSession) L2ChainStrategyAmount

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) L2ChainStrategyAmount(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

L2ChainStrategyAmount is a free data retrieval call binding the contract method 0xa5a05aee.

Solidity: function l2ChainStrategyAmount(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerSession) L2ChainStrategyBlockNumber

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) L2ChainStrategyBlockNumber(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

L2ChainStrategyBlockNumber is a free data retrieval call binding the contract method 0x88a3e1af.

Solidity: function l2ChainStrategyBlockNumber(uint256 , address ) view returns(uint256)

func (*UnstakeRequestsManagerSession) LatestCumulativeETHRequested

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) LatestCumulativeETHRequested() (*big.Int, error)

LatestCumulativeETHRequested is a free data retrieval call binding the contract method 0x278c5acd.

Solidity: function latestCumulativeETHRequested() view returns(uint256)

func (*UnstakeRequestsManagerSession) Locator

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) Locator() (common.Address, error)

Locator is a free data retrieval call binding the contract method 0x7c957fc8.

Solidity: function locator() view returns(address)

func (*UnstakeRequestsManagerSession) MANAGERROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) MANAGERROLE() ([32]byte, error)

MANAGERROLE is a free data retrieval call binding the contract method 0xec87621c.

Solidity: function MANAGER_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerSession) NumberOfBlocksToFinalize

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) NumberOfBlocksToFinalize() (*big.Int, error)

NumberOfBlocksToFinalize is a free data retrieval call binding the contract method 0xae5cf272.

Solidity: function numberOfBlocksToFinalize() view returns(uint256)

func (*UnstakeRequestsManagerSession) REQUESTCANCELLERROLE

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) REQUESTCANCELLERROLE() ([32]byte, error)

REQUESTCANCELLERROLE is a free data retrieval call binding the contract method 0xfe3af1c1.

Solidity: function REQUEST_CANCELLER_ROLE() view returns(bytes32)

func (*UnstakeRequestsManagerSession) RenounceRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*UnstakeRequestsManagerSession) RequestByID

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) RequestByID(destChainId *big.Int, l2Strategy common.Address) (*big.Int, *big.Int, *big.Int, error)

RequestByID is a free data retrieval call binding the contract method 0x7b2071c6.

Solidity: function requestByID(uint256 destChainId, address l2Strategy) view returns(uint256, uint256, uint256)

func (*UnstakeRequestsManagerSession) RequestInfo

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) RequestInfo(destChainId *big.Int, l2Strategy common.Address) (bool, *big.Int, error)

RequestInfo is a free data retrieval call binding the contract method 0xd4be074f.

Solidity: function requestInfo(uint256 destChainId, address l2Strategy) view returns(bool, uint256)

func (*UnstakeRequestsManagerSession) RevokeRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*UnstakeRequestsManagerSession) SetLocator

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) SetLocator(_locator common.Address) (*types.Transaction, error)

SetLocator is a paid mutator transaction binding the contract method 0xa5e84562.

Solidity: function setLocator(address _locator) returns()

func (*UnstakeRequestsManagerSession) SetNumberOfBlocksToFinalize

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) SetNumberOfBlocksToFinalize(numberOfBlocksToFinalize_ *big.Int) (*types.Transaction, error)

SetNumberOfBlocksToFinalize is a paid mutator transaction binding the contract method 0x28ad3aac.

Solidity: function setNumberOfBlocksToFinalize(uint256 numberOfBlocksToFinalize_) returns()

func (*UnstakeRequestsManagerSession) SupportsInterface

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*UnstakeRequestsManagerSession) TotalClaimed

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) TotalClaimed() (*big.Int, error)

TotalClaimed is a free data retrieval call binding the contract method 0xd54ad2a1.

Solidity: function totalClaimed() view returns(uint256)

func (*UnstakeRequestsManagerSession) WithdrawAllocatedETHSurplus

func (_UnstakeRequestsManager *UnstakeRequestsManagerSession) WithdrawAllocatedETHSurplus() (*types.Transaction, error)

WithdrawAllocatedETHSurplus is a paid mutator transaction binding the contract method 0xb2d42b46.

Solidity: function withdrawAllocatedETHSurplus() returns()

type UnstakeRequestsManagerTransactor

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

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

func NewUnstakeRequestsManagerTransactor

func NewUnstakeRequestsManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*UnstakeRequestsManagerTransactor, error)

NewUnstakeRequestsManagerTransactor creates a new write-only instance of UnstakeRequestsManager, bound to a specific deployed contract.

func (*UnstakeRequestsManagerTransactor) AllocateETH

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) AllocateETH(opts *bind.TransactOpts) (*types.Transaction, error)

AllocateETH is a paid mutator transaction binding the contract method 0x4d13bfa6.

Solidity: function allocateETH() payable returns()

func (*UnstakeRequestsManagerTransactor) Claim

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) Claim(opts *bind.TransactOpts, requests []IUnstakeRequestsManagerWriterequestsInfo, sourceChainId *big.Int, destChainId *big.Int, gasLimit *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x0597ca9c.

Solidity: function claim((address,uint256)[] requests, uint256 sourceChainId, uint256 destChainId, uint256 gasLimit) returns()

func (*UnstakeRequestsManagerTransactor) Create

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) Create(opts *bind.TransactOpts, requester common.Address, l2Strategy common.Address, dETHLocked *big.Int, ethRequested *big.Int, destChainId *big.Int) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x891b1a00.

Solidity: function create(address requester, address l2Strategy, uint256 dETHLocked, uint256 ethRequested, uint256 destChainId) returns()

func (*UnstakeRequestsManagerTransactor) GrantRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*UnstakeRequestsManagerTransactor) Initialize

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) Initialize(opts *bind.TransactOpts, init UnstakeRequestsManagerInit) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x65e80414.

Solidity: function initialize((address,address,address,uint256) init) returns()

func (*UnstakeRequestsManagerTransactor) RenounceRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*UnstakeRequestsManagerTransactor) RevokeRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*UnstakeRequestsManagerTransactor) SetLocator

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) SetLocator(opts *bind.TransactOpts, _locator common.Address) (*types.Transaction, error)

SetLocator is a paid mutator transaction binding the contract method 0xa5e84562.

Solidity: function setLocator(address _locator) returns()

func (*UnstakeRequestsManagerTransactor) SetNumberOfBlocksToFinalize

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) SetNumberOfBlocksToFinalize(opts *bind.TransactOpts, numberOfBlocksToFinalize_ *big.Int) (*types.Transaction, error)

SetNumberOfBlocksToFinalize is a paid mutator transaction binding the contract method 0x28ad3aac.

Solidity: function setNumberOfBlocksToFinalize(uint256 numberOfBlocksToFinalize_) returns()

func (*UnstakeRequestsManagerTransactor) WithdrawAllocatedETHSurplus

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactor) WithdrawAllocatedETHSurplus(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawAllocatedETHSurplus is a paid mutator transaction binding the contract method 0xb2d42b46.

Solidity: function withdrawAllocatedETHSurplus() returns()

type UnstakeRequestsManagerTransactorRaw

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

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

func (*UnstakeRequestsManagerTransactorRaw) Transact

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

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

func (*UnstakeRequestsManagerTransactorRaw) Transfer

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorRaw) 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 UnstakeRequestsManagerTransactorSession

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

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

func (*UnstakeRequestsManagerTransactorSession) AllocateETH

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) AllocateETH() (*types.Transaction, error)

AllocateETH is a paid mutator transaction binding the contract method 0x4d13bfa6.

Solidity: function allocateETH() payable returns()

func (*UnstakeRequestsManagerTransactorSession) Claim

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) Claim(requests []IUnstakeRequestsManagerWriterequestsInfo, sourceChainId *big.Int, destChainId *big.Int, gasLimit *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x0597ca9c.

Solidity: function claim((address,uint256)[] requests, uint256 sourceChainId, uint256 destChainId, uint256 gasLimit) returns()

func (*UnstakeRequestsManagerTransactorSession) Create

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) Create(requester common.Address, l2Strategy common.Address, dETHLocked *big.Int, ethRequested *big.Int, destChainId *big.Int) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x891b1a00.

Solidity: function create(address requester, address l2Strategy, uint256 dETHLocked, uint256 ethRequested, uint256 destChainId) returns()

func (*UnstakeRequestsManagerTransactorSession) GrantRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*UnstakeRequestsManagerTransactorSession) Initialize

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) Initialize(init UnstakeRequestsManagerInit) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x65e80414.

Solidity: function initialize((address,address,address,uint256) init) returns()

func (*UnstakeRequestsManagerTransactorSession) RenounceRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*UnstakeRequestsManagerTransactorSession) RevokeRole

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*UnstakeRequestsManagerTransactorSession) SetLocator

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) SetLocator(_locator common.Address) (*types.Transaction, error)

SetLocator is a paid mutator transaction binding the contract method 0xa5e84562.

Solidity: function setLocator(address _locator) returns()

func (*UnstakeRequestsManagerTransactorSession) SetNumberOfBlocksToFinalize

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) SetNumberOfBlocksToFinalize(numberOfBlocksToFinalize_ *big.Int) (*types.Transaction, error)

SetNumberOfBlocksToFinalize is a paid mutator transaction binding the contract method 0x28ad3aac.

Solidity: function setNumberOfBlocksToFinalize(uint256 numberOfBlocksToFinalize_) returns()

func (*UnstakeRequestsManagerTransactorSession) WithdrawAllocatedETHSurplus

func (_UnstakeRequestsManager *UnstakeRequestsManagerTransactorSession) WithdrawAllocatedETHSurplus() (*types.Transaction, error)

WithdrawAllocatedETHSurplus is a paid mutator transaction binding the contract method 0xb2d42b46.

Solidity: function withdrawAllocatedETHSurplus() returns()

type UnstakeRequestsManagerUnstakeRequestCancelled

type UnstakeRequestsManagerUnstakeRequestCancelled struct {
	Id                     *big.Int
	Requester              common.Address
	DETHLocked             *big.Int
	EthRequested           *big.Int
	CumulativeETHRequested *big.Int
	BlockNumber            *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

UnstakeRequestsManagerUnstakeRequestCancelled represents a UnstakeRequestCancelled event raised by the UnstakeRequestsManager contract.

type UnstakeRequestsManagerUnstakeRequestCancelledIterator

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

UnstakeRequestsManagerUnstakeRequestCancelledIterator is returned from FilterUnstakeRequestCancelled and is used to iterate over the raw logs and unpacked data for UnstakeRequestCancelled events raised by the UnstakeRequestsManager contract.

func (*UnstakeRequestsManagerUnstakeRequestCancelledIterator) Close

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

func (*UnstakeRequestsManagerUnstakeRequestCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type UnstakeRequestsManagerUnstakeRequestClaimed struct {
	L2strategy          common.Address
	EthRequested        *big.Int
	DETHLocked          *big.Int
	DestChainId         *big.Int
	CsBlockNumber       *big.Int
	BridgeAddress       common.Address
	UnStakeMessageNonce *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

UnstakeRequestsManagerUnstakeRequestClaimed represents a UnstakeRequestClaimed event raised by the UnstakeRequestsManager contract.

type UnstakeRequestsManagerUnstakeRequestClaimedIterator

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

UnstakeRequestsManagerUnstakeRequestClaimedIterator is returned from FilterUnstakeRequestClaimed and is used to iterate over the raw logs and unpacked data for UnstakeRequestClaimed events raised by the UnstakeRequestsManager contract.

func (*UnstakeRequestsManagerUnstakeRequestClaimedIterator) Close

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

func (*UnstakeRequestsManagerUnstakeRequestClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type UnstakeRequestsManagerUnstakeRequestCreated struct {
	Requester              common.Address
	Strategy               common.Address
	DETHLocked             *big.Int
	EthRequested           *big.Int
	CumulativeETHRequested *big.Int
	BlockNumber            *big.Int
	DestChainId            *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

UnstakeRequestsManagerUnstakeRequestCreated represents a UnstakeRequestCreated event raised by the UnstakeRequestsManager contract.

type UnstakeRequestsManagerUnstakeRequestCreatedIterator

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

UnstakeRequestsManagerUnstakeRequestCreatedIterator is returned from FilterUnstakeRequestCreated and is used to iterate over the raw logs and unpacked data for UnstakeRequestCreated events raised by the UnstakeRequestsManager contract.

func (*UnstakeRequestsManagerUnstakeRequestCreatedIterator) Close

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

func (*UnstakeRequestsManagerUnstakeRequestCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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