Documentation ¶
Index ¶
- Variables
- type IChildPoolMaticXSwapRequest
- type StaderChildPool
- type StaderChildPoolCaller
- func (_StaderChildPool *StaderChildPoolCaller) ClaimedMatic(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) ConvertMaticToMaticX(opts *bind.CallOpts, _balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) ConvertMaticXToMatic(opts *bind.CallOpts, _balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) GetAmountAfterInstantWithdrawalFees(opts *bind.CallOpts, _amount *big.Int) (*big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) GetContracts(opts *bind.CallOpts) (struct{ ... }, error)
- func (_StaderChildPool *StaderChildPoolCaller) GetMaticXSwapLockPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) GetUserMaticXSwapRequests(opts *bind.CallOpts, _address common.Address) ([]IChildPoolMaticXSwapRequest, error)
- func (_StaderChildPool *StaderChildPoolCaller) InstantPoolMatic(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) InstantPoolMaticX(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) InstantPoolOwner(opts *bind.CallOpts) (common.Address, error)
- func (_StaderChildPool *StaderChildPoolCaller) InstantWithdrawalFeeBps(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) InstantWithdrawalFees(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) IsTrustedForwarder(opts *bind.CallOpts, _address common.Address) (bool, error)
- func (_StaderChildPool *StaderChildPoolCaller) MaticXSwapLockPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCaller) Treasury(opts *bind.CallOpts) (common.Address, error)
- func (_StaderChildPool *StaderChildPoolCaller) Version(opts *bind.CallOpts) (string, error)
- type StaderChildPoolCallerRaw
- type StaderChildPoolCallerSession
- func (_StaderChildPool *StaderChildPoolCallerSession) ClaimedMatic() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) ConvertMaticToMaticX(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) ConvertMaticXToMatic(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) GetAmountAfterInstantWithdrawalFees(_amount *big.Int) (*big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) GetContracts() (struct{ ... }, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) GetMaticXSwapLockPeriod() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) GetUserMaticXSwapRequests(_address common.Address) ([]IChildPoolMaticXSwapRequest, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) InstantPoolMatic() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) InstantPoolMaticX() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) InstantPoolOwner() (common.Address, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) InstantWithdrawalFeeBps() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) InstantWithdrawalFees() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) IsTrustedForwarder(_address common.Address) (bool, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) MaticXSwapLockPeriod() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) Treasury() (common.Address, error)
- func (_StaderChildPool *StaderChildPoolCallerSession) Version() (string, error)
- type StaderChildPoolFilterer
- type StaderChildPoolRaw
- func (_StaderChildPool *StaderChildPoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StaderChildPool *StaderChildPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StaderChildPoolSession
- func (_StaderChildPool *StaderChildPoolSession) ClaimMaticXSwap(_idx *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) ClaimedMatic() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) ConvertMaticToMaticX(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) ConvertMaticXToMatic(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) GetAmountAfterInstantWithdrawalFees(_amount *big.Int) (*big.Int, *big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) GetContracts() (struct{ ... }, error)
- func (_StaderChildPool *StaderChildPoolSession) GetMaticXSwapLockPeriod() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) GetUserMaticXSwapRequests(_address common.Address) ([]IChildPoolMaticXSwapRequest, error)
- func (_StaderChildPool *StaderChildPoolSession) InstantPoolMatic() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) InstantPoolMaticX() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) InstantPoolOwner() (common.Address, error)
- func (_StaderChildPool *StaderChildPoolSession) InstantWithdrawalFeeBps() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) InstantWithdrawalFees() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) IsTrustedForwarder(_address common.Address) (bool, error)
- func (_StaderChildPool *StaderChildPoolSession) MaticXSwapLockPeriod() (*big.Int, error)
- func (_StaderChildPool *StaderChildPoolSession) ProvideInstantPoolMatic() (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) ProvideInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) RequestMaticXSwap(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SetFxStateChildTunnel(_address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SetInstantPoolOwner(_address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SetInstantWithdrawalFeeBps(_feeBps *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SetMaticXSwapLockPeriod(_hours *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SetTreasury(_address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SetTrustedForwarder(_address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SetVersion(_version string) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SwapMaticForMaticXViaInstantPool() (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) SwapMaticXForMaticViaInstantPool(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) TogglePause() (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) Treasury() (common.Address, error)
- func (_StaderChildPool *StaderChildPoolSession) Version() (string, error)
- func (_StaderChildPool *StaderChildPoolSession) WithdrawInstantPoolMatic(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) WithdrawInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolSession) WithdrawInstantWithdrawalFees(_amount *big.Int) (*types.Transaction, error)
- type StaderChildPoolTransactor
- func (_StaderChildPool *StaderChildPoolTransactor) ClaimMaticXSwap(opts *bind.TransactOpts, _idx *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) ProvideInstantPoolMatic(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) ProvideInstantPoolMaticX(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) RequestMaticXSwap(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SetFxStateChildTunnel(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SetInstantPoolOwner(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SetInstantWithdrawalFeeBps(opts *bind.TransactOpts, _feeBps *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SetMaticXSwapLockPeriod(opts *bind.TransactOpts, _hours *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SetTreasury(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SetTrustedForwarder(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SetVersion(opts *bind.TransactOpts, _version string) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SwapMaticForMaticXViaInstantPool(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) SwapMaticXForMaticViaInstantPool(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) TogglePause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) WithdrawInstantPoolMatic(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) WithdrawInstantPoolMaticX(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactor) WithdrawInstantWithdrawalFees(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- type StaderChildPoolTransactorRaw
- type StaderChildPoolTransactorSession
- func (_StaderChildPool *StaderChildPoolTransactorSession) ClaimMaticXSwap(_idx *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) ProvideInstantPoolMatic() (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) ProvideInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) RequestMaticXSwap(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SetFxStateChildTunnel(_address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SetInstantPoolOwner(_address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SetInstantWithdrawalFeeBps(_feeBps *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SetMaticXSwapLockPeriod(_hours *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SetTreasury(_address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SetTrustedForwarder(_address common.Address) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SetVersion(_version string) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SwapMaticForMaticXViaInstantPool() (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) SwapMaticXForMaticViaInstantPool(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) TogglePause() (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) WithdrawInstantPoolMatic(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) WithdrawInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)
- func (_StaderChildPool *StaderChildPoolTransactorSession) WithdrawInstantWithdrawalFees(_amount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var StaderChildPoolABI = StaderChildPoolMetaData.ABI
StaderChildPoolABI is the input ABI used to generate the binding from. Deprecated: Use StaderChildPoolMetaData.ABI instead.
var StaderChildPoolMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_idx\",\"type\":\"uint256\"}],\"name\":\"claimMaticXSwap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimedMatic\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_balance\",\"type\":\"uint256\"}],\"name\":\"convertMaticToMaticX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_balance\",\"type\":\"uint256\"}],\"name\":\"convertMaticXToMatic\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"getAmountAfterInstantWithdrawalFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContracts\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"_fxStateChildTunnel\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_maticX\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_trustedForwarder\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaticXSwapLockPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getUserMaticXSwapRequests\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawalTime\",\"type\":\"uint256\"}],\"internalType\":\"structIChildPool.MaticXSwapRequest[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"instantPoolMatic\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"instantPoolMaticX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"instantPoolOwner\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"instantWithdrawalFeeBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"instantWithdrawalFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maticXSwapLockPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"provideInstantPoolMatic\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"provideInstantPoolMaticX\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"requestMaticXSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setFxStateChildTunnel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setInstantPoolOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_feeBps\",\"type\":\"uint256\"}],\"name\":\"setInstantWithdrawalFeeBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_hours\",\"type\":\"uint256\"}],\"name\":\"setMaticXSwapLockPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setTreasury\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_version\",\"type\":\"string\"}],\"name\":\"setVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapMaticForMaticXViaInstantPool\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"swapMaticXForMaticViaInstantPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"togglePause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawInstantPoolMatic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawInstantPoolMaticX\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawInstantWithdrawalFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
StaderChildPoolMetaData contains all meta data concerning the StaderChildPool contract.
Functions ¶
This section is empty.
Types ¶
type IChildPoolMaticXSwapRequest ¶
type IChildPoolMaticXSwapRequest struct { Amount *big.Int RequestTime *big.Int WithdrawalTime *big.Int }
IChildPoolMaticXSwapRequest is an auto generated low-level Go binding around an user-defined struct.
type StaderChildPool ¶
type StaderChildPool struct { StaderChildPoolCaller // Read-only binding to the contract StaderChildPoolTransactor // Write-only binding to the contract StaderChildPoolFilterer // Log filterer for contract events }
StaderChildPool is an auto generated Go binding around an Ethereum contract.
func NewStaderChildPool ¶
func NewStaderChildPool(address common.Address, backend bind.ContractBackend) (*StaderChildPool, error)
NewStaderChildPool creates a new instance of StaderChildPool, bound to a specific deployed contract.
type StaderChildPoolCaller ¶
type StaderChildPoolCaller struct {
// contains filtered or unexported fields
}
StaderChildPoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStaderChildPoolCaller ¶
func NewStaderChildPoolCaller(address common.Address, caller bind.ContractCaller) (*StaderChildPoolCaller, error)
NewStaderChildPoolCaller creates a new read-only instance of StaderChildPool, bound to a specific deployed contract.
func (*StaderChildPoolCaller) ClaimedMatic ¶
ClaimedMatic is a free data retrieval call binding the contract method 0x1dd5d34c.
Solidity: function claimedMatic() view returns(uint256)
func (*StaderChildPoolCaller) ConvertMaticToMaticX ¶
func (_StaderChildPool *StaderChildPoolCaller) ConvertMaticToMaticX(opts *bind.CallOpts, _balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
ConvertMaticToMaticX is a free data retrieval call binding the contract method 0x9683e28e.
Solidity: function convertMaticToMaticX(uint256 _balance) view returns(uint256, uint256, uint256)
func (*StaderChildPoolCaller) ConvertMaticXToMatic ¶
func (_StaderChildPool *StaderChildPoolCaller) ConvertMaticXToMatic(opts *bind.CallOpts, _balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
ConvertMaticXToMatic is a free data retrieval call binding the contract method 0x75a85ef5.
Solidity: function convertMaticXToMatic(uint256 _balance) view returns(uint256, uint256, uint256)
func (*StaderChildPoolCaller) GetAmountAfterInstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolCaller) GetAmountAfterInstantWithdrawalFees(opts *bind.CallOpts, _amount *big.Int) (*big.Int, *big.Int, error)
GetAmountAfterInstantWithdrawalFees is a free data retrieval call binding the contract method 0xe9ce0532.
Solidity: function getAmountAfterInstantWithdrawalFees(uint256 _amount) view returns(uint256, uint256)
func (*StaderChildPoolCaller) GetContracts ¶
func (_StaderChildPool *StaderChildPoolCaller) GetContracts(opts *bind.CallOpts) (struct { FxStateChildTunnel common.Address MaticX common.Address TrustedForwarder common.Address }, error)
GetContracts is a free data retrieval call binding the contract method 0xc3a2a93a.
Solidity: function getContracts() view returns(address _fxStateChildTunnel, address _maticX, address _trustedForwarder)
func (*StaderChildPoolCaller) GetMaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolCaller) GetMaticXSwapLockPeriod(opts *bind.CallOpts) (*big.Int, error)
GetMaticXSwapLockPeriod is a free data retrieval call binding the contract method 0xec7467ed.
Solidity: function getMaticXSwapLockPeriod() view returns(uint256)
func (*StaderChildPoolCaller) GetUserMaticXSwapRequests ¶
func (_StaderChildPool *StaderChildPoolCaller) GetUserMaticXSwapRequests(opts *bind.CallOpts, _address common.Address) ([]IChildPoolMaticXSwapRequest, error)
GetUserMaticXSwapRequests is a free data retrieval call binding the contract method 0xedb64ec0.
Solidity: function getUserMaticXSwapRequests(address _address) view returns((uint256,uint256,uint256)[])
func (*StaderChildPoolCaller) InstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolCaller) InstantPoolMatic(opts *bind.CallOpts) (*big.Int, error)
InstantPoolMatic is a free data retrieval call binding the contract method 0x89dfa025.
Solidity: function instantPoolMatic() view returns(uint256)
func (*StaderChildPoolCaller) InstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolCaller) InstantPoolMaticX(opts *bind.CallOpts) (*big.Int, error)
InstantPoolMaticX is a free data retrieval call binding the contract method 0xc759352d.
Solidity: function instantPoolMaticX() view returns(uint256)
func (*StaderChildPoolCaller) InstantPoolOwner ¶
func (_StaderChildPool *StaderChildPoolCaller) InstantPoolOwner(opts *bind.CallOpts) (common.Address, error)
InstantPoolOwner is a free data retrieval call binding the contract method 0x1c083124.
Solidity: function instantPoolOwner() view returns(address)
func (*StaderChildPoolCaller) InstantWithdrawalFeeBps ¶
func (_StaderChildPool *StaderChildPoolCaller) InstantWithdrawalFeeBps(opts *bind.CallOpts) (*big.Int, error)
InstantWithdrawalFeeBps is a free data retrieval call binding the contract method 0x1e89a137.
Solidity: function instantWithdrawalFeeBps() view returns(uint256)
func (*StaderChildPoolCaller) InstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolCaller) InstantWithdrawalFees(opts *bind.CallOpts) (*big.Int, error)
InstantWithdrawalFees is a free data retrieval call binding the contract method 0x4aa6164d.
Solidity: function instantWithdrawalFees() view returns(uint256)
func (*StaderChildPoolCaller) IsTrustedForwarder ¶
func (_StaderChildPool *StaderChildPoolCaller) IsTrustedForwarder(opts *bind.CallOpts, _address common.Address) (bool, error)
IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.
Solidity: function isTrustedForwarder(address _address) view returns(bool)
func (*StaderChildPoolCaller) MaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolCaller) MaticXSwapLockPeriod(opts *bind.CallOpts) (*big.Int, error)
MaticXSwapLockPeriod is a free data retrieval call binding the contract method 0x9ea87b2d.
Solidity: function maticXSwapLockPeriod() view returns(uint256)
type StaderChildPoolCallerRaw ¶
type StaderChildPoolCallerRaw struct {
Contract *StaderChildPoolCaller // Generic read-only contract binding to access the raw methods on
}
StaderChildPoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StaderChildPoolCallerRaw) Call ¶
func (_StaderChildPool *StaderChildPoolCallerRaw) 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 StaderChildPoolCallerSession ¶
type StaderChildPoolCallerSession struct { Contract *StaderChildPoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StaderChildPoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StaderChildPoolCallerSession) ClaimedMatic ¶
func (_StaderChildPool *StaderChildPoolCallerSession) ClaimedMatic() (*big.Int, error)
ClaimedMatic is a free data retrieval call binding the contract method 0x1dd5d34c.
Solidity: function claimedMatic() view returns(uint256)
func (*StaderChildPoolCallerSession) ConvertMaticToMaticX ¶
func (_StaderChildPool *StaderChildPoolCallerSession) ConvertMaticToMaticX(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
ConvertMaticToMaticX is a free data retrieval call binding the contract method 0x9683e28e.
Solidity: function convertMaticToMaticX(uint256 _balance) view returns(uint256, uint256, uint256)
func (*StaderChildPoolCallerSession) ConvertMaticXToMatic ¶
func (_StaderChildPool *StaderChildPoolCallerSession) ConvertMaticXToMatic(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
ConvertMaticXToMatic is a free data retrieval call binding the contract method 0x75a85ef5.
Solidity: function convertMaticXToMatic(uint256 _balance) view returns(uint256, uint256, uint256)
func (*StaderChildPoolCallerSession) GetAmountAfterInstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolCallerSession) GetAmountAfterInstantWithdrawalFees(_amount *big.Int) (*big.Int, *big.Int, error)
GetAmountAfterInstantWithdrawalFees is a free data retrieval call binding the contract method 0xe9ce0532.
Solidity: function getAmountAfterInstantWithdrawalFees(uint256 _amount) view returns(uint256, uint256)
func (*StaderChildPoolCallerSession) GetContracts ¶
func (_StaderChildPool *StaderChildPoolCallerSession) GetContracts() (struct { FxStateChildTunnel common.Address MaticX common.Address TrustedForwarder common.Address }, error)
GetContracts is a free data retrieval call binding the contract method 0xc3a2a93a.
Solidity: function getContracts() view returns(address _fxStateChildTunnel, address _maticX, address _trustedForwarder)
func (*StaderChildPoolCallerSession) GetMaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolCallerSession) GetMaticXSwapLockPeriod() (*big.Int, error)
GetMaticXSwapLockPeriod is a free data retrieval call binding the contract method 0xec7467ed.
Solidity: function getMaticXSwapLockPeriod() view returns(uint256)
func (*StaderChildPoolCallerSession) GetUserMaticXSwapRequests ¶
func (_StaderChildPool *StaderChildPoolCallerSession) GetUserMaticXSwapRequests(_address common.Address) ([]IChildPoolMaticXSwapRequest, error)
GetUserMaticXSwapRequests is a free data retrieval call binding the contract method 0xedb64ec0.
Solidity: function getUserMaticXSwapRequests(address _address) view returns((uint256,uint256,uint256)[])
func (*StaderChildPoolCallerSession) InstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolCallerSession) InstantPoolMatic() (*big.Int, error)
InstantPoolMatic is a free data retrieval call binding the contract method 0x89dfa025.
Solidity: function instantPoolMatic() view returns(uint256)
func (*StaderChildPoolCallerSession) InstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolCallerSession) InstantPoolMaticX() (*big.Int, error)
InstantPoolMaticX is a free data retrieval call binding the contract method 0xc759352d.
Solidity: function instantPoolMaticX() view returns(uint256)
func (*StaderChildPoolCallerSession) InstantPoolOwner ¶
func (_StaderChildPool *StaderChildPoolCallerSession) InstantPoolOwner() (common.Address, error)
InstantPoolOwner is a free data retrieval call binding the contract method 0x1c083124.
Solidity: function instantPoolOwner() view returns(address)
func (*StaderChildPoolCallerSession) InstantWithdrawalFeeBps ¶
func (_StaderChildPool *StaderChildPoolCallerSession) InstantWithdrawalFeeBps() (*big.Int, error)
InstantWithdrawalFeeBps is a free data retrieval call binding the contract method 0x1e89a137.
Solidity: function instantWithdrawalFeeBps() view returns(uint256)
func (*StaderChildPoolCallerSession) InstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolCallerSession) InstantWithdrawalFees() (*big.Int, error)
InstantWithdrawalFees is a free data retrieval call binding the contract method 0x4aa6164d.
Solidity: function instantWithdrawalFees() view returns(uint256)
func (*StaderChildPoolCallerSession) IsTrustedForwarder ¶
func (_StaderChildPool *StaderChildPoolCallerSession) IsTrustedForwarder(_address common.Address) (bool, error)
IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.
Solidity: function isTrustedForwarder(address _address) view returns(bool)
func (*StaderChildPoolCallerSession) MaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolCallerSession) MaticXSwapLockPeriod() (*big.Int, error)
MaticXSwapLockPeriod is a free data retrieval call binding the contract method 0x9ea87b2d.
Solidity: function maticXSwapLockPeriod() view returns(uint256)
func (*StaderChildPoolCallerSession) Treasury ¶
func (_StaderChildPool *StaderChildPoolCallerSession) Treasury() (common.Address, error)
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*StaderChildPoolCallerSession) Version ¶
func (_StaderChildPool *StaderChildPoolCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type StaderChildPoolFilterer ¶
type StaderChildPoolFilterer struct {
// contains filtered or unexported fields
}
StaderChildPoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStaderChildPoolFilterer ¶
func NewStaderChildPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*StaderChildPoolFilterer, error)
NewStaderChildPoolFilterer creates a new log filterer instance of StaderChildPool, bound to a specific deployed contract.
type StaderChildPoolRaw ¶
type StaderChildPoolRaw struct {
Contract *StaderChildPool // Generic contract binding to access the raw methods on
}
StaderChildPoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StaderChildPoolRaw) Call ¶
func (_StaderChildPool *StaderChildPoolRaw) 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 (*StaderChildPoolRaw) Transact ¶
func (_StaderChildPool *StaderChildPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StaderChildPoolRaw) Transfer ¶
func (_StaderChildPool *StaderChildPoolRaw) 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 StaderChildPoolSession ¶
type StaderChildPoolSession struct { Contract *StaderChildPool // 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 }
StaderChildPoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StaderChildPoolSession) ClaimMaticXSwap ¶
func (_StaderChildPool *StaderChildPoolSession) ClaimMaticXSwap(_idx *big.Int) (*types.Transaction, error)
ClaimMaticXSwap is a paid mutator transaction binding the contract method 0x77baf209.
Solidity: function claimMaticXSwap(uint256 _idx) returns()
func (*StaderChildPoolSession) ClaimedMatic ¶
func (_StaderChildPool *StaderChildPoolSession) ClaimedMatic() (*big.Int, error)
ClaimedMatic is a free data retrieval call binding the contract method 0x1dd5d34c.
Solidity: function claimedMatic() view returns(uint256)
func (*StaderChildPoolSession) ConvertMaticToMaticX ¶
func (_StaderChildPool *StaderChildPoolSession) ConvertMaticToMaticX(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
ConvertMaticToMaticX is a free data retrieval call binding the contract method 0x9683e28e.
Solidity: function convertMaticToMaticX(uint256 _balance) view returns(uint256, uint256, uint256)
func (*StaderChildPoolSession) ConvertMaticXToMatic ¶
func (_StaderChildPool *StaderChildPoolSession) ConvertMaticXToMatic(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)
ConvertMaticXToMatic is a free data retrieval call binding the contract method 0x75a85ef5.
Solidity: function convertMaticXToMatic(uint256 _balance) view returns(uint256, uint256, uint256)
func (*StaderChildPoolSession) GetAmountAfterInstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolSession) GetAmountAfterInstantWithdrawalFees(_amount *big.Int) (*big.Int, *big.Int, error)
GetAmountAfterInstantWithdrawalFees is a free data retrieval call binding the contract method 0xe9ce0532.
Solidity: function getAmountAfterInstantWithdrawalFees(uint256 _amount) view returns(uint256, uint256)
func (*StaderChildPoolSession) GetContracts ¶
func (_StaderChildPool *StaderChildPoolSession) GetContracts() (struct { FxStateChildTunnel common.Address MaticX common.Address TrustedForwarder common.Address }, error)
GetContracts is a free data retrieval call binding the contract method 0xc3a2a93a.
Solidity: function getContracts() view returns(address _fxStateChildTunnel, address _maticX, address _trustedForwarder)
func (*StaderChildPoolSession) GetMaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolSession) GetMaticXSwapLockPeriod() (*big.Int, error)
GetMaticXSwapLockPeriod is a free data retrieval call binding the contract method 0xec7467ed.
Solidity: function getMaticXSwapLockPeriod() view returns(uint256)
func (*StaderChildPoolSession) GetUserMaticXSwapRequests ¶
func (_StaderChildPool *StaderChildPoolSession) GetUserMaticXSwapRequests(_address common.Address) ([]IChildPoolMaticXSwapRequest, error)
GetUserMaticXSwapRequests is a free data retrieval call binding the contract method 0xedb64ec0.
Solidity: function getUserMaticXSwapRequests(address _address) view returns((uint256,uint256,uint256)[])
func (*StaderChildPoolSession) InstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolSession) InstantPoolMatic() (*big.Int, error)
InstantPoolMatic is a free data retrieval call binding the contract method 0x89dfa025.
Solidity: function instantPoolMatic() view returns(uint256)
func (*StaderChildPoolSession) InstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolSession) InstantPoolMaticX() (*big.Int, error)
InstantPoolMaticX is a free data retrieval call binding the contract method 0xc759352d.
Solidity: function instantPoolMaticX() view returns(uint256)
func (*StaderChildPoolSession) InstantPoolOwner ¶
func (_StaderChildPool *StaderChildPoolSession) InstantPoolOwner() (common.Address, error)
InstantPoolOwner is a free data retrieval call binding the contract method 0x1c083124.
Solidity: function instantPoolOwner() view returns(address)
func (*StaderChildPoolSession) InstantWithdrawalFeeBps ¶
func (_StaderChildPool *StaderChildPoolSession) InstantWithdrawalFeeBps() (*big.Int, error)
InstantWithdrawalFeeBps is a free data retrieval call binding the contract method 0x1e89a137.
Solidity: function instantWithdrawalFeeBps() view returns(uint256)
func (*StaderChildPoolSession) InstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolSession) InstantWithdrawalFees() (*big.Int, error)
InstantWithdrawalFees is a free data retrieval call binding the contract method 0x4aa6164d.
Solidity: function instantWithdrawalFees() view returns(uint256)
func (*StaderChildPoolSession) IsTrustedForwarder ¶
func (_StaderChildPool *StaderChildPoolSession) IsTrustedForwarder(_address common.Address) (bool, error)
IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.
Solidity: function isTrustedForwarder(address _address) view returns(bool)
func (*StaderChildPoolSession) MaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolSession) MaticXSwapLockPeriod() (*big.Int, error)
MaticXSwapLockPeriod is a free data retrieval call binding the contract method 0x9ea87b2d.
Solidity: function maticXSwapLockPeriod() view returns(uint256)
func (*StaderChildPoolSession) ProvideInstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolSession) ProvideInstantPoolMatic() (*types.Transaction, error)
ProvideInstantPoolMatic is a paid mutator transaction binding the contract method 0xe82d73e6.
Solidity: function provideInstantPoolMatic() payable returns()
func (*StaderChildPoolSession) ProvideInstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolSession) ProvideInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)
ProvideInstantPoolMaticX is a paid mutator transaction binding the contract method 0x68c05c97.
Solidity: function provideInstantPoolMaticX(uint256 _amount) returns()
func (*StaderChildPoolSession) RequestMaticXSwap ¶
func (_StaderChildPool *StaderChildPoolSession) RequestMaticXSwap(_amount *big.Int) (*types.Transaction, error)
RequestMaticXSwap is a paid mutator transaction binding the contract method 0x48eaf6d6.
Solidity: function requestMaticXSwap(uint256 _amount) returns(uint256)
func (*StaderChildPoolSession) SetFxStateChildTunnel ¶
func (_StaderChildPool *StaderChildPoolSession) SetFxStateChildTunnel(_address common.Address) (*types.Transaction, error)
SetFxStateChildTunnel is a paid mutator transaction binding the contract method 0x174b151c.
Solidity: function setFxStateChildTunnel(address _address) returns()
func (*StaderChildPoolSession) SetInstantPoolOwner ¶
func (_StaderChildPool *StaderChildPoolSession) SetInstantPoolOwner(_address common.Address) (*types.Transaction, error)
SetInstantPoolOwner is a paid mutator transaction binding the contract method 0x701845b8.
Solidity: function setInstantPoolOwner(address _address) returns()
func (*StaderChildPoolSession) SetInstantWithdrawalFeeBps ¶
func (_StaderChildPool *StaderChildPoolSession) SetInstantWithdrawalFeeBps(_feeBps *big.Int) (*types.Transaction, error)
SetInstantWithdrawalFeeBps is a paid mutator transaction binding the contract method 0x13acce6a.
Solidity: function setInstantWithdrawalFeeBps(uint256 _feeBps) returns()
func (*StaderChildPoolSession) SetMaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolSession) SetMaticXSwapLockPeriod(_hours *big.Int) (*types.Transaction, error)
SetMaticXSwapLockPeriod is a paid mutator transaction binding the contract method 0x72be8891.
Solidity: function setMaticXSwapLockPeriod(uint256 _hours) returns()
func (*StaderChildPoolSession) SetTreasury ¶
func (_StaderChildPool *StaderChildPoolSession) SetTreasury(_address common.Address) (*types.Transaction, error)
SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.
Solidity: function setTreasury(address _address) returns()
func (*StaderChildPoolSession) SetTrustedForwarder ¶
func (_StaderChildPool *StaderChildPoolSession) SetTrustedForwarder(_address common.Address) (*types.Transaction, error)
SetTrustedForwarder is a paid mutator transaction binding the contract method 0xda742228.
Solidity: function setTrustedForwarder(address _address) returns()
func (*StaderChildPoolSession) SetVersion ¶
func (_StaderChildPool *StaderChildPoolSession) SetVersion(_version string) (*types.Transaction, error)
SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.
Solidity: function setVersion(string _version) returns()
func (*StaderChildPoolSession) SwapMaticForMaticXViaInstantPool ¶
func (_StaderChildPool *StaderChildPoolSession) SwapMaticForMaticXViaInstantPool() (*types.Transaction, error)
SwapMaticForMaticXViaInstantPool is a paid mutator transaction binding the contract method 0xc78cf1a0.
Solidity: function swapMaticForMaticXViaInstantPool() payable returns()
func (*StaderChildPoolSession) SwapMaticXForMaticViaInstantPool ¶
func (_StaderChildPool *StaderChildPoolSession) SwapMaticXForMaticViaInstantPool(_amount *big.Int) (*types.Transaction, error)
SwapMaticXForMaticViaInstantPool is a paid mutator transaction binding the contract method 0xd3bf9d59.
Solidity: function swapMaticXForMaticViaInstantPool(uint256 _amount) returns()
func (*StaderChildPoolSession) TogglePause ¶
func (_StaderChildPool *StaderChildPoolSession) TogglePause() (*types.Transaction, error)
TogglePause is a paid mutator transaction binding the contract method 0xc4ae3168.
Solidity: function togglePause() returns()
func (*StaderChildPoolSession) Treasury ¶
func (_StaderChildPool *StaderChildPoolSession) Treasury() (common.Address, error)
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*StaderChildPoolSession) Version ¶
func (_StaderChildPool *StaderChildPoolSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*StaderChildPoolSession) WithdrawInstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolSession) WithdrawInstantPoolMatic(_amount *big.Int) (*types.Transaction, error)
WithdrawInstantPoolMatic is a paid mutator transaction binding the contract method 0x00fd822c.
Solidity: function withdrawInstantPoolMatic(uint256 _amount) returns()
func (*StaderChildPoolSession) WithdrawInstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolSession) WithdrawInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)
WithdrawInstantPoolMaticX is a paid mutator transaction binding the contract method 0xc1e324a5.
Solidity: function withdrawInstantPoolMaticX(uint256 _amount) returns()
func (*StaderChildPoolSession) WithdrawInstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolSession) WithdrawInstantWithdrawalFees(_amount *big.Int) (*types.Transaction, error)
WithdrawInstantWithdrawalFees is a paid mutator transaction binding the contract method 0x13d0255e.
Solidity: function withdrawInstantWithdrawalFees(uint256 _amount) returns()
type StaderChildPoolTransactor ¶
type StaderChildPoolTransactor struct {
// contains filtered or unexported fields
}
StaderChildPoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStaderChildPoolTransactor ¶
func NewStaderChildPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*StaderChildPoolTransactor, error)
NewStaderChildPoolTransactor creates a new write-only instance of StaderChildPool, bound to a specific deployed contract.
func (*StaderChildPoolTransactor) ClaimMaticXSwap ¶
func (_StaderChildPool *StaderChildPoolTransactor) ClaimMaticXSwap(opts *bind.TransactOpts, _idx *big.Int) (*types.Transaction, error)
ClaimMaticXSwap is a paid mutator transaction binding the contract method 0x77baf209.
Solidity: function claimMaticXSwap(uint256 _idx) returns()
func (*StaderChildPoolTransactor) ProvideInstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolTransactor) ProvideInstantPoolMatic(opts *bind.TransactOpts) (*types.Transaction, error)
ProvideInstantPoolMatic is a paid mutator transaction binding the contract method 0xe82d73e6.
Solidity: function provideInstantPoolMatic() payable returns()
func (*StaderChildPoolTransactor) ProvideInstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolTransactor) ProvideInstantPoolMaticX(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
ProvideInstantPoolMaticX is a paid mutator transaction binding the contract method 0x68c05c97.
Solidity: function provideInstantPoolMaticX(uint256 _amount) returns()
func (*StaderChildPoolTransactor) RequestMaticXSwap ¶
func (_StaderChildPool *StaderChildPoolTransactor) RequestMaticXSwap(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
RequestMaticXSwap is a paid mutator transaction binding the contract method 0x48eaf6d6.
Solidity: function requestMaticXSwap(uint256 _amount) returns(uint256)
func (*StaderChildPoolTransactor) SetFxStateChildTunnel ¶
func (_StaderChildPool *StaderChildPoolTransactor) SetFxStateChildTunnel(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
SetFxStateChildTunnel is a paid mutator transaction binding the contract method 0x174b151c.
Solidity: function setFxStateChildTunnel(address _address) returns()
func (*StaderChildPoolTransactor) SetInstantPoolOwner ¶
func (_StaderChildPool *StaderChildPoolTransactor) SetInstantPoolOwner(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
SetInstantPoolOwner is a paid mutator transaction binding the contract method 0x701845b8.
Solidity: function setInstantPoolOwner(address _address) returns()
func (*StaderChildPoolTransactor) SetInstantWithdrawalFeeBps ¶
func (_StaderChildPool *StaderChildPoolTransactor) SetInstantWithdrawalFeeBps(opts *bind.TransactOpts, _feeBps *big.Int) (*types.Transaction, error)
SetInstantWithdrawalFeeBps is a paid mutator transaction binding the contract method 0x13acce6a.
Solidity: function setInstantWithdrawalFeeBps(uint256 _feeBps) returns()
func (*StaderChildPoolTransactor) SetMaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolTransactor) SetMaticXSwapLockPeriod(opts *bind.TransactOpts, _hours *big.Int) (*types.Transaction, error)
SetMaticXSwapLockPeriod is a paid mutator transaction binding the contract method 0x72be8891.
Solidity: function setMaticXSwapLockPeriod(uint256 _hours) returns()
func (*StaderChildPoolTransactor) SetTreasury ¶
func (_StaderChildPool *StaderChildPoolTransactor) SetTreasury(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.
Solidity: function setTreasury(address _address) returns()
func (*StaderChildPoolTransactor) SetTrustedForwarder ¶
func (_StaderChildPool *StaderChildPoolTransactor) SetTrustedForwarder(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
SetTrustedForwarder is a paid mutator transaction binding the contract method 0xda742228.
Solidity: function setTrustedForwarder(address _address) returns()
func (*StaderChildPoolTransactor) SetVersion ¶
func (_StaderChildPool *StaderChildPoolTransactor) SetVersion(opts *bind.TransactOpts, _version string) (*types.Transaction, error)
SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.
Solidity: function setVersion(string _version) returns()
func (*StaderChildPoolTransactor) SwapMaticForMaticXViaInstantPool ¶
func (_StaderChildPool *StaderChildPoolTransactor) SwapMaticForMaticXViaInstantPool(opts *bind.TransactOpts) (*types.Transaction, error)
SwapMaticForMaticXViaInstantPool is a paid mutator transaction binding the contract method 0xc78cf1a0.
Solidity: function swapMaticForMaticXViaInstantPool() payable returns()
func (*StaderChildPoolTransactor) SwapMaticXForMaticViaInstantPool ¶
func (_StaderChildPool *StaderChildPoolTransactor) SwapMaticXForMaticViaInstantPool(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
SwapMaticXForMaticViaInstantPool is a paid mutator transaction binding the contract method 0xd3bf9d59.
Solidity: function swapMaticXForMaticViaInstantPool(uint256 _amount) returns()
func (*StaderChildPoolTransactor) TogglePause ¶
func (_StaderChildPool *StaderChildPoolTransactor) TogglePause(opts *bind.TransactOpts) (*types.Transaction, error)
TogglePause is a paid mutator transaction binding the contract method 0xc4ae3168.
Solidity: function togglePause() returns()
func (*StaderChildPoolTransactor) WithdrawInstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolTransactor) WithdrawInstantPoolMatic(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
WithdrawInstantPoolMatic is a paid mutator transaction binding the contract method 0x00fd822c.
Solidity: function withdrawInstantPoolMatic(uint256 _amount) returns()
func (*StaderChildPoolTransactor) WithdrawInstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolTransactor) WithdrawInstantPoolMaticX(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
WithdrawInstantPoolMaticX is a paid mutator transaction binding the contract method 0xc1e324a5.
Solidity: function withdrawInstantPoolMaticX(uint256 _amount) returns()
func (*StaderChildPoolTransactor) WithdrawInstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolTransactor) WithdrawInstantWithdrawalFees(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
WithdrawInstantWithdrawalFees is a paid mutator transaction binding the contract method 0x13d0255e.
Solidity: function withdrawInstantWithdrawalFees(uint256 _amount) returns()
type StaderChildPoolTransactorRaw ¶
type StaderChildPoolTransactorRaw struct {
Contract *StaderChildPoolTransactor // Generic write-only contract binding to access the raw methods on
}
StaderChildPoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StaderChildPoolTransactorRaw) Transact ¶
func (_StaderChildPool *StaderChildPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StaderChildPoolTransactorRaw) Transfer ¶
func (_StaderChildPool *StaderChildPoolTransactorRaw) 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 StaderChildPoolTransactorSession ¶
type StaderChildPoolTransactorSession struct { Contract *StaderChildPoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StaderChildPoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StaderChildPoolTransactorSession) ClaimMaticXSwap ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) ClaimMaticXSwap(_idx *big.Int) (*types.Transaction, error)
ClaimMaticXSwap is a paid mutator transaction binding the contract method 0x77baf209.
Solidity: function claimMaticXSwap(uint256 _idx) returns()
func (*StaderChildPoolTransactorSession) ProvideInstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) ProvideInstantPoolMatic() (*types.Transaction, error)
ProvideInstantPoolMatic is a paid mutator transaction binding the contract method 0xe82d73e6.
Solidity: function provideInstantPoolMatic() payable returns()
func (*StaderChildPoolTransactorSession) ProvideInstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) ProvideInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)
ProvideInstantPoolMaticX is a paid mutator transaction binding the contract method 0x68c05c97.
Solidity: function provideInstantPoolMaticX(uint256 _amount) returns()
func (*StaderChildPoolTransactorSession) RequestMaticXSwap ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) RequestMaticXSwap(_amount *big.Int) (*types.Transaction, error)
RequestMaticXSwap is a paid mutator transaction binding the contract method 0x48eaf6d6.
Solidity: function requestMaticXSwap(uint256 _amount) returns(uint256)
func (*StaderChildPoolTransactorSession) SetFxStateChildTunnel ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SetFxStateChildTunnel(_address common.Address) (*types.Transaction, error)
SetFxStateChildTunnel is a paid mutator transaction binding the contract method 0x174b151c.
Solidity: function setFxStateChildTunnel(address _address) returns()
func (*StaderChildPoolTransactorSession) SetInstantPoolOwner ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SetInstantPoolOwner(_address common.Address) (*types.Transaction, error)
SetInstantPoolOwner is a paid mutator transaction binding the contract method 0x701845b8.
Solidity: function setInstantPoolOwner(address _address) returns()
func (*StaderChildPoolTransactorSession) SetInstantWithdrawalFeeBps ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SetInstantWithdrawalFeeBps(_feeBps *big.Int) (*types.Transaction, error)
SetInstantWithdrawalFeeBps is a paid mutator transaction binding the contract method 0x13acce6a.
Solidity: function setInstantWithdrawalFeeBps(uint256 _feeBps) returns()
func (*StaderChildPoolTransactorSession) SetMaticXSwapLockPeriod ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SetMaticXSwapLockPeriod(_hours *big.Int) (*types.Transaction, error)
SetMaticXSwapLockPeriod is a paid mutator transaction binding the contract method 0x72be8891.
Solidity: function setMaticXSwapLockPeriod(uint256 _hours) returns()
func (*StaderChildPoolTransactorSession) SetTreasury ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SetTreasury(_address common.Address) (*types.Transaction, error)
SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.
Solidity: function setTreasury(address _address) returns()
func (*StaderChildPoolTransactorSession) SetTrustedForwarder ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SetTrustedForwarder(_address common.Address) (*types.Transaction, error)
SetTrustedForwarder is a paid mutator transaction binding the contract method 0xda742228.
Solidity: function setTrustedForwarder(address _address) returns()
func (*StaderChildPoolTransactorSession) SetVersion ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SetVersion(_version string) (*types.Transaction, error)
SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.
Solidity: function setVersion(string _version) returns()
func (*StaderChildPoolTransactorSession) SwapMaticForMaticXViaInstantPool ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SwapMaticForMaticXViaInstantPool() (*types.Transaction, error)
SwapMaticForMaticXViaInstantPool is a paid mutator transaction binding the contract method 0xc78cf1a0.
Solidity: function swapMaticForMaticXViaInstantPool() payable returns()
func (*StaderChildPoolTransactorSession) SwapMaticXForMaticViaInstantPool ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) SwapMaticXForMaticViaInstantPool(_amount *big.Int) (*types.Transaction, error)
SwapMaticXForMaticViaInstantPool is a paid mutator transaction binding the contract method 0xd3bf9d59.
Solidity: function swapMaticXForMaticViaInstantPool(uint256 _amount) returns()
func (*StaderChildPoolTransactorSession) TogglePause ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) TogglePause() (*types.Transaction, error)
TogglePause is a paid mutator transaction binding the contract method 0xc4ae3168.
Solidity: function togglePause() returns()
func (*StaderChildPoolTransactorSession) WithdrawInstantPoolMatic ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) WithdrawInstantPoolMatic(_amount *big.Int) (*types.Transaction, error)
WithdrawInstantPoolMatic is a paid mutator transaction binding the contract method 0x00fd822c.
Solidity: function withdrawInstantPoolMatic(uint256 _amount) returns()
func (*StaderChildPoolTransactorSession) WithdrawInstantPoolMaticX ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) WithdrawInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)
WithdrawInstantPoolMaticX is a paid mutator transaction binding the contract method 0xc1e324a5.
Solidity: function withdrawInstantPoolMaticX(uint256 _amount) returns()
func (*StaderChildPoolTransactorSession) WithdrawInstantWithdrawalFees ¶
func (_StaderChildPool *StaderChildPoolTransactorSession) WithdrawInstantWithdrawalFees(_amount *big.Int) (*types.Transaction, error)
WithdrawInstantWithdrawalFees is a paid mutator transaction binding the contract method 0x13d0255e.
Solidity: function withdrawInstantWithdrawalFees(uint256 _amount) returns()