Documentation ¶
Overview ¶
Package swap Go interface for synapse-contracts/.../SwapFlashLoan.sol
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- func EventTypeFromTopic(ogTopic common.Hash) *swap.EventType
- func Topic(eventType swap.EventType) common.Hash
- func TopicMap() map[swap.EventType]common.Hash
- type Address
- type AddressCaller
- type AddressCallerRaw
- type AddressCallerSession
- type AddressFilterer
- type AddressRaw
- func (_Address *AddressRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Address *AddressRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AddressSession
- type AddressTransactor
- type AddressTransactorRaw
- type AddressTransactorSession
- type AddressUpgradeable
- type AddressUpgradeableCaller
- type AddressUpgradeableCallerRaw
- type AddressUpgradeableCallerSession
- type AddressUpgradeableFilterer
- type AddressUpgradeableRaw
- func (_AddressUpgradeable *AddressUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AddressUpgradeable *AddressUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AddressUpgradeable *AddressUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AddressUpgradeableSession
- type AddressUpgradeableTransactor
- type AddressUpgradeableTransactorRaw
- type AddressUpgradeableTransactorSession
- type AmplificationUtils
- type AmplificationUtilsCaller
- type AmplificationUtilsCallerRaw
- type AmplificationUtilsCallerSession
- type AmplificationUtilsFilterer
- func (_AmplificationUtils *AmplificationUtilsFilterer) FilterRampA(opts *bind.FilterOpts) (*AmplificationUtilsRampAIterator, error)
- func (_AmplificationUtils *AmplificationUtilsFilterer) FilterStopRampA(opts *bind.FilterOpts) (*AmplificationUtilsStopRampAIterator, error)
- func (_AmplificationUtils *AmplificationUtilsFilterer) ParseRampA(log types.Log) (*AmplificationUtilsRampA, error)
- func (_AmplificationUtils *AmplificationUtilsFilterer) ParseStopRampA(log types.Log) (*AmplificationUtilsStopRampA, error)
- func (_AmplificationUtils *AmplificationUtilsFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *AmplificationUtilsRampA) (event.Subscription, error)
- func (_AmplificationUtils *AmplificationUtilsFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *AmplificationUtilsStopRampA) (event.Subscription, error)
- type AmplificationUtilsRampA
- type AmplificationUtilsRampAIterator
- type AmplificationUtilsRaw
- func (_AmplificationUtils *AmplificationUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AmplificationUtils *AmplificationUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AmplificationUtils *AmplificationUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AmplificationUtilsSession
- type AmplificationUtilsStopRampA
- type AmplificationUtilsStopRampAIterator
- type AmplificationUtilsTransactor
- type AmplificationUtilsTransactorRaw
- type AmplificationUtilsTransactorSession
- type Clones
- type ClonesCaller
- type ClonesCallerRaw
- type ClonesCallerSession
- type ClonesFilterer
- type ClonesRaw
- func (_Clones *ClonesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Clones *ClonesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Clones *ClonesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ClonesSession
- type ClonesTransactor
- type ClonesTransactorRaw
- type ClonesTransactorSession
- type Context
- type ContextCaller
- type ContextCallerRaw
- type ContextCallerSession
- type ContextFilterer
- type ContextRaw
- func (_Context *ContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContextSession
- type ContextTransactor
- type ContextTransactorRaw
- type ContextTransactorSession
- type ContextUpgradeable
- type ContextUpgradeableCaller
- type ContextUpgradeableCallerRaw
- type ContextUpgradeableCallerSession
- type ContextUpgradeableFilterer
- type ContextUpgradeableRaw
- func (_ContextUpgradeable *ContextUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ContextUpgradeable *ContextUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ContextUpgradeable *ContextUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContextUpgradeableSession
- type ContextUpgradeableTransactor
- type ContextUpgradeableTransactorRaw
- type ContextUpgradeableTransactorSession
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20BurnableUpgradeable
- type ERC20BurnableUpgradeableApproval
- type ERC20BurnableUpgradeableApprovalIterator
- type ERC20BurnableUpgradeableCaller
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20BurnableUpgradeableCallerRaw
- type ERC20BurnableUpgradeableCallerSession
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) Decimals() (uint8, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) Name() (string, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) Symbol() (string, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) TotalSupply() (*big.Int, error)
- type ERC20BurnableUpgradeableFilterer
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20BurnableUpgradeableApprovalIterator, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BurnableUpgradeableTransferIterator, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) ParseApproval(log types.Log) (*ERC20BurnableUpgradeableApproval, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) ParseTransfer(log types.Log) (*ERC20BurnableUpgradeableTransfer, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20BurnableUpgradeableApproval, ...) (event.Subscription, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BurnableUpgradeableTransfer, ...) (event.Subscription, error)
- type ERC20BurnableUpgradeableRaw
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20BurnableUpgradeableSession
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Decimals() (uint8, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Name() (string, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Symbol() (string, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) TotalSupply() (*big.Int, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20BurnableUpgradeableTransactor
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20BurnableUpgradeableTransactorRaw
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20BurnableUpgradeableTransactorSession
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20BurnableUpgradeableTransfer
- type ERC20BurnableUpgradeableTransferIterator
- type ERC20Caller
- func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20CallerRaw
- type ERC20CallerSession
- func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)
- func (_ERC20 *ERC20CallerSession) Name() (string, error)
- func (_ERC20 *ERC20CallerSession) Symbol() (string, error)
- func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
- func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Decimals() (uint8, error)
- func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) Name() (string, error)
- func (_ERC20 *ERC20Session) Symbol() (string, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transfer
- type ERC20TransferIterator
- type ERC20Upgradeable
- type ERC20UpgradeableApproval
- type ERC20UpgradeableApprovalIterator
- type ERC20UpgradeableCaller
- func (_ERC20Upgradeable *ERC20UpgradeableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20UpgradeableCallerRaw
- type ERC20UpgradeableCallerSession
- func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) Decimals() (uint8, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) Name() (string, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) Symbol() (string, error)
- func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) TotalSupply() (*big.Int, error)
- type ERC20UpgradeableFilterer
- func (_ERC20Upgradeable *ERC20UpgradeableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20UpgradeableApprovalIterator, error)
- func (_ERC20Upgradeable *ERC20UpgradeableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20UpgradeableTransferIterator, error)
- func (_ERC20Upgradeable *ERC20UpgradeableFilterer) ParseApproval(log types.Log) (*ERC20UpgradeableApproval, error)
- func (_ERC20Upgradeable *ERC20UpgradeableFilterer) ParseTransfer(log types.Log) (*ERC20UpgradeableTransfer, error)
- func (_ERC20Upgradeable *ERC20UpgradeableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20UpgradeableApproval, ...) (event.Subscription, error)
- func (_ERC20Upgradeable *ERC20UpgradeableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20UpgradeableTransfer, ...) (event.Subscription, error)
- type ERC20UpgradeableRaw
- func (_ERC20Upgradeable *ERC20UpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Upgradeable *ERC20UpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20UpgradeableSession
- func (_ERC20Upgradeable *ERC20UpgradeableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) Decimals() (uint8, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) Name() (string, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) Symbol() (string, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) TotalSupply() (*big.Int, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20UpgradeableTransactor
- func (_ERC20Upgradeable *ERC20UpgradeableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20UpgradeableTransactorRaw
- type ERC20UpgradeableTransactorSession
- func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20UpgradeableTransfer
- type ERC20UpgradeableTransferIterator
- type IERC20
- type IERC20Approval
- type IERC20ApprovalIterator
- type IERC20Caller
- func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20CallerRaw
- type IERC20CallerSession
- type IERC20Filterer
- func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
- func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
- func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
- func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
- func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type IERC20Raw
- func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20Session
- func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
- func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transactor
- func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type IERC20TransactorRaw
- type IERC20TransactorSession
- func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transfer
- type IERC20TransferIterator
- type IERC20Upgradeable
- type IERC20UpgradeableApproval
- type IERC20UpgradeableApprovalIterator
- type IERC20UpgradeableCaller
- func (_IERC20Upgradeable *IERC20UpgradeableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20Upgradeable *IERC20UpgradeableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IERC20Upgradeable *IERC20UpgradeableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20UpgradeableCallerRaw
- type IERC20UpgradeableCallerSession
- func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) TotalSupply() (*big.Int, error)
- type IERC20UpgradeableFilterer
- func (_IERC20Upgradeable *IERC20UpgradeableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20UpgradeableApprovalIterator, error)
- func (_IERC20Upgradeable *IERC20UpgradeableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20UpgradeableTransferIterator, error)
- func (_IERC20Upgradeable *IERC20UpgradeableFilterer) ParseApproval(log types.Log) (*IERC20UpgradeableApproval, error)
- func (_IERC20Upgradeable *IERC20UpgradeableFilterer) ParseTransfer(log types.Log) (*IERC20UpgradeableTransfer, error)
- func (_IERC20Upgradeable *IERC20UpgradeableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20UpgradeableApproval, ...) (event.Subscription, error)
- func (_IERC20Upgradeable *IERC20UpgradeableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20UpgradeableTransfer, ...) (event.Subscription, error)
- type IERC20UpgradeableRaw
- func (_IERC20Upgradeable *IERC20UpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC20Upgradeable *IERC20UpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20Upgradeable *IERC20UpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20UpgradeableSession
- func (_IERC20Upgradeable *IERC20UpgradeableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20Upgradeable *IERC20UpgradeableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20Upgradeable *IERC20UpgradeableSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20Upgradeable *IERC20UpgradeableSession) TotalSupply() (*big.Int, error)
- func (_IERC20Upgradeable *IERC20UpgradeableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20Upgradeable *IERC20UpgradeableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20UpgradeableTransactor
- func (_IERC20Upgradeable *IERC20UpgradeableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20Upgradeable *IERC20UpgradeableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20Upgradeable *IERC20UpgradeableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type IERC20UpgradeableTransactorRaw
- type IERC20UpgradeableTransactorSession
- func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20UpgradeableTransfer
- type IERC20UpgradeableTransferIterator
- type IFlashLoanReceiver
- type IFlashLoanReceiverCaller
- type IFlashLoanReceiverCallerRaw
- type IFlashLoanReceiverCallerSession
- type IFlashLoanReceiverFilterer
- type IFlashLoanReceiverRaw
- func (_IFlashLoanReceiver *IFlashLoanReceiverRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IFlashLoanReceiver *IFlashLoanReceiverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IFlashLoanReceiver *IFlashLoanReceiverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IFlashLoanReceiverSession
- type IFlashLoanReceiverTransactor
- type IFlashLoanReceiverTransactorRaw
- type IFlashLoanReceiverTransactorSession
- type ISwap
- type ISwapCaller
- func (_ISwap *ISwapCaller) CalculateRemoveLiquidity(opts *bind.CallOpts, amount *big.Int) ([]*big.Int, error)
- func (_ISwap *ISwapCaller) CalculateRemoveLiquidityOneToken(opts *bind.CallOpts, tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_ISwap *ISwapCaller) CalculateSwap(opts *bind.CallOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_ISwap *ISwapCaller) CalculateTokenAmount(opts *bind.CallOpts, amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_ISwap *ISwapCaller) GetA(opts *bind.CallOpts) (*big.Int, error)
- func (_ISwap *ISwapCaller) GetToken(opts *bind.CallOpts, index uint8) (common.Address, error)
- func (_ISwap *ISwapCaller) GetTokenBalance(opts *bind.CallOpts, index uint8) (*big.Int, error)
- func (_ISwap *ISwapCaller) GetTokenIndex(opts *bind.CallOpts, tokenAddress common.Address) (uint8, error)
- func (_ISwap *ISwapCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)
- type ISwapCallerRaw
- type ISwapCallerSession
- func (_ISwap *ISwapCallerSession) CalculateRemoveLiquidity(amount *big.Int) ([]*big.Int, error)
- func (_ISwap *ISwapCallerSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_ISwap *ISwapCallerSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_ISwap *ISwapCallerSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_ISwap *ISwapCallerSession) GetA() (*big.Int, error)
- func (_ISwap *ISwapCallerSession) GetToken(index uint8) (common.Address, error)
- func (_ISwap *ISwapCallerSession) GetTokenBalance(index uint8) (*big.Int, error)
- func (_ISwap *ISwapCallerSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
- func (_ISwap *ISwapCallerSession) GetVirtualPrice() (*big.Int, error)
- type ISwapFilterer
- type ISwapRaw
- func (_ISwap *ISwapRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ISwap *ISwapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ISwap *ISwapRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ISwapSession
- func (_ISwap *ISwapSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_ISwap *ISwapSession) CalculateRemoveLiquidity(amount *big.Int) ([]*big.Int, error)
- func (_ISwap *ISwapSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_ISwap *ISwapSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_ISwap *ISwapSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_ISwap *ISwapSession) GetA() (*big.Int, error)
- func (_ISwap *ISwapSession) GetToken(index uint8) (common.Address, error)
- func (_ISwap *ISwapSession) GetTokenBalance(index uint8) (*big.Int, error)
- func (_ISwap *ISwapSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
- func (_ISwap *ISwapSession) GetVirtualPrice() (*big.Int, error)
- func (_ISwap *ISwapSession) Initialize(pooledTokens []common.Address, decimals []uint8, lpTokenName string, ...) (*types.Transaction, error)
- func (_ISwap *ISwapSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_ISwap *ISwapSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_ISwap *ISwapSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_ISwap *ISwapSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, ...) (*types.Transaction, error)
- type ISwapTransactor
- func (_ISwap *ISwapTransactor) AddLiquidity(opts *bind.TransactOpts, amounts []*big.Int, minToMint *big.Int, ...) (*types.Transaction, error)
- func (_ISwap *ISwapTransactor) Initialize(opts *bind.TransactOpts, pooledTokens []common.Address, decimals []uint8, ...) (*types.Transaction, error)
- func (_ISwap *ISwapTransactor) RemoveLiquidity(opts *bind.TransactOpts, amount *big.Int, minAmounts []*big.Int, ...) (*types.Transaction, error)
- func (_ISwap *ISwapTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, amounts []*big.Int, maxBurnAmount *big.Int, ...) (*types.Transaction, error)
- func (_ISwap *ISwapTransactor) RemoveLiquidityOneToken(opts *bind.TransactOpts, tokenAmount *big.Int, tokenIndex uint8, ...) (*types.Transaction, error)
- func (_ISwap *ISwapTransactor) Swap(opts *bind.TransactOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, ...) (*types.Transaction, error)
- type ISwapTransactorRaw
- type ISwapTransactorSession
- func (_ISwap *ISwapTransactorSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_ISwap *ISwapTransactorSession) Initialize(pooledTokens []common.Address, decimals []uint8, lpTokenName string, ...) (*types.Transaction, error)
- func (_ISwap *ISwapTransactorSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_ISwap *ISwapTransactorSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_ISwap *ISwapTransactorSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_ISwap *ISwapTransactorSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, ...) (*types.Transaction, error)
- type Initializable
- type InitializableCaller
- type InitializableCallerRaw
- type InitializableCallerSession
- type InitializableFilterer
- type InitializableRaw
- func (_Initializable *InitializableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Initializable *InitializableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Initializable *InitializableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InitializableSession
- type InitializableTransactor
- type InitializableTransactorRaw
- type InitializableTransactorSession
- type LPToken
- type LPTokenApproval
- type LPTokenApprovalIterator
- type LPTokenCaller
- func (_LPToken *LPTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_LPToken *LPTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_LPToken *LPTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_LPToken *LPTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_LPToken *LPTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LPToken *LPTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_LPToken *LPTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type LPTokenCallerRaw
- type LPTokenCallerSession
- func (_LPToken *LPTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LPToken *LPTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_LPToken *LPTokenCallerSession) Decimals() (uint8, error)
- func (_LPToken *LPTokenCallerSession) Name() (string, error)
- func (_LPToken *LPTokenCallerSession) Owner() (common.Address, error)
- func (_LPToken *LPTokenCallerSession) Symbol() (string, error)
- func (_LPToken *LPTokenCallerSession) TotalSupply() (*big.Int, error)
- type LPTokenFilterer
- func (_LPToken *LPTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LPTokenApprovalIterator, error)
- func (_LPToken *LPTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LPTokenOwnershipTransferredIterator, error)
- func (_LPToken *LPTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LPTokenTransferIterator, error)
- func (_LPToken *LPTokenFilterer) ParseApproval(log types.Log) (*LPTokenApproval, error)
- func (_LPToken *LPTokenFilterer) ParseOwnershipTransferred(log types.Log) (*LPTokenOwnershipTransferred, error)
- func (_LPToken *LPTokenFilterer) ParseTransfer(log types.Log) (*LPTokenTransfer, error)
- func (_LPToken *LPTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LPTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_LPToken *LPTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LPTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_LPToken *LPTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LPTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type LPTokenOwnershipTransferred
- type LPTokenOwnershipTransferredIterator
- type LPTokenRaw
- func (_LPToken *LPTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LPToken *LPTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LPToken *LPTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LPTokenSession
- func (_LPToken *LPTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LPToken *LPTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_LPToken *LPTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) Decimals() (uint8, error)
- func (_LPToken *LPTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) Initialize(name string, symbol string) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) Mint(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) Name() (string, error)
- func (_LPToken *LPTokenSession) Owner() (common.Address, error)
- func (_LPToken *LPTokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_LPToken *LPTokenSession) Symbol() (string, error)
- func (_LPToken *LPTokenSession) TotalSupply() (*big.Int, error)
- func (_LPToken *LPTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type LPTokenTransactor
- func (_LPToken *LPTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) Initialize(opts *bind.TransactOpts, name string, symbol string) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) Mint(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type LPTokenTransactorRaw
- type LPTokenTransactorSession
- func (_LPToken *LPTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) Initialize(name string, symbol string) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) Mint(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LPToken *LPTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type LPTokenTransfer
- type LPTokenTransferIterator
- type MathUtils
- type MathUtilsCaller
- type MathUtilsCallerRaw
- type MathUtilsCallerSession
- type MathUtilsFilterer
- type MathUtilsRaw
- func (_MathUtils *MathUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MathUtils *MathUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MathUtils *MathUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MathUtilsSession
- type MathUtilsTransactor
- type MathUtilsTransactorRaw
- type MathUtilsTransactorSession
- type OwnableUpgradeable
- type OwnableUpgradeableCaller
- type OwnableUpgradeableCallerRaw
- type OwnableUpgradeableCallerSession
- type OwnableUpgradeableFilterer
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableUpgradeableOwnershipTransferredIterator, error)
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableUpgradeableOwnershipTransferred, error)
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableUpgradeableOwnershipTransferred
- type OwnableUpgradeableOwnershipTransferredIterator
- type OwnableUpgradeableRaw
- func (_OwnableUpgradeable *OwnableUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OwnableUpgradeable *OwnableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OwnableUpgradeable *OwnableUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableUpgradeableSession
- func (_OwnableUpgradeable *OwnableUpgradeableSession) Owner() (common.Address, error)
- func (_OwnableUpgradeable *OwnableUpgradeableSession) RenounceOwnership() (*types.Transaction, error)
- func (_OwnableUpgradeable *OwnableUpgradeableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OwnableUpgradeableTransactor
- type OwnableUpgradeableTransactorRaw
- type OwnableUpgradeableTransactorSession
- type OwnerPausableUpgradeable
- type OwnerPausableUpgradeableCaller
- type OwnerPausableUpgradeableCallerRaw
- type OwnerPausableUpgradeableCallerSession
- type OwnerPausableUpgradeableFilterer
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnerPausableUpgradeableOwnershipTransferredIterator, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) FilterPaused(opts *bind.FilterOpts) (*OwnerPausableUpgradeablePausedIterator, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) FilterUnpaused(opts *bind.FilterOpts) (*OwnerPausableUpgradeableUnpausedIterator, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnerPausableUpgradeableOwnershipTransferred, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) ParsePaused(log types.Log) (*OwnerPausableUpgradeablePaused, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) ParseUnpaused(log types.Log) (*OwnerPausableUpgradeableUnpaused, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *OwnerPausableUpgradeablePaused) (event.Subscription, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *OwnerPausableUpgradeableUnpaused) (event.Subscription, error)
- type OwnerPausableUpgradeableOwnershipTransferred
- type OwnerPausableUpgradeableOwnershipTransferredIterator
- type OwnerPausableUpgradeablePaused
- type OwnerPausableUpgradeablePausedIterator
- type OwnerPausableUpgradeableRaw
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnerPausableUpgradeableSession
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) Owner() (common.Address, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) Pause() (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) Paused() (bool, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) RenounceOwnership() (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) Unpause() (*types.Transaction, error)
- type OwnerPausableUpgradeableTransactor
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnerPausableUpgradeableTransactorRaw
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnerPausableUpgradeableTransactorSession
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorSession) Pause() (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorSession) Unpause() (*types.Transaction, error)
- type OwnerPausableUpgradeableUnpaused
- type OwnerPausableUpgradeableUnpausedIterator
- type PausableUpgradeable
- type PausableUpgradeableCaller
- type PausableUpgradeableCallerRaw
- type PausableUpgradeableCallerSession
- type PausableUpgradeableFilterer
- func (_PausableUpgradeable *PausableUpgradeableFilterer) FilterPaused(opts *bind.FilterOpts) (*PausableUpgradeablePausedIterator, error)
- func (_PausableUpgradeable *PausableUpgradeableFilterer) FilterUnpaused(opts *bind.FilterOpts) (*PausableUpgradeableUnpausedIterator, error)
- func (_PausableUpgradeable *PausableUpgradeableFilterer) ParsePaused(log types.Log) (*PausableUpgradeablePaused, error)
- func (_PausableUpgradeable *PausableUpgradeableFilterer) ParseUnpaused(log types.Log) (*PausableUpgradeableUnpaused, error)
- func (_PausableUpgradeable *PausableUpgradeableFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *PausableUpgradeablePaused) (event.Subscription, error)
- func (_PausableUpgradeable *PausableUpgradeableFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *PausableUpgradeableUnpaused) (event.Subscription, error)
- type PausableUpgradeablePaused
- type PausableUpgradeablePausedIterator
- type PausableUpgradeableRaw
- func (_PausableUpgradeable *PausableUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PausableUpgradeable *PausableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PausableUpgradeable *PausableUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PausableUpgradeableSession
- type PausableUpgradeableTransactor
- type PausableUpgradeableTransactorRaw
- type PausableUpgradeableTransactorSession
- type PausableUpgradeableUnpaused
- type PausableUpgradeableUnpausedIterator
- type ReentrancyGuardUpgradeable
- type ReentrancyGuardUpgradeableCaller
- type ReentrancyGuardUpgradeableCallerRaw
- type ReentrancyGuardUpgradeableCallerSession
- type ReentrancyGuardUpgradeableFilterer
- type ReentrancyGuardUpgradeableRaw
- func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ReentrancyGuardUpgradeableSession
- type ReentrancyGuardUpgradeableTransactor
- type ReentrancyGuardUpgradeableTransactorRaw
- func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ReentrancyGuardUpgradeableTransactorSession
- type SafeERC20
- type SafeERC20Caller
- type SafeERC20CallerRaw
- type SafeERC20CallerSession
- type SafeERC20Filterer
- type SafeERC20Raw
- func (_SafeERC20 *SafeERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeERC20 *SafeERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeERC20Session
- type SafeERC20Transactor
- type SafeERC20TransactorRaw
- type SafeERC20TransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type SafeMathUpgradeable
- type SafeMathUpgradeableCaller
- type SafeMathUpgradeableCallerRaw
- type SafeMathUpgradeableCallerSession
- type SafeMathUpgradeableFilterer
- type SafeMathUpgradeableRaw
- func (_SafeMathUpgradeable *SafeMathUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeMathUpgradeable *SafeMathUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMathUpgradeable *SafeMathUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathUpgradeableSession
- type SafeMathUpgradeableTransactor
- type SafeMathUpgradeableTransactorRaw
- type SafeMathUpgradeableTransactorSession
- type Swap
- type SwapAddLiquidity
- type SwapAddLiquidityIterator
- type SwapCaller
- func (_Swap *SwapCaller) CalculateRemoveLiquidity(opts *bind.CallOpts, amount *big.Int) ([]*big.Int, error)
- func (_Swap *SwapCaller) CalculateRemoveLiquidityOneToken(opts *bind.CallOpts, tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_Swap *SwapCaller) CalculateSwap(opts *bind.CallOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_Swap *SwapCaller) CalculateTokenAmount(opts *bind.CallOpts, amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_Swap *SwapCaller) GetA(opts *bind.CallOpts) (*big.Int, error)
- func (_Swap *SwapCaller) GetAPrecise(opts *bind.CallOpts) (*big.Int, error)
- func (_Swap *SwapCaller) GetAdminBalance(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_Swap *SwapCaller) GetToken(opts *bind.CallOpts, index uint8) (common.Address, error)
- func (_Swap *SwapCaller) GetTokenBalance(opts *bind.CallOpts, index uint8) (*big.Int, error)
- func (_Swap *SwapCaller) GetTokenIndex(opts *bind.CallOpts, tokenAddress common.Address) (uint8, error)
- func (_Swap *SwapCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_Swap *SwapCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Swap *SwapCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Swap *SwapCaller) SwapStorage(opts *bind.CallOpts) (struct{ ... }, error)
- type SwapCallerRaw
- type SwapCallerSession
- func (_Swap *SwapCallerSession) CalculateRemoveLiquidity(amount *big.Int) ([]*big.Int, error)
- func (_Swap *SwapCallerSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_Swap *SwapCallerSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_Swap *SwapCallerSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_Swap *SwapCallerSession) GetA() (*big.Int, error)
- func (_Swap *SwapCallerSession) GetAPrecise() (*big.Int, error)
- func (_Swap *SwapCallerSession) GetAdminBalance(index *big.Int) (*big.Int, error)
- func (_Swap *SwapCallerSession) GetToken(index uint8) (common.Address, error)
- func (_Swap *SwapCallerSession) GetTokenBalance(index uint8) (*big.Int, error)
- func (_Swap *SwapCallerSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
- func (_Swap *SwapCallerSession) GetVirtualPrice() (*big.Int, error)
- func (_Swap *SwapCallerSession) Owner() (common.Address, error)
- func (_Swap *SwapCallerSession) Paused() (bool, error)
- func (_Swap *SwapCallerSession) SwapStorage() (struct{ ... }, error)
- type SwapFilterer
- func (_Swap *SwapFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapAddLiquidityIterator, error)
- func (_Swap *SwapFilterer) FilterNewAdminFee(opts *bind.FilterOpts) (*SwapNewAdminFeeIterator, error)
- func (_Swap *SwapFilterer) FilterNewSwapFee(opts *bind.FilterOpts) (*SwapNewSwapFeeIterator, error)
- func (_Swap *SwapFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SwapOwnershipTransferredIterator, error)
- func (_Swap *SwapFilterer) FilterPaused(opts *bind.FilterOpts) (*SwapPausedIterator, error)
- func (_Swap *SwapFilterer) FilterRampA(opts *bind.FilterOpts) (*SwapRampAIterator, error)
- func (_Swap *SwapFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapRemoveLiquidityIterator, error)
- func (_Swap *SwapFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*SwapRemoveLiquidityImbalanceIterator, error)
- func (_Swap *SwapFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*SwapRemoveLiquidityOneIterator, error)
- func (_Swap *SwapFilterer) FilterStopRampA(opts *bind.FilterOpts) (*SwapStopRampAIterator, error)
- func (_Swap *SwapFilterer) FilterTokenSwap(opts *bind.FilterOpts, buyer []common.Address) (*SwapTokenSwapIterator, error)
- func (_Swap *SwapFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SwapUnpausedIterator, error)
- func (_Swap *SwapFilterer) ParseAddLiquidity(log types.Log) (*SwapAddLiquidity, error)
- func (_Swap *SwapFilterer) ParseNewAdminFee(log types.Log) (*SwapNewAdminFee, error)
- func (_Swap *SwapFilterer) ParseNewSwapFee(log types.Log) (*SwapNewSwapFee, error)
- func (_Swap *SwapFilterer) ParseOwnershipTransferred(log types.Log) (*SwapOwnershipTransferred, error)
- func (_Swap *SwapFilterer) ParsePaused(log types.Log) (*SwapPaused, error)
- func (_Swap *SwapFilterer) ParseRampA(log types.Log) (*SwapRampA, error)
- func (_Swap *SwapFilterer) ParseRemoveLiquidity(log types.Log) (*SwapRemoveLiquidity, error)
- func (_Swap *SwapFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*SwapRemoveLiquidityImbalance, error)
- func (_Swap *SwapFilterer) ParseRemoveLiquidityOne(log types.Log) (*SwapRemoveLiquidityOne, error)
- func (_Swap *SwapFilterer) ParseStopRampA(log types.Log) (*SwapStopRampA, error)
- func (_Swap *SwapFilterer) ParseTokenSwap(log types.Log) (*SwapTokenSwap, error)
- func (_Swap *SwapFilterer) ParseUnpaused(log types.Log) (*SwapUnpaused, error)
- func (_Swap *SwapFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *SwapAddLiquidity, provider []common.Address) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchNewAdminFee(opts *bind.WatchOpts, sink chan<- *SwapNewAdminFee) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchNewSwapFee(opts *bind.WatchOpts, sink chan<- *SwapNewSwapFee) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SwapOwnershipTransferred, ...) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SwapPaused) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *SwapRampA) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *SwapRemoveLiquidity, ...) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *SwapRemoveLiquidityImbalance, ...) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *SwapRemoveLiquidityOne, ...) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *SwapStopRampA) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchTokenSwap(opts *bind.WatchOpts, sink chan<- *SwapTokenSwap, buyer []common.Address) (event.Subscription, error)
- func (_Swap *SwapFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SwapUnpaused) (event.Subscription, error)
- type SwapFlashLoan
- type SwapFlashLoanAddLiquidity
- func (s SwapFlashLoanAddLiquidity) GetAmount() map[uint8]string
- func (s SwapFlashLoanAddLiquidity) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanAddLiquidity) GetBlockNumber() uint64
- func (s SwapFlashLoanAddLiquidity) GetBoughtId() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetBuyer() *common.Address
- func (s SwapFlashLoanAddLiquidity) GetContractAddress() common.Address
- func (s SwapFlashLoanAddLiquidity) GetCurrentA() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetEventIndex() uint64
- func (s SwapFlashLoanAddLiquidity) GetEventType() swap.EventType
- func (s SwapFlashLoanAddLiquidity) GetFutureTime() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetInitialTime() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetInvariant() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetNewA() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetOldA() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetProtocolFee() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetProvider() *common.Address
- func (s SwapFlashLoanAddLiquidity) GetRaw() ethTypes.Log
- func (s SwapFlashLoanAddLiquidity) GetReceiver() *common.Address
- func (s SwapFlashLoanAddLiquidity) GetSoldId() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetTime() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetTokensBought() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetTokensSold() *big.Int
- func (s SwapFlashLoanAddLiquidity) GetTxHash() common.Hash
- type SwapFlashLoanAddLiquidityIterator
- type SwapFlashLoanCaller
- func (_SwapFlashLoan *SwapFlashLoanCaller) CalculateRemoveLiquidity(opts *bind.CallOpts, amount *big.Int) ([]*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) CalculateRemoveLiquidityOneToken(opts *bind.CallOpts, tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) CalculateSwap(opts *bind.CallOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) CalculateTokenAmount(opts *bind.CallOpts, amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) FlashLoanFeeBPS(opts *bind.CallOpts) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) GetA(opts *bind.CallOpts) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) GetAPrecise(opts *bind.CallOpts) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) GetAdminBalance(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) GetToken(opts *bind.CallOpts, index uint8) (common.Address, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) GetTokenBalance(opts *bind.CallOpts, index uint8) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) GetTokenIndex(opts *bind.CallOpts, tokenAddress common.Address) (uint8, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) MAXBPS(opts *bind.CallOpts) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) ProtocolFeeShareBPS(opts *bind.CallOpts) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCaller) SwapStorage(opts *bind.CallOpts) (struct{ ... }, error)
- type SwapFlashLoanCallerRaw
- type SwapFlashLoanCallerSession
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) CalculateRemoveLiquidity(amount *big.Int) ([]*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) FlashLoanFeeBPS() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetA() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetAPrecise() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetAdminBalance(index *big.Int) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetToken(index uint8) (common.Address, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetTokenBalance(index uint8) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetVirtualPrice() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) MAXBPS() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) Owner() (common.Address, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) Paused() (bool, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) ProtocolFeeShareBPS() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanCallerSession) SwapStorage() (struct{ ... }, error)
- type SwapFlashLoanFilterer
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapFlashLoanAddLiquidityIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterFlashLoan(opts *bind.FilterOpts, receiver []common.Address) (*SwapFlashLoanFlashLoanIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterNewAdminFee(opts *bind.FilterOpts) (*SwapFlashLoanNewAdminFeeIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterNewSwapFee(opts *bind.FilterOpts) (*SwapFlashLoanNewSwapFeeIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SwapFlashLoanOwnershipTransferredIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterPaused(opts *bind.FilterOpts) (*SwapFlashLoanPausedIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterRampA(opts *bind.FilterOpts) (*SwapFlashLoanRampAIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapFlashLoanRemoveLiquidityIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*SwapFlashLoanRemoveLiquidityImbalanceIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*SwapFlashLoanRemoveLiquidityOneIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterStopRampA(opts *bind.FilterOpts) (*SwapFlashLoanStopRampAIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterTokenSwap(opts *bind.FilterOpts, buyer []common.Address) (*SwapFlashLoanTokenSwapIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SwapFlashLoanUnpausedIterator, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseAddLiquidity(log types.Log) (*SwapFlashLoanAddLiquidity, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseFlashLoan(log types.Log) (*SwapFlashLoanFlashLoan, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseNewAdminFee(log types.Log) (*SwapFlashLoanNewAdminFee, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseNewSwapFee(log types.Log) (*SwapFlashLoanNewSwapFee, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseOwnershipTransferred(log types.Log) (*SwapFlashLoanOwnershipTransferred, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParsePaused(log types.Log) (*SwapFlashLoanPaused, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseRampA(log types.Log) (*SwapFlashLoanRampA, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseRemoveLiquidity(log types.Log) (*SwapFlashLoanRemoveLiquidity, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*SwapFlashLoanRemoveLiquidityImbalance, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseRemoveLiquidityOne(log types.Log) (*SwapFlashLoanRemoveLiquidityOne, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseStopRampA(log types.Log) (*SwapFlashLoanStopRampA, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseTokenSwap(log types.Log) (*SwapFlashLoanTokenSwap, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseUnpaused(log types.Log) (*SwapFlashLoanUnpaused, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanAddLiquidity, ...) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanFlashLoan, ...) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchNewAdminFee(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanNewAdminFee) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchNewSwapFee(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanNewSwapFee) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanOwnershipTransferred, ...) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanPaused) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanRampA) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanRemoveLiquidity, ...) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanRemoveLiquidityImbalance, ...) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanRemoveLiquidityOne, ...) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanStopRampA) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchTokenSwap(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanTokenSwap, ...) (event.Subscription, error)
- func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanUnpaused) (event.Subscription, error)
- type SwapFlashLoanFlashLoan
- func (s SwapFlashLoanFlashLoan) GetAmount() map[uint8]string
- func (s SwapFlashLoanFlashLoan) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanFlashLoan) GetBlockNumber() uint64
- func (s SwapFlashLoanFlashLoan) GetBoughtId() *big.Int
- func (s SwapFlashLoanFlashLoan) GetBuyer() *common.Address
- func (s SwapFlashLoanFlashLoan) GetContractAddress() common.Address
- func (s SwapFlashLoanFlashLoan) GetCurrentA() *big.Int
- func (s SwapFlashLoanFlashLoan) GetEventIndex() uint64
- func (s SwapFlashLoanFlashLoan) GetEventType() swap.EventType
- func (s SwapFlashLoanFlashLoan) GetFutureTime() *big.Int
- func (s SwapFlashLoanFlashLoan) GetInitialTime() *big.Int
- func (s SwapFlashLoanFlashLoan) GetInvariant() *big.Int
- func (s SwapFlashLoanFlashLoan) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanFlashLoan) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanFlashLoan) GetNewA() *big.Int
- func (s SwapFlashLoanFlashLoan) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanFlashLoan) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanFlashLoan) GetOldA() *big.Int
- func (s SwapFlashLoanFlashLoan) GetProtocolFee() *big.Int
- func (s SwapFlashLoanFlashLoan) GetProvider() *common.Address
- func (s SwapFlashLoanFlashLoan) GetRaw() ethTypes.Log
- func (s SwapFlashLoanFlashLoan) GetReceiver() *common.Address
- func (s SwapFlashLoanFlashLoan) GetSoldId() *big.Int
- func (s SwapFlashLoanFlashLoan) GetTime() *big.Int
- func (s SwapFlashLoanFlashLoan) GetTokensBought() *big.Int
- func (s SwapFlashLoanFlashLoan) GetTokensSold() *big.Int
- func (s SwapFlashLoanFlashLoan) GetTxHash() common.Hash
- type SwapFlashLoanFlashLoanIterator
- type SwapFlashLoanNewAdminFee
- func (s SwapFlashLoanNewAdminFee) GetAmount() map[uint8]string
- func (s SwapFlashLoanNewAdminFee) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanNewAdminFee) GetBlockNumber() uint64
- func (s SwapFlashLoanNewAdminFee) GetBoughtId() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetBuyer() *common.Address
- func (s SwapFlashLoanNewAdminFee) GetContractAddress() common.Address
- func (s SwapFlashLoanNewAdminFee) GetCurrentA() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetEventIndex() uint64
- func (s SwapFlashLoanNewAdminFee) GetEventType() swap.EventType
- func (s SwapFlashLoanNewAdminFee) GetFutureTime() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetInitialTime() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetInvariant() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetNewA() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetOldA() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetProtocolFee() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetProvider() *common.Address
- func (s SwapFlashLoanNewAdminFee) GetRaw() ethTypes.Log
- func (s SwapFlashLoanNewAdminFee) GetReceiver() *common.Address
- func (s SwapFlashLoanNewAdminFee) GetSoldId() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetTime() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetTokensBought() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetTokensSold() *big.Int
- func (s SwapFlashLoanNewAdminFee) GetTxHash() common.Hash
- type SwapFlashLoanNewAdminFeeIterator
- type SwapFlashLoanNewSwapFee
- func (s SwapFlashLoanNewSwapFee) GetAmount() map[uint8]string
- func (s SwapFlashLoanNewSwapFee) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanNewSwapFee) GetBlockNumber() uint64
- func (s SwapFlashLoanNewSwapFee) GetBoughtId() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetBuyer() *common.Address
- func (s SwapFlashLoanNewSwapFee) GetContractAddress() common.Address
- func (s SwapFlashLoanNewSwapFee) GetCurrentA() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetEventIndex() uint64
- func (s SwapFlashLoanNewSwapFee) GetEventType() swap.EventType
- func (s SwapFlashLoanNewSwapFee) GetFutureTime() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetInitialTime() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetInvariant() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetNewA() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetOldA() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetProtocolFee() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetProvider() *common.Address
- func (s SwapFlashLoanNewSwapFee) GetRaw() ethTypes.Log
- func (s SwapFlashLoanNewSwapFee) GetReceiver() *common.Address
- func (s SwapFlashLoanNewSwapFee) GetSoldId() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetTime() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetTokensBought() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetTokensSold() *big.Int
- func (s SwapFlashLoanNewSwapFee) GetTxHash() common.Hash
- type SwapFlashLoanNewSwapFeeIterator
- type SwapFlashLoanOwnershipTransferred
- type SwapFlashLoanOwnershipTransferredIterator
- type SwapFlashLoanPaused
- type SwapFlashLoanPausedIterator
- type SwapFlashLoanRampA
- func (s SwapFlashLoanRampA) GetAmount() map[uint8]string
- func (s SwapFlashLoanRampA) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanRampA) GetBlockNumber() uint64
- func (s SwapFlashLoanRampA) GetBoughtId() *big.Int
- func (s SwapFlashLoanRampA) GetBuyer() *common.Address
- func (s SwapFlashLoanRampA) GetContractAddress() common.Address
- func (s SwapFlashLoanRampA) GetCurrentA() *big.Int
- func (s SwapFlashLoanRampA) GetEventIndex() uint64
- func (s SwapFlashLoanRampA) GetEventType() swap.EventType
- func (s SwapFlashLoanRampA) GetFutureTime() *big.Int
- func (s SwapFlashLoanRampA) GetInitialTime() *big.Int
- func (s SwapFlashLoanRampA) GetInvariant() *big.Int
- func (s SwapFlashLoanRampA) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanRampA) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanRampA) GetNewA() *big.Int
- func (s SwapFlashLoanRampA) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanRampA) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanRampA) GetOldA() *big.Int
- func (s SwapFlashLoanRampA) GetProtocolFee() *big.Int
- func (s SwapFlashLoanRampA) GetProvider() *common.Address
- func (s SwapFlashLoanRampA) GetRaw() ethTypes.Log
- func (s SwapFlashLoanRampA) GetReceiver() *common.Address
- func (s SwapFlashLoanRampA) GetSoldId() *big.Int
- func (s SwapFlashLoanRampA) GetTime() *big.Int
- func (s SwapFlashLoanRampA) GetTokensBought() *big.Int
- func (s SwapFlashLoanRampA) GetTokensSold() *big.Int
- func (s SwapFlashLoanRampA) GetTxHash() common.Hash
- type SwapFlashLoanRampAIterator
- type SwapFlashLoanRaw
- func (_SwapFlashLoan *SwapFlashLoanRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SwapFlashLoan *SwapFlashLoanRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SwapFlashLoanRemoveLiquidity
- func (s SwapFlashLoanRemoveLiquidity) GetAmount() map[uint8]string
- func (s SwapFlashLoanRemoveLiquidity) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanRemoveLiquidity) GetBlockNumber() uint64
- func (s SwapFlashLoanRemoveLiquidity) GetBoughtId() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetBuyer() *common.Address
- func (s SwapFlashLoanRemoveLiquidity) GetContractAddress() common.Address
- func (s SwapFlashLoanRemoveLiquidity) GetCurrentA() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetEventIndex() uint64
- func (s SwapFlashLoanRemoveLiquidity) GetEventType() swap.EventType
- func (s SwapFlashLoanRemoveLiquidity) GetFutureTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetInitialTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetInvariant() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetNewA() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetOldA() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetProtocolFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetProvider() *common.Address
- func (s SwapFlashLoanRemoveLiquidity) GetRaw() ethTypes.Log
- func (s SwapFlashLoanRemoveLiquidity) GetReceiver() *common.Address
- func (s SwapFlashLoanRemoveLiquidity) GetSoldId() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetTokensBought() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetTokensSold() *big.Int
- func (s SwapFlashLoanRemoveLiquidity) GetTxHash() common.Hash
- type SwapFlashLoanRemoveLiquidityImbalance
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetAmount() map[uint8]string
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetBlockNumber() uint64
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetBoughtId() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetBuyer() *common.Address
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetContractAddress() common.Address
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetCurrentA() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetEventIndex() uint64
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetEventType() swap.EventType
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetFutureTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetInitialTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetInvariant() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetNewA() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetOldA() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetProtocolFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetProvider() *common.Address
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetRaw() ethTypes.Log
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetReceiver() *common.Address
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetSoldId() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetTokensBought() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetTokensSold() *big.Int
- func (s SwapFlashLoanRemoveLiquidityImbalance) GetTxHash() common.Hash
- type SwapFlashLoanRemoveLiquidityImbalanceIterator
- type SwapFlashLoanRemoveLiquidityIterator
- type SwapFlashLoanRemoveLiquidityOne
- func (s SwapFlashLoanRemoveLiquidityOne) GetAmount() map[uint8]string
- func (s SwapFlashLoanRemoveLiquidityOne) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanRemoveLiquidityOne) GetBlockNumber() uint64
- func (s SwapFlashLoanRemoveLiquidityOne) GetBoughtId() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetBuyer() *common.Address
- func (s SwapFlashLoanRemoveLiquidityOne) GetContractAddress() common.Address
- func (s SwapFlashLoanRemoveLiquidityOne) GetCurrentA() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetEventIndex() uint64
- func (s SwapFlashLoanRemoveLiquidityOne) GetEventType() swap.EventType
- func (s SwapFlashLoanRemoveLiquidityOne) GetFutureTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetInitialTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetInvariant() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetNewA() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetOldA() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetProtocolFee() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetProvider() *common.Address
- func (s SwapFlashLoanRemoveLiquidityOne) GetRaw() ethTypes.Log
- func (s SwapFlashLoanRemoveLiquidityOne) GetReceiver() *common.Address
- func (s SwapFlashLoanRemoveLiquidityOne) GetSoldId() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetTime() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetTokensBought() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetTokensSold() *big.Int
- func (s SwapFlashLoanRemoveLiquidityOne) GetTxHash() common.Hash
- type SwapFlashLoanRemoveLiquidityOneIterator
- type SwapFlashLoanSession
- func (_SwapFlashLoan *SwapFlashLoanSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) CalculateRemoveLiquidity(amount *big.Int) ([]*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) FlashLoan(receiver common.Address, token common.Address, amount *big.Int, params []byte) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) FlashLoanFeeBPS() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) GetA() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) GetAPrecise() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) GetAdminBalance(index *big.Int) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) GetToken(index uint8) (common.Address, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) GetTokenBalance(index uint8) (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) GetVirtualPrice() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) Initialize(_pooledTokens []common.Address, decimals []uint8, lpTokenName string, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) MAXBPS() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) Owner() (common.Address, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) Pause() (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) Paused() (bool, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) ProtocolFeeShareBPS() (*big.Int, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) RampA(futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) RenounceOwnership() (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) SetAdminFee(newAdminFee *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) SetFlashLoanFees(newFlashLoanFeeBPS *big.Int, newProtocolFeeShareBPS *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) SetSwapFee(newSwapFee *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) StopRampA() (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) SwapStorage() (struct{ ... }, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) Unpause() (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanSession) WithdrawAdminFees() (*types.Transaction, error)
- type SwapFlashLoanStopRampA
- func (s SwapFlashLoanStopRampA) GetAmount() map[uint8]string
- func (s SwapFlashLoanStopRampA) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanStopRampA) GetBlockNumber() uint64
- func (s SwapFlashLoanStopRampA) GetBoughtId() *big.Int
- func (s SwapFlashLoanStopRampA) GetBuyer() *common.Address
- func (s SwapFlashLoanStopRampA) GetContractAddress() common.Address
- func (s SwapFlashLoanStopRampA) GetCurrentA() *big.Int
- func (s SwapFlashLoanStopRampA) GetEventIndex() uint64
- func (s SwapFlashLoanStopRampA) GetEventType() swap.EventType
- func (s SwapFlashLoanStopRampA) GetFutureTime() *big.Int
- func (s SwapFlashLoanStopRampA) GetInitialTime() *big.Int
- func (s SwapFlashLoanStopRampA) GetInvariant() *big.Int
- func (s SwapFlashLoanStopRampA) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanStopRampA) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanStopRampA) GetNewA() *big.Int
- func (s SwapFlashLoanStopRampA) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanStopRampA) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanStopRampA) GetOldA() *big.Int
- func (s SwapFlashLoanStopRampA) GetProtocolFee() *big.Int
- func (s SwapFlashLoanStopRampA) GetProvider() *common.Address
- func (s SwapFlashLoanStopRampA) GetRaw() ethTypes.Log
- func (s SwapFlashLoanStopRampA) GetReceiver() *common.Address
- func (s SwapFlashLoanStopRampA) GetSoldId() *big.Int
- func (s SwapFlashLoanStopRampA) GetTime() *big.Int
- func (s SwapFlashLoanStopRampA) GetTokensBought() *big.Int
- func (s SwapFlashLoanStopRampA) GetTokensSold() *big.Int
- func (s SwapFlashLoanStopRampA) GetTxHash() common.Hash
- type SwapFlashLoanStopRampAIterator
- type SwapFlashLoanTokenSwap
- func (s SwapFlashLoanTokenSwap) GetAmount() map[uint8]string
- func (s SwapFlashLoanTokenSwap) GetAmountFee() map[uint8]string
- func (s SwapFlashLoanTokenSwap) GetBlockNumber() uint64
- func (s SwapFlashLoanTokenSwap) GetBoughtId() *big.Int
- func (s SwapFlashLoanTokenSwap) GetBuyer() *common.Address
- func (s SwapFlashLoanTokenSwap) GetContractAddress() common.Address
- func (s SwapFlashLoanTokenSwap) GetCurrentA() *big.Int
- func (s SwapFlashLoanTokenSwap) GetEventIndex() uint64
- func (s SwapFlashLoanTokenSwap) GetEventType() swap.EventType
- func (s SwapFlashLoanTokenSwap) GetFutureTime() *big.Int
- func (s SwapFlashLoanTokenSwap) GetInitialTime() *big.Int
- func (s SwapFlashLoanTokenSwap) GetInvariant() *big.Int
- func (s SwapFlashLoanTokenSwap) GetLPTokenAmount() *big.Int
- func (s SwapFlashLoanTokenSwap) GetLPTokenSupply() *big.Int
- func (s SwapFlashLoanTokenSwap) GetNewA() *big.Int
- func (s SwapFlashLoanTokenSwap) GetNewAdminFee() *big.Int
- func (s SwapFlashLoanTokenSwap) GetNewSwapFee() *big.Int
- func (s SwapFlashLoanTokenSwap) GetOldA() *big.Int
- func (s SwapFlashLoanTokenSwap) GetProtocolFee() *big.Int
- func (s SwapFlashLoanTokenSwap) GetProvider() *common.Address
- func (s SwapFlashLoanTokenSwap) GetRaw() ethTypes.Log
- func (s SwapFlashLoanTokenSwap) GetReceiver() *common.Address
- func (s SwapFlashLoanTokenSwap) GetSoldId() *big.Int
- func (s SwapFlashLoanTokenSwap) GetTime() *big.Int
- func (s SwapFlashLoanTokenSwap) GetTokensBought() *big.Int
- func (s SwapFlashLoanTokenSwap) GetTokensSold() *big.Int
- func (s SwapFlashLoanTokenSwap) GetTxHash() common.Hash
- type SwapFlashLoanTokenSwapIterator
- type SwapFlashLoanTransactor
- func (_SwapFlashLoan *SwapFlashLoanTransactor) AddLiquidity(opts *bind.TransactOpts, amounts []*big.Int, minToMint *big.Int, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) FlashLoan(opts *bind.TransactOpts, receiver common.Address, token common.Address, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) Initialize(opts *bind.TransactOpts, _pooledTokens []common.Address, decimals []uint8, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) RampA(opts *bind.TransactOpts, futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) RemoveLiquidity(opts *bind.TransactOpts, amount *big.Int, minAmounts []*big.Int, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, amounts []*big.Int, maxBurnAmount *big.Int, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) RemoveLiquidityOneToken(opts *bind.TransactOpts, tokenAmount *big.Int, tokenIndex uint8, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) SetAdminFee(opts *bind.TransactOpts, newAdminFee *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) SetFlashLoanFees(opts *bind.TransactOpts, newFlashLoanFeeBPS *big.Int, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) SetSwapFee(opts *bind.TransactOpts, newSwapFee *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) Swap(opts *bind.TransactOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
- type SwapFlashLoanTransactorRaw
- type SwapFlashLoanTransactorSession
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) FlashLoan(receiver common.Address, token common.Address, amount *big.Int, params []byte) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) Initialize(_pooledTokens []common.Address, decimals []uint8, lpTokenName string, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) Pause() (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RampA(futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) SetAdminFee(newAdminFee *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) SetFlashLoanFees(newFlashLoanFeeBPS *big.Int, newProtocolFeeShareBPS *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) SetSwapFee(newSwapFee *big.Int) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) StopRampA() (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, ...) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) Unpause() (*types.Transaction, error)
- func (_SwapFlashLoan *SwapFlashLoanTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
- type SwapFlashLoanUnpaused
- type SwapFlashLoanUnpausedIterator
- type SwapNewAdminFee
- type SwapNewAdminFeeIterator
- type SwapNewSwapFee
- type SwapNewSwapFeeIterator
- type SwapOwnershipTransferred
- type SwapOwnershipTransferredIterator
- type SwapPaused
- type SwapPausedIterator
- type SwapRampA
- type SwapRampAIterator
- type SwapRaw
- func (_Swap *SwapRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Swap *SwapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Swap *SwapRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SwapRef
- type SwapRemoveLiquidity
- type SwapRemoveLiquidityImbalance
- type SwapRemoveLiquidityImbalanceIterator
- type SwapRemoveLiquidityIterator
- type SwapRemoveLiquidityOne
- type SwapRemoveLiquidityOneIterator
- type SwapSession
- func (_Swap *SwapSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_Swap *SwapSession) CalculateRemoveLiquidity(amount *big.Int) ([]*big.Int, error)
- func (_Swap *SwapSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
- func (_Swap *SwapSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
- func (_Swap *SwapSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
- func (_Swap *SwapSession) GetA() (*big.Int, error)
- func (_Swap *SwapSession) GetAPrecise() (*big.Int, error)
- func (_Swap *SwapSession) GetAdminBalance(index *big.Int) (*big.Int, error)
- func (_Swap *SwapSession) GetToken(index uint8) (common.Address, error)
- func (_Swap *SwapSession) GetTokenBalance(index uint8) (*big.Int, error)
- func (_Swap *SwapSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
- func (_Swap *SwapSession) GetVirtualPrice() (*big.Int, error)
- func (_Swap *SwapSession) Initialize(_pooledTokens []common.Address, decimals []uint8, lpTokenName string, ...) (*types.Transaction, error)
- func (_Swap *SwapSession) Owner() (common.Address, error)
- func (_Swap *SwapSession) Pause() (*types.Transaction, error)
- func (_Swap *SwapSession) Paused() (bool, error)
- func (_Swap *SwapSession) RampA(futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
- func (_Swap *SwapSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_Swap *SwapSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_Swap *SwapSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_Swap *SwapSession) RenounceOwnership() (*types.Transaction, error)
- func (_Swap *SwapSession) SetAdminFee(newAdminFee *big.Int) (*types.Transaction, error)
- func (_Swap *SwapSession) SetSwapFee(newSwapFee *big.Int) (*types.Transaction, error)
- func (_Swap *SwapSession) StopRampA() (*types.Transaction, error)
- func (_Swap *SwapSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, ...) (*types.Transaction, error)
- func (_Swap *SwapSession) SwapStorage() (struct{ ... }, error)
- func (_Swap *SwapSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Swap *SwapSession) Unpause() (*types.Transaction, error)
- func (_Swap *SwapSession) WithdrawAdminFees() (*types.Transaction, error)
- type SwapStopRampA
- type SwapStopRampAIterator
- type SwapTokenSwap
- type SwapTokenSwapIterator
- type SwapTransactor
- func (_Swap *SwapTransactor) AddLiquidity(opts *bind.TransactOpts, amounts []*big.Int, minToMint *big.Int, ...) (*types.Transaction, error)
- func (_Swap *SwapTransactor) Initialize(opts *bind.TransactOpts, _pooledTokens []common.Address, decimals []uint8, ...) (*types.Transaction, error)
- func (_Swap *SwapTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Swap *SwapTransactor) RampA(opts *bind.TransactOpts, futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactor) RemoveLiquidity(opts *bind.TransactOpts, amount *big.Int, minAmounts []*big.Int, ...) (*types.Transaction, error)
- func (_Swap *SwapTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, amounts []*big.Int, maxBurnAmount *big.Int, ...) (*types.Transaction, error)
- func (_Swap *SwapTransactor) RemoveLiquidityOneToken(opts *bind.TransactOpts, tokenAmount *big.Int, tokenIndex uint8, ...) (*types.Transaction, error)
- func (_Swap *SwapTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Swap *SwapTransactor) SetAdminFee(opts *bind.TransactOpts, newAdminFee *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactor) SetSwapFee(opts *bind.TransactOpts, newSwapFee *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Swap *SwapTransactor) Swap(opts *bind.TransactOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, ...) (*types.Transaction, error)
- func (_Swap *SwapTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Swap *SwapTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Swap *SwapTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
- type SwapTransactorRaw
- type SwapTransactorSession
- func (_Swap *SwapTransactorSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) Initialize(_pooledTokens []common.Address, decimals []uint8, lpTokenName string, ...) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) Pause() (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) RampA(futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) SetAdminFee(newAdminFee *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) SetSwapFee(newSwapFee *big.Int) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) StopRampA() (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, ...) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) Unpause() (*types.Transaction, error)
- func (_Swap *SwapTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
- type SwapUnpaused
- type SwapUnpausedIterator
- type SwapUtils
- type SwapUtilsAddLiquidity
- type SwapUtilsAddLiquidityIterator
- type SwapUtilsCaller
- type SwapUtilsCallerRaw
- type SwapUtilsCallerSession
- type SwapUtilsFilterer
- func (_SwapUtils *SwapUtilsFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapUtilsAddLiquidityIterator, error)
- func (_SwapUtils *SwapUtilsFilterer) FilterNewAdminFee(opts *bind.FilterOpts) (*SwapUtilsNewAdminFeeIterator, error)
- func (_SwapUtils *SwapUtilsFilterer) FilterNewSwapFee(opts *bind.FilterOpts) (*SwapUtilsNewSwapFeeIterator, error)
- func (_SwapUtils *SwapUtilsFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapUtilsRemoveLiquidityIterator, error)
- func (_SwapUtils *SwapUtilsFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*SwapUtilsRemoveLiquidityImbalanceIterator, error)
- func (_SwapUtils *SwapUtilsFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*SwapUtilsRemoveLiquidityOneIterator, error)
- func (_SwapUtils *SwapUtilsFilterer) FilterTokenSwap(opts *bind.FilterOpts, buyer []common.Address) (*SwapUtilsTokenSwapIterator, error)
- func (_SwapUtils *SwapUtilsFilterer) ParseAddLiquidity(log types.Log) (*SwapUtilsAddLiquidity, error)
- func (_SwapUtils *SwapUtilsFilterer) ParseNewAdminFee(log types.Log) (*SwapUtilsNewAdminFee, error)
- func (_SwapUtils *SwapUtilsFilterer) ParseNewSwapFee(log types.Log) (*SwapUtilsNewSwapFee, error)
- func (_SwapUtils *SwapUtilsFilterer) ParseRemoveLiquidity(log types.Log) (*SwapUtilsRemoveLiquidity, error)
- func (_SwapUtils *SwapUtilsFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*SwapUtilsRemoveLiquidityImbalance, error)
- func (_SwapUtils *SwapUtilsFilterer) ParseRemoveLiquidityOne(log types.Log) (*SwapUtilsRemoveLiquidityOne, error)
- func (_SwapUtils *SwapUtilsFilterer) ParseTokenSwap(log types.Log) (*SwapUtilsTokenSwap, error)
- func (_SwapUtils *SwapUtilsFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *SwapUtilsAddLiquidity, ...) (event.Subscription, error)
- func (_SwapUtils *SwapUtilsFilterer) WatchNewAdminFee(opts *bind.WatchOpts, sink chan<- *SwapUtilsNewAdminFee) (event.Subscription, error)
- func (_SwapUtils *SwapUtilsFilterer) WatchNewSwapFee(opts *bind.WatchOpts, sink chan<- *SwapUtilsNewSwapFee) (event.Subscription, error)
- func (_SwapUtils *SwapUtilsFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *SwapUtilsRemoveLiquidity, ...) (event.Subscription, error)
- func (_SwapUtils *SwapUtilsFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *SwapUtilsRemoveLiquidityImbalance, ...) (event.Subscription, error)
- func (_SwapUtils *SwapUtilsFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *SwapUtilsRemoveLiquidityOne, ...) (event.Subscription, error)
- func (_SwapUtils *SwapUtilsFilterer) WatchTokenSwap(opts *bind.WatchOpts, sink chan<- *SwapUtilsTokenSwap, buyer []common.Address) (event.Subscription, error)
- type SwapUtilsNewAdminFee
- type SwapUtilsNewAdminFeeIterator
- type SwapUtilsNewSwapFee
- type SwapUtilsNewSwapFeeIterator
- type SwapUtilsRaw
- func (_SwapUtils *SwapUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SwapUtils *SwapUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SwapUtils *SwapUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SwapUtilsRemoveLiquidity
- type SwapUtilsRemoveLiquidityImbalance
- type SwapUtilsRemoveLiquidityImbalanceIterator
- type SwapUtilsRemoveLiquidityIterator
- type SwapUtilsRemoveLiquidityOne
- type SwapUtilsRemoveLiquidityOneIterator
- type SwapUtilsSession
- type SwapUtilsTokenSwap
- type SwapUtilsTokenSwapIterator
- type SwapUtilsTransactor
- type SwapUtilsTransactorRaw
- type SwapUtilsTransactorSession
Constants ¶
This section is empty.
Variables ¶
var AddLiquidityTopic common.Hash
AddLiquidityTopic is the topic used for adding liquidity.
var AddressABI = AddressMetaData.ABI
AddressABI is the input ABI used to generate the binding from. Deprecated: Use AddressMetaData.ABI instead.
var AddressBin = AddressMetaData.Bin
AddressBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressMetaData.Bin instead.
var AddressMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206d1ff01848a4a56d97f886756bad8b4fa638c4808ea712feaa090e069f5dbd6364736f6c634300060c0033",
}
AddressMetaData contains all meta data concerning the Address contract.
var AddressUpgradeableABI = AddressUpgradeableMetaData.ABI
AddressUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use AddressUpgradeableMetaData.ABI instead.
var AddressUpgradeableBin = AddressUpgradeableMetaData.Bin
AddressUpgradeableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressUpgradeableMetaData.Bin instead.
var AddressUpgradeableMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220da3544b6a980726371ab0dc3244fd70790850284d4442daa7cfe73d080ad13de64736f6c634300060c0033",
}
AddressUpgradeableMetaData contains all meta data concerning the AddressUpgradeable contract.
var AmplificationUtilsABI = AmplificationUtilsMetaData.ABI
AmplificationUtilsABI is the input ABI used to generate the binding from. Deprecated: Use AmplificationUtilsMetaData.ABI instead.
var AmplificationUtilsBin = AmplificationUtilsMetaData.Bin
AmplificationUtilsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AmplificationUtilsMetaData.Bin instead.
var AmplificationUtilsFuncSigs = AmplificationUtilsMetaData.Sigs
Deprecated: Use AmplificationUtilsMetaData.Sigs instead. AmplificationUtilsFuncSigs maps the 4-byte function signature to its string representation.
var AmplificationUtilsMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"initialTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"futureTime\",\"type\":\"uint256\"}],\"name\":\"RampA\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"StopRampA\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"A_PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_A\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "d011f918": "A_PRECISION()", "39698415": "MAX_A()", "b0a14cfc": "getA(SwapUtils.Swap storage)", "c9b64dcb": "getAPrecise(SwapUtils.Swap storage)", "58fdd79b": "rampA(SwapUtils.Swap storage,uint256,uint256)", "f14e211e": "stopRampA(SwapUtils.Swap storage)", }, Bin: "0x61081f610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061007c5760003560e01c8063c9b64dcb1161005a578063c9b64dcb146100f0578063d011f9181461010d578063f14e211e146101155761007c565b8063396984151461008157806358fdd79b1461009b578063b0a14cfc146100d3575b600080fd5b61008961013f565b60408051918252519081900360200190f35b8180156100a757600080fd5b506100d1600480360360608110156100be57600080fd5b5080359060208101359060400135610146565b005b610089600480360360208110156100e957600080fd5b5035610440565b6100896004803603602081101561010657600080fd5b503561045e565b610089610469565b81801561012157600080fd5b506100d16004803603602081101561013857600080fd5b503561046e565b620f424081565b60028301546101589062015180610545565b4210156101c657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f57616974203120646179206265666f7265207374617274696e672072616d7000604482015290519081900360640190fd5b6101d34262093a80610545565b81101561024157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f496e73756666696369656e742072616d702074696d6500000000000000000000604482015290519081900360640190fd5b6000821180156102535750620f424082105b6102be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f667574757265415f206d757374206265203e203020616e64203c204d41585f41604482015290519081900360640190fd5b60006102c9846105c2565b905060006102d884606461065d565b90508181101561036057816102ee82600261065d565b101561035b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f667574757265415f20697320746f6f20736d616c6c0000000000000000000000604482015290519081900360640190fd5b6103d9565b61036b82600261065d565b8111156103d957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f667574757265415f20697320746f6f206c617267650000000000000000000000604482015290519081900360640190fd5b8185556001850181905542600286018190556003860184905560408051848152602081018490528082019290925260608201859052517fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c2549181900360800190a15050505050565b60006104566064610450846105c2565b906106d0565b90505b919050565b6000610456826105c2565b606481565b428160030154116104e057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f52616d7020697320616c72656164792073746f70706564000000000000000000604482015290519081900360640190fd5b60006104eb826105c2565b8083556001830181905542600284018190556003840181905560408051838152602081019290925280519293507f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc20193892918290030190a15050565b6000828201838110156105b957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6003810154600182015460009190428211156106545760028401548454808311156106265761061b6106146105f78685610751565b6104506106044287610751565b61060e8887610751565b9061065d565b8290610545565b945050505050610459565b61061b61064d6106368685610751565b6104506106434287610751565b61060e8689610751565b8290610751565b91506104599050565b60008261066c575060006105bc565b8282028284828161067957fe5b04146105b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806107c96021913960400191505060405180910390fd5b600080821161074057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161074957fe5b049392505050565b6000828211156107c257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220c114667319e861dae68c50014502f4137a7fb296420876a9c950c35942f2b83764736f6c634300060c0033", }
AmplificationUtilsMetaData contains all meta data concerning the AmplificationUtils contract.
var ClonesABI = ClonesMetaData.ABI
ClonesABI is the input ABI used to generate the binding from. Deprecated: Use ClonesMetaData.ABI instead.
var ClonesBin = ClonesMetaData.Bin
ClonesBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ClonesMetaData.Bin instead.
var ClonesMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220605e0778555ecf862c6fa925f1fb4c3526175e69fa09aedca9251f2f192a904c64736f6c634300060c0033",
}
ClonesMetaData contains all meta data concerning the Clones contract.
var ContextABI = ContextMetaData.ABI
ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.
var ContextMetaData = &bind.MetaData{
ABI: "[]",
}
ContextMetaData contains all meta data concerning the Context contract.
var ContextUpgradeableABI = ContextUpgradeableMetaData.ABI
ContextUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use ContextUpgradeableMetaData.ABI instead.
var ContextUpgradeableMetaData = &bind.MetaData{
ABI: "[]",
}
ContextUpgradeableMetaData contains all meta data concerning the ContextUpgradeable contract.
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var ERC20ABI = ERC20MetaData.ABI
ERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MetaData.ABI instead.
var ERC20Bin = ERC20MetaData.Bin
ERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC20MetaData.Bin instead.
var ERC20BurnableUpgradeableABI = ERC20BurnableUpgradeableMetaData.ABI
ERC20BurnableUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use ERC20BurnableUpgradeableMetaData.ABI instead.
var ERC20BurnableUpgradeableFuncSigs = ERC20BurnableUpgradeableMetaData.Sigs
Deprecated: Use ERC20BurnableUpgradeableMetaData.Sigs instead. ERC20BurnableUpgradeableFuncSigs maps the 4-byte function signature to its string representation.
var ERC20BurnableUpgradeableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "dd62ed3e": "allowance(address,address)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "42966c68": "burn(uint256)", "79cc6790": "burnFrom(address,uint256)", "313ce567": "decimals()", "a457c2d7": "decreaseAllowance(address,uint256)", "39509351": "increaseAllowance(address,uint256)", "06fdde03": "name()", "95d89b41": "symbol()", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", }, }
ERC20BurnableUpgradeableMetaData contains all meta data concerning the ERC20BurnableUpgradeable contract.
var ERC20FuncSigs = ERC20MetaData.Sigs
Deprecated: Use ERC20MetaData.Sigs instead. ERC20FuncSigs maps the 4-byte function signature to its string representation.
var ERC20MetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "dd62ed3e": "allowance(address,address)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "313ce567": "decimals()", "a457c2d7": "decreaseAllowance(address,uint256)", "39509351": "increaseAllowance(address,uint256)", "06fdde03": "name()", "95d89b41": "symbol()", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", }, Bin: "0x60806040523480156200001157600080fd5b5060405162000e8738038062000e87833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060405250508251620001b491506003906020850190620001e0565b508051620001ca906004906020840190620001e0565b50506005805460ff19166012179055506200027c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022357805160ff191683800117855562000253565b8280016001018555821562000253579182015b828111156200025357825182559160200191906001019062000236565b506200026192915062000265565b5090565b5b8082111562000261576000815560010162000266565b610bfb806200028c6000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610287578063a9059cbb146102c0578063dd62ed3e146102f9576100c9565b8063395093511461021357806370a082311461024c57806395d89b411461027f576100c9565b806318160ddd116100b257806318160ddd1461019857806323b872dd146101b2578063313ce567146101f5576100c9565b806306fdde03146100ce578063095ea7b31461014b575b600080fd5b6100d6610334565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101105781810151838201526020016100f8565b50505050905090810190601f16801561013d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101846004803603604081101561016157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356103e8565b604080519115158252519081900360200190f35b6101a0610405565b60408051918252519081900360200190f35b610184600480360360608110156101c857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561040b565b6101fd6104ac565b6040805160ff9092168252519081900360200190f35b6101846004803603604081101561022957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356104b5565b6101a06004803603602081101561026257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610510565b6100d6610538565b6101846004803603604081101561029d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356105b7565b610184600480360360408110156102d657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561062c565b6101a06004803603604081101561030f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610640565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103de5780601f106103b3576101008083540402835291602001916103de565b820191906000526020600020905b8154815290600101906020018083116103c157829003601f168201915b5050505050905090565b60006103fc6103f5610678565b848461067c565b50600192915050565b60025490565b60006104188484846107c3565b6104a284610424610678565b61049d85604051806060016040528060288152602001610b306028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526001602052604081209061046f610678565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190610993565b61067c565b5060019392505050565b60055460ff1690565b60006103fc6104c2610678565b8461049d85600160006104d3610678565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490610a44565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103de5780601f106103b3576101008083540402835291602001916103de565b60006103fc6105c4610678565b8461049d85604051806060016040528060258152602001610ba160259139600160006105ee610678565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190610993565b60006103fc610639610678565b84846107c3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b3390565b73ffffffffffffffffffffffffffffffffffffffff83166106e8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180610b7d6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610754576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180610ae86022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661082f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b586025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661089b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180610ac56023913960400191505060405180910390fd5b6108a6838383610abf565b6108f081604051806060016040528060268152602001610b0a6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152602081905260409020549190610993565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220939093559084168152205461092c9082610a44565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610a3c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a015781810151838201526020016109e9565b50505050905090810190601f168015610a2e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610ab857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220231fb9c34a106dcbd4e72506478a058fb1814b86591c60e2e9911ad5d2d9da9a64736f6c634300060c0033", }
ERC20MetaData contains all meta data concerning the ERC20 contract.
var ERC20UpgradeableABI = ERC20UpgradeableMetaData.ABI
ERC20UpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use ERC20UpgradeableMetaData.ABI instead.
var ERC20UpgradeableBin = ERC20UpgradeableMetaData.Bin
ERC20UpgradeableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC20UpgradeableMetaData.Bin instead.
var ERC20UpgradeableFuncSigs = ERC20UpgradeableMetaData.Sigs
Deprecated: Use ERC20UpgradeableMetaData.Sigs instead. ERC20UpgradeableFuncSigs maps the 4-byte function signature to its string representation.
var ERC20UpgradeableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "dd62ed3e": "allowance(address,address)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "313ce567": "decimals()", "a457c2d7": "decreaseAllowance(address,uint256)", "39509351": "increaseAllowance(address,uint256)", "06fdde03": "name()", "95d89b41": "symbol()", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", }, Bin: "0x608060405234801561001057600080fd5b50610bfd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610287578063a9059cbb146102c0578063dd62ed3e146102f9576100c9565b8063395093511461021357806370a082311461024c57806395d89b411461027f576100c9565b806318160ddd116100b257806318160ddd1461019857806323b872dd146101b2578063313ce567146101f5576100c9565b806306fdde03146100ce578063095ea7b31461014b575b600080fd5b6100d6610334565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101105781810151838201526020016100f8565b50505050905090810190601f16801561013d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101846004803603604081101561016157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356103e8565b604080519115158252519081900360200190f35b6101a0610405565b60408051918252519081900360200190f35b610184600480360360608110156101c857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561040b565b6101fd6104ac565b6040805160ff9092168252519081900360200190f35b6101846004803603604081101561022957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356104b5565b6101a06004803603602081101561026257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610510565b6100d6610538565b6101846004803603604081101561029d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356105b7565b610184600480360360408110156102d657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561062c565b6101a06004803603604081101561030f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610640565b60368054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103de5780601f106103b3576101008083540402835291602001916103de565b820191906000526020600020905b8154815290600101906020018083116103c157829003601f168201915b5050505050905090565b60006103fc6103f5610678565b848461067c565b50600192915050565b60355490565b60006104188484846107c3565b6104a284610424610678565b61049d85604051806060016040528060288152602001610b326028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526034602052604081209061046f610678565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190610995565b61067c565b5060019392505050565b60385460ff1690565b60006103fc6104c2610678565b8461049d85603460006104d3610678565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490610a46565b73ffffffffffffffffffffffffffffffffffffffff1660009081526033602052604090205490565b60378054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103de5780601f106103b3576101008083540402835291602001916103de565b60006103fc6105c4610678565b8461049d85604051806060016040528060258152602001610ba360259139603460006105ee610678565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190610995565b60006103fc610639610678565b84846107c3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260346020908152604080832093909416825291909152205490565b3390565b73ffffffffffffffffffffffffffffffffffffffff83166106e8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180610b7f6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610754576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180610aea6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661082f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b5a6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661089b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180610ac76023913960400191505060405180910390fd5b6108a6838383610ac1565b6108f081604051806060016040528060268152602001610b0c6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152603360205260409020549190610995565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260336020526040808220939093559084168152205461092c9082610a46565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610a3e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a035781810151838201526020016109eb565b50505050905090810190601f168015610a305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610aba57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220988f03bd457a2310a250b390e92c42a6c260dba9692eb57db616b7791ad5d9bb64736f6c634300060c0033", }
ERC20UpgradeableMetaData contains all meta data concerning the ERC20Upgradeable contract.
var FlashLoanTopic common.Hash
FlashLoanTopic is the topic used for Flash Loans.
var IERC20ABI = IERC20MetaData.ABI
IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.
var IERC20FuncSigs = IERC20MetaData.Sigs
Deprecated: Use IERC20MetaData.Sigs instead. IERC20FuncSigs maps the 4-byte function signature to its string representation.
var IERC20MetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "dd62ed3e": "allowance(address,address)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", }, }
IERC20MetaData contains all meta data concerning the IERC20 contract.
var IERC20UpgradeableABI = IERC20UpgradeableMetaData.ABI
IERC20UpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use IERC20UpgradeableMetaData.ABI instead.
var IERC20UpgradeableFuncSigs = IERC20UpgradeableMetaData.Sigs
Deprecated: Use IERC20UpgradeableMetaData.Sigs instead. IERC20UpgradeableFuncSigs maps the 4-byte function signature to its string representation.
var IERC20UpgradeableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "dd62ed3e": "allowance(address,address)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", }, }
IERC20UpgradeableMetaData contains all meta data concerning the IERC20Upgradeable contract.
var IFlashLoanReceiverABI = IFlashLoanReceiverMetaData.ABI
IFlashLoanReceiverABI is the input ABI used to generate the binding from. Deprecated: Use IFlashLoanReceiverMetaData.ABI instead.
var IFlashLoanReceiverFuncSigs = IFlashLoanReceiverMetaData.Sigs
Deprecated: Use IFlashLoanReceiverMetaData.Sigs instead. IFlashLoanReceiverFuncSigs maps the 4-byte function signature to its string representation.
var IFlashLoanReceiverMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"executeOperation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "405b019d": "executeOperation(address,address,uint256,uint256,bytes)", }, }
IFlashLoanReceiverMetaData contains all meta data concerning the IFlashLoanReceiver contract.
var ISwapABI = ISwapMetaData.ABI
ISwapABI is the input ABI used to generate the binding from. Deprecated: Use ISwapMetaData.ABI instead.
var ISwapFuncSigs = ISwapMetaData.Sigs
Deprecated: Use ISwapMetaData.Sigs instead. ISwapFuncSigs maps the 4-byte function signature to its string representation.
var ISwapMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"minToMint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"calculateRemoveLiquidity\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndex\",\"type\":\"uint8\"}],\"name\":\"calculateRemoveLiquidityOneToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"availableTokenAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tokenIndexFrom\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndexTo\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"}],\"name\":\"calculateSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bool\",\"name\":\"deposit\",\"type\":\"bool\"}],\"name\":\"calculateTokenAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"index\",\"type\":\"uint8\"}],\"name\":\"getToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"index\",\"type\":\"uint8\"}],\"name\":\"getTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getTokenIndex\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVirtualPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20[]\",\"name\":\"pooledTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"decimals\",\"type\":\"uint8[]\"},{\"internalType\":\"string\",\"name\":\"lpTokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"lpTokenSymbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"adminFee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"lpTokenTargetAddress\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"minAmounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"maxBurnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityImbalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"minAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityOneToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tokenIndexFrom\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndexTo\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDy\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "4d49e87d": "addLiquidity(uint256[],uint256,uint256)", "f2fad2b6": "calculateRemoveLiquidity(uint256)", "342a87a1": "calculateRemoveLiquidityOneToken(uint256,uint8)", "a95b089f": "calculateSwap(uint8,uint8,uint256)", "e6ab2806": "calculateTokenAmount(uint256[],bool)", "d46300fd": "getA()", "82b86600": "getToken(uint8)", "91ceb3eb": "getTokenBalance(uint8)", "66c0bd24": "getTokenIndex(address)", "e25aa5fa": "getVirtualPrice()", "b28cb6dc": "initialize(address[],uint8[],string,string,uint256,uint256,uint256,address)", "31cd52b0": "removeLiquidity(uint256,uint256[],uint256)", "84cdd9bc": "removeLiquidityImbalance(uint256[],uint256,uint256)", "3e3a1560": "removeLiquidityOneToken(uint256,uint8,uint256,uint256)", "91695586": "swap(uint8,uint8,uint256,uint256,uint256)", }, }
ISwapMetaData contains all meta data concerning the ISwap contract.
var InitializableABI = InitializableMetaData.ABI
InitializableABI is the input ABI used to generate the binding from. Deprecated: Use InitializableMetaData.ABI instead.
var InitializableMetaData = &bind.MetaData{
ABI: "[]",
}
InitializableMetaData contains all meta data concerning the Initializable contract.
var LPTokenABI = LPTokenMetaData.ABI
LPTokenABI is the input ABI used to generate the binding from. Deprecated: Use LPTokenMetaData.ABI instead.
var LPTokenBin = LPTokenMetaData.Bin
LPTokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use LPTokenMetaData.Bin instead.
var LPTokenFuncSigs = LPTokenMetaData.Sigs
Deprecated: Use LPTokenMetaData.Sigs instead. LPTokenFuncSigs maps the 4-byte function signature to its string representation.
var LPTokenMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "dd62ed3e": "allowance(address,address)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "42966c68": "burn(uint256)", "79cc6790": "burnFrom(address,uint256)", "313ce567": "decimals()", "a457c2d7": "decreaseAllowance(address,uint256)", "39509351": "increaseAllowance(address,uint256)", "4cd88b76": "initialize(string,string)", "40c10f19": "mint(address,uint256)", "06fdde03": "name()", "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "95d89b41": "symbol()", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", "f2fde38b": "transferOwnership(address)", }, Bin: "0x608060405234801561001057600080fd5b50611a49806100206000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806370a08231116100b257806395d89b4111610081578063a9059cbb11610066578063a9059cbb14610524578063dd62ed3e1461055d578063f2fde38b1461059857610136565b806395d89b41146104e3578063a457c2d7146104eb57610136565b806370a082311461043e578063715018a61461047157806379cc6790146104795780638da5cb5b146104b257610136565b8063313ce5671161010957806340c10f19116100ee57806340c10f19146102b957806342966c68146102f45780634cd88b761461031157610136565b8063313ce56714610262578063395093511461028057610136565b806306fdde031461013b578063095ea7b3146101b857806318160ddd1461020557806323b872dd1461021f575b600080fd5b6101436105cb565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017d578181015183820152602001610165565b50505050905090810190601f1680156101aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f1600480360360408110156101ce57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561067f565b604080519115158252519081900360200190f35b61020d61069c565b60408051918252519081900360200190f35b6101f16004803603606081101561023557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356106a2565b61026a610743565b6040805160ff9092168252519081900360200190f35b6101f16004803603604081101561029657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561074c565b6102f2600480360360408110156102cf57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356107a7565b005b6102f26004803603602081101561030a57600080fd5b5035610895565b6101f16004803603604081101561032757600080fd5b81019060208101813564010000000081111561034257600080fd5b82018360208201111561035457600080fd5b8035906020019184600183028401116401000000008311171561037657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103c957600080fd5b8201836020820111156103db57600080fd5b803590602001918460018302840111640100000000831117156103fd57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506108a9945050505050565b61020d6004803603602081101561045457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661098c565b6102f26109b4565b6102f26004803603604081101561048f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ab1565b6104ba610b0b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610143610b27565b6101f16004803603604081101561050157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ba6565b6101f16004803603604081101561053a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c1b565b61020d6004803603604081101561057357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610c2f565b6102f2600480360360208110156105ae57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c67565b60368054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106755780601f1061064a57610100808354040283529160200191610675565b820191906000526020600020905b81548152906001019060200180831161065857829003601f168201915b5050505050905090565b600061069361068c610dd5565b8484610dd9565b50600192915050565b60355490565b60006106af848484610eec565b610739846106bb610dd5565b610734856040518060600160405280602881526020016119396028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260346020526040812090610706610dd5565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919061108a565b610dd9565b5060019392505050565b60385460ff1690565b6000610693610759610dd5565b84610734856034600061076a610dd5565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490611121565b6107af610dd5565b73ffffffffffffffffffffffffffffffffffffffff166107cd610b0b565b73ffffffffffffffffffffffffffffffffffffffff1614610835576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b80610887576040805162461bcd60e51b815260206004820152601660248201527f4c50546f6b656e3a2063616e6e6f74206d696e74203000000000000000000000604482015290519081900360640190fd5b6108918282611182565b5050565b6108a66108a0610dd5565b8261129b565b50565b60008054610100900460ff16806108c357506108c36113cb565b806108d1575060005460ff16155b61090c5760405162461bcd60e51b815260040180806020018281038252602e81526020018061190b602e913960400191505060405180910390fd5b600054610100900460ff1615801561095557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0061ff0019909116610100171660011790555b61095d6113dc565b610967848461149b565b61096f6115af565b600191508015610985576000805461ff00191690555b5092915050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526033602052604090205490565b6109bc610dd5565b73ffffffffffffffffffffffffffffffffffffffff166109da610b0b565b73ffffffffffffffffffffffffffffffffffffffff1614610a42576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60975460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3609780547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000610ae88260405180606001604052806024815260200161196160249139610ae186610adc610dd5565b610c2f565b919061108a565b9050610afc83610af6610dd5565b83610dd9565b610b06838361129b565b505050565b60975473ffffffffffffffffffffffffffffffffffffffff1690565b60378054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106755780601f1061064a57610100808354040283529160200191610675565b6000610693610bb3610dd5565b84610734856040518060600160405280602581526020016119ef6025913960346000610bdd610dd5565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919061108a565b6000610693610c28610dd5565b8484610eec565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260346020908152604080832093909416825291909152205490565b610c6f610dd5565b73ffffffffffffffffffffffffffffffffffffffff16610c8d610b0b565b73ffffffffffffffffffffffffffffffffffffffff1614610cf5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610d475760405162461bcd60e51b815260040180806020018281038252602681526020018061189d6026913960400191505060405180910390fd5b60975460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3609780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610e2b5760405162461bcd60e51b81526004018080602001828103825260248152602001806119cb6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610e7d5760405162461bcd60e51b81526004018080602001828103825260228152602001806118c36022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610f3e5760405162461bcd60e51b81526004018080602001828103825260258152602001806119a66025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f905760405162461bcd60e51b81526004018080602001828103825260238152602001806118586023913960400191505060405180910390fd5b610f9b8383836116eb565b610fe5816040518060600160405280602681526020016118e56026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260336020526040902054919061108a565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526033602052604080822093909355908416815220546110219082611121565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156111195760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110de5781810151838201526020016110c6565b50505050905090810190601f16801561110b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561117b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff82166111ea576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6111f6600083836116eb565b6035546112039082611121565b60355573ffffffffffffffffffffffffffffffffffffffff82166000908152603360205260409020546112369082611121565b73ffffffffffffffffffffffffffffffffffffffff831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff82166112ed5760405162461bcd60e51b81526004018080602001828103825260218152602001806119856021913960400191505060405180910390fd5b6112f9826000836116eb565b6113438160405180606001604052806022815260200161187b6022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260336020526040902054919061108a565b73ffffffffffffffffffffffffffffffffffffffff83166000908152603360205260409020556035546113769082611761565b60355560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006113d6306117be565b15905090565b600054610100900460ff16806113f557506113f56113cb565b80611403575060005460ff16155b61143e5760405162461bcd60e51b815260040180806020018281038252602e81526020018061190b602e913960400191505060405180910390fd5b600054610100900460ff1615801561148757600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0061ff0019909116610100171660011790555b80156108a6576000805461ff001916905550565b600054610100900460ff16806114b457506114b46113cb565b806114c2575060005460ff16155b6114fd5760405162461bcd60e51b815260040180806020018281038252602e81526020018061190b602e913960400191505060405180910390fd5b600054610100900460ff1615801561154657600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0061ff0019909116610100171660011790555b82516115599060369060208601906117c4565b50815161156d9060379060208501906117c4565b50603880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660121790558015610b06576000805461ff0019169055505050565b600054610100900460ff16806115c857506115c86113cb565b806115d6575060005460ff16155b6116115760405162461bcd60e51b815260040180806020018281038252602e81526020018061190b602e913960400191505060405180910390fd5b600054610100900460ff1615801561165a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0061ff0019909116610100171660011790555b6000611664610dd5565b609780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156108a6576000805461ff001916905550565b6116f6838383610b06565b73ffffffffffffffffffffffffffffffffffffffff8216301415610b06576040805162461bcd60e51b815260206004820152601e60248201527f4c50546f6b656e3a2063616e6e6f742073656e6420746f20697473656c660000604482015290519081900360640190fd5b6000828211156117b8576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061180557805160ff1916838001178555611832565b82800160010185558215611832579182015b82811115611832578251825591602001919060010190611817565b5061183e929150611842565b5090565b5b8082111561183e576000815560010161184356fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122010f05322837e1f19d8b1d0a51d3f4608c5e18cd5eb3988c66fe1d415b1d890a264736f6c634300060c0033", }
LPTokenMetaData contains all meta data concerning the LPToken contract.
var MathUtilsABI = MathUtilsMetaData.ABI
MathUtilsABI is the input ABI used to generate the binding from. Deprecated: Use MathUtilsMetaData.ABI instead.
var MathUtilsBin = MathUtilsMetaData.Bin
MathUtilsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MathUtilsMetaData.Bin instead.
var MathUtilsMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208fc54c301d7e54edbcc8fcebdd1df1120096cce97665d4b14d8773a7fa62873264736f6c634300060c0033",
}
MathUtilsMetaData contains all meta data concerning the MathUtils contract.
var NewAdminFeeTopic common.Hash
NewAdminFeeTopic is the topic used for a new admin fee.
var NewSwapFeeTopic common.Hash
NewSwapFeeTopic is the topic used for performing a new swap.
var OwnableUpgradeableABI = OwnableUpgradeableMetaData.ABI
OwnableUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableUpgradeableMetaData.ABI instead.
var OwnableUpgradeableFuncSigs = OwnableUpgradeableMetaData.Sigs
Deprecated: Use OwnableUpgradeableMetaData.Sigs instead. OwnableUpgradeableFuncSigs maps the 4-byte function signature to its string representation.
var OwnableUpgradeableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "f2fde38b": "transferOwnership(address)", }, }
OwnableUpgradeableMetaData contains all meta data concerning the OwnableUpgradeable contract.
var OwnerPausableUpgradeableABI = OwnerPausableUpgradeableMetaData.ABI
OwnerPausableUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use OwnerPausableUpgradeableMetaData.ABI instead.
var OwnerPausableUpgradeableFuncSigs = OwnerPausableUpgradeableMetaData.Sigs
Deprecated: Use OwnerPausableUpgradeableMetaData.Sigs instead. OwnerPausableUpgradeableFuncSigs maps the 4-byte function signature to its string representation.
var OwnerPausableUpgradeableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "8da5cb5b": "owner()", "8456cb59": "pause()", "5c975abb": "paused()", "715018a6": "renounceOwnership()", "f2fde38b": "transferOwnership(address)", "3f4ba83a": "unpause()", }, }
OwnerPausableUpgradeableMetaData contains all meta data concerning the OwnerPausableUpgradeable contract.
var PausableUpgradeableABI = PausableUpgradeableMetaData.ABI
PausableUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use PausableUpgradeableMetaData.ABI instead.
var PausableUpgradeableFuncSigs = PausableUpgradeableMetaData.Sigs
Deprecated: Use PausableUpgradeableMetaData.Sigs instead. PausableUpgradeableFuncSigs maps the 4-byte function signature to its string representation.
var PausableUpgradeableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "5c975abb": "paused()", }, }
PausableUpgradeableMetaData contains all meta data concerning the PausableUpgradeable contract.
var RampATopic common.Hash
RampATopic is the topic used for ramp a.
var ReentrancyGuardUpgradeableABI = ReentrancyGuardUpgradeableMetaData.ABI
ReentrancyGuardUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use ReentrancyGuardUpgradeableMetaData.ABI instead.
var ReentrancyGuardUpgradeableMetaData = &bind.MetaData{
ABI: "[]",
}
ReentrancyGuardUpgradeableMetaData contains all meta data concerning the ReentrancyGuardUpgradeable contract.
var RemoveLiquidityImbalanceSwap common.Hash
RemoveLiquidityImbalanceSwap is the topic used for removing a liquidity imbalance.
var RemoveLiquidityOneTopic common.Hash
RemoveLiquidityOneTopic is the topic used for removing liquidity one.
var RemoveLiquidityTopic common.Hash
RemoveLiquidityTopic is the topic used for removing liquidity.
var SafeERC20ABI = SafeERC20MetaData.ABI
SafeERC20ABI is the input ABI used to generate the binding from. Deprecated: Use SafeERC20MetaData.ABI instead.
var SafeERC20Bin = SafeERC20MetaData.Bin
SafeERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeERC20MetaData.Bin instead.
var SafeERC20MetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122070735c410cb7c388bf2f5e577192a2cb6f39e581c6a16b3b51db7d2cf2a5fa2564736f6c634300060c0033",
}
SafeERC20MetaData contains all meta data concerning the SafeERC20 contract.
var SafeMathABI = SafeMathMetaData.ABI
SafeMathABI is the input ABI used to generate the binding from. Deprecated: Use SafeMathMetaData.ABI instead.
var SafeMathBin = SafeMathMetaData.Bin
SafeMathBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeMathMetaData.Bin instead.
var SafeMathMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220fd964299fa0cb417ed0159037d108b77b9428ff98dcba2ab8a81daac352029a364736f6c634300060c0033",
}
SafeMathMetaData contains all meta data concerning the SafeMath contract.
var SafeMathUpgradeableABI = SafeMathUpgradeableMetaData.ABI
SafeMathUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use SafeMathUpgradeableMetaData.ABI instead.
var SafeMathUpgradeableBin = SafeMathUpgradeableMetaData.Bin
SafeMathUpgradeableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeMathUpgradeableMetaData.Bin instead.
var SafeMathUpgradeableMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204413a1e9963614616b0998d22fff4dbf20b53757e8dd97aa71ecdefe35f1e07864736f6c634300060c0033",
}
SafeMathUpgradeableMetaData contains all meta data concerning the SafeMathUpgradeable contract.
var StopRampATopic common.Hash
StopRampATopic is the topic used for stopping ramp a.
var SwapABI = SwapMetaData.ABI
SwapABI is the input ABI used to generate the binding from. Deprecated: Use SwapMetaData.ABI instead.
var SwapBin = SwapMetaData.Bin
SwapBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SwapMetaData.Bin instead.
var SwapFlashLoanABI = SwapFlashLoanMetaData.ABI
SwapFlashLoanABI is the input ABI used to generate the binding from. Deprecated: Use SwapFlashLoanMetaData.ABI instead.
var SwapFlashLoanBin = SwapFlashLoanMetaData.Bin
SwapFlashLoanBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SwapFlashLoanMetaData.Bin instead.
var SwapFlashLoanFuncSigs = SwapFlashLoanMetaData.Sigs
Deprecated: Use SwapFlashLoanMetaData.Sigs instead. SwapFlashLoanFuncSigs maps the 4-byte function signature to its string representation.
var SwapFlashLoanMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"fees\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"invariant\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"AddLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"tokenIndex\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"protocolFee\",\"type\":\"uint256\"}],\"name\":\"FlashLoan\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newAdminFee\",\"type\":\"uint256\"}],\"name\":\"NewAdminFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSwapFee\",\"type\":\"uint256\"}],\"name\":\"NewSwapFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"initialTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"futureTime\",\"type\":\"uint256\"}],\"name\":\"RampA\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"fees\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"invariant\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidityImbalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"boughtId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensBought\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidityOne\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"StopRampA\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensSold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensBought\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"soldId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"boughtId\",\"type\":\"uint128\"}],\"name\":\"TokenSwap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"minToMint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"calculateRemoveLiquidity\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndex\",\"type\":\"uint8\"}],\"name\":\"calculateRemoveLiquidityOneToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"availableTokenAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tokenIndexFrom\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndexTo\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"}],\"name\":\"calculateSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bool\",\"name\":\"deposit\",\"type\":\"bool\"}],\"name\":\"calculateTokenAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"flashLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"flashLoanFeeBPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAPrecise\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAdminBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"index\",\"type\":\"uint8\"}],\"name\":\"getToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"index\",\"type\":\"uint8\"}],\"name\":\"getTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getTokenIndex\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVirtualPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20[]\",\"name\":\"_pooledTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"decimals\",\"type\":\"uint8[]\"},{\"internalType\":\"string\",\"name\":\"lpTokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"lpTokenSymbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_adminFee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"lpTokenTargetAddress\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeShareBPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"futureA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"futureTime\",\"type\":\"uint256\"}],\"name\":\"rampA\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"minAmounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"maxBurnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityImbalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"minAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityOneToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newAdminFee\",\"type\":\"uint256\"}],\"name\":\"setAdminFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFlashLoanFeeBPS\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newProtocolFeeShareBPS\",\"type\":\"uint256\"}],\"name\":\"setFlashLoanFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newSwapFee\",\"type\":\"uint256\"}],\"name\":\"setSwapFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopRampA\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tokenIndexFrom\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndexTo\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDy\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"initialA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"futureA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"initialATime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"futureATime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"swapFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"adminFee\",\"type\":\"uint256\"},{\"internalType\":\"contractLPToken\",\"name\":\"lpToken\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawAdminFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "fd967f47": "MAX_BPS()", "4d49e87d": "addLiquidity(uint256[],uint256,uint256)", "f2fad2b6": "calculateRemoveLiquidity(uint256)", "342a87a1": "calculateRemoveLiquidityOneToken(uint256,uint8)", "a95b089f": "calculateSwap(uint8,uint8,uint256)", "e6ab2806": "calculateTokenAmount(uint256[],bool)", "5cffe9de": "flashLoan(address,address,uint256,bytes)", "7f1c825a": "flashLoanFeeBPS()", "d46300fd": "getA()", "0ba81959": "getAPrecise()", "ef0a712f": "getAdminBalance(uint256)", "82b86600": "getToken(uint8)", "91ceb3eb": "getTokenBalance(uint8)", "66c0bd24": "getTokenIndex(address)", "e25aa5fa": "getVirtualPrice()", "b28cb6dc": "initialize(address[],uint8[],string,string,uint256,uint256,uint256,address)", "8da5cb5b": "owner()", "8456cb59": "pause()", "5c975abb": "paused()", "e8cc7fb6": "protocolFeeShareBPS()", "593d132c": "rampA(uint256,uint256)", "31cd52b0": "removeLiquidity(uint256,uint256[],uint256)", "84cdd9bc": "removeLiquidityImbalance(uint256[],uint256,uint256)", "3e3a1560": "removeLiquidityOneToken(uint256,uint8,uint256,uint256)", "715018a6": "renounceOwnership()", "8beb60b6": "setAdminFee(uint256)", "ef815967": "setFlashLoanFees(uint256,uint256)", "34e19907": "setSwapFee(uint256)", "c4db7fa0": "stopRampA()", "91695586": "swap(uint8,uint8,uint256,uint256,uint256)", "5fd65f0f": "swapStorage()", "f2fde38b": "transferOwnership(address)", "3f4ba83a": "unpause()", "0419b45a": "withdrawAdminFees()", }, Bin: "0x608060405234801561001057600080fd5b50613dd3806100206000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c806384cdd9bc1161012a578063d46300fd116100bd578063ef0a712f1161008c578063f2fad2b611610071578063f2fad2b614610a30578063f2fde38b14610a4d578063fd967f4714610a7357610226565b8063ef0a712f146109f0578063ef81596714610a0d57610226565b8063d46300fd14610966578063e25aa5fa1461096e578063e6ab280614610976578063e8cc7fb6146109e857610226565b806391ceb3eb116100f957806391ceb3eb146106be578063a95b089f146106de578063b28cb6dc1461070e578063c4db7fa01461095e57610226565b806384cdd9bc146105e75780638beb60b61461065d5780638da5cb5b1461067a578063916955861461068257610226565b8063593d132c116101bd57806366c0bd241161018c5780637f1c825a116101715780637f1c825a1461059b57806382b86600146105a35780638456cb59146105df57610226565b806366c0bd2414610557578063715018a61461059357610226565b8063593d132c146104095780635c975abb1461042c5780635cffe9de146104485780635fd65f0f1461050e57610226565b806334e19907116101f957806334e199071461033c5780633e3a1560146103595780633f4ba83a1461038b5780634d49e87d1461039357610226565b80630419b45a1461022b5780630ba819591461023557806331cd52b01461024f578063342a87a114610316575b600080fd5b610233610a7b565b005b61023d610b71565b60408051918252519081900360200190f35b6102c66004803603606081101561026557600080fd5b8135919081019060408101602082013564010000000081111561028757600080fd5b82018360208201111561029957600080fd5b803590602001918460208302840111640100000000831117156102bb57600080fd5b919350915035610bf6565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103025781810151838201526020016102ea565b505050509050019250505060405180910390f35b61023d6004803603604081101561032c57600080fd5b508035906020013560ff16610e33565b6102336004803603602081101561035257600080fd5b5035610ee7565b61023d6004803603608081101561036f57600080fd5b5080359060ff6020820135169060408101359060600135610fe8565b6102336111b4565b61023d600480360360608110156103a957600080fd5b8101906020810181356401000000008111156103c457600080fd5b8201836020820111156103d657600080fd5b803590602001918460208302840111640100000000831117156103f857600080fd5b919350915080359060200135611232565b6102336004803603604081101561041f57600080fd5b50803590602001356113d2565b6104346114db565b604080519115158252519081900360200190f35b6102336004803603608081101561045e57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561049957600080fd5b8201836020820111156104ab57600080fd5b803590602001918460018302840111640100000000831117156104cd57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114e4945050505050565b610516611976565b604080519788526020880196909652868601949094526060860192909252608085015260a08401526001600160a01b031660c0830152519081900360e00190f35b61057d6004803603602081101561056d57600080fd5b50356001600160a01b0316611997565b6040805160ff9092168252519081900360200190f35b610233611a24565b61023d611afa565b6105c3600480360360208110156105b957600080fd5b503560ff16611b00565b604080516001600160a01b039092168252519081900360200190f35b610233611b88565b61023d600480360360608110156105fd57600080fd5b81019060208101813564010000000081111561061857600080fd5b82018360208201111561062a57600080fd5b8035906020019184602083028401116401000000008311171561064c57600080fd5b919350915080359060200135611c04565b6102336004803603602081101561067357600080fd5b5035611da4565b6105c3611e8a565b61023d600480360360a081101561069857600080fd5b5060ff813581169160208101359091169060408101359060608101359060800135611e99565b61023d600480360360208110156106d457600080fd5b503560ff1661206e565b61023d600480360360608110156106f457600080fd5b5060ff8135811691602081013590911690604001356120ed565b610233600480360361010081101561072557600080fd5b81019060208101813564010000000081111561074057600080fd5b82018360208201111561075257600080fd5b8035906020019184602083028401116401000000008311171561077457600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156107c457600080fd5b8201836020820111156107d657600080fd5b803590602001918460208302840111640100000000831117156107f857600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561084857600080fd5b82018360208201111561085a57600080fd5b8035906020019184600183028401116401000000008311171561087c57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156108cf57600080fd5b8201836020820111156108e157600080fd5b8035906020019184600183028401116401000000008311171561090357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602081013590604081013590606001356001600160a01b03166121aa565b61023361226e565b61023d61234d565b61023d6123a1565b61023d6004803603604081101561098c57600080fd5b8101906020810181356401000000008111156109a757600080fd5b8201836020820111156109b957600080fd5b803590602001918460208302840111640100000000831117156109db57600080fd5b91935091503515156123f5565b61023d61248a565b61023d60048036036020811015610a0657600080fd5b5035612490565b61023360048036036040811015610a2357600080fd5b508035906020013561251e565b6102c660048036036020811015610a4657600080fd5b503561260e565b61023360048036036020811015610a6357600080fd5b50356001600160a01b0316612758565b61023d612885565b610a8361288b565b6001600160a01b0316610a94611e8a565b6001600160a01b031614610aef576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73__$fb68600ab723a8a0a0b96b45bbac9939e0$__6324c5c75160c9610b13611e8a565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060006040518083038186803b158015610b5757600080fd5b505af4158015610b6b573d6000803e3d6000fd5b50505050565b600060c973__$34a89a4c622fc2e024417b7c254097dd7b$__63c9b64dcb90916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610bc557600080fd5b505af4158015610bd9573d6000803e3d6000fd5b505050506040513d6020811015610bef57600080fd5b5051905090565b606060026097541415610c50576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026097558142811015610cab576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b60c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6373fd6b3e90918888886040518563ffffffff1660e01b815260040180858152602001848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509550505050505060006040518083038186803b158015610d3c57600080fd5b505af4158015610d50573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526020811015610d9757600080fd5b8101908080516040519392919084640100000000821115610db757600080fd5b908301906020820185811115610dcc57600080fd5b8251866020820283011164010000000082111715610de957600080fd5b82525081516020918201928201910280838360005b83811015610e16578181015183820152602001610dfe565b505050509050016040525050509150506001609755949350505050565b604080517fe069274200000000000000000000000000000000000000000000000000000000815260c960048201526024810184905260ff83166044820152905160009173__$fb68600ab723a8a0a0b96b45bbac9939e0$__9163e069274291606480820192602092909190829003018186803b158015610eb257600080fd5b505af4158015610ec6573d6000803e3d6000fd5b505050506040513d6020811015610edc57600080fd5b505190505b92915050565b610eef61288b565b6001600160a01b0316610f00611e8a565b6001600160a01b031614610f5b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517f467e186c00000000000000000000000000000000000000000000000000000000815260c9600482015260248101839052905173__$fb68600ab723a8a0a0b96b45bbac9939e0$__9163467e186c916044808301926000929190829003018186803b158015610fcd57600080fd5b505af4158015610fe1573d6000803e3d6000fd5b5050505050565b600060026097541415611042576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260975561104f6114db565b156110a1576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b81804211156110f7576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b604080517fe7a4db8100000000000000000000000000000000000000000000000000000000815260c960048201526024810188905260ff8716604482015260648101869052905173__$fb68600ab723a8a0a0b96b45bbac9939e0$__9163e7a4db81916084808301926020929190829003018186803b15801561117957600080fd5b505af415801561118d573d6000803e3d6000fd5b505050506040513d60208110156111a357600080fd5b505160016097559695505050505050565b6111bc61288b565b6001600160a01b03166111cd611e8a565b6001600160a01b031614611228576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61123061288f565b565b60006002609754141561128c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026097556112996114db565b156112eb576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b8180421115611341576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b60c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6340370edf90918888886040518563ffffffff1660e01b815260040180858152602001806020018381526020018281038252858582818152602001925060200280828437600081840152601f19601f8201169050808301925050509550505050505060206040518083038186803b15801561117957600080fd5b6113da61288b565b6001600160a01b03166113eb611e8a565b6001600160a01b031614611446576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517f58fdd79b00000000000000000000000000000000000000000000000000000000815260c960048201526024810184905260448101839052905173__$34a89a4c622fc2e024417b7c254097dd7b$__916358fdd79b916064808301926000929190829003018186803b1580156114bf57600080fd5b505af41580156114d3573d6000803e3d6000fd5b505050505050565b60655460ff1690565b6002609754141561153c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002609755600061154c84611997565b90506000846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561159d57600080fd5b505afa1580156115b1573d6000803e3d6000fd5b505050506040513d60208110156115c757600080fd5b505160d280549192506000916115ff919060ff86169081106115e557fe5b90600052602060002001548361293890919063ffffffff16565b90506000851180156116115750848210155b611662576040805162461bcd60e51b815260206004820152600e60248201527f696e76616c696420616d6f756e74000000000000000000000000000000000000604482015290519081900360640190fd5b600061168561271061167f60d4548961299590919063ffffffff16565b906129ee565b905060006116a461271061167f60d5548561299590919063ffffffff16565b9050600082116116fb576040805162461bcd60e51b815260206004820152601f60248201527f616d6f756e7420697320736d616c6c20666f72206120666c6173684c6f616e00604482015290519081900360640190fd5b61170f6001600160a01b0389168a89612a55565b886001600160a01b031663405b019d308a8a868b6040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611799578181015183820152602001611781565b50505050905090810190601f1680156117c65780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b1580156117e957600080fd5b505af11580156117fd573d6000803e3d6000fd5b505050506000886001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561185057600080fd5b505afa158015611864573d6000803e3d6000fd5b505050506040513d602081101561187a57600080fd5b505190506118888584612ada565b8110156118dc576040805162461bcd60e51b815260206004820152601860248201527f666c6173684c6f616e20666565206973206e6f74206d65740000000000000000604482015290519081900360640190fd5b6118f0826118ea8387612938565b90612938565b60d2805460ff891690811061190157fe5b600091825260209182902001919091556040805160ff891681529182018a905281810185905260608201849052516001600160a01b038c16917f7c186b2827b23e9024e7b29869cba58a97a4bac6567802a8ea6a8afa7b8c22f0919081900360800190a2505060016097555050505050505050565b60c95460ca5460cb5460cc5460cd5460ce5460cf546001600160a01b031687565b6001600160a01b038116600081815260d36020526040812054909160ff909116906119c182611b00565b6001600160a01b031614611a1c576040805162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f74206578697374000000000000000000000000604482015290519081900360640190fd5b90505b919050565b611a2c61288b565b6001600160a01b0316611a3d611e8a565b6001600160a01b031614611a98576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60d45481565b60d05460009060ff831610611b5c576040805162461bcd60e51b815260206004820152600c60248201527f4f7574206f662072616e67650000000000000000000000000000000000000000604482015290519081900360640190fd5b60d0805460ff8416908110611b6d57fe5b6000918252602090912001546001600160a01b031692915050565b611b9061288b565b6001600160a01b0316611ba1611e8a565b6001600160a01b031614611bfc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611230612b34565b600060026097541415611c5e576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002609755611c6b6114db565b15611cbd576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b8180421115611d13576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b60c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6341b91c2690918888886040518563ffffffff1660e01b815260040180858152602001806020018381526020018281038252858582818152602001925060200280828437600081840152601f19601f8201169050808301925050509550505050505060206040518083038186803b15801561117957600080fd5b611dac61288b565b6001600160a01b0316611dbd611e8a565b6001600160a01b031614611e18576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517f7046727600000000000000000000000000000000000000000000000000000000815260c9600482015260248101839052905173__$fb68600ab723a8a0a0b96b45bbac9939e0$__916370467276916044808301926000929190829003018186803b158015610fcd57600080fd5b6033546001600160a01b031690565b600060026097541415611ef3576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002609755611f006114db565b15611f52576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b8180421115611fa8576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b604080517fa5397b2200000000000000000000000000000000000000000000000000000000815260c9600482015260ff808a166024830152881660448201526064810187905260848101869052905173__$fb68600ab723a8a0a0b96b45bbac9939e0$__9163a5397b229160a4808301926020929190829003018186803b15801561203257600080fd5b505af4158015612046573d6000803e3d6000fd5b505050506040513d602081101561205c57600080fd5b50516001609755979650505050505050565b60d05460009060ff8316106120ca576040805162461bcd60e51b815260206004820152601260248201527f496e646578206f7574206f662072616e67650000000000000000000000000000604482015290519081900360640190fd5b60d2805460ff84169081106120db57fe5b90600052602060002001549050919050565b604080517f4b23603c00000000000000000000000000000000000000000000000000000000815260c9600482015260ff80861660248301528416604482015260648101839052905160009173__$fb68600ab723a8a0a0b96b45bbac9939e0$__91634b23603c91608480820192602092909190829003018186803b15801561217457600080fd5b505af4158015612188573d6000803e3d6000fd5b505050506040513d602081101561219e57600080fd5b505190505b9392505050565b600054610100900460ff16806121c357506121c3612bc4565b806121d1575060005460ff16155b61220c5760405162461bcd60e51b815260040180806020018281038252602e815260200180613d25602e913960400191505060405180910390fd5b600054610100900460ff16158015612237576000805460ff1961ff0019909116610100171660011790555b6122478989898989898989612bd5565b600860d455600060d5558015612263576000805461ff00191690555b505050505050505050565b61227661288b565b6001600160a01b0316612287611e8a565b6001600160a01b0316146122e2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517ff14e211e00000000000000000000000000000000000000000000000000000000815260c96004820152905173__$34a89a4c622fc2e024417b7c254097dd7b$__9163f14e211e916024808301926000929190829003018186803b158015610b5757600080fd5b600060c973__$34a89a4c622fc2e024417b7c254097dd7b$__63b0a14cfc90916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610bc557600080fd5b600060c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6371906c2c90916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610bc557600080fd5b600060c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__63834b491090918686866040518563ffffffff1660e01b8152600401808581526020018060200183151581526020018281038252858582818152602001925060200280828437600081840152601f19601f8201169050808301925050509550505050505060206040518083038186803b15801561217457600080fd5b60d55481565b600060c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__637d0481609091846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b1580156124ec57600080fd5b505af4158015612500573d6000803e3d6000fd5b505050506040513d602081101561251657600080fd5b505192915050565b61252661288b565b6001600160a01b0316612537611e8a565b6001600160a01b031614612592576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000821180156125a457506127108211155b80156125b257506127108111155b612603576040805162461bcd60e51b815260206004820152601b60248201527f6665657320617265206e6f7420696e2076616c69642072616e67650000000000604482015290519081900360640190fd5b60d49190915560d555565b606060c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6370703e4a9091846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b15801561266a57600080fd5b505af415801561267e573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156126c557600080fd5b81019080805160405193929190846401000000008211156126e557600080fd5b9083019060208201858111156126fa57600080fd5b825186602082028301116401000000008211171561271757600080fd5b82525081516020918201928201910280838360005b8381101561274457818101518382015260200161272c565b505050509050016040525050509050919050565b61276061288b565b6001600160a01b0316612771611e8a565b6001600160a01b0316146127cc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166128115760405162461bcd60e51b8152600401808060200182810382526026815260200180613cd96026913960400191505060405180910390fd5b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b61271081565b3390565b6128976114db565b6128e8576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61291b61288b565b604080516001600160a01b039092168252519081900360200190a1565b60008282111561298f576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826129a457506000610ee1565b828202828482816129b157fe5b04146121a35760405162461bcd60e51b8152600401808060200182810382526021815260200180613d536021913960400191505060405180910390fd5b6000808211612a44576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381612a4d57fe5b049392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052612ad59084906133d0565b505050565b6000828201838110156121a3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b612b3c6114db565b15612b8e576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861291b61288b565b6000612bcf30613481565b15905090565b600054610100900460ff1680612bee5750612bee612bc4565b80612bfc575060005460ff16155b612c375760405162461bcd60e51b815260040180806020018281038252602e815260200180613d25602e913960400191505060405180910390fd5b600054610100900460ff16158015612c62576000805460ff1961ff0019909116610100171660011790555b612c6a613487565b612c72613541565b6001895111612cc8576040805162461bcd60e51b815260206004820152601960248201527f5f706f6f6c6564546f6b656e732e6c656e677468203c3d203100000000000000604482015290519081900360640190fd5b602089511115612d1f576040805162461bcd60e51b815260206004820152601960248201527f5f706f6f6c6564546f6b656e732e6c656e677468203e20333200000000000000604482015290519081900360640190fd5b8751895114612d75576040805162461bcd60e51b815260206004820152601f60248201527f5f706f6f6c6564546f6b656e7320646563696d616c73206d69736d6174636800604482015290519081900360640190fd5b6060885167ffffffffffffffff81118015612d8f57600080fd5b50604051908082528060200260200182016040528015612db9578160200160208202803683370190505b50905060005b8a518160ff1610156130375760ff811615612ea85760d360008c8360ff1681518110612de757fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff16158015612e5757508a8160ff1681518110612e2557fe5b60200260200101516001600160a01b03168b600081518110612e4357fe5b60200260200101516001600160a01b031614155b612ea8576040805162461bcd60e51b815260206004820152601060248201527f4475706c696361746520746f6b656e7300000000000000000000000000000000604482015290519081900360640190fd5b60006001600160a01b03168b8260ff1681518110612ec257fe5b60200260200101516001600160a01b03161415612f26576040805162461bcd60e51b815260206004820152601d60248201527f546865203020616464726573732069736e277420616e204552432d3230000000604482015290519081900360640190fd5b601260ff168a8260ff1681518110612f3a57fe5b602002602001015160ff161115612f98576040805162461bcd60e51b815260206004820152601a60248201527f546f6b656e20646563696d616c732065786365656473206d6178000000000000604482015290519081900360640190fd5b612fc88a8260ff1681518110612faa57fe5b602002602001015160ff16601260ff1661293890919063ffffffff16565b600a0a828260ff1681518110612fda57fe5b6020026020010181815250508060d360008d8460ff1681518110612ffa57fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191660ff92909216919091179055600101612dbf565b50620f4240861061308f576040805162461bcd60e51b815260206004820152601260248201527f5f612065786365656473206d6178696d756d0000000000000000000000000000604482015290519081900360640190fd5b6305f5e10085106130e7576040805162461bcd60e51b815260206004820152601460248201527f5f6665652065786365656473206d6178696d756d000000000000000000000000604482015290519081900360640190fd5b6402540be4008410613140576040805162461bcd60e51b815260206004820152601960248201527f5f61646d696e4665652065786365656473206d6178696d756d00000000000000604482015290519081900360640190fd5b600061314b846135d6565b9050806001600160a01b0316634cd88b768a8a6040518363ffffffff1660e01b8152600401808060200180602001838103835285818151815260200191508051906020019080838360005b838110156131ae578181015183820152602001613196565b50505050905090810190601f1680156131db5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561320e5781810151838201526020016131f6565b50505050905090810190601f16801561323b5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561325c57600080fd5b505af1158015613270573d6000803e3d6000fd5b505050506040513d602081101561328657600080fd5b50516132d9576040805162461bcd60e51b815260206004820152601c60248201527f636f756c64206e6f7420696e6974206c70546f6b656e20636c6f6e6500000000604482015290519081900360640190fd5b60cf80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383161790558a5161331f9060d09060208e0190613bc8565b5081516133339060d1906020850190613c45565b508a5167ffffffffffffffff8111801561334c57600080fd5b50604051908082528060200260200182016040528015613376578160200160208202803683370190505b50805161338b9160d291602090910190613c45565b50613397876064612995565b60c9556133a5876064612995565b60ca55505060cd84905560ce8390558015612263576000805461ff0019169055505050505050505050565b6060613425826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166136919092919063ffffffff16565b805190915015612ad55780806020019051602081101561344457600080fd5b5051612ad55760405162461bcd60e51b815260040180806020018281038252602a815260200180613d74602a913960400191505060405180910390fd5b3b151590565b600054610100900460ff16806134a057506134a0612bc4565b806134ae575060005460ff16155b6134e95760405162461bcd60e51b815260040180806020018281038252602e815260200180613d25602e913960400191505060405180910390fd5b600054610100900460ff16158015613514576000805460ff1961ff0019909116610100171660011790555b61351c6136a8565b613524613748565b61352c613859565b801561353e576000805461ff00191690555b50565b600054610100900460ff168061355a575061355a612bc4565b80613568575060005460ff16155b6135a35760405162461bcd60e51b815260040180806020018281038252602e815260200180613d25602e913960400191505060405180910390fd5b600054610100900460ff161580156135ce576000805460ff1961ff0019909116610100171660011790555b61352c613904565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f09150506001600160a01b038116611a1f576040805162461bcd60e51b815260206004820152601660248201527f455243313136373a20637265617465206661696c656400000000000000000000604482015290519081900360640190fd5b60606136a084846000856139aa565b949350505050565b600054610100900460ff16806136c157506136c1612bc4565b806136cf575060005460ff16155b61370a5760405162461bcd60e51b815260040180806020018281038252602e815260200180613d25602e913960400191505060405180910390fd5b600054610100900460ff1615801561352c576000805460ff1961ff001990911661010017166001179055801561353e576000805461ff001916905550565b600054610100900460ff16806137615750613761612bc4565b8061376f575060005460ff16155b6137aa5760405162461bcd60e51b815260040180806020018281038252602e815260200180613d25602e913960400191505060405180910390fd5b600054610100900460ff161580156137d5576000805460ff1961ff0019909116610100171660011790555b60006137df61288b565b603380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561353e576000805461ff001916905550565b600054610100900460ff16806138725750613872612bc4565b80613880575060005460ff16155b6138bb5760405162461bcd60e51b815260040180806020018281038252602e815260200180613d25602e913960400191505060405180910390fd5b600054610100900460ff161580156138e6576000805460ff1961ff0019909116610100171660011790555b6065805460ff19169055801561353e576000805461ff001916905550565b600054610100900460ff168061391d575061391d612bc4565b8061392b575060005460ff16155b6139665760405162461bcd60e51b815260040180806020018281038252602e815260200180613d25602e913960400191505060405180910390fd5b600054610100900460ff16158015613991576000805460ff1961ff0019909116610100171660011790555b6001609755801561353e576000805461ff001916905550565b6060824710156139eb5760405162461bcd60e51b8152600401808060200182810382526026815260200180613cff6026913960400191505060405180910390fd5b6139f485613481565b613a45576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310613aa257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613a65565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613b04576040519150601f19603f3d011682016040523d82523d6000602084013e613b09565b606091505b5091509150613b19828286613b24565b979650505050505050565b60608315613b335750816121a3565b825115613b435782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b8d578181015183820152602001613b75565b50505050905090810190601f168015613bba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215613c35579160200282015b82811115613c3557825182547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909116178255602090920191600190910190613be8565b50613c41929150613c8c565b5090565b828054828255906000526020600020908101928215613c80579160200282015b82811115613c80578251825591602001919060010190613c65565b50613c41929150613cc3565b5b80821115613c415780547fffffffffffffffffffffffff0000000000000000000000000000000000000000168155600101613c8d565b5b80821115613c415760008155600101613cc456fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220fd19277102b6b4cf17e276c36fef9dfb9c9b662bd1adb50fd544c520d37255d864736f6c634300060c0033", }
SwapFlashLoanMetaData contains all meta data concerning the SwapFlashLoan contract.
var SwapFuncSigs = SwapMetaData.Sigs
Deprecated: Use SwapMetaData.Sigs instead. SwapFuncSigs maps the 4-byte function signature to its string representation.
var SwapMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"fees\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"invariant\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"AddLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newAdminFee\",\"type\":\"uint256\"}],\"name\":\"NewAdminFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSwapFee\",\"type\":\"uint256\"}],\"name\":\"NewSwapFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"initialTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"futureTime\",\"type\":\"uint256\"}],\"name\":\"RampA\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"fees\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"invariant\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidityImbalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"boughtId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensBought\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidityOne\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"StopRampA\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensSold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensBought\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"soldId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"boughtId\",\"type\":\"uint128\"}],\"name\":\"TokenSwap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"minToMint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"calculateRemoveLiquidity\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndex\",\"type\":\"uint8\"}],\"name\":\"calculateRemoveLiquidityOneToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"availableTokenAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tokenIndexFrom\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndexTo\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"}],\"name\":\"calculateSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bool\",\"name\":\"deposit\",\"type\":\"bool\"}],\"name\":\"calculateTokenAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAPrecise\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAdminBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"index\",\"type\":\"uint8\"}],\"name\":\"getToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"index\",\"type\":\"uint8\"}],\"name\":\"getTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getTokenIndex\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVirtualPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20[]\",\"name\":\"_pooledTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"decimals\",\"type\":\"uint8[]\"},{\"internalType\":\"string\",\"name\":\"lpTokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"lpTokenSymbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_adminFee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"lpTokenTargetAddress\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"futureA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"futureTime\",\"type\":\"uint256\"}],\"name\":\"rampA\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"minAmounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"maxBurnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityImbalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"minAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityOneToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newAdminFee\",\"type\":\"uint256\"}],\"name\":\"setAdminFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newSwapFee\",\"type\":\"uint256\"}],\"name\":\"setSwapFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopRampA\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tokenIndexFrom\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"tokenIndexTo\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDy\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"initialA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"futureA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"initialATime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"futureATime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"swapFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"adminFee\",\"type\":\"uint256\"},{\"internalType\":\"contractLPToken\",\"name\":\"lpToken\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawAdminFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "4d49e87d": "addLiquidity(uint256[],uint256,uint256)", "f2fad2b6": "calculateRemoveLiquidity(uint256)", "342a87a1": "calculateRemoveLiquidityOneToken(uint256,uint8)", "a95b089f": "calculateSwap(uint8,uint8,uint256)", "e6ab2806": "calculateTokenAmount(uint256[],bool)", "d46300fd": "getA()", "0ba81959": "getAPrecise()", "ef0a712f": "getAdminBalance(uint256)", "82b86600": "getToken(uint8)", "91ceb3eb": "getTokenBalance(uint8)", "66c0bd24": "getTokenIndex(address)", "e25aa5fa": "getVirtualPrice()", "b28cb6dc": "initialize(address[],uint8[],string,string,uint256,uint256,uint256,address)", "8da5cb5b": "owner()", "8456cb59": "pause()", "5c975abb": "paused()", "593d132c": "rampA(uint256,uint256)", "31cd52b0": "removeLiquidity(uint256,uint256[],uint256)", "84cdd9bc": "removeLiquidityImbalance(uint256[],uint256,uint256)", "3e3a1560": "removeLiquidityOneToken(uint256,uint8,uint256,uint256)", "715018a6": "renounceOwnership()", "8beb60b6": "setAdminFee(uint256)", "34e19907": "setSwapFee(uint256)", "c4db7fa0": "stopRampA()", "91695586": "swap(uint8,uint8,uint256,uint256,uint256)", "5fd65f0f": "swapStorage()", "f2fde38b": "transferOwnership(address)", "3f4ba83a": "unpause()", "0419b45a": "withdrawAdminFees()", }, Bin: "0x608060405234801561001057600080fd5b506133f6806100206000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80638456cb5911610104578063b28cb6dc116100a2578063e6ab280611610071578063e6ab280614610885578063ef0a712f146108f7578063f2fad2b614610914578063f2fde38b14610931576101cf565b8063b28cb6dc14610610578063c4db7fa01461086d578063d46300fd14610875578063e25aa5fa1461087d576101cf565b80638da5cb5b116100de5780638da5cb5b1461057c578063916955861461058457806391ceb3eb146105c0578063a95b089f146105e0576101cf565b80638456cb59146104e157806384cdd9bc146104e95780638beb60b61461055f576101cf565b80634d49e87d116101715780635fd65f0f1161014b5780635fd65f0f146103f157806366c0bd2414610447578063715018a61461049057806382b8660014610498576101cf565b80634d49e87d1461033c578063593d132c146103b25780635c975abb146103d5576101cf565b8063342a87a1116101ad578063342a87a1146102bf57806334e19907146102e55780633e3a1560146103025780633f4ba83a14610334576101cf565b80630419b45a146101d45780630ba81959146101de57806331cd52b0146101f8575b600080fd5b6101dc610964565b005b6101e6610a81565b60408051918252519081900360200190f35b61026f6004803603606081101561020e57600080fd5b8135919081019060408101602082013564010000000081111561023057600080fd5b82018360208201111561024257600080fd5b8035906020019184602083028401116401000000008311171561026457600080fd5b919350915035610b06565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102ab578181015183820152602001610293565b505050509050019250505060405180910390f35b6101e6600480360360408110156102d557600080fd5b508035906020013560ff16610d43565b6101dc600480360360208110156102fb57600080fd5b5035610df7565b6101e66004803603608081101561031857600080fd5b5080359060ff6020820135169060408101359060600135610f12565b6101dc6110de565b6101e66004803603606081101561035257600080fd5b81019060208101813564010000000081111561036d57600080fd5b82018360208201111561037f57600080fd5b803590602001918460208302840111640100000000831117156103a157600080fd5b919350915080359060200135611176565b6101dc600480360360408110156103c857600080fd5b5080359060200135611316565b6103dd611439565b604080519115158252519081900360200190f35b6103f9611442565b604080519788526020880196909652868601949094526060860192909252608085015260a084015273ffffffffffffffffffffffffffffffffffffffff1660c0830152519081900360e00190f35b61047a6004803603602081101561045d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611470565b6040805160ff9092168252519081900360200190f35b6101dc611517565b6104b8600480360360208110156104ae57600080fd5b503560ff16611614565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101dc6116a9565b6101e6600480360360608110156104ff57600080fd5b81019060208101813564010000000081111561051a57600080fd5b82018360208201111561052c57600080fd5b8035906020019184602083028401116401000000008311171561054e57600080fd5b91935091508035906020013561173f565b6101dc6004803603602081101561057557600080fd5b50356118df565b6104b86119df565b6101e6600480360360a081101561059a57600080fd5b5060ff8135811691602081013590911690604081013590606081013590608001356119fb565b6101e6600480360360208110156105d657600080fd5b503560ff16611bd0565b6101e6600480360360608110156105f657600080fd5b5060ff813581169160208101359091169060400135611c4f565b6101dc600480360361010081101561062757600080fd5b81019060208101813564010000000081111561064257600080fd5b82018360208201111561065457600080fd5b8035906020019184602083028401116401000000008311171561067657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156106c657600080fd5b8201836020820111156106d857600080fd5b803590602001918460208302840111640100000000831117156106fa57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561074a57600080fd5b82018360208201111561075c57600080fd5b8035906020019184600183028401116401000000008311171561077e57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156107d157600080fd5b8201836020820111156107e357600080fd5b8035906020019184600183028401116401000000008311171561080557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020810135906040810135906060013573ffffffffffffffffffffffffffffffffffffffff16611d0a565b6101dc61256e565b6101e6612667565b6101e66126bb565b6101e66004803603604081101561089b57600080fd5b8101906020810181356401000000008111156108b657600080fd5b8201836020820111156108c857600080fd5b803590602001918460208302840111640100000000831117156108ea57600080fd5b919350915035151561270f565b6101e66004803603602081101561090d57600080fd5b50356127a4565b61026f6004803603602081101561092a57600080fd5b5035612832565b6101dc6004803603602081101561094757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661297c565b61096c612aea565b73ffffffffffffffffffffffffffffffffffffffff1661098a6119df565b73ffffffffffffffffffffffffffffffffffffffff16146109f2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73__$fb68600ab723a8a0a0b96b45bbac9939e0$__6324c5c75160c9610a166119df565b6040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060006040518083038186803b158015610a6757600080fd5b505af4158015610a7b573d6000803e3d6000fd5b50505050565b600060c973__$34a89a4c622fc2e024417b7c254097dd7b$__63c9b64dcb90916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610ad557600080fd5b505af4158015610ae9573d6000803e3d6000fd5b505050506040513d6020811015610aff57600080fd5b5051905090565b606060026097541415610b60576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026097558142811015610bbb576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b60c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6373fd6b3e90918888886040518563ffffffff1660e01b815260040180858152602001848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509550505050505060006040518083038186803b158015610c4c57600080fd5b505af4158015610c60573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526020811015610ca757600080fd5b8101908080516040519392919084640100000000821115610cc757600080fd5b908301906020820185811115610cdc57600080fd5b8251866020820283011164010000000082111715610cf957600080fd5b82525081516020918201928201910280838360005b83811015610d26578181015183820152602001610d0e565b505050509050016040525050509150506001609755949350505050565b604080517fe069274200000000000000000000000000000000000000000000000000000000815260c960048201526024810184905260ff83166044820152905160009173__$fb68600ab723a8a0a0b96b45bbac9939e0$__9163e069274291606480820192602092909190829003018186803b158015610dc257600080fd5b505af4158015610dd6573d6000803e3d6000fd5b505050506040513d6020811015610dec57600080fd5b505190505b92915050565b610dff612aea565b73ffffffffffffffffffffffffffffffffffffffff16610e1d6119df565b73ffffffffffffffffffffffffffffffffffffffff1614610e85576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517f467e186c00000000000000000000000000000000000000000000000000000000815260c9600482015260248101839052905173__$fb68600ab723a8a0a0b96b45bbac9939e0$__9163467e186c916044808301926000929190829003018186803b158015610ef757600080fd5b505af4158015610f0b573d6000803e3d6000fd5b5050505050565b600060026097541415610f6c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002609755610f79611439565b15610fcb576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b8180421115611021576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b604080517fe7a4db8100000000000000000000000000000000000000000000000000000000815260c960048201526024810188905260ff8716604482015260648101869052905173__$fb68600ab723a8a0a0b96b45bbac9939e0$__9163e7a4db81916084808301926020929190829003018186803b1580156110a357600080fd5b505af41580156110b7573d6000803e3d6000fd5b505050506040513d60208110156110cd57600080fd5b505160016097559695505050505050565b6110e6612aea565b73ffffffffffffffffffffffffffffffffffffffff166111046119df565b73ffffffffffffffffffffffffffffffffffffffff161461116c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611174612aee565b565b6000600260975414156111d0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026097556111dd611439565b1561122f576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b8180421115611285576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b60c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6340370edf90918888886040518563ffffffff1660e01b815260040180858152602001806020018381526020018281038252858582818152602001925060200280828437600081840152601f19601f8201169050808301925050509550505050505060206040518083038186803b1580156110a357600080fd5b61131e612aea565b73ffffffffffffffffffffffffffffffffffffffff1661133c6119df565b73ffffffffffffffffffffffffffffffffffffffff16146113a4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517f58fdd79b00000000000000000000000000000000000000000000000000000000815260c960048201526024810184905260448101839052905173__$34a89a4c622fc2e024417b7c254097dd7b$__916358fdd79b916064808301926000929190829003018186803b15801561141d57600080fd5b505af4158015611431573d6000803e3d6000fd5b505050505050565b60655460ff1690565b60c95460ca5460cb5460cc5460cd5460ce5460cf5473ffffffffffffffffffffffffffffffffffffffff1687565b73ffffffffffffffffffffffffffffffffffffffff8116600081815260d36020526040812054909160ff909116906114a782611614565b73ffffffffffffffffffffffffffffffffffffffff161461150f576040805162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f74206578697374000000000000000000000000604482015290519081900360640190fd5b90505b919050565b61151f612aea565b73ffffffffffffffffffffffffffffffffffffffff1661153d6119df565b73ffffffffffffffffffffffffffffffffffffffff16146115a5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60335460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60d05460009060ff831610611670576040805162461bcd60e51b815260206004820152600c60248201527f4f7574206f662072616e67650000000000000000000000000000000000000000604482015290519081900360640190fd5b60d0805460ff841690811061168157fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b6116b1612aea565b73ffffffffffffffffffffffffffffffffffffffff166116cf6119df565b73ffffffffffffffffffffffffffffffffffffffff1614611737576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611174612ba4565b600060026097541415611799576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026097556117a6611439565b156117f8576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b818042111561184e576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b60c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6341b91c2690918888886040518563ffffffff1660e01b815260040180858152602001806020018381526020018281038252858582818152602001925060200280828437600081840152601f19601f8201169050808301925050509550505050505060206040518083038186803b1580156110a357600080fd5b6118e7612aea565b73ffffffffffffffffffffffffffffffffffffffff166119056119df565b73ffffffffffffffffffffffffffffffffffffffff161461196d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517f7046727600000000000000000000000000000000000000000000000000000000815260c9600482015260248101839052905173__$fb68600ab723a8a0a0b96b45bbac9939e0$__916370467276916044808301926000929190829003018186803b158015610ef757600080fd5b60335473ffffffffffffffffffffffffffffffffffffffff1690565b600060026097541415611a55576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002609755611a62611439565b15611ab4576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b8180421115611b0a576040805162461bcd60e51b815260206004820152601060248201527f446561646c696e65206e6f74206d657400000000000000000000000000000000604482015290519081900360640190fd5b604080517fa5397b2200000000000000000000000000000000000000000000000000000000815260c9600482015260ff808a166024830152881660448201526064810187905260848101869052905173__$fb68600ab723a8a0a0b96b45bbac9939e0$__9163a5397b229160a4808301926020929190829003018186803b158015611b9457600080fd5b505af4158015611ba8573d6000803e3d6000fd5b505050506040513d6020811015611bbe57600080fd5b50516001609755979650505050505050565b60d05460009060ff831610611c2c576040805162461bcd60e51b815260206004820152601260248201527f496e646578206f7574206f662072616e67650000000000000000000000000000604482015290519081900360640190fd5b60d2805460ff8416908110611c3d57fe5b90600052602060002001549050919050565b604080517f4b23603c00000000000000000000000000000000000000000000000000000000815260c9600482015260ff80861660248301528416604482015260648101839052905160009173__$fb68600ab723a8a0a0b96b45bbac9939e0$__91634b23603c91608480820192602092909190829003018186803b158015611cd657600080fd5b505af4158015611cea573d6000803e3d6000fd5b505050506040513d6020811015611d0057600080fd5b5051949350505050565b600054610100900460ff1680611d235750611d23612c34565b80611d31575060005460ff16155b611d6c5760405162461bcd60e51b815260040180806020018281038252602e815260200180613372602e913960400191505060405180910390fd5b600054610100900460ff16158015611d97576000805460ff1961ff0019909116610100171660011790555b611d9f612c45565b611da7612cff565b6001895111611dfd576040805162461bcd60e51b815260206004820152601960248201527f5f706f6f6c6564546f6b656e732e6c656e677468203c3d203100000000000000604482015290519081900360640190fd5b602089511115611e54576040805162461bcd60e51b815260206004820152601960248201527f5f706f6f6c6564546f6b656e732e6c656e677468203e20333200000000000000604482015290519081900360640190fd5b8751895114611eaa576040805162461bcd60e51b815260206004820152601f60248201527f5f706f6f6c6564546f6b656e7320646563696d616c73206d69736d6174636800604482015290519081900360640190fd5b6060885167ffffffffffffffff81118015611ec457600080fd5b50604051908082528060200260200182016040528015611eee578160200160208202803683370190505b50905060005b8a518160ff1610156121ba5760ff8116156120045760d360008c8360ff1681518110611f1c57fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff1682528101919091526040016000205460ff16158015611fb357508a8160ff1681518110611f6757fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168b600081518110611f9257fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614155b612004576040805162461bcd60e51b815260206004820152601060248201527f4475706c696361746520746f6b656e7300000000000000000000000000000000604482015290519081900360640190fd5b600073ffffffffffffffffffffffffffffffffffffffff168b8260ff168151811061202b57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16141561209c576040805162461bcd60e51b815260206004820152601d60248201527f546865203020616464726573732069736e277420616e204552432d3230000000604482015290519081900360640190fd5b601260ff168a8260ff16815181106120b057fe5b602002602001015160ff16111561210e576040805162461bcd60e51b815260206004820152601a60248201527f546f6b656e20646563696d616c732065786365656473206d6178000000000000604482015290519081900360640190fd5b61213e8a8260ff168151811061212057fe5b602002602001015160ff16601260ff16612d9490919063ffffffff16565b600a0a828260ff168151811061215057fe5b6020026020010181815250508060d360008d8460ff168151811061217057fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff168252810191909152604001600020805460ff191660ff92909216919091179055600101611ef4565b50620f42408610612212576040805162461bcd60e51b815260206004820152601260248201527f5f612065786365656473206d6178696d756d0000000000000000000000000000604482015290519081900360640190fd5b6305f5e100851061226a576040805162461bcd60e51b815260206004820152601460248201527f5f6665652065786365656473206d6178696d756d000000000000000000000000604482015290519081900360640190fd5b6402540be40084106122c3576040805162461bcd60e51b815260206004820152601960248201527f5f61646d696e4665652065786365656473206d6178696d756d00000000000000604482015290519081900360640190fd5b60006122ce84612df1565b90508073ffffffffffffffffffffffffffffffffffffffff16634cd88b768a8a6040518363ffffffff1660e01b8152600401808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561233e578181015183820152602001612326565b50505050905090810190601f16801561236b5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561239e578181015183820152602001612386565b50505050905090810190601f1680156123cb5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b1580156123ec57600080fd5b505af1158015612400573d6000803e3d6000fd5b505050506040513d602081101561241657600080fd5b5051612469576040805162461bcd60e51b815260206004820152601c60248201527f636f756c64206e6f7420696e6974206c70546f6b656e20636c6f6e6500000000604482015290519081900360640190fd5b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790558a516124bc9060d09060208e019061322e565b5081516124d09060d19060208501906132b8565b508a5167ffffffffffffffff811180156124e957600080fd5b50604051908082528060200260200182016040528015612513578160200160208202803683370190505b5080516125289160d2916020909101906132b8565b50612534876064612eb9565b60c955612542876064612eb9565b60ca55505060cd84905560ce8390558015612563576000805461ff00191690555b505050505050505050565b612576612aea565b73ffffffffffffffffffffffffffffffffffffffff166125946119df565b73ffffffffffffffffffffffffffffffffffffffff16146125fc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517ff14e211e00000000000000000000000000000000000000000000000000000000815260c96004820152905173__$34a89a4c622fc2e024417b7c254097dd7b$__9163f14e211e916024808301926000929190829003018186803b158015610a6757600080fd5b600060c973__$34a89a4c622fc2e024417b7c254097dd7b$__63b0a14cfc90916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610ad557600080fd5b600060c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6371906c2c90916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610ad557600080fd5b600060c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__63834b491090918686866040518563ffffffff1660e01b8152600401808581526020018060200183151581526020018281038252858582818152602001925060200280828437600081840152601f19601f8201169050808301925050509550505050505060206040518083038186803b158015611cd657600080fd5b600060c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__637d0481609091846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b15801561280057600080fd5b505af4158015612814573d6000803e3d6000fd5b505050506040513d602081101561282a57600080fd5b505192915050565b606060c973__$fb68600ab723a8a0a0b96b45bbac9939e0$__6370703e4a9091846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b15801561288e57600080fd5b505af41580156128a2573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156128e957600080fd5b810190808051604051939291908464010000000082111561290957600080fd5b90830190602082018581111561291e57600080fd5b825186602082028301116401000000008211171561293b57600080fd5b82525081516020918201928201910280838360005b83811015612968578181015183820152602001612950565b505050509050016040525050509050919050565b612984612aea565b73ffffffffffffffffffffffffffffffffffffffff166129a26119df565b73ffffffffffffffffffffffffffffffffffffffff1614612a0a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116612a5c5760405162461bcd60e51b815260040180806020018281038252602681526020018061334c6026913960400191505060405180910390fd5b60335460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b612af6611439565b612b47576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612b7a612aea565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b612bac611439565b15612bfe576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b7a612aea565b6000612c3f30612f19565b15905090565b600054610100900460ff1680612c5e5750612c5e612c34565b80612c6c575060005460ff16155b612ca75760405162461bcd60e51b815260040180806020018281038252602e815260200180613372602e913960400191505060405180910390fd5b600054610100900460ff16158015612cd2576000805460ff1961ff0019909116610100171660011790555b612cda612f1f565b612ce2612fbf565b612cea6130dd565b8015612cfc576000805461ff00191690555b50565b600054610100900460ff1680612d185750612d18612c34565b80612d26575060005460ff16155b612d615760405162461bcd60e51b815260040180806020018281038252602e815260200180613372602e913960400191505060405180910390fd5b600054610100900460ff16158015612d8c576000805460ff1961ff0019909116610100171660011790555b612cea613188565b600082821115612deb576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f091505073ffffffffffffffffffffffffffffffffffffffff8116611512576040805162461bcd60e51b815260206004820152601660248201527f455243313136373a20637265617465206661696c656400000000000000000000604482015290519081900360640190fd5b600082612ec857506000610df1565b82820282848281612ed557fe5b0414612f125760405162461bcd60e51b81526004018080602001828103825260218152602001806133a06021913960400191505060405180910390fd5b9392505050565b3b151590565b600054610100900460ff1680612f385750612f38612c34565b80612f46575060005460ff16155b612f815760405162461bcd60e51b815260040180806020018281038252602e815260200180613372602e913960400191505060405180910390fd5b600054610100900460ff16158015612cea576000805460ff1961ff0019909116610100171660011790558015612cfc576000805461ff001916905550565b600054610100900460ff1680612fd85750612fd8612c34565b80612fe6575060005460ff16155b6130215760405162461bcd60e51b815260040180806020018281038252602e815260200180613372602e913960400191505060405180910390fd5b600054610100900460ff1615801561304c576000805460ff1961ff0019909116610100171660011790555b6000613056612aea565b603380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015612cfc576000805461ff001916905550565b600054610100900460ff16806130f657506130f6612c34565b80613104575060005460ff16155b61313f5760405162461bcd60e51b815260040180806020018281038252602e815260200180613372602e913960400191505060405180910390fd5b600054610100900460ff1615801561316a576000805460ff1961ff0019909116610100171660011790555b6065805460ff191690558015612cfc576000805461ff001916905550565b600054610100900460ff16806131a157506131a1612c34565b806131af575060005460ff16155b6131ea5760405162461bcd60e51b815260040180806020018281038252602e815260200180613372602e913960400191505060405180910390fd5b600054610100900460ff16158015613215576000805460ff1961ff0019909116610100171660011790555b60016097558015612cfc576000805461ff001916905550565b8280548282559060005260206000209081019282156132a8579160200282015b828111156132a857825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90911617825560209092019160019091019061324e565b506132b49291506132ff565b5090565b8280548282559060005260206000209081019282156132f3579160200282015b828111156132f35782518255916020019190600101906132d8565b506132b4929150613336565b5b808211156132b45780547fffffffffffffffffffffffff0000000000000000000000000000000000000000168155600101613300565b5b808211156132b4576000815560010161333756fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122044a3c5676052ca688bd07a40762f95815819b51d89d675f1b3ce313b5389126564736f6c634300060c0033", }
SwapMetaData contains all meta data concerning the Swap contract.
var SwapUtilsABI = SwapUtilsMetaData.ABI
SwapUtilsABI is the input ABI used to generate the binding from. Deprecated: Use SwapUtilsMetaData.ABI instead.
var SwapUtilsBin = SwapUtilsMetaData.Bin
SwapUtilsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SwapUtilsMetaData.Bin instead.
var SwapUtilsFuncSigs = SwapUtilsMetaData.Sigs
Deprecated: Use SwapUtilsMetaData.Sigs instead. SwapUtilsFuncSigs maps the 4-byte function signature to its string representation.
var SwapUtilsMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"fees\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"invariant\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"AddLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newAdminFee\",\"type\":\"uint256\"}],\"name\":\"NewAdminFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSwapFee\",\"type\":\"uint256\"}],\"name\":\"NewSwapFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"fees\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"invariant\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidityImbalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokenSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"boughtId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensBought\",\"type\":\"uint256\"}],\"name\":\"RemoveLiquidityOne\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensSold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokensBought\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"soldId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"boughtId\",\"type\":\"uint128\"}],\"name\":\"TokenSwap\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_ADMIN_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_SWAP_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_PRECISION_DECIMALS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "f3de0362": "MAX_ADMIN_FEE()", "ab3d8544": "MAX_SWAP_FEE()", "0296ab50": "POOL_PRECISION_DECIMALS()", "40370edf": "addLiquidity(SwapUtils.Swap storage,uint256[],uint256)", "70703e4a": "calculateRemoveLiquidity(SwapUtils.Swap storage,uint256)", "4b23603c": "calculateSwap(SwapUtils.Swap storage,uint8,uint8,uint256)", "834b4910": "calculateTokenAmount(SwapUtils.Swap storage,uint256[],bool)", "e0692742": "calculateWithdrawOneToken(SwapUtils.Swap storage,uint256,uint8)", "7d048160": "getAdminBalance(SwapUtils.Swap storage,uint256)", "71906c2c": "getVirtualPrice(SwapUtils.Swap storage)", "73fd6b3e": "removeLiquidity(SwapUtils.Swap storage,uint256,uint256[])", "41b91c26": "removeLiquidityImbalance(SwapUtils.Swap storage,uint256[],uint256)", "e7a4db81": "removeLiquidityOneToken(SwapUtils.Swap storage,uint256,uint8,uint256)", "70467276": "setAdminFee(SwapUtils.Swap storage,uint256)", "467e186c": "setSwapFee(SwapUtils.Swap storage,uint256)", "a5397b22": "swap(SwapUtils.Swap storage,uint8,uint8,uint256,uint256)", "24c5c751": "withdrawAdminFees(SwapUtils.Swap storage,address)", }, Bin: "0x6140b5610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101255760003560e01c806371906c2c116100bc578063a5397b221161008b578063e069274211610070578063e0692742146105a3578063e7a4db81146105cf578063f3de03621461060e57610125565b8063a5397b2214610552578063ab3d85441461059b57610125565b806371906c2c1461041057806373fd6b3e1461042d5780637d048160146104b6578063834b4910146104d957610125565b8063467e186c116100f8578063467e186c146103075780634b23603c14610337578063704672761461036d57806370703e4a1461039d57610125565b80630296ab501461012a57806324c5c7511461014857806340370edf1461018357806341b91c261461024e575b600080fd5b610132610616565b6040805160ff9092168252519081900360200190f35b81801561015457600080fd5b506101816004803603604081101561016b57600080fd5b50803590602001356001600160a01b031661061b565b005b81801561018f57600080fd5b5061023c600480360360608110156101a657600080fd5b813591908101906040810160208201356401000000008111156101c857600080fd5b8201836020820111156101da57600080fd5b803590602001918460208302840111640100000000831117156101fc57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550509135925061076a915050565b60408051918252519081900360200190f35b81801561025a57600080fd5b5061023c6004803603606081101561027157600080fd5b8135919081019060408101602082013564010000000081111561029357600080fd5b8201836020820111156102a557600080fd5b803590602001918460208302840111640100000000831117156102c757600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050913592506110ea915050565b81801561031357600080fd5b506101816004803603604081101561032a57600080fd5b5080359060200135611886565b61023c6004803603608081101561034d57600080fd5b5080359060ff60208201358116916040810135909116906060013561191d565b81801561037957600080fd5b506101816004803603604081101561039057600080fd5b5080359060200135611988565b6103c0600480360360408110156103b357600080fd5b5080359060200135611a20565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103fc5781810151838201526020016103e4565b505050509050019250505060405180910390f35b61023c6004803603602081101561042657600080fd5b5035611b03565b81801561043957600080fd5b506103c06004803603606081101561045057600080fd5b81359160208101359181019060608101604082013564010000000081111561047757600080fd5b82018360208201111561048957600080fd5b803590602001918460208302840111640100000000831117156104ab57600080fd5b509092509050611bda565b61023c600480360360408110156104cc57600080fd5b5080359060200135612034565b61023c600480360360608110156104ef57600080fd5b8135919081019060408101602082013564010000000081111561051157600080fd5b82018360208201111561052357600080fd5b8035906020019184602083028401116401000000008311171561054557600080fd5b9193509150351515612123565b81801561055e57600080fd5b5061023c600480360360a081101561057557600080fd5b5080359060ff602082013581169160408101359091169060608101359060800135612372565b61023c61275e565b61023c600480360360608110156105b957600080fd5b508035906020810135906040013560ff16612766565b8180156105db57600080fd5b5061023c600480360360808110156105f257600080fd5b5080359060208101359060ff60408201351690606001356127f0565b61023c612bb9565b601281565b60608260070180548060200260200160405190810160405280929190818152602001828054801561067557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610657575b5050505050905060005b815181101561076457600082828151811061069657fe5b60200260200101519050600061073e8660090184815481106106b457fe5b9060005260206000200154836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d602081101561073657600080fd5b505190612bc2565b9050801561075a5761075a6001600160a01b0383168683612c1f565b505060010161067f565b50505050565b60006060846007018054806020026020016040519081016040528092919081815260200182805480156107c657602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116107a8575b505050505090508051845114610823576040805162461bcd60e51b815260206004820181905260248201527f416d6f756e7473206d757374206d6174636820706f6f6c656420746f6b656e73604482015290519081900360640190fd5b61082b613f0e565b60405180610100016040528060008152602001600081526020016000815260200161085588612ca4565b81526020018760060160009054906101000a90046001600160a01b03166001600160a01b0316815260200160008152602001876009018054806020026020016040519081016040528092919081815260200182805480156108d557602002820191906000526020600020905b8154815260200190600101908083116108c1575b505050505081526020018760080180548060200260200160405190810160405280929190818152602001828054801561092d57602002820191906000526020600020905b815481526020019060010190808311610919575b5050505050815250905080608001516001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561097457600080fd5b505afa158015610988573d6000803e3d6000fd5b505050506040513d602081101561099e57600080fd5b505160a08201819052156109ce576109cb6109c18260c001518360e00151612caf565b8260600151612da6565b81525b6060825167ffffffffffffffff811180156109e857600080fd5b50604051908082528060200260200182016040528015610a12578160200160208202803683370190505b50905060005b8351811015610c685760a0830151151580610a4657506000878281518110610a3c57fe5b6020026020010151115b610a97576040805162461bcd60e51b815260206004820152601e60248201527f4d75737420737570706c7920616c6c20746f6b656e7320696e20706f6f6c0000604482015290519081900360640190fd5b868181518110610aa357fe5b6020026020010151600014610c0c576000848281518110610ac057fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610b1457600080fd5b505afa158015610b28573d6000803e3d6000fd5b505050506040513d6020811015610b3e57600080fd5b50518851909150610b8e90339030908b9086908110610b5957fe5b6020026020010151888681518110610b6d57fe5b60200260200101516001600160a01b0316612f12909392919063ffffffff16565b610bf281868481518110610b9e57fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561070c57600080fd5b888381518110610bfe57fe5b602002602001018181525050505b610c49878281518110610c1b57fe5b60200260200101518460c001518381518110610c3357fe5b6020026020010151612f9a90919063ffffffff16565b828281518110610c5557fe5b6020908102919091010152600101610a18565b50610c84610c7a828460e00151612caf565b8360600151612da6565b60208301819052825110610cdf576040805162461bcd60e51b815260206004820152601160248201527f442073686f756c6420696e637265617365000000000000000000000000000000604482015290519081900360640190fd5b60208201516040830152825160609067ffffffffffffffff81118015610d0457600080fd5b50604051908082528060200260200182016040528015610d2e578160200160208202803683370190505b5090508260a00151600014610ecc576000610d4e89600401548651612ff4565b905060005b8551811015610ea5576000610d9a8660000151610d948860c001518581518110610d7957fe5b6020026020010151896020015161300f90919063ffffffff16565b90613068565b9050610dd56402540be400610d94610dce888681518110610db757fe5b6020026020010151856130cf90919063ffffffff16565b869061300f565b848381518110610de157fe5b602002602001018181525050610e45610e236402540be400610d948e60050154888781518110610e0d57fe5b602002602001015161300f90919063ffffffff16565b868481518110610e2f57fe5b6020026020010151612bc290919063ffffffff16565b8b6009018381548110610e5457fe5b9060005260206000200181905550610e85848381518110610e7157fe5b6020026020010151868481518110610e2f57fe5b858381518110610e9157fe5b602090810291909101015250600101610d53565b50610ec1610eb7848660e00151612caf565b8560600151612da6565b604085015250610ee3565b8151610ee19060098a01906020850190613f5c565b505b60008360a0015160001415610efd57506020830151610f25565b835160a08501516040860151610f229291610d9491610f1c9084612bc2565b9061300f565b90505b86811015610f7a576040805162461bcd60e51b815260206004820152601b60248201527f436f756c646e2774206d696e74206d696e207265717565737465640000000000604482015290519081900360640190fd5b83608001516001600160a01b03166340c10f1933836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610fd557600080fd5b505af1158015610fe9573d6000803e3d6000fd5b50505050336001600160a01b03167f189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a289848760200151611036868a60a00151612f9a90919063ffffffff16565b604051808060200180602001858152602001848152602001838103835287818151815260200191508051906020019060200280838360005b8381101561108657818101518382015260200161106e565b50505050905001838103825286818151815260200191508051906020019060200280838360005b838110156110c55781810151838201526020016110ad565b50505050905001965050505050505060405180910390a29450505050505b9392505050565b60006110f4613f0e565b60405180610100016040528060008152602001600081526020016000815260200161111e87612ca4565b81526020018660060160009054906101000a90046001600160a01b03166001600160a01b03168152602001600081526020018660090180548060200260200160405190810160405280929190818152602001828054801561119e57602002820191906000526020600020905b81548152602001906001019080831161118a575b50505050508152602001866008018054806020026020016040519081016040528092919081815260200182805480156111f657602002820191906000526020600020905b8154815260200190600101908083116111e2575b5050505050815250905080608001516001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561123d57600080fd5b505afa158015611251573d6000803e3d6000fd5b505050506040513d602081101561126757600080fd5b505160a082015260078501805460408051602083810282018101909252828152606093909290918301828280156112c757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116112a9575b505050505090508051855114611324576040805162461bcd60e51b815260206004820181905260248201527f416d6f756e74732073686f756c64206d6174636820706f6f6c20746f6b656e73604482015290519081900360640190fd5b81608001516001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561137557600080fd5b505afa158015611389573d6000803e3d6000fd5b505050506040513d602081101561139f57600080fd5b505184118015906113af57508315155b611400576040805162461bcd60e51b815260206004820152600d60248201527f3e4c502e62616c616e63654f6600000000000000000000000000000000000000604482015290519081900360640190fd5b600061141187600401548351612ff4565b90506060825167ffffffffffffffff8111801561142d57600080fd5b50604051908082528060200260200182016040528015611457578160200160208202803683370190505b5090506060835167ffffffffffffffff8111801561147457600080fd5b5060405190808252806020026020018201604052801561149e578160200160208202803683370190505b5090506114c06114b68660c001518760e00151612caf565b8660600151612da6565b855260005b8451811015611544576115258982815181106114dd57fe5b602002602001015160405180606001604052806023815260200161405d602391398860c00151848151811061150e57fe5b60200260200101516130e79092919063ffffffff16565b82828151811061153157fe5b60209081029190910101526001016114c5565b506115566114b6828760e00151612caf565b602086015260005b845181101561168357600061159f8760000151610d948960c00151858151811061158457fe5b60200260200101518a6020015161300f90919063ffffffff16565b905060006115c98484815181106115b257fe5b6020026020010151836130cf90919063ffffffff16565b90506115de6402540be400610d94888461300f565b8584815181106115ea57fe5b6020026020010181815250506116226116166402540be400610d948f60050154898881518110610e0d57fe5b858581518110610e2f57fe5b8c600901848154811061163157fe5b906000526020600020018190555061166285848151811061164e57fe5b6020026020010151858581518110610e2f57fe5b84848151811061166e57fe5b6020908102919091010152505060010161155e565b506116956114b6828760e00151612caf565b60408601819052855160a0870151600093506116bb92610d949190610f1c908490612bc2565b90508061170f576040805162461bcd60e51b815260206004820152601b60248201527f4275726e7420616d6f756e742063616e6e6f74206265207a65726f0000000000604482015290519081900360640190fd5b61171a816001612f9a565b905086811115611771576040805162461bcd60e51b815260206004820152601b60248201527f746f6b656e416d6f756e74203e206d61784275726e416d6f756e740000000000604482015290519081900360640190fd5b84608001516001600160a01b03166379cc679033836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156117cc57600080fd5b505af11580156117e0573d6000803e3d6000fd5b5050505060005b845181101561183c57611834338a838151811061180057fe5b602002602001015187848151811061181457fe5b60200260200101516001600160a01b0316612c1f9092919063ffffffff16565b6001016117e7565b50336001600160a01b03167f3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af175589848860200151611036868b60a00151612bc290919063ffffffff16565b6305f5e1008111156118df576040805162461bcd60e51b815260206004820152600f60248201527f46656520697320746f6f20686967680000000000000000000000000000000000604482015290519081900360640190fd5b600482018190556040805182815290517fd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe59181900360200190a15050565b600061197e858585858960090180548060200260200160405190810160405280929190818152602001828054801561197457602002820191906000526020600020905b815481526020019060010190808311611960575b505050505061317e565b5095945050505050565b6402540be4008111156119e2576040805162461bcd60e51b815260206004820152600f60248201527f46656520697320746f6f20686967680000000000000000000000000000000000604482015290519081900360640190fd5b600582018190556040805182815290517fab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f389181900360200190a15050565b6060611afa83600901805480602002602001604051908101604052809291908181526020018280548015611a7357602002820191906000526020600020905b815481526020019060010190808311611a5f575b5050505050838560060160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611ac957600080fd5b505afa158015611add573d6000803e3d6000fd5b505050506040513d6020811015611af357600080fd5b5051613326565b90505b92915050565b600080611b20611b1284613403565b611b1b85612ca4565b612da6565b905060008360060160009054906101000a90046001600160a01b031690506000816001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b7957600080fd5b505afa158015611b8d573d6000803e3d6000fd5b505050506040513d6020811015611ba357600080fd5b505190508015611bcd57611bc381610d9485670de0b6b3a764000061300f565b9350505050611bd5565b600093505050505b919050565b6006840154600785018054604080516020808402820181019092528281526060946001600160a01b03169385939192909190830182828015611c4557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611c27575b50505050509050816001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611c9957600080fd5b505afa158015611cad573d6000803e3d6000fd5b505050506040513d6020811015611cc357600080fd5b5051861115611d19576040805162461bcd60e51b815260206004820152600d60248201527f3e4c502e62616c616e63654f6600000000000000000000000000000000000000604482015290519081900360640190fd5b80518414611d6e576040805162461bcd60e51b815260206004820181905260248201527f6d696e416d6f756e7473206d757374206d6174636820706f6f6c546f6b656e73604482015290519081900360640190fd5b606087600901805480602002602001604051908101604052809291908181526020018280548015611dbe57602002820191906000526020600020905b815481526020019060010190808311611daa575b505050505090506000836001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e0057600080fd5b505afa158015611e14573d6000803e3d6000fd5b505050506040513d6020811015611e2a57600080fd5b505190506060611e3b838a84613326565b905060005b8151811015611f1b57888882818110611e5557fe5b90506020020135828281518110611e6857fe5b60200260200101511015611ec3576040805162461bcd60e51b815260206004820152601a60248201527f616d6f756e74735b695d203c206d696e416d6f756e74735b695d000000000000604482015290519081900360640190fd5b611ee6828281518110611ed257fe5b6020026020010151858381518110610e2f57fe5b8b6009018281548110611ef557fe5b9060005260206000200181905550611f133383838151811061180057fe5b600101611e40565b50604080517f79cc6790000000000000000000000000000000000000000000000000000000008152336004820152602481018b905290516001600160a01b038716916379cc679091604480830192600092919082900301818387803b158015611f8357600080fd5b505af1158015611f97573d6000803e3d6000fd5b503392507f88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef9150839050611fcb858d612bc2565b6040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015612011578181015183820152602001611ff9565b50505050905001935050505060405180910390a29450505050505b949350505050565b6007820154600090821061208f576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e20696e646578206f7574206f662072616e67650000000000000000604482015290519081900360640190fd5b611afa8360090183815481106120a157fe5b90600052602060002001548460070184815481106120bb57fe5b60009182526020918290200154604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516001600160a01b03909216926370a0823192602480840193829003018186803b15801561070c57600080fd5b60008061212f86612ca4565b905060608660090180548060200260200160405190810160405280929190818152602001828054801561218157602002820191906000526020600020905b81548152602001906001019080831161216d575b505050505090506060876008018054806020026020016040519081016040528092919081815260200182805480156121d857602002820191906000526020600020905b8154815260200190600101908083116121c4575b5050505050905060006121f46121ee8484612caf565b85612da6565b905060005b83518110156122a35786156122475761222a89898381811061221757fe5b90506020020135858381518110610c3357fe5b84828151811061223657fe5b60200260200101818152505061229b565b61228289898381811061225657fe5b9050602002013560405180606001604052806023815260200161405d6023913986848151811061150e57fe5b84828151811061228e57fe5b6020026020010181815250505b6001016121f9565b5060006122b96122b38585612caf565b86612da6565b905060008a60060160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561230d57600080fd5b505afa158015612321573d6000803e3d6000fd5b505050506040513d602081101561233757600080fd5b5051905087156123605761235383610d9483610f1c8684612bc2565b965050505050505061202c565b61235383610d9483610f1c8387612bc2565b600080866007018660ff168154811061238757fe5b60009182526020918290200154604080517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015290516001600160a01b03909216935083926370a0823192602480840193829003018186803b1580156123f257600080fd5b505afa158015612406573d6000803e3d6000fd5b505050506040513d602081101561241c57600080fd5b5051841115612472576040805162461bcd60e51b815260206004820152601d60248201527f43616e6e6f742073776170206d6f7265207468616e20796f75206f776e000000604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156124c157600080fd5b505afa1580156124d5573d6000803e3d6000fd5b505050506040513d60208110156124eb57600080fd5b505190506125046001600160a01b038316333088612f12565b61255581836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561070c57600080fd5b945050506000806060886009018054806020026020016040519081016040528092919081815260200182805480156125ac57602002820191906000526020600020905b815481526020019060010190808311612598575b505050505090506125c0898989898561317e565b90935091508483101561261a576040805162461bcd60e51b815260206004820181905260248201527f53776170206469646e277420726573756c7420696e206d696e20746f6b656e73604482015290519081900360640190fd5b600061265c8a6008018960ff168154811061263157fe5b9060005260206000200154610d946402540be400610d948e600501548861300f90919063ffffffff16565b905061267187838b60ff1681518110610c3357fe5b8a6009018a60ff168154811061268357fe5b90600052602060002001819055506126ae816126a886858c60ff1681518110610e2f57fe5b90612bc2565b8a6009018960ff16815481106126c057fe5b906000526020600020018190555061270133858c6007018b60ff16815481106126e557fe5b6000918252602090912001546001600160a01b03169190612c1f565b604080518881526020810186905260ff808c16828401528a166060820152905133917fc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38919081900360800190a25091925050505b95945050505050565b6305f5e10081565b60008061197e8585858860060160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156127bf57600080fd5b505afa1580156127d3573d6000803e3d6000fd5b505050506040513d60208110156127e957600080fd5b50516134b3565b6006840154600785018054604080516020808402820181019092528281526000946001600160a01b031693606093919290919083018282801561285c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161283e575b50505050509050816001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156128b057600080fd5b505afa1580156128c4573d6000803e3d6000fd5b505050506040513d60208110156128da57600080fd5b5051861115612930576040805162461bcd60e51b815260206004820152600d60248201527f3e4c502e62616c616e63654f6600000000000000000000000000000000000000604482015290519081900360640190fd5b80518560ff1610612988576040805162461bcd60e51b815260206004820152600f60248201527f546f6b656e206e6f7420666f756e640000000000000000000000000000000000604482015290519081900360640190fd5b6000826001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156129c357600080fd5b505afa1580156129d7573d6000803e3d6000fd5b505050506040513d60208110156129ed57600080fd5b50519050600080612a008a8a8a866134b3565b9150915086821015612a59576040805162461bcd60e51b815260206004820152600e60248201527f6479203c206d696e416d6f756e74000000000000000000000000000000000000604482015290519081900360640190fd5b612ab1612a86612a7f6402540be400610d948e600501548661300f90919063ffffffff16565b8490612f9a565b8b6009018a60ff1681548110612a9857fe5b9060005260206000200154612bc290919063ffffffff16565b8a6009018960ff1681548110612ac357fe5b6000918252602082200191909155604080517f79cc6790000000000000000000000000000000000000000000000000000000008152336004820152602481018c905290516001600160a01b038816926379cc6790926044808201939182900301818387803b158015612b3457600080fd5b505af1158015612b48573d6000803e3d6000fd5b50505050612b603383868b60ff168151811061181457fe5b604080518a81526020810185905260ff8a168183015260608101849052905133917f43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64919081900360800190a25098975050505050505050565b6402540be40081565b600082821115612c19576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052612c9f908490613515565b505050565b6000611afd826135c6565b81518151606091908114612d0a576040805162461bcd60e51b815260206004820152601f60248201527f42616c616e636573206d757374206d61746368206d756c7469706c6965727300604482015290519081900360640190fd5b60608167ffffffffffffffff81118015612d2357600080fd5b50604051908082528060200260200182016040528015612d4d578160200160208202803683370190505b50905060005b82811015612d9d57612d7e858281518110612d6a57fe5b6020026020010151878381518110610e0d57fe5b828281518110612d8a57fe5b6020908102919091010152600101612d53565b50949350505050565b815160009081805b82811015612de657612ddc868281518110612dc557fe5b602002602001015183612f9a90919063ffffffff16565b9150600101612dae565b5080612df757600092505050611afd565b60008181612e05878661300f565b905060005b610100811015612ec4578260005b87811015612e4757612e3d612e33898d8481518110610e0d57fe5b610d94848861300f565b9150600101612e18565b509293508392612e9b612e7b612e6283610f1c8b6001612f9a565b612e756064610d9489610f1c8a84612bc2565b90612f9a565b610d9486610f1c612e8c868d61300f565b612e756064610d948b8f61300f565b9350612ea7848661365b565b15612ebb5783975050505050505050611afd565b50600101612e0a565b506040805162461bcd60e51b815260206004820152601360248201527f4420646f6573206e6f7420636f6e766572676500000000000000000000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610764908590613515565b600082820183811015611afa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000611afa6130096004610f1c856001612bc2565b610d9485855b60008261301e57506000611afd565b8282028284828161302b57fe5b0414611afa5760405162461bcd60e51b81526004018080602001828103825260218152602001806140126021913960400191505060405180910390fd5b60008082116130be576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816130c757fe5b049392505050565b6000818311156130e25750808203611afd565b500390565b600081848411156131765760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561313b578181015183820152602001613123565b50505050905090810190601f1680156131685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806060876008018054806020026020016040519081016040528092919081815260200182805480156131d157602002820191906000526020600020905b8154815260200190600101908083116131bd575b5050505050905060606131e48583612caf565b905080518860ff161080156131fc575080518760ff16105b61324d576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e20696e646578206f7574206f662072616e67650000000000000000604482015290519081900360640190fd5b6000613292828a60ff168151811061326157fe5b6020026020010151612e75858c60ff168151811061327b57fe5b60200260200101518a61300f90919063ffffffff16565b905060006132ab6132a28c612ca4565b8b8b8587613672565b90506132c560016126a883868d60ff1681518110610e2f57fe5b95506132e76402540be400610d948d600401548961300f90919063ffffffff16565b9450613316848a60ff16815181106132fb57fe5b6020026020010151610d948789612bc290919063ffffffff16565b9550505050509550959350505050565b60608183111561337d576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742065786365656420746f74616c20737570706c79000000000000604482015290519081900360640190fd5b6060845167ffffffffffffffff8111801561339757600080fd5b506040519080825280602002602001820160405280156133c1578160200160208202803683370190505b50905060005b8551811015612d9d576133e484610d9487898581518110610e0d57fe5b8282815181106133f057fe5b60209081029190910101526001016133c7565b6060611afd8260090180548060200260200160405190810160405280929190818152602001828054801561345657602002820191906000526020600020905b815481526020019060010190808311613442575b5050505050836008018054806020026020016040519081016040528092919081815260200182805480156134a957602002820191906000526020600020905b815481526020019060010190808311613495575b5050505050612caf565b60008060008060006134c789888a896138b8565b8093508194508295505050506000613504846126a88c6008018b60ff16815481106134ee57fe5b600091825260209091200154610d948688612bc2565b939a93995092975050505050505050565b606061356a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613bb39092919063ffffffff16565b805190915015612c9f5780806020019051602081101561358957600080fd5b5051612c9f5760405162461bcd60e51b815260040180806020018281038252602a815260200180614033602a913960400191505060405180910390fd5b600381015460018201546000919042821115613652576002840154845480831115613624576136196136126135fb8685612bc2565b610d946136084287612bc2565b610f1c8887612bc2565b8290612f9a565b945050505050611bd5565b61361961364b6136348685612bc2565b610d946136414287612bc2565b610f1c8689612bc2565b8290612bc2565b9150611bd59050565b6000600161366984846130cf565b11159392505050565b805160009060ff86811690861614156136d2576040805162461bcd60e51b815260206004820152601d60248201527f43616e277420636f6d7061726520746f6b656e20746f20697473656c66000000604482015290519081900360640190fd5b808660ff161080156136e65750808560ff16105b613737576040805162461bcd60e51b815260206004820152601660248201527f546f6b656e73206d75737420626520696e20706f6f6c00000000000000000000604482015290519081900360640190fd5b60006137438489612da6565b905080600080613753858c61300f565b90506000805b868110156137cc578b60ff168114156137745789915061379e565b8a60ff1681146137995788818151811061378a57fe5b6020026020010151915061379e565b6137c4565b6137a88483612f9a565b93506137c16137b7838961300f565b610d94878961300f565b94505b600101613759565b506137e96137da838861300f565b610d946064610f1c888a61300f565b935060006138066137ff84610d9489606461300f565b8590612f9a565b9050600086815b61010081101561386a5790915081906138406138328a6126a887612e7587600261300f565b610d948a612e75868061300f565b915061384c828461365b565b1561386257509850612755975050505050505050565b60010161380d565b506040805162461bcd60e51b815260206004820152601e60248201527f417070726f78696d6174696f6e20646964206e6f7420636f6e76657267650000604482015290519081900360640190fd5b600080600060606138c888613403565b905080518760ff1610613922576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e20696e646578206f7574206f662072616e67650000000000000000604482015290519081900360640190fd5b61392a613fa7565b6040518060a00160405280600081526020016000815260200160008152602001600081526020016000815250905061396189612ca4565b60808201819052613973908390612da6565b8082526139939061398b908890610d94908b9061300f565b825190612bc2565b60208201528151829060ff8a169081106139a957fe5b6020026020010151871115613a05576040805162461bcd60e51b815260206004820152601a60248201527f5769746864726177206578636565647320617661696c61626c65000000000000604482015290519081900360640190fd5b613a19816080015189848460200151613bc2565b6040820152815160609067ffffffffffffffff81118015613a3957600080fd5b50604051908082528060200260200182016040528015613a63578160200160208202803683370190505b509050613a758a600401548451612ff4565b606083015260005b8351811015613b29576000848281518110613a9457fe5b60200260200101519050613b0961364b6402540be400610d9487606001518f60ff168714613ae257885160208a0151613add91613ad691610d94908a9061300f565b8790612bc2565b610f1c565b610f1c89604001516126a88b60000151610d948d602001518b61300f90919063ffffffff16565b838381518110613b1557fe5b602090810291909101015250600101613a7d565b506000613b52613b4384608001518c858760200151613bc2565b838c60ff1681518110610e2f57fe5b9050613b808b6008018b60ff1681548110613b6957fe5b600091825260209091200154610d94836001612bc2565b9050808360400151858c60ff1681518110613b9757fe5b6020026020010151965096509650505050509450945094915050565b606061202c8484600085613d28565b815160009060ff85168111613c1e576040805162461bcd60e51b815260206004820152600f60248201527f546f6b656e206e6f7420666f756e640000000000000000000000000000000000604482015290519081900360640190fd5b82600080613c2c898561300f565b905060005b84811015613c93578860ff168114613c8b57613c69888281518110613c5257fe5b602002602001015184612f9a90919063ffffffff16565b9250613c88613c7e868a8481518110610e0d57fe5b610d94868a61300f565b93505b600101613c31565b50613cb0613ca1828661300f565b610d946064610f1c878b61300f565b92506000613cc6612a7f83610d948a606461300f565b9050600087815b61010081101561386a579091508190613d00613cf28b6126a887612e7587600261300f565b610d9489612e75868061300f565b9150613d0c828461365b565b15613d205750965061202c95505050505050565b600101613ccd565b606082471015613d695760405162461bcd60e51b8152600401808060200182810382526026815260200180613fec6026913960400191505060405180910390fd5b613d7285613ea2565b613dc3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310613e2057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613de3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e82576040519150601f19603f3d011682016040523d82523d6000602084013e613e87565b606091505b5091509150613e97828286613ea8565b979650505050505050565b3b151590565b60608315613eb75750816110e3565b825115613ec75782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561313b578181015183820152602001613123565b6040518061010001604052806000815260200160008152602001600081526020016000815260200160006001600160a01b031681526020016000815260200160608152602001606081525090565b828054828255906000526020600020908101928215613f97579160200282015b82811115613f97578251825591602001919060010190613f7c565b50613fa3929150613fd6565b5090565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b5b80821115613fa35760008155600101613fd756fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f74207769746864726177206d6f7265207468616e20617661696c61626c65a2646970667358221220be351b008ac7c57dd94b1b14ca8208af4731752836c64efe950fa2f5d030372864736f6c634300060c0033", }
SwapUtilsMetaData contains all meta data concerning the SwapUtils contract.
var TokenSwapTopic common.Hash
TokenSwapTopic is the topic used for token swap.
Functions ¶
func EventTypeFromTopic ¶
EventTypeFromTopic gets the event type from the topic returns nil if the topic is not found.
Types ¶
type Address ¶
type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events }
Address is an auto generated Go binding around an Ethereum contract.
func DeployAddress ¶
func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error)
DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.
func NewAddress ¶
NewAddress creates a new instance of Address, bound to a specific deployed contract.
type AddressCaller ¶
type AddressCaller struct {
// contains filtered or unexported fields
}
AddressCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAddressCaller ¶
func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)
NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.
type AddressCallerRaw ¶
type AddressCallerRaw struct {
Contract *AddressCaller // Generic read-only contract binding to access the raw methods on
}
AddressCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AddressCallerRaw) Call ¶
func (_Address *AddressCallerRaw) 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 AddressCallerSession ¶
type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AddressCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AddressFilterer ¶
type AddressFilterer struct {
// contains filtered or unexported fields
}
AddressFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAddressFilterer ¶
func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)
NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.
type AddressRaw ¶
type AddressRaw struct {
Contract *Address // Generic contract binding to access the raw methods on
}
AddressRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AddressRaw) Call ¶
func (_Address *AddressRaw) 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 (*AddressRaw) Transact ¶
func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressRaw) Transfer ¶
func (_Address *AddressRaw) 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 AddressSession ¶
type AddressSession struct { Contract *Address // 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 }
AddressSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AddressTransactor ¶
type AddressTransactor struct {
// contains filtered or unexported fields
}
AddressTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAddressTransactor ¶
func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)
NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.
type AddressTransactorRaw ¶
type AddressTransactorRaw struct {
Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on
}
AddressTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AddressTransactorRaw) Transact ¶
func (_Address *AddressTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressTransactorRaw) Transfer ¶
func (_Address *AddressTransactorRaw) 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 AddressTransactorSession ¶
type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type AddressUpgradeable ¶
type AddressUpgradeable struct { AddressUpgradeableCaller // Read-only binding to the contract AddressUpgradeableTransactor // Write-only binding to the contract AddressUpgradeableFilterer // Log filterer for contract events }
AddressUpgradeable is an auto generated Go binding around an Ethereum contract.
func DeployAddressUpgradeable ¶
func DeployAddressUpgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressUpgradeable, error)
DeployAddressUpgradeable deploys a new Ethereum contract, binding an instance of AddressUpgradeable to it.
func NewAddressUpgradeable ¶
func NewAddressUpgradeable(address common.Address, backend bind.ContractBackend) (*AddressUpgradeable, error)
NewAddressUpgradeable creates a new instance of AddressUpgradeable, bound to a specific deployed contract.
type AddressUpgradeableCaller ¶
type AddressUpgradeableCaller struct {
// contains filtered or unexported fields
}
AddressUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAddressUpgradeableCaller ¶
func NewAddressUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*AddressUpgradeableCaller, error)
NewAddressUpgradeableCaller creates a new read-only instance of AddressUpgradeable, bound to a specific deployed contract.
type AddressUpgradeableCallerRaw ¶
type AddressUpgradeableCallerRaw struct {
Contract *AddressUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
AddressUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AddressUpgradeableCallerRaw) Call ¶
func (_AddressUpgradeable *AddressUpgradeableCallerRaw) 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 AddressUpgradeableCallerSession ¶
type AddressUpgradeableCallerSession struct { Contract *AddressUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AddressUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AddressUpgradeableFilterer ¶
type AddressUpgradeableFilterer struct {
// contains filtered or unexported fields
}
AddressUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAddressUpgradeableFilterer ¶
func NewAddressUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressUpgradeableFilterer, error)
NewAddressUpgradeableFilterer creates a new log filterer instance of AddressUpgradeable, bound to a specific deployed contract.
type AddressUpgradeableRaw ¶
type AddressUpgradeableRaw struct {
Contract *AddressUpgradeable // Generic contract binding to access the raw methods on
}
AddressUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AddressUpgradeableRaw) Call ¶
func (_AddressUpgradeable *AddressUpgradeableRaw) 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 (*AddressUpgradeableRaw) Transact ¶
func (_AddressUpgradeable *AddressUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressUpgradeableRaw) Transfer ¶
func (_AddressUpgradeable *AddressUpgradeableRaw) 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 AddressUpgradeableSession ¶
type AddressUpgradeableSession struct { Contract *AddressUpgradeable // 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 }
AddressUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AddressUpgradeableTransactor ¶
type AddressUpgradeableTransactor struct {
// contains filtered or unexported fields
}
AddressUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAddressUpgradeableTransactor ¶
func NewAddressUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressUpgradeableTransactor, error)
NewAddressUpgradeableTransactor creates a new write-only instance of AddressUpgradeable, bound to a specific deployed contract.
type AddressUpgradeableTransactorRaw ¶
type AddressUpgradeableTransactorRaw struct {
Contract *AddressUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
AddressUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AddressUpgradeableTransactorRaw) Transact ¶
func (_AddressUpgradeable *AddressUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressUpgradeableTransactorRaw) Transfer ¶
func (_AddressUpgradeable *AddressUpgradeableTransactorRaw) 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 AddressUpgradeableTransactorSession ¶
type AddressUpgradeableTransactorSession struct { Contract *AddressUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type AmplificationUtils ¶
type AmplificationUtils struct { AmplificationUtilsCaller // Read-only binding to the contract AmplificationUtilsTransactor // Write-only binding to the contract AmplificationUtilsFilterer // Log filterer for contract events }
AmplificationUtils is an auto generated Go binding around an Ethereum contract.
func DeployAmplificationUtils ¶
func DeployAmplificationUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AmplificationUtils, error)
DeployAmplificationUtils deploys a new Ethereum contract, binding an instance of AmplificationUtils to it.
func NewAmplificationUtils ¶
func NewAmplificationUtils(address common.Address, backend bind.ContractBackend) (*AmplificationUtils, error)
NewAmplificationUtils creates a new instance of AmplificationUtils, bound to a specific deployed contract.
type AmplificationUtilsCaller ¶
type AmplificationUtilsCaller struct {
// contains filtered or unexported fields
}
AmplificationUtilsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAmplificationUtilsCaller ¶
func NewAmplificationUtilsCaller(address common.Address, caller bind.ContractCaller) (*AmplificationUtilsCaller, error)
NewAmplificationUtilsCaller creates a new read-only instance of AmplificationUtils, bound to a specific deployed contract.
func (*AmplificationUtilsCaller) APRECISION ¶
func (_AmplificationUtils *AmplificationUtilsCaller) APRECISION(opts *bind.CallOpts) (*big.Int, error)
APRECISION is a free data retrieval call binding the contract method 0xd011f918.
Solidity: function A_PRECISION() view returns(uint256)
type AmplificationUtilsCallerRaw ¶
type AmplificationUtilsCallerRaw struct {
Contract *AmplificationUtilsCaller // Generic read-only contract binding to access the raw methods on
}
AmplificationUtilsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AmplificationUtilsCallerRaw) Call ¶
func (_AmplificationUtils *AmplificationUtilsCallerRaw) 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 AmplificationUtilsCallerSession ¶
type AmplificationUtilsCallerSession struct { Contract *AmplificationUtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AmplificationUtilsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AmplificationUtilsCallerSession) APRECISION ¶
func (_AmplificationUtils *AmplificationUtilsCallerSession) APRECISION() (*big.Int, error)
APRECISION is a free data retrieval call binding the contract method 0xd011f918.
Solidity: function A_PRECISION() view returns(uint256)
type AmplificationUtilsFilterer ¶
type AmplificationUtilsFilterer struct {
// contains filtered or unexported fields
}
AmplificationUtilsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAmplificationUtilsFilterer ¶
func NewAmplificationUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*AmplificationUtilsFilterer, error)
NewAmplificationUtilsFilterer creates a new log filterer instance of AmplificationUtils, bound to a specific deployed contract.
func (*AmplificationUtilsFilterer) FilterRampA ¶
func (_AmplificationUtils *AmplificationUtilsFilterer) FilterRampA(opts *bind.FilterOpts) (*AmplificationUtilsRampAIterator, error)
FilterRampA is a free log retrieval operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*AmplificationUtilsFilterer) FilterStopRampA ¶
func (_AmplificationUtils *AmplificationUtilsFilterer) FilterStopRampA(opts *bind.FilterOpts) (*AmplificationUtilsStopRampAIterator, error)
FilterStopRampA is a free log retrieval operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
func (*AmplificationUtilsFilterer) ParseRampA ¶
func (_AmplificationUtils *AmplificationUtilsFilterer) ParseRampA(log types.Log) (*AmplificationUtilsRampA, error)
ParseRampA is a log parse operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*AmplificationUtilsFilterer) ParseStopRampA ¶
func (_AmplificationUtils *AmplificationUtilsFilterer) ParseStopRampA(log types.Log) (*AmplificationUtilsStopRampA, error)
ParseStopRampA is a log parse operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
func (*AmplificationUtilsFilterer) WatchRampA ¶
func (_AmplificationUtils *AmplificationUtilsFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *AmplificationUtilsRampA) (event.Subscription, error)
WatchRampA is a free log subscription operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*AmplificationUtilsFilterer) WatchStopRampA ¶
func (_AmplificationUtils *AmplificationUtilsFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *AmplificationUtilsStopRampA) (event.Subscription, error)
WatchStopRampA is a free log subscription operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
type AmplificationUtilsRampA ¶
type AmplificationUtilsRampA struct { OldA *big.Int NewA *big.Int InitialTime *big.Int FutureTime *big.Int Raw types.Log // Blockchain specific contextual infos }
AmplificationUtilsRampA represents a RampA event raised by the AmplificationUtils contract.
type AmplificationUtilsRampAIterator ¶
type AmplificationUtilsRampAIterator struct { Event *AmplificationUtilsRampA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AmplificationUtilsRampAIterator is returned from FilterRampA and is used to iterate over the raw logs and unpacked data for RampA events raised by the AmplificationUtils contract.
func (*AmplificationUtilsRampAIterator) Close ¶
func (it *AmplificationUtilsRampAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AmplificationUtilsRampAIterator) Error ¶
func (it *AmplificationUtilsRampAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AmplificationUtilsRampAIterator) Next ¶
func (it *AmplificationUtilsRampAIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AmplificationUtilsRaw ¶
type AmplificationUtilsRaw struct {
Contract *AmplificationUtils // Generic contract binding to access the raw methods on
}
AmplificationUtilsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AmplificationUtilsRaw) Call ¶
func (_AmplificationUtils *AmplificationUtilsRaw) 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 (*AmplificationUtilsRaw) Transact ¶
func (_AmplificationUtils *AmplificationUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AmplificationUtilsRaw) Transfer ¶
func (_AmplificationUtils *AmplificationUtilsRaw) 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 AmplificationUtilsSession ¶
type AmplificationUtilsSession struct { Contract *AmplificationUtils // 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 }
AmplificationUtilsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AmplificationUtilsSession) APRECISION ¶
func (_AmplificationUtils *AmplificationUtilsSession) APRECISION() (*big.Int, error)
APRECISION is a free data retrieval call binding the contract method 0xd011f918.
Solidity: function A_PRECISION() view returns(uint256)
type AmplificationUtilsStopRampA ¶
type AmplificationUtilsStopRampA struct { CurrentA *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
AmplificationUtilsStopRampA represents a StopRampA event raised by the AmplificationUtils contract.
type AmplificationUtilsStopRampAIterator ¶
type AmplificationUtilsStopRampAIterator struct { Event *AmplificationUtilsStopRampA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AmplificationUtilsStopRampAIterator is returned from FilterStopRampA and is used to iterate over the raw logs and unpacked data for StopRampA events raised by the AmplificationUtils contract.
func (*AmplificationUtilsStopRampAIterator) Close ¶
func (it *AmplificationUtilsStopRampAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AmplificationUtilsStopRampAIterator) Error ¶
func (it *AmplificationUtilsStopRampAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AmplificationUtilsStopRampAIterator) Next ¶
func (it *AmplificationUtilsStopRampAIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AmplificationUtilsTransactor ¶
type AmplificationUtilsTransactor struct {
// contains filtered or unexported fields
}
AmplificationUtilsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAmplificationUtilsTransactor ¶
func NewAmplificationUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*AmplificationUtilsTransactor, error)
NewAmplificationUtilsTransactor creates a new write-only instance of AmplificationUtils, bound to a specific deployed contract.
type AmplificationUtilsTransactorRaw ¶
type AmplificationUtilsTransactorRaw struct {
Contract *AmplificationUtilsTransactor // Generic write-only contract binding to access the raw methods on
}
AmplificationUtilsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AmplificationUtilsTransactorRaw) Transact ¶
func (_AmplificationUtils *AmplificationUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AmplificationUtilsTransactorRaw) Transfer ¶
func (_AmplificationUtils *AmplificationUtilsTransactorRaw) 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 AmplificationUtilsTransactorSession ¶
type AmplificationUtilsTransactorSession struct { Contract *AmplificationUtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AmplificationUtilsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Clones ¶
type Clones struct { ClonesCaller // Read-only binding to the contract ClonesTransactor // Write-only binding to the contract ClonesFilterer // Log filterer for contract events }
Clones is an auto generated Go binding around an Ethereum contract.
func DeployClones ¶
func DeployClones(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Clones, error)
DeployClones deploys a new Ethereum contract, binding an instance of Clones to it.
type ClonesCaller ¶
type ClonesCaller struct {
// contains filtered or unexported fields
}
ClonesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewClonesCaller ¶
func NewClonesCaller(address common.Address, caller bind.ContractCaller) (*ClonesCaller, error)
NewClonesCaller creates a new read-only instance of Clones, bound to a specific deployed contract.
type ClonesCallerRaw ¶
type ClonesCallerRaw struct {
Contract *ClonesCaller // Generic read-only contract binding to access the raw methods on
}
ClonesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ClonesCallerRaw) Call ¶
func (_Clones *ClonesCallerRaw) 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 ClonesCallerSession ¶
type ClonesCallerSession struct { Contract *ClonesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ClonesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ClonesFilterer ¶
type ClonesFilterer struct {
// contains filtered or unexported fields
}
ClonesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewClonesFilterer ¶
func NewClonesFilterer(address common.Address, filterer bind.ContractFilterer) (*ClonesFilterer, error)
NewClonesFilterer creates a new log filterer instance of Clones, bound to a specific deployed contract.
type ClonesRaw ¶
type ClonesRaw struct {
Contract *Clones // Generic contract binding to access the raw methods on
}
ClonesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ClonesRaw) Call ¶
func (_Clones *ClonesRaw) 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 (*ClonesRaw) Transact ¶
func (_Clones *ClonesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ClonesRaw) Transfer ¶
func (_Clones *ClonesRaw) 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 ClonesSession ¶
type ClonesSession struct { Contract *Clones // 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 }
ClonesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ClonesTransactor ¶
type ClonesTransactor struct {
// contains filtered or unexported fields
}
ClonesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewClonesTransactor ¶
func NewClonesTransactor(address common.Address, transactor bind.ContractTransactor) (*ClonesTransactor, error)
NewClonesTransactor creates a new write-only instance of Clones, bound to a specific deployed contract.
type ClonesTransactorRaw ¶
type ClonesTransactorRaw struct {
Contract *ClonesTransactor // Generic write-only contract binding to access the raw methods on
}
ClonesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ClonesTransactorRaw) Transact ¶
func (_Clones *ClonesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ClonesTransactorRaw) Transfer ¶
func (_Clones *ClonesTransactorRaw) 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 ClonesTransactorSession ¶
type ClonesTransactorSession struct { Contract *ClonesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ClonesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Context ¶
type Context struct { ContextCaller // Read-only binding to the contract ContextTransactor // Write-only binding to the contract ContextFilterer // Log filterer for contract events }
Context is an auto generated Go binding around an Ethereum contract.
func NewContext ¶
NewContext creates a new instance of Context, bound to a specific deployed contract.
type ContextCaller ¶
type ContextCaller struct {
// contains filtered or unexported fields
}
ContextCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContextCaller ¶
func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)
NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.
type ContextCallerRaw ¶
type ContextCallerRaw struct {
Contract *ContextCaller // Generic read-only contract binding to access the raw methods on
}
ContextCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContextCallerRaw) Call ¶
func (_Context *ContextCallerRaw) 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 ContextCallerSession ¶
type ContextCallerSession struct { Contract *ContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContextCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContextFilterer ¶
type ContextFilterer struct {
// contains filtered or unexported fields
}
ContextFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContextFilterer ¶
func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)
NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.
type ContextRaw ¶
type ContextRaw struct {
Contract *Context // Generic contract binding to access the raw methods on
}
ContextRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContextRaw) Call ¶
func (_Context *ContextRaw) 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 (*ContextRaw) Transact ¶
func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextRaw) Transfer ¶
func (_Context *ContextRaw) 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 ContextSession ¶
type ContextSession struct { Contract *Context // 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 }
ContextSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ContextTransactor ¶
type ContextTransactor struct {
// contains filtered or unexported fields
}
ContextTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContextTransactor ¶
func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)
NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.
type ContextTransactorRaw ¶
type ContextTransactorRaw struct {
Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on
}
ContextTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContextTransactorRaw) Transact ¶
func (_Context *ContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextTransactorRaw) Transfer ¶
func (_Context *ContextTransactorRaw) 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 ContextTransactorSession ¶
type ContextTransactorSession struct { Contract *ContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ContextUpgradeable ¶
type ContextUpgradeable struct { ContextUpgradeableCaller // Read-only binding to the contract ContextUpgradeableTransactor // Write-only binding to the contract ContextUpgradeableFilterer // Log filterer for contract events }
ContextUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewContextUpgradeable ¶
func NewContextUpgradeable(address common.Address, backend bind.ContractBackend) (*ContextUpgradeable, error)
NewContextUpgradeable creates a new instance of ContextUpgradeable, bound to a specific deployed contract.
type ContextUpgradeableCaller ¶
type ContextUpgradeableCaller struct {
// contains filtered or unexported fields
}
ContextUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContextUpgradeableCaller ¶
func NewContextUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ContextUpgradeableCaller, error)
NewContextUpgradeableCaller creates a new read-only instance of ContextUpgradeable, bound to a specific deployed contract.
type ContextUpgradeableCallerRaw ¶
type ContextUpgradeableCallerRaw struct {
Contract *ContextUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
ContextUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContextUpgradeableCallerRaw) Call ¶
func (_ContextUpgradeable *ContextUpgradeableCallerRaw) 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 ContextUpgradeableCallerSession ¶
type ContextUpgradeableCallerSession struct { Contract *ContextUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContextUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContextUpgradeableFilterer ¶
type ContextUpgradeableFilterer struct {
// contains filtered or unexported fields
}
ContextUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContextUpgradeableFilterer ¶
func NewContextUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextUpgradeableFilterer, error)
NewContextUpgradeableFilterer creates a new log filterer instance of ContextUpgradeable, bound to a specific deployed contract.
type ContextUpgradeableRaw ¶
type ContextUpgradeableRaw struct {
Contract *ContextUpgradeable // Generic contract binding to access the raw methods on
}
ContextUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContextUpgradeableRaw) Call ¶
func (_ContextUpgradeable *ContextUpgradeableRaw) 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 (*ContextUpgradeableRaw) Transact ¶
func (_ContextUpgradeable *ContextUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextUpgradeableRaw) Transfer ¶
func (_ContextUpgradeable *ContextUpgradeableRaw) 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 ContextUpgradeableSession ¶
type ContextUpgradeableSession struct { Contract *ContextUpgradeable // 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 }
ContextUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ContextUpgradeableTransactor ¶
type ContextUpgradeableTransactor struct {
// contains filtered or unexported fields
}
ContextUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContextUpgradeableTransactor ¶
func NewContextUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextUpgradeableTransactor, error)
NewContextUpgradeableTransactor creates a new write-only instance of ContextUpgradeable, bound to a specific deployed contract.
type ContextUpgradeableTransactorRaw ¶
type ContextUpgradeableTransactorRaw struct {
Contract *ContextUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
ContextUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContextUpgradeableTransactorRaw) Transact ¶
func (_ContextUpgradeable *ContextUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextUpgradeableTransactorRaw) Transfer ¶
func (_ContextUpgradeable *ContextUpgradeableTransactorRaw) 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 ContextUpgradeableTransactorSession ¶
type ContextUpgradeableTransactorSession struct { Contract *ContextUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ERC20 ¶
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Ethereum contract.
func DeployERC20 ¶
func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend, name_ string, symbol_ string) (common.Address, *types.Transaction, *ERC20, error)
DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.
type ERC20Approval ¶
type ERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20BurnableUpgradeable ¶
type ERC20BurnableUpgradeable struct { ERC20BurnableUpgradeableCaller // Read-only binding to the contract ERC20BurnableUpgradeableTransactor // Write-only binding to the contract ERC20BurnableUpgradeableFilterer // Log filterer for contract events }
ERC20BurnableUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewERC20BurnableUpgradeable ¶
func NewERC20BurnableUpgradeable(address common.Address, backend bind.ContractBackend) (*ERC20BurnableUpgradeable, error)
NewERC20BurnableUpgradeable creates a new instance of ERC20BurnableUpgradeable, bound to a specific deployed contract.
type ERC20BurnableUpgradeableApproval ¶
type ERC20BurnableUpgradeableApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20BurnableUpgradeableApproval represents a Approval event raised by the ERC20BurnableUpgradeable contract.
type ERC20BurnableUpgradeableApprovalIterator ¶
type ERC20BurnableUpgradeableApprovalIterator struct { Event *ERC20BurnableUpgradeableApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20BurnableUpgradeableApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20BurnableUpgradeable contract.
func (*ERC20BurnableUpgradeableApprovalIterator) Close ¶
func (it *ERC20BurnableUpgradeableApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20BurnableUpgradeableApprovalIterator) Error ¶
func (it *ERC20BurnableUpgradeableApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20BurnableUpgradeableApprovalIterator) Next ¶
func (it *ERC20BurnableUpgradeableApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20BurnableUpgradeableCaller ¶
type ERC20BurnableUpgradeableCaller struct {
// contains filtered or unexported fields
}
ERC20BurnableUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20BurnableUpgradeableCaller ¶
func NewERC20BurnableUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ERC20BurnableUpgradeableCaller, error)
NewERC20BurnableUpgradeableCaller creates a new read-only instance of ERC20BurnableUpgradeable, bound to a specific deployed contract.
func (*ERC20BurnableUpgradeableCaller) Allowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20BurnableUpgradeableCaller) BalanceOf ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20BurnableUpgradeableCaller) Decimals ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20BurnableUpgradeableCaller) Name ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20BurnableUpgradeableCaller) Symbol ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20BurnableUpgradeableCaller) TotalSupply ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20BurnableUpgradeableCallerRaw ¶
type ERC20BurnableUpgradeableCallerRaw struct {
Contract *ERC20BurnableUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
ERC20BurnableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20BurnableUpgradeableCallerRaw) Call ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerRaw) 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 ERC20BurnableUpgradeableCallerSession ¶
type ERC20BurnableUpgradeableCallerSession struct { Contract *ERC20BurnableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20BurnableUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20BurnableUpgradeableCallerSession) Allowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20BurnableUpgradeableCallerSession) BalanceOf ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20BurnableUpgradeableCallerSession) Decimals ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20BurnableUpgradeableCallerSession) Name ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20BurnableUpgradeableCallerSession) Symbol ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20BurnableUpgradeableCallerSession) TotalSupply ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20BurnableUpgradeableFilterer ¶
type ERC20BurnableUpgradeableFilterer struct {
// contains filtered or unexported fields
}
ERC20BurnableUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20BurnableUpgradeableFilterer ¶
func NewERC20BurnableUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BurnableUpgradeableFilterer, error)
NewERC20BurnableUpgradeableFilterer creates a new log filterer instance of ERC20BurnableUpgradeable, bound to a specific deployed contract.
func (*ERC20BurnableUpgradeableFilterer) FilterApproval ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20BurnableUpgradeableApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20BurnableUpgradeableFilterer) FilterTransfer ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BurnableUpgradeableTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20BurnableUpgradeableFilterer) ParseApproval ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) ParseApproval(log types.Log) (*ERC20BurnableUpgradeableApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20BurnableUpgradeableFilterer) ParseTransfer ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) ParseTransfer(log types.Log) (*ERC20BurnableUpgradeableTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20BurnableUpgradeableFilterer) WatchApproval ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20BurnableUpgradeableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20BurnableUpgradeableFilterer) WatchTransfer ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BurnableUpgradeableTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ERC20BurnableUpgradeableRaw ¶
type ERC20BurnableUpgradeableRaw struct {
Contract *ERC20BurnableUpgradeable // Generic contract binding to access the raw methods on
}
ERC20BurnableUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20BurnableUpgradeableRaw) Call ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableRaw) 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 (*ERC20BurnableUpgradeableRaw) Transact ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BurnableUpgradeableRaw) Transfer ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableRaw) 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 ERC20BurnableUpgradeableSession ¶
type ERC20BurnableUpgradeableSession struct { Contract *ERC20BurnableUpgradeable // 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 }
ERC20BurnableUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20BurnableUpgradeableSession) Allowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20BurnableUpgradeableSession) Approve ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20BurnableUpgradeableSession) BalanceOf ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20BurnableUpgradeableSession) Burn ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20BurnableUpgradeableSession) BurnFrom ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20BurnableUpgradeableSession) Decimals ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20BurnableUpgradeableSession) DecreaseAllowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20BurnableUpgradeableSession) IncreaseAllowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20BurnableUpgradeableSession) Name ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20BurnableUpgradeableSession) Symbol ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20BurnableUpgradeableSession) TotalSupply ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20BurnableUpgradeableSession) Transfer ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20BurnableUpgradeableSession) TransferFrom ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20BurnableUpgradeableTransactor ¶
type ERC20BurnableUpgradeableTransactor struct {
// contains filtered or unexported fields
}
ERC20BurnableUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20BurnableUpgradeableTransactor ¶
func NewERC20BurnableUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BurnableUpgradeableTransactor, error)
NewERC20BurnableUpgradeableTransactor creates a new write-only instance of ERC20BurnableUpgradeable, bound to a specific deployed contract.
func (*ERC20BurnableUpgradeableTransactor) Approve ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20BurnableUpgradeableTransactor) Burn ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20BurnableUpgradeableTransactor) BurnFrom ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20BurnableUpgradeableTransactor) DecreaseAllowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20BurnableUpgradeableTransactor) IncreaseAllowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20BurnableUpgradeableTransactor) Transfer ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20BurnableUpgradeableTransactor) TransferFrom ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20BurnableUpgradeableTransactorRaw ¶
type ERC20BurnableUpgradeableTransactorRaw struct {
Contract *ERC20BurnableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20BurnableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20BurnableUpgradeableTransactorRaw) Transact ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BurnableUpgradeableTransactorRaw) Transfer ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorRaw) 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 ERC20BurnableUpgradeableTransactorSession ¶
type ERC20BurnableUpgradeableTransactorSession struct { Contract *ERC20BurnableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20BurnableUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20BurnableUpgradeableTransactorSession) Approve ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20BurnableUpgradeableTransactorSession) Burn ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20BurnableUpgradeableTransactorSession) BurnFrom ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20BurnableUpgradeableTransactorSession) DecreaseAllowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20BurnableUpgradeableTransactorSession) IncreaseAllowance ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20BurnableUpgradeableTransactorSession) Transfer ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20BurnableUpgradeableTransactorSession) TransferFrom ¶
func (_ERC20BurnableUpgradeable *ERC20BurnableUpgradeableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20BurnableUpgradeableTransfer ¶
type ERC20BurnableUpgradeableTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20BurnableUpgradeableTransfer represents a Transfer event raised by the ERC20BurnableUpgradeable contract.
type ERC20BurnableUpgradeableTransferIterator ¶
type ERC20BurnableUpgradeableTransferIterator struct { Event *ERC20BurnableUpgradeableTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20BurnableUpgradeableTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20BurnableUpgradeable contract.
func (*ERC20BurnableUpgradeableTransferIterator) Close ¶
func (it *ERC20BurnableUpgradeableTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20BurnableUpgradeableTransferIterator) Error ¶
func (it *ERC20BurnableUpgradeableTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20BurnableUpgradeableTransferIterator) Next ¶
func (it *ERC20BurnableUpgradeableTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20Caller) Decimals ¶
func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20Caller) Name ¶
func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20Caller) Symbol ¶
func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20CallerRaw ¶
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20CallerRaw) Call ¶
func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession ¶
type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20CallerSession) Decimals ¶
func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20CallerSession) Name ¶
func (_ERC20 *ERC20CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20CallerSession) Symbol ¶
func (_ERC20 *ERC20CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20CallerSession) TotalSupply ¶
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) ParseApproval ¶
func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) ParseTransfer ¶
func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) 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 ERC20Session ¶
type ERC20Session struct { Contract *ERC20 // 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 }
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20Session) Decimals ¶
func (_ERC20 *ERC20Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20Session) DecreaseAllowance ¶
func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20Session) IncreaseAllowance ¶
func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20Session) Name ¶
func (_ERC20 *ERC20Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20Session) Symbol ¶
func (_ERC20 *ERC20Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20Session) TotalSupply ¶
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20Transactor) DecreaseAllowance ¶
func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20Transactor) IncreaseAllowance ¶
func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession ¶
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20TransactorSession) DecreaseAllowance ¶
func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20TransactorSession) IncreaseAllowance ¶
func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20Transfer ¶
type ERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20Upgradeable ¶
type ERC20Upgradeable struct { ERC20UpgradeableCaller // Read-only binding to the contract ERC20UpgradeableTransactor // Write-only binding to the contract ERC20UpgradeableFilterer // Log filterer for contract events }
ERC20Upgradeable is an auto generated Go binding around an Ethereum contract.
func DeployERC20Upgradeable ¶
func DeployERC20Upgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Upgradeable, error)
DeployERC20Upgradeable deploys a new Ethereum contract, binding an instance of ERC20Upgradeable to it.
func NewERC20Upgradeable ¶
func NewERC20Upgradeable(address common.Address, backend bind.ContractBackend) (*ERC20Upgradeable, error)
NewERC20Upgradeable creates a new instance of ERC20Upgradeable, bound to a specific deployed contract.
type ERC20UpgradeableApproval ¶
type ERC20UpgradeableApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradeableApproval represents a Approval event raised by the ERC20Upgradeable contract.
type ERC20UpgradeableApprovalIterator ¶
type ERC20UpgradeableApprovalIterator struct { Event *ERC20UpgradeableApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradeableApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20Upgradeable contract.
func (*ERC20UpgradeableApprovalIterator) Close ¶
func (it *ERC20UpgradeableApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradeableApprovalIterator) Error ¶
func (it *ERC20UpgradeableApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradeableApprovalIterator) Next ¶
func (it *ERC20UpgradeableApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20UpgradeableCaller ¶
type ERC20UpgradeableCaller struct {
// contains filtered or unexported fields
}
ERC20UpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20UpgradeableCaller ¶
func NewERC20UpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ERC20UpgradeableCaller, error)
NewERC20UpgradeableCaller creates a new read-only instance of ERC20Upgradeable, bound to a specific deployed contract.
func (*ERC20UpgradeableCaller) Allowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20UpgradeableCaller) BalanceOf ¶
func (_ERC20Upgradeable *ERC20UpgradeableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20UpgradeableCaller) Decimals ¶
func (_ERC20Upgradeable *ERC20UpgradeableCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20UpgradeableCaller) Name ¶
func (_ERC20Upgradeable *ERC20UpgradeableCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20UpgradeableCaller) Symbol ¶
func (_ERC20Upgradeable *ERC20UpgradeableCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20UpgradeableCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20UpgradeableCallerRaw ¶
type ERC20UpgradeableCallerRaw struct {
Contract *ERC20UpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
ERC20UpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20UpgradeableCallerRaw) Call ¶
func (_ERC20Upgradeable *ERC20UpgradeableCallerRaw) 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 ERC20UpgradeableCallerSession ¶
type ERC20UpgradeableCallerSession struct { Contract *ERC20UpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20UpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20UpgradeableCallerSession) Allowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20UpgradeableCallerSession) BalanceOf ¶
func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20UpgradeableCallerSession) Decimals ¶
func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20UpgradeableCallerSession) Name ¶
func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20UpgradeableCallerSession) Symbol ¶
func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20UpgradeableCallerSession) TotalSupply ¶
func (_ERC20Upgradeable *ERC20UpgradeableCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20UpgradeableFilterer ¶
type ERC20UpgradeableFilterer struct {
// contains filtered or unexported fields
}
ERC20UpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20UpgradeableFilterer ¶
func NewERC20UpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20UpgradeableFilterer, error)
NewERC20UpgradeableFilterer creates a new log filterer instance of ERC20Upgradeable, bound to a specific deployed contract.
func (*ERC20UpgradeableFilterer) FilterApproval ¶
func (_ERC20Upgradeable *ERC20UpgradeableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20UpgradeableApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20UpgradeableFilterer) FilterTransfer ¶
func (_ERC20Upgradeable *ERC20UpgradeableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20UpgradeableTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20UpgradeableFilterer) ParseApproval ¶
func (_ERC20Upgradeable *ERC20UpgradeableFilterer) ParseApproval(log types.Log) (*ERC20UpgradeableApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20UpgradeableFilterer) ParseTransfer ¶
func (_ERC20Upgradeable *ERC20UpgradeableFilterer) ParseTransfer(log types.Log) (*ERC20UpgradeableTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20UpgradeableFilterer) WatchApproval ¶
func (_ERC20Upgradeable *ERC20UpgradeableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20UpgradeableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20UpgradeableFilterer) WatchTransfer ¶
func (_ERC20Upgradeable *ERC20UpgradeableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20UpgradeableTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ERC20UpgradeableRaw ¶
type ERC20UpgradeableRaw struct {
Contract *ERC20Upgradeable // Generic contract binding to access the raw methods on
}
ERC20UpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20UpgradeableRaw) Call ¶
func (_ERC20Upgradeable *ERC20UpgradeableRaw) 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 (*ERC20UpgradeableRaw) Transact ¶
func (_ERC20Upgradeable *ERC20UpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20UpgradeableRaw) Transfer ¶
func (_ERC20Upgradeable *ERC20UpgradeableRaw) 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 ERC20UpgradeableSession ¶
type ERC20UpgradeableSession struct { Contract *ERC20Upgradeable // 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 }
ERC20UpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20UpgradeableSession) Allowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20UpgradeableSession) Approve ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20UpgradeableSession) BalanceOf ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20UpgradeableSession) Decimals ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20UpgradeableSession) DecreaseAllowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20UpgradeableSession) IncreaseAllowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20UpgradeableSession) Name ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20UpgradeableSession) Symbol ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20UpgradeableSession) TotalSupply ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20UpgradeableSession) Transfer ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20UpgradeableSession) TransferFrom ¶
func (_ERC20Upgradeable *ERC20UpgradeableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20UpgradeableTransactor ¶
type ERC20UpgradeableTransactor struct {
// contains filtered or unexported fields
}
ERC20UpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20UpgradeableTransactor ¶
func NewERC20UpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20UpgradeableTransactor, error)
NewERC20UpgradeableTransactor creates a new write-only instance of ERC20Upgradeable, bound to a specific deployed contract.
func (*ERC20UpgradeableTransactor) Approve ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20UpgradeableTransactor) DecreaseAllowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20UpgradeableTransactor) IncreaseAllowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20UpgradeableTransactor) Transfer ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20UpgradeableTransactor) TransferFrom ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20UpgradeableTransactorRaw ¶
type ERC20UpgradeableTransactorRaw struct {
Contract *ERC20UpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20UpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20UpgradeableTransactorRaw) Transact ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20UpgradeableTransactorRaw) Transfer ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactorRaw) 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 ERC20UpgradeableTransactorSession ¶
type ERC20UpgradeableTransactorSession struct { Contract *ERC20UpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20UpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20UpgradeableTransactorSession) Approve ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20UpgradeableTransactorSession) DecreaseAllowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20UpgradeableTransactorSession) IncreaseAllowance ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20UpgradeableTransactorSession) Transfer ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20UpgradeableTransactorSession) TransferFrom ¶
func (_ERC20Upgradeable *ERC20UpgradeableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20UpgradeableTransfer ¶
type ERC20UpgradeableTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradeableTransfer represents a Transfer event raised by the ERC20Upgradeable contract.
type ERC20UpgradeableTransferIterator ¶
type ERC20UpgradeableTransferIterator struct { Event *ERC20UpgradeableTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradeableTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20Upgradeable contract.
func (*ERC20UpgradeableTransferIterator) Close ¶
func (it *ERC20UpgradeableTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradeableTransferIterator) Error ¶
func (it *ERC20UpgradeableTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradeableTransferIterator) Next ¶
func (it *ERC20UpgradeableTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IERC20 ¶
type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events }
IERC20 is an auto generated Go binding around an Ethereum contract.
type IERC20Approval ¶
type IERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Approval represents a Approval event raised by the IERC20 contract.
type IERC20ApprovalIterator ¶
type IERC20ApprovalIterator struct { Event *IERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.
func (*IERC20ApprovalIterator) Close ¶
func (it *IERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20ApprovalIterator) Error ¶
func (it *IERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20ApprovalIterator) Next ¶
func (it *IERC20ApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IERC20Caller ¶
type IERC20Caller struct {
// contains filtered or unexported fields
}
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20Caller ¶
func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Caller) Allowance ¶
func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20Caller) BalanceOf ¶
func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20CallerRaw ¶
type IERC20CallerRaw struct {
Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20CallerRaw) Call ¶
func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession ¶
type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20CallerSession) Allowance ¶
func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20CallerSession) TotalSupply ¶
func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20Filterer ¶
type IERC20Filterer struct {
// contains filtered or unexported fields
}
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20Filterer ¶
func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
func (*IERC20Filterer) FilterApproval ¶
func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) FilterTransfer ¶
func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) ParseApproval ¶
func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) ParseTransfer ¶
func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) WatchApproval ¶
func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) WatchTransfer ¶
func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type IERC20Raw ¶
type IERC20Raw struct {
Contract *IERC20 // Generic contract binding to access the raw methods on
}
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20Raw) Call ¶
func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact ¶
func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20Raw) Transfer ¶
func (_IERC20 *IERC20Raw) 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 IERC20Session ¶
type IERC20Session struct { Contract *IERC20 // 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 }
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20Session) Allowance ¶
func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20Session) Approve ¶
func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Session) TotalSupply ¶
func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IERC20Session) Transfer ¶
func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20Session) TransferFrom ¶
func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20Transactor ¶
type IERC20Transactor struct {
// contains filtered or unexported fields
}
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20Transactor ¶
func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Transactor) Approve ¶
func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20Transactor) Transfer ¶
func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20Transactor) TransferFrom ¶
func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20TransactorRaw ¶
type IERC20TransactorRaw struct {
Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20TransactorRaw) Transact ¶
func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20TransactorRaw) Transfer ¶
func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession ¶
type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20TransactorSession) Approve ¶
func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20TransactorSession) Transfer ¶
func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20TransactorSession) TransferFrom ¶
func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20Transfer ¶
type IERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
type IERC20TransferIterator ¶
type IERC20TransferIterator struct { Event *IERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.
func (*IERC20TransferIterator) Close ¶
func (it *IERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20TransferIterator) Error ¶
func (it *IERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20TransferIterator) Next ¶
func (it *IERC20TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IERC20Upgradeable ¶
type IERC20Upgradeable struct { IERC20UpgradeableCaller // Read-only binding to the contract IERC20UpgradeableTransactor // Write-only binding to the contract IERC20UpgradeableFilterer // Log filterer for contract events }
IERC20Upgradeable is an auto generated Go binding around an Ethereum contract.
func NewIERC20Upgradeable ¶
func NewIERC20Upgradeable(address common.Address, backend bind.ContractBackend) (*IERC20Upgradeable, error)
NewIERC20Upgradeable creates a new instance of IERC20Upgradeable, bound to a specific deployed contract.
type IERC20UpgradeableApproval ¶
type IERC20UpgradeableApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20UpgradeableApproval represents a Approval event raised by the IERC20Upgradeable contract.
type IERC20UpgradeableApprovalIterator ¶
type IERC20UpgradeableApprovalIterator struct { Event *IERC20UpgradeableApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20UpgradeableApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20Upgradeable contract.
func (*IERC20UpgradeableApprovalIterator) Close ¶
func (it *IERC20UpgradeableApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20UpgradeableApprovalIterator) Error ¶
func (it *IERC20UpgradeableApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20UpgradeableApprovalIterator) Next ¶
func (it *IERC20UpgradeableApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IERC20UpgradeableCaller ¶
type IERC20UpgradeableCaller struct {
// contains filtered or unexported fields
}
IERC20UpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20UpgradeableCaller ¶
func NewIERC20UpgradeableCaller(address common.Address, caller bind.ContractCaller) (*IERC20UpgradeableCaller, error)
NewIERC20UpgradeableCaller creates a new read-only instance of IERC20Upgradeable, bound to a specific deployed contract.
func (*IERC20UpgradeableCaller) Allowance ¶
func (_IERC20Upgradeable *IERC20UpgradeableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20UpgradeableCaller) BalanceOf ¶
func (_IERC20Upgradeable *IERC20UpgradeableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20UpgradeableCaller) TotalSupply ¶
func (_IERC20Upgradeable *IERC20UpgradeableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20UpgradeableCallerRaw ¶
type IERC20UpgradeableCallerRaw struct {
Contract *IERC20UpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
IERC20UpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20UpgradeableCallerRaw) Call ¶
func (_IERC20Upgradeable *IERC20UpgradeableCallerRaw) 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 IERC20UpgradeableCallerSession ¶
type IERC20UpgradeableCallerSession struct { Contract *IERC20UpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20UpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20UpgradeableCallerSession) Allowance ¶
func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20UpgradeableCallerSession) BalanceOf ¶
func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20UpgradeableCallerSession) TotalSupply ¶
func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20UpgradeableFilterer ¶
type IERC20UpgradeableFilterer struct {
// contains filtered or unexported fields
}
IERC20UpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20UpgradeableFilterer ¶
func NewIERC20UpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*IERC20UpgradeableFilterer, error)
NewIERC20UpgradeableFilterer creates a new log filterer instance of IERC20Upgradeable, bound to a specific deployed contract.
func (*IERC20UpgradeableFilterer) FilterApproval ¶
func (_IERC20Upgradeable *IERC20UpgradeableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20UpgradeableApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20UpgradeableFilterer) FilterTransfer ¶
func (_IERC20Upgradeable *IERC20UpgradeableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20UpgradeableTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20UpgradeableFilterer) ParseApproval ¶
func (_IERC20Upgradeable *IERC20UpgradeableFilterer) ParseApproval(log types.Log) (*IERC20UpgradeableApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20UpgradeableFilterer) ParseTransfer ¶
func (_IERC20Upgradeable *IERC20UpgradeableFilterer) ParseTransfer(log types.Log) (*IERC20UpgradeableTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20UpgradeableFilterer) WatchApproval ¶
func (_IERC20Upgradeable *IERC20UpgradeableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20UpgradeableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20UpgradeableFilterer) WatchTransfer ¶
func (_IERC20Upgradeable *IERC20UpgradeableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20UpgradeableTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type IERC20UpgradeableRaw ¶
type IERC20UpgradeableRaw struct {
Contract *IERC20Upgradeable // Generic contract binding to access the raw methods on
}
IERC20UpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20UpgradeableRaw) Call ¶
func (_IERC20Upgradeable *IERC20UpgradeableRaw) 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 (*IERC20UpgradeableRaw) Transact ¶
func (_IERC20Upgradeable *IERC20UpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20UpgradeableRaw) Transfer ¶
func (_IERC20Upgradeable *IERC20UpgradeableRaw) 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 IERC20UpgradeableSession ¶
type IERC20UpgradeableSession struct { Contract *IERC20Upgradeable // 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 }
IERC20UpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20UpgradeableSession) Allowance ¶
func (_IERC20Upgradeable *IERC20UpgradeableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20UpgradeableSession) Approve ¶
func (_IERC20Upgradeable *IERC20UpgradeableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20UpgradeableSession) BalanceOf ¶
func (_IERC20Upgradeable *IERC20UpgradeableSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20UpgradeableSession) TotalSupply ¶
func (_IERC20Upgradeable *IERC20UpgradeableSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IERC20UpgradeableSession) Transfer ¶
func (_IERC20Upgradeable *IERC20UpgradeableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20UpgradeableSession) TransferFrom ¶
func (_IERC20Upgradeable *IERC20UpgradeableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20UpgradeableTransactor ¶
type IERC20UpgradeableTransactor struct {
// contains filtered or unexported fields
}
IERC20UpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20UpgradeableTransactor ¶
func NewIERC20UpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*IERC20UpgradeableTransactor, error)
NewIERC20UpgradeableTransactor creates a new write-only instance of IERC20Upgradeable, bound to a specific deployed contract.
func (*IERC20UpgradeableTransactor) Approve ¶
func (_IERC20Upgradeable *IERC20UpgradeableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20UpgradeableTransactor) Transfer ¶
func (_IERC20Upgradeable *IERC20UpgradeableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20UpgradeableTransactor) TransferFrom ¶
func (_IERC20Upgradeable *IERC20UpgradeableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20UpgradeableTransactorRaw ¶
type IERC20UpgradeableTransactorRaw struct {
Contract *IERC20UpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
IERC20UpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20UpgradeableTransactorRaw) Transact ¶
func (_IERC20Upgradeable *IERC20UpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20UpgradeableTransactorRaw) Transfer ¶
func (_IERC20Upgradeable *IERC20UpgradeableTransactorRaw) 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 IERC20UpgradeableTransactorSession ¶
type IERC20UpgradeableTransactorSession struct { Contract *IERC20UpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20UpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20UpgradeableTransactorSession) Approve ¶
func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20UpgradeableTransactorSession) Transfer ¶
func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20UpgradeableTransactorSession) TransferFrom ¶
func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20UpgradeableTransfer ¶
type IERC20UpgradeableTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20UpgradeableTransfer represents a Transfer event raised by the IERC20Upgradeable contract.
type IERC20UpgradeableTransferIterator ¶
type IERC20UpgradeableTransferIterator struct { Event *IERC20UpgradeableTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20UpgradeableTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20Upgradeable contract.
func (*IERC20UpgradeableTransferIterator) Close ¶
func (it *IERC20UpgradeableTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20UpgradeableTransferIterator) Error ¶
func (it *IERC20UpgradeableTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20UpgradeableTransferIterator) Next ¶
func (it *IERC20UpgradeableTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IFlashLoanReceiver ¶
type IFlashLoanReceiver struct { IFlashLoanReceiverCaller // Read-only binding to the contract IFlashLoanReceiverTransactor // Write-only binding to the contract IFlashLoanReceiverFilterer // Log filterer for contract events }
IFlashLoanReceiver is an auto generated Go binding around an Ethereum contract.
func NewIFlashLoanReceiver ¶
func NewIFlashLoanReceiver(address common.Address, backend bind.ContractBackend) (*IFlashLoanReceiver, error)
NewIFlashLoanReceiver creates a new instance of IFlashLoanReceiver, bound to a specific deployed contract.
type IFlashLoanReceiverCaller ¶
type IFlashLoanReceiverCaller struct {
// contains filtered or unexported fields
}
IFlashLoanReceiverCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIFlashLoanReceiverCaller ¶
func NewIFlashLoanReceiverCaller(address common.Address, caller bind.ContractCaller) (*IFlashLoanReceiverCaller, error)
NewIFlashLoanReceiverCaller creates a new read-only instance of IFlashLoanReceiver, bound to a specific deployed contract.
type IFlashLoanReceiverCallerRaw ¶
type IFlashLoanReceiverCallerRaw struct {
Contract *IFlashLoanReceiverCaller // Generic read-only contract binding to access the raw methods on
}
IFlashLoanReceiverCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IFlashLoanReceiverCallerRaw) Call ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverCallerRaw) 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 IFlashLoanReceiverCallerSession ¶
type IFlashLoanReceiverCallerSession struct { Contract *IFlashLoanReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IFlashLoanReceiverCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IFlashLoanReceiverFilterer ¶
type IFlashLoanReceiverFilterer struct {
// contains filtered or unexported fields
}
IFlashLoanReceiverFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIFlashLoanReceiverFilterer ¶
func NewIFlashLoanReceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*IFlashLoanReceiverFilterer, error)
NewIFlashLoanReceiverFilterer creates a new log filterer instance of IFlashLoanReceiver, bound to a specific deployed contract.
type IFlashLoanReceiverRaw ¶
type IFlashLoanReceiverRaw struct {
Contract *IFlashLoanReceiver // Generic contract binding to access the raw methods on
}
IFlashLoanReceiverRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IFlashLoanReceiverRaw) Call ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverRaw) 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 (*IFlashLoanReceiverRaw) Transact ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFlashLoanReceiverRaw) Transfer ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverRaw) 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 IFlashLoanReceiverSession ¶
type IFlashLoanReceiverSession struct { Contract *IFlashLoanReceiver // 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 }
IFlashLoanReceiverSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IFlashLoanReceiverSession) ExecuteOperation ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverSession) ExecuteOperation(pool common.Address, token common.Address, amount *big.Int, fee *big.Int, params []byte) (*types.Transaction, error)
ExecuteOperation is a paid mutator transaction binding the contract method 0x405b019d.
Solidity: function executeOperation(address pool, address token, uint256 amount, uint256 fee, bytes params) returns()
type IFlashLoanReceiverTransactor ¶
type IFlashLoanReceiverTransactor struct {
// contains filtered or unexported fields
}
IFlashLoanReceiverTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIFlashLoanReceiverTransactor ¶
func NewIFlashLoanReceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*IFlashLoanReceiverTransactor, error)
NewIFlashLoanReceiverTransactor creates a new write-only instance of IFlashLoanReceiver, bound to a specific deployed contract.
func (*IFlashLoanReceiverTransactor) ExecuteOperation ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverTransactor) ExecuteOperation(opts *bind.TransactOpts, pool common.Address, token common.Address, amount *big.Int, fee *big.Int, params []byte) (*types.Transaction, error)
ExecuteOperation is a paid mutator transaction binding the contract method 0x405b019d.
Solidity: function executeOperation(address pool, address token, uint256 amount, uint256 fee, bytes params) returns()
type IFlashLoanReceiverTransactorRaw ¶
type IFlashLoanReceiverTransactorRaw struct {
Contract *IFlashLoanReceiverTransactor // Generic write-only contract binding to access the raw methods on
}
IFlashLoanReceiverTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IFlashLoanReceiverTransactorRaw) Transact ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFlashLoanReceiverTransactorRaw) Transfer ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverTransactorRaw) 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 IFlashLoanReceiverTransactorSession ¶
type IFlashLoanReceiverTransactorSession struct { Contract *IFlashLoanReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IFlashLoanReceiverTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IFlashLoanReceiverTransactorSession) ExecuteOperation ¶
func (_IFlashLoanReceiver *IFlashLoanReceiverTransactorSession) ExecuteOperation(pool common.Address, token common.Address, amount *big.Int, fee *big.Int, params []byte) (*types.Transaction, error)
ExecuteOperation is a paid mutator transaction binding the contract method 0x405b019d.
Solidity: function executeOperation(address pool, address token, uint256 amount, uint256 fee, bytes params) returns()
type ISwap ¶
type ISwap struct { ISwapCaller // Read-only binding to the contract ISwapTransactor // Write-only binding to the contract ISwapFilterer // Log filterer for contract events }
ISwap is an auto generated Go binding around an Ethereum contract.
type ISwapCaller ¶
type ISwapCaller struct {
// contains filtered or unexported fields
}
ISwapCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewISwapCaller ¶
func NewISwapCaller(address common.Address, caller bind.ContractCaller) (*ISwapCaller, error)
NewISwapCaller creates a new read-only instance of ISwap, bound to a specific deployed contract.
func (*ISwapCaller) CalculateRemoveLiquidity ¶
func (_ISwap *ISwapCaller) CalculateRemoveLiquidity(opts *bind.CallOpts, amount *big.Int) ([]*big.Int, error)
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*ISwapCaller) CalculateRemoveLiquidityOneToken ¶
func (_ISwap *ISwapCaller) CalculateRemoveLiquidityOneToken(opts *bind.CallOpts, tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*ISwapCaller) CalculateSwap ¶
func (_ISwap *ISwapCaller) CalculateSwap(opts *bind.CallOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*ISwapCaller) CalculateTokenAmount ¶
func (_ISwap *ISwapCaller) CalculateTokenAmount(opts *bind.CallOpts, amounts []*big.Int, deposit bool) (*big.Int, error)
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*ISwapCaller) GetA ¶
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*ISwapCaller) GetToken ¶
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*ISwapCaller) GetTokenBalance ¶
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*ISwapCaller) GetTokenIndex ¶
func (_ISwap *ISwapCaller) GetTokenIndex(opts *bind.CallOpts, tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*ISwapCaller) GetVirtualPrice ¶
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
type ISwapCallerRaw ¶
type ISwapCallerRaw struct {
Contract *ISwapCaller // Generic read-only contract binding to access the raw methods on
}
ISwapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ISwapCallerRaw) Call ¶
func (_ISwap *ISwapCallerRaw) 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 ISwapCallerSession ¶
type ISwapCallerSession struct { Contract *ISwapCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ISwapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ISwapCallerSession) CalculateRemoveLiquidity ¶
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*ISwapCallerSession) CalculateRemoveLiquidityOneToken ¶
func (_ISwap *ISwapCallerSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*ISwapCallerSession) CalculateSwap ¶
func (_ISwap *ISwapCallerSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*ISwapCallerSession) CalculateTokenAmount ¶
func (_ISwap *ISwapCallerSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*ISwapCallerSession) GetA ¶
func (_ISwap *ISwapCallerSession) GetA() (*big.Int, error)
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*ISwapCallerSession) GetToken ¶
func (_ISwap *ISwapCallerSession) GetToken(index uint8) (common.Address, error)
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*ISwapCallerSession) GetTokenBalance ¶
func (_ISwap *ISwapCallerSession) GetTokenBalance(index uint8) (*big.Int, error)
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*ISwapCallerSession) GetTokenIndex ¶
func (_ISwap *ISwapCallerSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*ISwapCallerSession) GetVirtualPrice ¶
func (_ISwap *ISwapCallerSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
type ISwapFilterer ¶
type ISwapFilterer struct {
// contains filtered or unexported fields
}
ISwapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewISwapFilterer ¶
func NewISwapFilterer(address common.Address, filterer bind.ContractFilterer) (*ISwapFilterer, error)
NewISwapFilterer creates a new log filterer instance of ISwap, bound to a specific deployed contract.
type ISwapRaw ¶
type ISwapRaw struct {
Contract *ISwap // Generic contract binding to access the raw methods on
}
ISwapRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ISwapRaw) Call ¶
func (_ISwap *ISwapRaw) 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 (*ISwapRaw) Transact ¶
func (_ISwap *ISwapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISwapRaw) Transfer ¶
func (_ISwap *ISwapRaw) 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 ISwapSession ¶
type ISwapSession struct { Contract *ISwap // 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 }
ISwapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ISwapSession) AddLiquidity ¶
func (_ISwap *ISwapSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*ISwapSession) CalculateRemoveLiquidity ¶
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*ISwapSession) CalculateRemoveLiquidityOneToken ¶
func (_ISwap *ISwapSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*ISwapSession) CalculateSwap ¶
func (_ISwap *ISwapSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*ISwapSession) CalculateTokenAmount ¶
func (_ISwap *ISwapSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*ISwapSession) GetA ¶
func (_ISwap *ISwapSession) GetA() (*big.Int, error)
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*ISwapSession) GetToken ¶
func (_ISwap *ISwapSession) GetToken(index uint8) (common.Address, error)
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*ISwapSession) GetTokenBalance ¶
func (_ISwap *ISwapSession) GetTokenBalance(index uint8) (*big.Int, error)
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*ISwapSession) GetTokenIndex ¶
func (_ISwap *ISwapSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*ISwapSession) GetVirtualPrice ¶
func (_ISwap *ISwapSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
func (*ISwapSession) Initialize ¶
func (_ISwap *ISwapSession) Initialize(pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, a *big.Int, fee *big.Int, adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 a, uint256 fee, uint256 adminFee, address lpTokenTargetAddress) returns()
func (*ISwapSession) RemoveLiquidity ¶
func (_ISwap *ISwapSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*ISwapSession) RemoveLiquidityImbalance ¶
func (_ISwap *ISwapSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*ISwapSession) RemoveLiquidityOneToken ¶
func (_ISwap *ISwapSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*ISwapSession) Swap ¶
func (_ISwap *ISwapSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
type ISwapTransactor ¶
type ISwapTransactor struct {
// contains filtered or unexported fields
}
ISwapTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewISwapTransactor ¶
func NewISwapTransactor(address common.Address, transactor bind.ContractTransactor) (*ISwapTransactor, error)
NewISwapTransactor creates a new write-only instance of ISwap, bound to a specific deployed contract.
func (*ISwapTransactor) AddLiquidity ¶
func (_ISwap *ISwapTransactor) AddLiquidity(opts *bind.TransactOpts, amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*ISwapTransactor) Initialize ¶
func (_ISwap *ISwapTransactor) Initialize(opts *bind.TransactOpts, pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, a *big.Int, fee *big.Int, adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 a, uint256 fee, uint256 adminFee, address lpTokenTargetAddress) returns()
func (*ISwapTransactor) RemoveLiquidity ¶
func (_ISwap *ISwapTransactor) RemoveLiquidity(opts *bind.TransactOpts, amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*ISwapTransactor) RemoveLiquidityImbalance ¶
func (_ISwap *ISwapTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*ISwapTransactor) RemoveLiquidityOneToken ¶
func (_ISwap *ISwapTransactor) RemoveLiquidityOneToken(opts *bind.TransactOpts, tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*ISwapTransactor) Swap ¶
func (_ISwap *ISwapTransactor) Swap(opts *bind.TransactOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
type ISwapTransactorRaw ¶
type ISwapTransactorRaw struct {
Contract *ISwapTransactor // Generic write-only contract binding to access the raw methods on
}
ISwapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ISwapTransactorRaw) Transact ¶
func (_ISwap *ISwapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISwapTransactorRaw) Transfer ¶
func (_ISwap *ISwapTransactorRaw) 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 ISwapTransactorSession ¶
type ISwapTransactorSession struct { Contract *ISwapTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ISwapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ISwapTransactorSession) AddLiquidity ¶
func (_ISwap *ISwapTransactorSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*ISwapTransactorSession) Initialize ¶
func (_ISwap *ISwapTransactorSession) Initialize(pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, a *big.Int, fee *big.Int, adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 a, uint256 fee, uint256 adminFee, address lpTokenTargetAddress) returns()
func (*ISwapTransactorSession) RemoveLiquidity ¶
func (_ISwap *ISwapTransactorSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*ISwapTransactorSession) RemoveLiquidityImbalance ¶
func (_ISwap *ISwapTransactorSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*ISwapTransactorSession) RemoveLiquidityOneToken ¶
func (_ISwap *ISwapTransactorSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*ISwapTransactorSession) Swap ¶
func (_ISwap *ISwapTransactorSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
type Initializable ¶
type Initializable struct { InitializableCaller // Read-only binding to the contract InitializableTransactor // Write-only binding to the contract InitializableFilterer // Log filterer for contract events }
Initializable is an auto generated Go binding around an Ethereum contract.
func NewInitializable ¶
func NewInitializable(address common.Address, backend bind.ContractBackend) (*Initializable, error)
NewInitializable creates a new instance of Initializable, bound to a specific deployed contract.
type InitializableCaller ¶
type InitializableCaller struct {
// contains filtered or unexported fields
}
InitializableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInitializableCaller ¶
func NewInitializableCaller(address common.Address, caller bind.ContractCaller) (*InitializableCaller, error)
NewInitializableCaller creates a new read-only instance of Initializable, bound to a specific deployed contract.
type InitializableCallerRaw ¶
type InitializableCallerRaw struct {
Contract *InitializableCaller // Generic read-only contract binding to access the raw methods on
}
InitializableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InitializableCallerRaw) Call ¶
func (_Initializable *InitializableCallerRaw) 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 InitializableCallerSession ¶
type InitializableCallerSession struct { Contract *InitializableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InitializableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InitializableFilterer ¶
type InitializableFilterer struct {
// contains filtered or unexported fields
}
InitializableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInitializableFilterer ¶
func NewInitializableFilterer(address common.Address, filterer bind.ContractFilterer) (*InitializableFilterer, error)
NewInitializableFilterer creates a new log filterer instance of Initializable, bound to a specific deployed contract.
type InitializableRaw ¶
type InitializableRaw struct {
Contract *Initializable // Generic contract binding to access the raw methods on
}
InitializableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InitializableRaw) Call ¶
func (_Initializable *InitializableRaw) 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 (*InitializableRaw) Transact ¶
func (_Initializable *InitializableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InitializableRaw) Transfer ¶
func (_Initializable *InitializableRaw) 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 InitializableSession ¶
type InitializableSession struct { Contract *Initializable // 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 }
InitializableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type InitializableTransactor ¶
type InitializableTransactor struct {
// contains filtered or unexported fields
}
InitializableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInitializableTransactor ¶
func NewInitializableTransactor(address common.Address, transactor bind.ContractTransactor) (*InitializableTransactor, error)
NewInitializableTransactor creates a new write-only instance of Initializable, bound to a specific deployed contract.
type InitializableTransactorRaw ¶
type InitializableTransactorRaw struct {
Contract *InitializableTransactor // Generic write-only contract binding to access the raw methods on
}
InitializableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InitializableTransactorRaw) Transact ¶
func (_Initializable *InitializableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InitializableTransactorRaw) Transfer ¶
func (_Initializable *InitializableTransactorRaw) 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 InitializableTransactorSession ¶
type InitializableTransactorSession struct { Contract *InitializableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InitializableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type LPToken ¶
type LPToken struct { LPTokenCaller // Read-only binding to the contract LPTokenTransactor // Write-only binding to the contract LPTokenFilterer // Log filterer for contract events }
LPToken is an auto generated Go binding around an Ethereum contract.
func DeployLPToken ¶
func DeployLPToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *LPToken, error)
DeployLPToken deploys a new Ethereum contract, binding an instance of LPToken to it.
func NewLPToken ¶
NewLPToken creates a new instance of LPToken, bound to a specific deployed contract.
type LPTokenApproval ¶
type LPTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LPTokenApproval represents a Approval event raised by the LPToken contract.
type LPTokenApprovalIterator ¶
type LPTokenApprovalIterator struct { Event *LPTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LPTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LPToken contract.
func (*LPTokenApprovalIterator) Close ¶
func (it *LPTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LPTokenApprovalIterator) Error ¶
func (it *LPTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LPTokenApprovalIterator) Next ¶
func (it *LPTokenApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LPTokenCaller ¶
type LPTokenCaller struct {
// contains filtered or unexported fields
}
LPTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLPTokenCaller ¶
func NewLPTokenCaller(address common.Address, caller bind.ContractCaller) (*LPTokenCaller, error)
NewLPTokenCaller creates a new read-only instance of LPToken, bound to a specific deployed contract.
func (*LPTokenCaller) Allowance ¶
func (_LPToken *LPTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*LPTokenCaller) BalanceOf ¶
func (_LPToken *LPTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*LPTokenCaller) Decimals ¶
func (_LPToken *LPTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LPTokenCaller) Name ¶
func (_LPToken *LPTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LPTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LPTokenCaller) Symbol ¶
func (_LPToken *LPTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LPTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type LPTokenCallerRaw ¶
type LPTokenCallerRaw struct {
Contract *LPTokenCaller // Generic read-only contract binding to access the raw methods on
}
LPTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LPTokenCallerRaw) Call ¶
func (_LPToken *LPTokenCallerRaw) 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 LPTokenCallerSession ¶
type LPTokenCallerSession struct { Contract *LPTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LPTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LPTokenCallerSession) Allowance ¶
func (_LPToken *LPTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*LPTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*LPTokenCallerSession) Decimals ¶
func (_LPToken *LPTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LPTokenCallerSession) Name ¶
func (_LPToken *LPTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LPTokenCallerSession) Owner ¶
func (_LPToken *LPTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LPTokenCallerSession) Symbol ¶
func (_LPToken *LPTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LPTokenCallerSession) TotalSupply ¶
func (_LPToken *LPTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type LPTokenFilterer ¶
type LPTokenFilterer struct {
// contains filtered or unexported fields
}
LPTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLPTokenFilterer ¶
func NewLPTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*LPTokenFilterer, error)
NewLPTokenFilterer creates a new log filterer instance of LPToken, bound to a specific deployed contract.
func (*LPTokenFilterer) FilterApproval ¶
func (_LPToken *LPTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LPTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*LPTokenFilterer) FilterOwnershipTransferred ¶
func (_LPToken *LPTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LPTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LPTokenFilterer) FilterTransfer ¶
func (_LPToken *LPTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LPTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*LPTokenFilterer) ParseApproval ¶
func (_LPToken *LPTokenFilterer) ParseApproval(log types.Log) (*LPTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*LPTokenFilterer) ParseOwnershipTransferred ¶
func (_LPToken *LPTokenFilterer) ParseOwnershipTransferred(log types.Log) (*LPTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LPTokenFilterer) ParseTransfer ¶
func (_LPToken *LPTokenFilterer) ParseTransfer(log types.Log) (*LPTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*LPTokenFilterer) WatchApproval ¶
func (_LPToken *LPTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LPTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*LPTokenFilterer) WatchOwnershipTransferred ¶
func (_LPToken *LPTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LPTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LPTokenFilterer) WatchTransfer ¶
func (_LPToken *LPTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LPTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type LPTokenOwnershipTransferred ¶
type LPTokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LPTokenOwnershipTransferred represents a OwnershipTransferred event raised by the LPToken contract.
type LPTokenOwnershipTransferredIterator ¶
type LPTokenOwnershipTransferredIterator struct { Event *LPTokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LPTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LPToken contract.
func (*LPTokenOwnershipTransferredIterator) Close ¶
func (it *LPTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LPTokenOwnershipTransferredIterator) Error ¶
func (it *LPTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LPTokenOwnershipTransferredIterator) Next ¶
func (it *LPTokenOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LPTokenRaw ¶
type LPTokenRaw struct {
Contract *LPToken // Generic contract binding to access the raw methods on
}
LPTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LPTokenRaw) Call ¶
func (_LPToken *LPTokenRaw) 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 (*LPTokenRaw) Transact ¶
func (_LPToken *LPTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LPTokenRaw) Transfer ¶
func (_LPToken *LPTokenRaw) 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 LPTokenSession ¶
type LPTokenSession struct { Contract *LPToken // 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 }
LPTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LPTokenSession) Allowance ¶
func (_LPToken *LPTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*LPTokenSession) Approve ¶
func (_LPToken *LPTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*LPTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*LPTokenSession) Burn ¶
func (_LPToken *LPTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*LPTokenSession) BurnFrom ¶
func (_LPToken *LPTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*LPTokenSession) Decimals ¶
func (_LPToken *LPTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LPTokenSession) DecreaseAllowance ¶
func (_LPToken *LPTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LPTokenSession) IncreaseAllowance ¶
func (_LPToken *LPTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LPTokenSession) Initialize ¶
func (_LPToken *LPTokenSession) Initialize(name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns(bool)
func (*LPTokenSession) Mint ¶
func (_LPToken *LPTokenSession) Mint(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address recipient, uint256 amount) returns()
func (*LPTokenSession) Name ¶
func (_LPToken *LPTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LPTokenSession) Owner ¶
func (_LPToken *LPTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LPTokenSession) RenounceOwnership ¶
func (_LPToken *LPTokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LPTokenSession) Symbol ¶
func (_LPToken *LPTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LPTokenSession) TotalSupply ¶
func (_LPToken *LPTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*LPTokenSession) Transfer ¶
func (_LPToken *LPTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LPTokenSession) TransferFrom ¶
func (_LPToken *LPTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LPTokenSession) TransferOwnership ¶
func (_LPToken *LPTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type LPTokenTransactor ¶
type LPTokenTransactor struct {
// contains filtered or unexported fields
}
LPTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLPTokenTransactor ¶
func NewLPTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*LPTokenTransactor, error)
NewLPTokenTransactor creates a new write-only instance of LPToken, bound to a specific deployed contract.
func (*LPTokenTransactor) Approve ¶
func (_LPToken *LPTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*LPTokenTransactor) Burn ¶
func (_LPToken *LPTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*LPTokenTransactor) BurnFrom ¶
func (_LPToken *LPTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*LPTokenTransactor) DecreaseAllowance ¶
func (_LPToken *LPTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LPTokenTransactor) IncreaseAllowance ¶
func (_LPToken *LPTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LPTokenTransactor) Initialize ¶
func (_LPToken *LPTokenTransactor) Initialize(opts *bind.TransactOpts, name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns(bool)
func (*LPTokenTransactor) Mint ¶
func (_LPToken *LPTokenTransactor) Mint(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address recipient, uint256 amount) returns()
func (*LPTokenTransactor) RenounceOwnership ¶
func (_LPToken *LPTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LPTokenTransactor) Transfer ¶
func (_LPToken *LPTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LPTokenTransactor) TransferFrom ¶
func (_LPToken *LPTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LPTokenTransactor) TransferOwnership ¶
func (_LPToken *LPTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type LPTokenTransactorRaw ¶
type LPTokenTransactorRaw struct {
Contract *LPTokenTransactor // Generic write-only contract binding to access the raw methods on
}
LPTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LPTokenTransactorRaw) Transact ¶
func (_LPToken *LPTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LPTokenTransactorRaw) Transfer ¶
func (_LPToken *LPTokenTransactorRaw) 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 LPTokenTransactorSession ¶
type LPTokenTransactorSession struct { Contract *LPTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LPTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LPTokenTransactorSession) Approve ¶
func (_LPToken *LPTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*LPTokenTransactorSession) Burn ¶
func (_LPToken *LPTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*LPTokenTransactorSession) BurnFrom ¶
func (_LPToken *LPTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*LPTokenTransactorSession) DecreaseAllowance ¶
func (_LPToken *LPTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LPTokenTransactorSession) IncreaseAllowance ¶
func (_LPToken *LPTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LPTokenTransactorSession) Initialize ¶
func (_LPToken *LPTokenTransactorSession) Initialize(name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns(bool)
func (*LPTokenTransactorSession) Mint ¶
func (_LPToken *LPTokenTransactorSession) Mint(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address recipient, uint256 amount) returns()
func (*LPTokenTransactorSession) RenounceOwnership ¶
func (_LPToken *LPTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LPTokenTransactorSession) Transfer ¶
func (_LPToken *LPTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LPTokenTransactorSession) TransferFrom ¶
func (_LPToken *LPTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LPTokenTransactorSession) TransferOwnership ¶
func (_LPToken *LPTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type LPTokenTransfer ¶
type LPTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LPTokenTransfer represents a Transfer event raised by the LPToken contract.
type LPTokenTransferIterator ¶
type LPTokenTransferIterator struct { Event *LPTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LPTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LPToken contract.
func (*LPTokenTransferIterator) Close ¶
func (it *LPTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LPTokenTransferIterator) Error ¶
func (it *LPTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LPTokenTransferIterator) Next ¶
func (it *LPTokenTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MathUtils ¶
type MathUtils struct { MathUtilsCaller // Read-only binding to the contract MathUtilsTransactor // Write-only binding to the contract MathUtilsFilterer // Log filterer for contract events }
MathUtils is an auto generated Go binding around an Ethereum contract.
func DeployMathUtils ¶
func DeployMathUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MathUtils, error)
DeployMathUtils deploys a new Ethereum contract, binding an instance of MathUtils to it.
func NewMathUtils ¶
NewMathUtils creates a new instance of MathUtils, bound to a specific deployed contract.
type MathUtilsCaller ¶
type MathUtilsCaller struct {
// contains filtered or unexported fields
}
MathUtilsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMathUtilsCaller ¶
func NewMathUtilsCaller(address common.Address, caller bind.ContractCaller) (*MathUtilsCaller, error)
NewMathUtilsCaller creates a new read-only instance of MathUtils, bound to a specific deployed contract.
type MathUtilsCallerRaw ¶
type MathUtilsCallerRaw struct {
Contract *MathUtilsCaller // Generic read-only contract binding to access the raw methods on
}
MathUtilsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MathUtilsCallerRaw) Call ¶
func (_MathUtils *MathUtilsCallerRaw) 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 MathUtilsCallerSession ¶
type MathUtilsCallerSession struct { Contract *MathUtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MathUtilsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type MathUtilsFilterer ¶
type MathUtilsFilterer struct {
// contains filtered or unexported fields
}
MathUtilsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMathUtilsFilterer ¶
func NewMathUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*MathUtilsFilterer, error)
NewMathUtilsFilterer creates a new log filterer instance of MathUtils, bound to a specific deployed contract.
type MathUtilsRaw ¶
type MathUtilsRaw struct {
Contract *MathUtils // Generic contract binding to access the raw methods on
}
MathUtilsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MathUtilsRaw) Call ¶
func (_MathUtils *MathUtilsRaw) 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 (*MathUtilsRaw) Transact ¶
func (_MathUtils *MathUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MathUtilsRaw) Transfer ¶
func (_MathUtils *MathUtilsRaw) 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 MathUtilsSession ¶
type MathUtilsSession struct { Contract *MathUtils // 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 }
MathUtilsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type MathUtilsTransactor ¶
type MathUtilsTransactor struct {
// contains filtered or unexported fields
}
MathUtilsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMathUtilsTransactor ¶
func NewMathUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*MathUtilsTransactor, error)
NewMathUtilsTransactor creates a new write-only instance of MathUtils, bound to a specific deployed contract.
type MathUtilsTransactorRaw ¶
type MathUtilsTransactorRaw struct {
Contract *MathUtilsTransactor // Generic write-only contract binding to access the raw methods on
}
MathUtilsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MathUtilsTransactorRaw) Transact ¶
func (_MathUtils *MathUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MathUtilsTransactorRaw) Transfer ¶
func (_MathUtils *MathUtilsTransactorRaw) 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 MathUtilsTransactorSession ¶
type MathUtilsTransactorSession struct { Contract *MathUtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MathUtilsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type OwnableUpgradeable ¶
type OwnableUpgradeable struct { OwnableUpgradeableCaller // Read-only binding to the contract OwnableUpgradeableTransactor // Write-only binding to the contract OwnableUpgradeableFilterer // Log filterer for contract events }
OwnableUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewOwnableUpgradeable ¶
func NewOwnableUpgradeable(address common.Address, backend bind.ContractBackend) (*OwnableUpgradeable, error)
NewOwnableUpgradeable creates a new instance of OwnableUpgradeable, bound to a specific deployed contract.
type OwnableUpgradeableCaller ¶
type OwnableUpgradeableCaller struct {
// contains filtered or unexported fields
}
OwnableUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableUpgradeableCaller ¶
func NewOwnableUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*OwnableUpgradeableCaller, error)
NewOwnableUpgradeableCaller creates a new read-only instance of OwnableUpgradeable, bound to a specific deployed contract.
type OwnableUpgradeableCallerRaw ¶
type OwnableUpgradeableCallerRaw struct {
Contract *OwnableUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableUpgradeableCallerRaw) Call ¶
func (_OwnableUpgradeable *OwnableUpgradeableCallerRaw) 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 OwnableUpgradeableCallerSession ¶
type OwnableUpgradeableCallerSession struct { Contract *OwnableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnableUpgradeableFilterer ¶
type OwnableUpgradeableFilterer struct {
// contains filtered or unexported fields
}
OwnableUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableUpgradeableFilterer ¶
func NewOwnableUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableUpgradeableFilterer, error)
NewOwnableUpgradeableFilterer creates a new log filterer instance of OwnableUpgradeable, bound to a specific deployed contract.
func (*OwnableUpgradeableFilterer) FilterOwnershipTransferred ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableUpgradeableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableUpgradeableFilterer) ParseOwnershipTransferred ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableUpgradeableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableUpgradeableFilterer) WatchOwnershipTransferred ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type OwnableUpgradeableOwnershipTransferred ¶
type OwnableUpgradeableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableUpgradeableOwnershipTransferred represents a OwnershipTransferred event raised by the OwnableUpgradeable contract.
type OwnableUpgradeableOwnershipTransferredIterator ¶
type OwnableUpgradeableOwnershipTransferredIterator struct { Event *OwnableUpgradeableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableUpgradeableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the OwnableUpgradeable contract.
func (*OwnableUpgradeableOwnershipTransferredIterator) Close ¶
func (it *OwnableUpgradeableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableUpgradeableOwnershipTransferredIterator) Error ¶
func (it *OwnableUpgradeableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableUpgradeableOwnershipTransferredIterator) Next ¶
func (it *OwnableUpgradeableOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OwnableUpgradeableRaw ¶
type OwnableUpgradeableRaw struct {
Contract *OwnableUpgradeable // Generic contract binding to access the raw methods on
}
OwnableUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableUpgradeableRaw) Call ¶
func (_OwnableUpgradeable *OwnableUpgradeableRaw) 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 (*OwnableUpgradeableRaw) Transact ¶
func (_OwnableUpgradeable *OwnableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableUpgradeableRaw) Transfer ¶
func (_OwnableUpgradeable *OwnableUpgradeableRaw) 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 OwnableUpgradeableSession ¶
type OwnableUpgradeableSession struct { Contract *OwnableUpgradeable // 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 }
OwnableUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableUpgradeableSession) Owner ¶
func (_OwnableUpgradeable *OwnableUpgradeableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnableUpgradeableSession) RenounceOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableUpgradeableSession) TransferOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableUpgradeableTransactor ¶
type OwnableUpgradeableTransactor struct {
// contains filtered or unexported fields
}
OwnableUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableUpgradeableTransactor ¶
func NewOwnableUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableUpgradeableTransactor, error)
NewOwnableUpgradeableTransactor creates a new write-only instance of OwnableUpgradeable, bound to a specific deployed contract.
func (*OwnableUpgradeableTransactor) RenounceOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableUpgradeableTransactor) TransferOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableUpgradeableTransactorRaw ¶
type OwnableUpgradeableTransactorRaw struct {
Contract *OwnableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableUpgradeableTransactorRaw) Transact ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableUpgradeableTransactorRaw) Transfer ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactorRaw) 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 OwnableUpgradeableTransactorSession ¶
type OwnableUpgradeableTransactorSession struct { Contract *OwnableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableUpgradeableTransactorSession) RenounceOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableUpgradeableTransactorSession) TransferOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnerPausableUpgradeable ¶
type OwnerPausableUpgradeable struct { OwnerPausableUpgradeableCaller // Read-only binding to the contract OwnerPausableUpgradeableTransactor // Write-only binding to the contract OwnerPausableUpgradeableFilterer // Log filterer for contract events }
OwnerPausableUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewOwnerPausableUpgradeable ¶
func NewOwnerPausableUpgradeable(address common.Address, backend bind.ContractBackend) (*OwnerPausableUpgradeable, error)
NewOwnerPausableUpgradeable creates a new instance of OwnerPausableUpgradeable, bound to a specific deployed contract.
type OwnerPausableUpgradeableCaller ¶
type OwnerPausableUpgradeableCaller struct {
// contains filtered or unexported fields
}
OwnerPausableUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnerPausableUpgradeableCaller ¶
func NewOwnerPausableUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*OwnerPausableUpgradeableCaller, error)
NewOwnerPausableUpgradeableCaller creates a new read-only instance of OwnerPausableUpgradeable, bound to a specific deployed contract.
type OwnerPausableUpgradeableCallerRaw ¶
type OwnerPausableUpgradeableCallerRaw struct {
Contract *OwnerPausableUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
OwnerPausableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnerPausableUpgradeableCallerRaw) Call ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableCallerRaw) 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 OwnerPausableUpgradeableCallerSession ¶
type OwnerPausableUpgradeableCallerSession struct { Contract *OwnerPausableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnerPausableUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OwnerPausableUpgradeableCallerSession) Owner ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnerPausableUpgradeableCallerSession) Paused ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
type OwnerPausableUpgradeableFilterer ¶
type OwnerPausableUpgradeableFilterer struct {
// contains filtered or unexported fields
}
OwnerPausableUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnerPausableUpgradeableFilterer ¶
func NewOwnerPausableUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnerPausableUpgradeableFilterer, error)
NewOwnerPausableUpgradeableFilterer creates a new log filterer instance of OwnerPausableUpgradeable, bound to a specific deployed contract.
func (*OwnerPausableUpgradeableFilterer) FilterOwnershipTransferred ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnerPausableUpgradeableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnerPausableUpgradeableFilterer) FilterPaused ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) FilterPaused(opts *bind.FilterOpts) (*OwnerPausableUpgradeablePausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*OwnerPausableUpgradeableFilterer) FilterUnpaused ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) FilterUnpaused(opts *bind.FilterOpts) (*OwnerPausableUpgradeableUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*OwnerPausableUpgradeableFilterer) ParseOwnershipTransferred ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnerPausableUpgradeableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnerPausableUpgradeableFilterer) ParsePaused ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) ParsePaused(log types.Log) (*OwnerPausableUpgradeablePaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*OwnerPausableUpgradeableFilterer) ParseUnpaused ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) ParseUnpaused(log types.Log) (*OwnerPausableUpgradeableUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*OwnerPausableUpgradeableFilterer) WatchOwnershipTransferred ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnerPausableUpgradeableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnerPausableUpgradeableFilterer) WatchPaused ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *OwnerPausableUpgradeablePaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*OwnerPausableUpgradeableFilterer) WatchUnpaused ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *OwnerPausableUpgradeableUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type OwnerPausableUpgradeableOwnershipTransferred ¶
type OwnerPausableUpgradeableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnerPausableUpgradeableOwnershipTransferred represents a OwnershipTransferred event raised by the OwnerPausableUpgradeable contract.
type OwnerPausableUpgradeableOwnershipTransferredIterator ¶
type OwnerPausableUpgradeableOwnershipTransferredIterator struct { Event *OwnerPausableUpgradeableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnerPausableUpgradeableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the OwnerPausableUpgradeable contract.
func (*OwnerPausableUpgradeableOwnershipTransferredIterator) Close ¶
func (it *OwnerPausableUpgradeableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnerPausableUpgradeableOwnershipTransferredIterator) Error ¶
func (it *OwnerPausableUpgradeableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnerPausableUpgradeableOwnershipTransferredIterator) Next ¶
func (it *OwnerPausableUpgradeableOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OwnerPausableUpgradeablePaused ¶
type OwnerPausableUpgradeablePaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
OwnerPausableUpgradeablePaused represents a Paused event raised by the OwnerPausableUpgradeable contract.
type OwnerPausableUpgradeablePausedIterator ¶
type OwnerPausableUpgradeablePausedIterator struct { Event *OwnerPausableUpgradeablePaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnerPausableUpgradeablePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the OwnerPausableUpgradeable contract.
func (*OwnerPausableUpgradeablePausedIterator) Close ¶
func (it *OwnerPausableUpgradeablePausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnerPausableUpgradeablePausedIterator) Error ¶
func (it *OwnerPausableUpgradeablePausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnerPausableUpgradeablePausedIterator) Next ¶
func (it *OwnerPausableUpgradeablePausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OwnerPausableUpgradeableRaw ¶
type OwnerPausableUpgradeableRaw struct {
Contract *OwnerPausableUpgradeable // Generic contract binding to access the raw methods on
}
OwnerPausableUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnerPausableUpgradeableRaw) Call ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableRaw) 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 (*OwnerPausableUpgradeableRaw) Transact ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnerPausableUpgradeableRaw) Transfer ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableRaw) 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 OwnerPausableUpgradeableSession ¶
type OwnerPausableUpgradeableSession struct { Contract *OwnerPausableUpgradeable // 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 }
OwnerPausableUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnerPausableUpgradeableSession) Owner ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnerPausableUpgradeableSession) Pause ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*OwnerPausableUpgradeableSession) Paused ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*OwnerPausableUpgradeableSession) RenounceOwnership ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnerPausableUpgradeableSession) TransferOwnership ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*OwnerPausableUpgradeableSession) Unpause ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type OwnerPausableUpgradeableTransactor ¶
type OwnerPausableUpgradeableTransactor struct {
// contains filtered or unexported fields
}
OwnerPausableUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnerPausableUpgradeableTransactor ¶
func NewOwnerPausableUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnerPausableUpgradeableTransactor, error)
NewOwnerPausableUpgradeableTransactor creates a new write-only instance of OwnerPausableUpgradeable, bound to a specific deployed contract.
func (*OwnerPausableUpgradeableTransactor) Pause ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*OwnerPausableUpgradeableTransactor) RenounceOwnership ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnerPausableUpgradeableTransactor) TransferOwnership ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*OwnerPausableUpgradeableTransactor) Unpause ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type OwnerPausableUpgradeableTransactorRaw ¶
type OwnerPausableUpgradeableTransactorRaw struct {
Contract *OwnerPausableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnerPausableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnerPausableUpgradeableTransactorRaw) Transact ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnerPausableUpgradeableTransactorRaw) Transfer ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorRaw) 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 OwnerPausableUpgradeableTransactorSession ¶
type OwnerPausableUpgradeableTransactorSession struct { Contract *OwnerPausableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnerPausableUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnerPausableUpgradeableTransactorSession) Pause ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*OwnerPausableUpgradeableTransactorSession) RenounceOwnership ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnerPausableUpgradeableTransactorSession) TransferOwnership ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*OwnerPausableUpgradeableTransactorSession) Unpause ¶
func (_OwnerPausableUpgradeable *OwnerPausableUpgradeableTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type OwnerPausableUpgradeableUnpaused ¶
type OwnerPausableUpgradeableUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
OwnerPausableUpgradeableUnpaused represents a Unpaused event raised by the OwnerPausableUpgradeable contract.
type OwnerPausableUpgradeableUnpausedIterator ¶
type OwnerPausableUpgradeableUnpausedIterator struct { Event *OwnerPausableUpgradeableUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnerPausableUpgradeableUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the OwnerPausableUpgradeable contract.
func (*OwnerPausableUpgradeableUnpausedIterator) Close ¶
func (it *OwnerPausableUpgradeableUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnerPausableUpgradeableUnpausedIterator) Error ¶
func (it *OwnerPausableUpgradeableUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnerPausableUpgradeableUnpausedIterator) Next ¶
func (it *OwnerPausableUpgradeableUnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type PausableUpgradeable ¶
type PausableUpgradeable struct { PausableUpgradeableCaller // Read-only binding to the contract PausableUpgradeableTransactor // Write-only binding to the contract PausableUpgradeableFilterer // Log filterer for contract events }
PausableUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewPausableUpgradeable ¶
func NewPausableUpgradeable(address common.Address, backend bind.ContractBackend) (*PausableUpgradeable, error)
NewPausableUpgradeable creates a new instance of PausableUpgradeable, bound to a specific deployed contract.
type PausableUpgradeableCaller ¶
type PausableUpgradeableCaller struct {
// contains filtered or unexported fields
}
PausableUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPausableUpgradeableCaller ¶
func NewPausableUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*PausableUpgradeableCaller, error)
NewPausableUpgradeableCaller creates a new read-only instance of PausableUpgradeable, bound to a specific deployed contract.
type PausableUpgradeableCallerRaw ¶
type PausableUpgradeableCallerRaw struct {
Contract *PausableUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
PausableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PausableUpgradeableCallerRaw) Call ¶
func (_PausableUpgradeable *PausableUpgradeableCallerRaw) 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 PausableUpgradeableCallerSession ¶
type PausableUpgradeableCallerSession struct { Contract *PausableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PausableUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PausableUpgradeableCallerSession) Paused ¶
func (_PausableUpgradeable *PausableUpgradeableCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
type PausableUpgradeableFilterer ¶
type PausableUpgradeableFilterer struct {
// contains filtered or unexported fields
}
PausableUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPausableUpgradeableFilterer ¶
func NewPausableUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*PausableUpgradeableFilterer, error)
NewPausableUpgradeableFilterer creates a new log filterer instance of PausableUpgradeable, bound to a specific deployed contract.
func (*PausableUpgradeableFilterer) FilterPaused ¶
func (_PausableUpgradeable *PausableUpgradeableFilterer) FilterPaused(opts *bind.FilterOpts) (*PausableUpgradeablePausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*PausableUpgradeableFilterer) FilterUnpaused ¶
func (_PausableUpgradeable *PausableUpgradeableFilterer) FilterUnpaused(opts *bind.FilterOpts) (*PausableUpgradeableUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*PausableUpgradeableFilterer) ParsePaused ¶
func (_PausableUpgradeable *PausableUpgradeableFilterer) ParsePaused(log types.Log) (*PausableUpgradeablePaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*PausableUpgradeableFilterer) ParseUnpaused ¶
func (_PausableUpgradeable *PausableUpgradeableFilterer) ParseUnpaused(log types.Log) (*PausableUpgradeableUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*PausableUpgradeableFilterer) WatchPaused ¶
func (_PausableUpgradeable *PausableUpgradeableFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *PausableUpgradeablePaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*PausableUpgradeableFilterer) WatchUnpaused ¶
func (_PausableUpgradeable *PausableUpgradeableFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *PausableUpgradeableUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type PausableUpgradeablePaused ¶
type PausableUpgradeablePaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
PausableUpgradeablePaused represents a Paused event raised by the PausableUpgradeable contract.
type PausableUpgradeablePausedIterator ¶
type PausableUpgradeablePausedIterator struct { Event *PausableUpgradeablePaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PausableUpgradeablePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the PausableUpgradeable contract.
func (*PausableUpgradeablePausedIterator) Close ¶
func (it *PausableUpgradeablePausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PausableUpgradeablePausedIterator) Error ¶
func (it *PausableUpgradeablePausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PausableUpgradeablePausedIterator) Next ¶
func (it *PausableUpgradeablePausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type PausableUpgradeableRaw ¶
type PausableUpgradeableRaw struct {
Contract *PausableUpgradeable // Generic contract binding to access the raw methods on
}
PausableUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PausableUpgradeableRaw) Call ¶
func (_PausableUpgradeable *PausableUpgradeableRaw) 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 (*PausableUpgradeableRaw) Transact ¶
func (_PausableUpgradeable *PausableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PausableUpgradeableRaw) Transfer ¶
func (_PausableUpgradeable *PausableUpgradeableRaw) 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 PausableUpgradeableSession ¶
type PausableUpgradeableSession struct { Contract *PausableUpgradeable // 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 }
PausableUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PausableUpgradeableSession) Paused ¶
func (_PausableUpgradeable *PausableUpgradeableSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
type PausableUpgradeableTransactor ¶
type PausableUpgradeableTransactor struct {
// contains filtered or unexported fields
}
PausableUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPausableUpgradeableTransactor ¶
func NewPausableUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*PausableUpgradeableTransactor, error)
NewPausableUpgradeableTransactor creates a new write-only instance of PausableUpgradeable, bound to a specific deployed contract.
type PausableUpgradeableTransactorRaw ¶
type PausableUpgradeableTransactorRaw struct {
Contract *PausableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
PausableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PausableUpgradeableTransactorRaw) Transact ¶
func (_PausableUpgradeable *PausableUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PausableUpgradeableTransactorRaw) Transfer ¶
func (_PausableUpgradeable *PausableUpgradeableTransactorRaw) 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 PausableUpgradeableTransactorSession ¶
type PausableUpgradeableTransactorSession struct { Contract *PausableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PausableUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type PausableUpgradeableUnpaused ¶
type PausableUpgradeableUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
PausableUpgradeableUnpaused represents a Unpaused event raised by the PausableUpgradeable contract.
type PausableUpgradeableUnpausedIterator ¶
type PausableUpgradeableUnpausedIterator struct { Event *PausableUpgradeableUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PausableUpgradeableUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the PausableUpgradeable contract.
func (*PausableUpgradeableUnpausedIterator) Close ¶
func (it *PausableUpgradeableUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PausableUpgradeableUnpausedIterator) Error ¶
func (it *PausableUpgradeableUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PausableUpgradeableUnpausedIterator) Next ¶
func (it *PausableUpgradeableUnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ReentrancyGuardUpgradeable ¶
type ReentrancyGuardUpgradeable struct { ReentrancyGuardUpgradeableCaller // Read-only binding to the contract ReentrancyGuardUpgradeableTransactor // Write-only binding to the contract ReentrancyGuardUpgradeableFilterer // Log filterer for contract events }
ReentrancyGuardUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewReentrancyGuardUpgradeable ¶
func NewReentrancyGuardUpgradeable(address common.Address, backend bind.ContractBackend) (*ReentrancyGuardUpgradeable, error)
NewReentrancyGuardUpgradeable creates a new instance of ReentrancyGuardUpgradeable, bound to a specific deployed contract.
type ReentrancyGuardUpgradeableCaller ¶
type ReentrancyGuardUpgradeableCaller struct {
// contains filtered or unexported fields
}
ReentrancyGuardUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewReentrancyGuardUpgradeableCaller ¶
func NewReentrancyGuardUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ReentrancyGuardUpgradeableCaller, error)
NewReentrancyGuardUpgradeableCaller creates a new read-only instance of ReentrancyGuardUpgradeable, bound to a specific deployed contract.
type ReentrancyGuardUpgradeableCallerRaw ¶
type ReentrancyGuardUpgradeableCallerRaw struct {
Contract *ReentrancyGuardUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
ReentrancyGuardUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ReentrancyGuardUpgradeableCallerRaw) Call ¶
func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableCallerRaw) 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 ReentrancyGuardUpgradeableCallerSession ¶
type ReentrancyGuardUpgradeableCallerSession struct { Contract *ReentrancyGuardUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ReentrancyGuardUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ReentrancyGuardUpgradeableFilterer ¶
type ReentrancyGuardUpgradeableFilterer struct {
// contains filtered or unexported fields
}
ReentrancyGuardUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewReentrancyGuardUpgradeableFilterer ¶
func NewReentrancyGuardUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ReentrancyGuardUpgradeableFilterer, error)
NewReentrancyGuardUpgradeableFilterer creates a new log filterer instance of ReentrancyGuardUpgradeable, bound to a specific deployed contract.
type ReentrancyGuardUpgradeableRaw ¶
type ReentrancyGuardUpgradeableRaw struct {
Contract *ReentrancyGuardUpgradeable // Generic contract binding to access the raw methods on
}
ReentrancyGuardUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ReentrancyGuardUpgradeableRaw) Call ¶
func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableRaw) 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 (*ReentrancyGuardUpgradeableRaw) Transact ¶
func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReentrancyGuardUpgradeableRaw) Transfer ¶
func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableRaw) 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 ReentrancyGuardUpgradeableSession ¶
type ReentrancyGuardUpgradeableSession struct { Contract *ReentrancyGuardUpgradeable // 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 }
ReentrancyGuardUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ReentrancyGuardUpgradeableTransactor ¶
type ReentrancyGuardUpgradeableTransactor struct {
// contains filtered or unexported fields
}
ReentrancyGuardUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewReentrancyGuardUpgradeableTransactor ¶
func NewReentrancyGuardUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ReentrancyGuardUpgradeableTransactor, error)
NewReentrancyGuardUpgradeableTransactor creates a new write-only instance of ReentrancyGuardUpgradeable, bound to a specific deployed contract.
type ReentrancyGuardUpgradeableTransactorRaw ¶
type ReentrancyGuardUpgradeableTransactorRaw struct {
Contract *ReentrancyGuardUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
ReentrancyGuardUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ReentrancyGuardUpgradeableTransactorRaw) Transact ¶
func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReentrancyGuardUpgradeableTransactorRaw) Transfer ¶
func (_ReentrancyGuardUpgradeable *ReentrancyGuardUpgradeableTransactorRaw) 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 ReentrancyGuardUpgradeableTransactorSession ¶
type ReentrancyGuardUpgradeableTransactorSession struct { Contract *ReentrancyGuardUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ReentrancyGuardUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeERC20 ¶
type SafeERC20 struct { SafeERC20Caller // Read-only binding to the contract SafeERC20Transactor // Write-only binding to the contract SafeERC20Filterer // Log filterer for contract events }
SafeERC20 is an auto generated Go binding around an Ethereum contract.
func DeploySafeERC20 ¶
func DeploySafeERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeERC20, error)
DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.
func NewSafeERC20 ¶
NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Caller ¶
type SafeERC20Caller struct {
// contains filtered or unexported fields
}
SafeERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeERC20Caller ¶
func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)
NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20CallerRaw ¶
type SafeERC20CallerRaw struct {
Contract *SafeERC20Caller // Generic read-only contract binding to access the raw methods on
}
SafeERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeERC20CallerRaw) Call ¶
func (_SafeERC20 *SafeERC20CallerRaw) 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 SafeERC20CallerSession ¶
type SafeERC20CallerSession struct { Contract *SafeERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeERC20Filterer ¶
type SafeERC20Filterer struct {
// contains filtered or unexported fields
}
SafeERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeERC20Filterer ¶
func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)
NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Raw ¶
type SafeERC20Raw struct {
Contract *SafeERC20 // Generic contract binding to access the raw methods on
}
SafeERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeERC20Raw) Call ¶
func (_SafeERC20 *SafeERC20Raw) 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 (*SafeERC20Raw) Transact ¶
func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20Raw) Transfer ¶
func (_SafeERC20 *SafeERC20Raw) 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 SafeERC20Session ¶
type SafeERC20Session struct { Contract *SafeERC20 // 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 }
SafeERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeERC20Transactor ¶
type SafeERC20Transactor struct {
// contains filtered or unexported fields
}
SafeERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeERC20Transactor ¶
func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)
NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20TransactorRaw ¶
type SafeERC20TransactorRaw struct {
Contract *SafeERC20Transactor // Generic write-only contract binding to access the raw methods on
}
SafeERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeERC20TransactorRaw) Transact ¶
func (_SafeERC20 *SafeERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20TransactorRaw) Transfer ¶
func (_SafeERC20 *SafeERC20TransactorRaw) 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 SafeERC20TransactorSession ¶
type SafeERC20TransactorSession struct { Contract *SafeERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeMathUpgradeable ¶
type SafeMathUpgradeable struct { SafeMathUpgradeableCaller // Read-only binding to the contract SafeMathUpgradeableTransactor // Write-only binding to the contract SafeMathUpgradeableFilterer // Log filterer for contract events }
SafeMathUpgradeable is an auto generated Go binding around an Ethereum contract.
func DeploySafeMathUpgradeable ¶
func DeploySafeMathUpgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMathUpgradeable, error)
DeploySafeMathUpgradeable deploys a new Ethereum contract, binding an instance of SafeMathUpgradeable to it.
func NewSafeMathUpgradeable ¶
func NewSafeMathUpgradeable(address common.Address, backend bind.ContractBackend) (*SafeMathUpgradeable, error)
NewSafeMathUpgradeable creates a new instance of SafeMathUpgradeable, bound to a specific deployed contract.
type SafeMathUpgradeableCaller ¶
type SafeMathUpgradeableCaller struct {
// contains filtered or unexported fields
}
SafeMathUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathUpgradeableCaller ¶
func NewSafeMathUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*SafeMathUpgradeableCaller, error)
NewSafeMathUpgradeableCaller creates a new read-only instance of SafeMathUpgradeable, bound to a specific deployed contract.
type SafeMathUpgradeableCallerRaw ¶
type SafeMathUpgradeableCallerRaw struct {
Contract *SafeMathUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathUpgradeableCallerRaw) Call ¶
func (_SafeMathUpgradeable *SafeMathUpgradeableCallerRaw) 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 SafeMathUpgradeableCallerSession ¶
type SafeMathUpgradeableCallerSession struct { Contract *SafeMathUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathUpgradeableFilterer ¶
type SafeMathUpgradeableFilterer struct {
// contains filtered or unexported fields
}
SafeMathUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathUpgradeableFilterer ¶
func NewSafeMathUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathUpgradeableFilterer, error)
NewSafeMathUpgradeableFilterer creates a new log filterer instance of SafeMathUpgradeable, bound to a specific deployed contract.
type SafeMathUpgradeableRaw ¶
type SafeMathUpgradeableRaw struct {
Contract *SafeMathUpgradeable // Generic contract binding to access the raw methods on
}
SafeMathUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathUpgradeableRaw) Call ¶
func (_SafeMathUpgradeable *SafeMathUpgradeableRaw) 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 (*SafeMathUpgradeableRaw) Transact ¶
func (_SafeMathUpgradeable *SafeMathUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathUpgradeableRaw) Transfer ¶
func (_SafeMathUpgradeable *SafeMathUpgradeableRaw) 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 SafeMathUpgradeableSession ¶
type SafeMathUpgradeableSession struct { Contract *SafeMathUpgradeable // 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 }
SafeMathUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathUpgradeableTransactor ¶
type SafeMathUpgradeableTransactor struct {
// contains filtered or unexported fields
}
SafeMathUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathUpgradeableTransactor ¶
func NewSafeMathUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathUpgradeableTransactor, error)
NewSafeMathUpgradeableTransactor creates a new write-only instance of SafeMathUpgradeable, bound to a specific deployed contract.
type SafeMathUpgradeableTransactorRaw ¶
type SafeMathUpgradeableTransactorRaw struct {
Contract *SafeMathUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathUpgradeableTransactorRaw) Transact ¶
func (_SafeMathUpgradeable *SafeMathUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathUpgradeableTransactorRaw) Transfer ¶
func (_SafeMathUpgradeable *SafeMathUpgradeableTransactorRaw) 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 SafeMathUpgradeableTransactorSession ¶
type SafeMathUpgradeableTransactorSession struct { Contract *SafeMathUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Swap ¶
type Swap struct { SwapCaller // Read-only binding to the contract SwapTransactor // Write-only binding to the contract SwapFilterer // Log filterer for contract events }
Swap is an auto generated Go binding around an Ethereum contract.
func DeploySwap ¶
func DeploySwap(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Swap, error)
DeploySwap deploys a new Ethereum contract, binding an instance of Swap to it.
type SwapAddLiquidity ¶
type SwapAddLiquidity struct { Provider common.Address TokenAmounts []*big.Int Fees []*big.Int Invariant *big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapAddLiquidity represents a AddLiquidity event raised by the Swap contract.
type SwapAddLiquidityIterator ¶
type SwapAddLiquidityIterator struct { Event *SwapAddLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the Swap contract.
func (*SwapAddLiquidityIterator) Close ¶
func (it *SwapAddLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapAddLiquidityIterator) Error ¶
func (it *SwapAddLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapAddLiquidityIterator) Next ¶
func (it *SwapAddLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapCaller ¶
type SwapCaller struct {
// contains filtered or unexported fields
}
SwapCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSwapCaller ¶
func NewSwapCaller(address common.Address, caller bind.ContractCaller) (*SwapCaller, error)
NewSwapCaller creates a new read-only instance of Swap, bound to a specific deployed contract.
func (*SwapCaller) CalculateRemoveLiquidity ¶
func (_Swap *SwapCaller) CalculateRemoveLiquidity(opts *bind.CallOpts, amount *big.Int) ([]*big.Int, error)
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*SwapCaller) CalculateRemoveLiquidityOneToken ¶
func (_Swap *SwapCaller) CalculateRemoveLiquidityOneToken(opts *bind.CallOpts, tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*SwapCaller) CalculateSwap ¶
func (_Swap *SwapCaller) CalculateSwap(opts *bind.CallOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*SwapCaller) CalculateTokenAmount ¶
func (_Swap *SwapCaller) CalculateTokenAmount(opts *bind.CallOpts, amounts []*big.Int, deposit bool) (*big.Int, error)
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*SwapCaller) GetA ¶
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*SwapCaller) GetAPrecise ¶
GetAPrecise is a free data retrieval call binding the contract method 0x0ba81959.
Solidity: function getAPrecise() view returns(uint256)
func (*SwapCaller) GetAdminBalance ¶
GetAdminBalance is a free data retrieval call binding the contract method 0xef0a712f.
Solidity: function getAdminBalance(uint256 index) view returns(uint256)
func (*SwapCaller) GetToken ¶
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*SwapCaller) GetTokenBalance ¶
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*SwapCaller) GetTokenIndex ¶
func (_Swap *SwapCaller) GetTokenIndex(opts *bind.CallOpts, tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*SwapCaller) GetVirtualPrice ¶
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
func (*SwapCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SwapCaller) Paused ¶
func (_Swap *SwapCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SwapCaller) SwapStorage ¶
func (_Swap *SwapCaller) SwapStorage(opts *bind.CallOpts) (struct { InitialA *big.Int FutureA *big.Int InitialATime *big.Int FutureATime *big.Int SwapFee *big.Int AdminFee *big.Int LpToken common.Address }, error)
SwapStorage is a free data retrieval call binding the contract method 0x5fd65f0f.
Solidity: function swapStorage() view returns(uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, address lpToken)
type SwapCallerRaw ¶
type SwapCallerRaw struct {
Contract *SwapCaller // Generic read-only contract binding to access the raw methods on
}
SwapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SwapCallerRaw) Call ¶
func (_Swap *SwapCallerRaw) 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 SwapCallerSession ¶
type SwapCallerSession struct { Contract *SwapCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SwapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SwapCallerSession) CalculateRemoveLiquidity ¶
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*SwapCallerSession) CalculateRemoveLiquidityOneToken ¶
func (_Swap *SwapCallerSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*SwapCallerSession) CalculateSwap ¶
func (_Swap *SwapCallerSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*SwapCallerSession) CalculateTokenAmount ¶
func (_Swap *SwapCallerSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*SwapCallerSession) GetA ¶
func (_Swap *SwapCallerSession) GetA() (*big.Int, error)
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*SwapCallerSession) GetAPrecise ¶
func (_Swap *SwapCallerSession) GetAPrecise() (*big.Int, error)
GetAPrecise is a free data retrieval call binding the contract method 0x0ba81959.
Solidity: function getAPrecise() view returns(uint256)
func (*SwapCallerSession) GetAdminBalance ¶
GetAdminBalance is a free data retrieval call binding the contract method 0xef0a712f.
Solidity: function getAdminBalance(uint256 index) view returns(uint256)
func (*SwapCallerSession) GetToken ¶
func (_Swap *SwapCallerSession) GetToken(index uint8) (common.Address, error)
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*SwapCallerSession) GetTokenBalance ¶
func (_Swap *SwapCallerSession) GetTokenBalance(index uint8) (*big.Int, error)
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*SwapCallerSession) GetTokenIndex ¶
func (_Swap *SwapCallerSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*SwapCallerSession) GetVirtualPrice ¶
func (_Swap *SwapCallerSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
func (*SwapCallerSession) Owner ¶
func (_Swap *SwapCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SwapCallerSession) Paused ¶
func (_Swap *SwapCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SwapCallerSession) SwapStorage ¶
func (_Swap *SwapCallerSession) SwapStorage() (struct { InitialA *big.Int FutureA *big.Int InitialATime *big.Int FutureATime *big.Int SwapFee *big.Int AdminFee *big.Int LpToken common.Address }, error)
SwapStorage is a free data retrieval call binding the contract method 0x5fd65f0f.
Solidity: function swapStorage() view returns(uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, address lpToken)
type SwapFilterer ¶
type SwapFilterer struct {
// contains filtered or unexported fields
}
SwapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSwapFilterer ¶
func NewSwapFilterer(address common.Address, filterer bind.ContractFilterer) (*SwapFilterer, error)
NewSwapFilterer creates a new log filterer instance of Swap, bound to a specific deployed contract.
func (*SwapFilterer) FilterAddLiquidity ¶
func (_Swap *SwapFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapAddLiquidityIterator, error)
FilterAddLiquidity is a free log retrieval operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFilterer) FilterNewAdminFee ¶
func (_Swap *SwapFilterer) FilterNewAdminFee(opts *bind.FilterOpts) (*SwapNewAdminFeeIterator, error)
FilterNewAdminFee is a free log retrieval operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapFilterer) FilterNewSwapFee ¶
func (_Swap *SwapFilterer) FilterNewSwapFee(opts *bind.FilterOpts) (*SwapNewSwapFeeIterator, error)
FilterNewSwapFee is a free log retrieval operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapFilterer) FilterOwnershipTransferred ¶
func (_Swap *SwapFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SwapOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*SwapFilterer) FilterPaused ¶
func (_Swap *SwapFilterer) FilterPaused(opts *bind.FilterOpts) (*SwapPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SwapFilterer) FilterRampA ¶
func (_Swap *SwapFilterer) FilterRampA(opts *bind.FilterOpts) (*SwapRampAIterator, error)
FilterRampA is a free log retrieval operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*SwapFilterer) FilterRemoveLiquidity ¶
func (_Swap *SwapFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapRemoveLiquidityIterator, error)
FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapFilterer) FilterRemoveLiquidityImbalance ¶
func (_Swap *SwapFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*SwapRemoveLiquidityImbalanceIterator, error)
FilterRemoveLiquidityImbalance is a free log retrieval operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFilterer) FilterRemoveLiquidityOne ¶
func (_Swap *SwapFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*SwapRemoveLiquidityOneIterator, error)
FilterRemoveLiquidityOne is a free log retrieval operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapFilterer) FilterStopRampA ¶
func (_Swap *SwapFilterer) FilterStopRampA(opts *bind.FilterOpts) (*SwapStopRampAIterator, error)
FilterStopRampA is a free log retrieval operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
func (*SwapFilterer) FilterTokenSwap ¶
func (_Swap *SwapFilterer) FilterTokenSwap(opts *bind.FilterOpts, buyer []common.Address) (*SwapTokenSwapIterator, error)
FilterTokenSwap is a free log retrieval operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
func (*SwapFilterer) FilterUnpaused ¶
func (_Swap *SwapFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SwapUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*SwapFilterer) ParseAddLiquidity ¶
func (_Swap *SwapFilterer) ParseAddLiquidity(log types.Log) (*SwapAddLiquidity, error)
ParseAddLiquidity is a log parse operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFilterer) ParseNewAdminFee ¶
func (_Swap *SwapFilterer) ParseNewAdminFee(log types.Log) (*SwapNewAdminFee, error)
ParseNewAdminFee is a log parse operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapFilterer) ParseNewSwapFee ¶
func (_Swap *SwapFilterer) ParseNewSwapFee(log types.Log) (*SwapNewSwapFee, error)
ParseNewSwapFee is a log parse operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapFilterer) ParseOwnershipTransferred ¶
func (_Swap *SwapFilterer) ParseOwnershipTransferred(log types.Log) (*SwapOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*SwapFilterer) ParsePaused ¶
func (_Swap *SwapFilterer) ParsePaused(log types.Log) (*SwapPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SwapFilterer) ParseRampA ¶
func (_Swap *SwapFilterer) ParseRampA(log types.Log) (*SwapRampA, error)
ParseRampA is a log parse operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*SwapFilterer) ParseRemoveLiquidity ¶
func (_Swap *SwapFilterer) ParseRemoveLiquidity(log types.Log) (*SwapRemoveLiquidity, error)
ParseRemoveLiquidity is a log parse operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapFilterer) ParseRemoveLiquidityImbalance ¶
func (_Swap *SwapFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*SwapRemoveLiquidityImbalance, error)
ParseRemoveLiquidityImbalance is a log parse operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFilterer) ParseRemoveLiquidityOne ¶
func (_Swap *SwapFilterer) ParseRemoveLiquidityOne(log types.Log) (*SwapRemoveLiquidityOne, error)
ParseRemoveLiquidityOne is a log parse operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapFilterer) ParseStopRampA ¶
func (_Swap *SwapFilterer) ParseStopRampA(log types.Log) (*SwapStopRampA, error)
ParseStopRampA is a log parse operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
func (*SwapFilterer) ParseTokenSwap ¶
func (_Swap *SwapFilterer) ParseTokenSwap(log types.Log) (*SwapTokenSwap, error)
ParseTokenSwap is a log parse operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
func (*SwapFilterer) ParseUnpaused ¶
func (_Swap *SwapFilterer) ParseUnpaused(log types.Log) (*SwapUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*SwapFilterer) WatchAddLiquidity ¶
func (_Swap *SwapFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *SwapAddLiquidity, provider []common.Address) (event.Subscription, error)
WatchAddLiquidity is a free log subscription operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFilterer) WatchNewAdminFee ¶
func (_Swap *SwapFilterer) WatchNewAdminFee(opts *bind.WatchOpts, sink chan<- *SwapNewAdminFee) (event.Subscription, error)
WatchNewAdminFee is a free log subscription operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapFilterer) WatchNewSwapFee ¶
func (_Swap *SwapFilterer) WatchNewSwapFee(opts *bind.WatchOpts, sink chan<- *SwapNewSwapFee) (event.Subscription, error)
WatchNewSwapFee is a free log subscription operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapFilterer) WatchOwnershipTransferred ¶
func (_Swap *SwapFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SwapOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*SwapFilterer) WatchPaused ¶
func (_Swap *SwapFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SwapPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SwapFilterer) WatchRampA ¶
func (_Swap *SwapFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *SwapRampA) (event.Subscription, error)
WatchRampA is a free log subscription operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*SwapFilterer) WatchRemoveLiquidity ¶
func (_Swap *SwapFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *SwapRemoveLiquidity, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapFilterer) WatchRemoveLiquidityImbalance ¶
func (_Swap *SwapFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *SwapRemoveLiquidityImbalance, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityImbalance is a free log subscription operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFilterer) WatchRemoveLiquidityOne ¶
func (_Swap *SwapFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *SwapRemoveLiquidityOne, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityOne is a free log subscription operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapFilterer) WatchStopRampA ¶
func (_Swap *SwapFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *SwapStopRampA) (event.Subscription, error)
WatchStopRampA is a free log subscription operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
func (*SwapFilterer) WatchTokenSwap ¶
func (_Swap *SwapFilterer) WatchTokenSwap(opts *bind.WatchOpts, sink chan<- *SwapTokenSwap, buyer []common.Address) (event.Subscription, error)
WatchTokenSwap is a free log subscription operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
func (*SwapFilterer) WatchUnpaused ¶
func (_Swap *SwapFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SwapUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type SwapFlashLoan ¶
type SwapFlashLoan struct { SwapFlashLoanCaller // Read-only binding to the contract SwapFlashLoanTransactor // Write-only binding to the contract SwapFlashLoanFilterer // Log filterer for contract events }
SwapFlashLoan is an auto generated Go binding around an Ethereum contract.
func DeploySwapFlashLoan ¶
func DeploySwapFlashLoan(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SwapFlashLoan, error)
DeploySwapFlashLoan deploys a new Ethereum contract, binding an instance of SwapFlashLoan to it.
func NewSwapFlashLoan ¶
func NewSwapFlashLoan(address common.Address, backend bind.ContractBackend) (*SwapFlashLoan, error)
NewSwapFlashLoan creates a new instance of SwapFlashLoan, bound to a specific deployed contract.
type SwapFlashLoanAddLiquidity ¶
type SwapFlashLoanAddLiquidity struct { Provider common.Address TokenAmounts []*big.Int Fees []*big.Int Invariant *big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanAddLiquidity represents a AddLiquidity event raised by the SwapFlashLoan contract.
func (SwapFlashLoanAddLiquidity) GetAmount ¶
func (s SwapFlashLoanAddLiquidity) GetAmount() map[uint8]string
GetAmount gets the token amounts.
func (SwapFlashLoanAddLiquidity) GetAmountFee ¶
func (s SwapFlashLoanAddLiquidity) GetAmountFee() map[uint8]string
GetAmountFee gets the fees.
func (SwapFlashLoanAddLiquidity) GetBlockNumber ¶
func (s SwapFlashLoanAddLiquidity) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanAddLiquidity) GetBoughtId ¶
func (s SwapFlashLoanAddLiquidity) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanAddLiquidity) GetBuyer ¶
func (s SwapFlashLoanAddLiquidity) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanAddLiquidity) GetContractAddress ¶
func (s SwapFlashLoanAddLiquidity) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanAddLiquidity) GetCurrentA ¶
func (s SwapFlashLoanAddLiquidity) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanAddLiquidity) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanAddLiquidity) GetEventIndex() uint64
func (SwapFlashLoanAddLiquidity) GetEventType ¶
func (s SwapFlashLoanAddLiquidity) GetEventType() swap.EventType
GetEventType gets the type of the redeem event.
func (SwapFlashLoanAddLiquidity) GetFutureTime ¶
func (s SwapFlashLoanAddLiquidity) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanAddLiquidity) GetInitialTime ¶
func (s SwapFlashLoanAddLiquidity) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanAddLiquidity) GetInvariant ¶
func (s SwapFlashLoanAddLiquidity) GetInvariant() *big.Int
GetInvariant gets the invariant of the swap.
func (SwapFlashLoanAddLiquidity) GetLPTokenAmount ¶
func (s SwapFlashLoanAddLiquidity) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanAddLiquidity) GetLPTokenSupply ¶
func (s SwapFlashLoanAddLiquidity) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets the LP token supply.
func (SwapFlashLoanAddLiquidity) GetNewA ¶
func (s SwapFlashLoanAddLiquidity) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanAddLiquidity) GetNewAdminFee ¶
func (s SwapFlashLoanAddLiquidity) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanAddLiquidity) GetNewSwapFee ¶
func (s SwapFlashLoanAddLiquidity) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanAddLiquidity) GetOldA ¶
func (s SwapFlashLoanAddLiquidity) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanAddLiquidity) GetProtocolFee ¶
func (s SwapFlashLoanAddLiquidity) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanAddLiquidity) GetProvider ¶
func (s SwapFlashLoanAddLiquidity) GetProvider() *common.Address
GetProvider gets the provider.
func (SwapFlashLoanAddLiquidity) GetRaw ¶
func (s SwapFlashLoanAddLiquidity) GetRaw() ethTypes.Log
GetRaw gets the raw event logs from the redeem and remove event.
func (SwapFlashLoanAddLiquidity) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanAddLiquidity) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanAddLiquidity) GetSoldId ¶
func (s SwapFlashLoanAddLiquidity) GetSoldId() *big.Int
GetSoldId gets the solid id.
func (SwapFlashLoanAddLiquidity) GetTime ¶
func (s SwapFlashLoanAddLiquidity) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanAddLiquidity) GetTokensBought ¶
func (s SwapFlashLoanAddLiquidity) GetTokensBought() *big.Int
GetTokensBought gets the amount of tokens bought.
func (SwapFlashLoanAddLiquidity) GetTokensSold ¶
func (s SwapFlashLoanAddLiquidity) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanAddLiquidity) GetTxHash ¶
func (s SwapFlashLoanAddLiquidity) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the withdraw.
type SwapFlashLoanAddLiquidityIterator ¶
type SwapFlashLoanAddLiquidityIterator struct { Event *SwapFlashLoanAddLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanAddLiquidityIterator) Close ¶
func (it *SwapFlashLoanAddLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanAddLiquidityIterator) Error ¶
func (it *SwapFlashLoanAddLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanAddLiquidityIterator) Next ¶
func (it *SwapFlashLoanAddLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanCaller ¶
type SwapFlashLoanCaller struct {
// contains filtered or unexported fields
}
SwapFlashLoanCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSwapFlashLoanCaller ¶
func NewSwapFlashLoanCaller(address common.Address, caller bind.ContractCaller) (*SwapFlashLoanCaller, error)
NewSwapFlashLoanCaller creates a new read-only instance of SwapFlashLoan, bound to a specific deployed contract.
func (*SwapFlashLoanCaller) CalculateRemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) CalculateRemoveLiquidity(opts *bind.CallOpts, amount *big.Int) ([]*big.Int, error)
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*SwapFlashLoanCaller) CalculateRemoveLiquidityOneToken ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) CalculateRemoveLiquidityOneToken(opts *bind.CallOpts, tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*SwapFlashLoanCaller) CalculateSwap ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) CalculateSwap(opts *bind.CallOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*SwapFlashLoanCaller) CalculateTokenAmount ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) CalculateTokenAmount(opts *bind.CallOpts, amounts []*big.Int, deposit bool) (*big.Int, error)
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*SwapFlashLoanCaller) FlashLoanFeeBPS ¶
FlashLoanFeeBPS is a free data retrieval call binding the contract method 0x7f1c825a.
Solidity: function flashLoanFeeBPS() view returns(uint256)
func (*SwapFlashLoanCaller) GetA ¶
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*SwapFlashLoanCaller) GetAPrecise ¶
GetAPrecise is a free data retrieval call binding the contract method 0x0ba81959.
Solidity: function getAPrecise() view returns(uint256)
func (*SwapFlashLoanCaller) GetAdminBalance ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) GetAdminBalance(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
GetAdminBalance is a free data retrieval call binding the contract method 0xef0a712f.
Solidity: function getAdminBalance(uint256 index) view returns(uint256)
func (*SwapFlashLoanCaller) GetToken ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) GetToken(opts *bind.CallOpts, index uint8) (common.Address, error)
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*SwapFlashLoanCaller) GetTokenBalance ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) GetTokenBalance(opts *bind.CallOpts, index uint8) (*big.Int, error)
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*SwapFlashLoanCaller) GetTokenIndex ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) GetTokenIndex(opts *bind.CallOpts, tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*SwapFlashLoanCaller) GetVirtualPrice ¶
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
func (*SwapFlashLoanCaller) MAXBPS ¶
MAXBPS is a free data retrieval call binding the contract method 0xfd967f47.
Solidity: function MAX_BPS() view returns(uint256)
func (*SwapFlashLoanCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SwapFlashLoanCaller) Paused ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SwapFlashLoanCaller) ProtocolFeeShareBPS ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) ProtocolFeeShareBPS(opts *bind.CallOpts) (*big.Int, error)
ProtocolFeeShareBPS is a free data retrieval call binding the contract method 0xe8cc7fb6.
Solidity: function protocolFeeShareBPS() view returns(uint256)
func (*SwapFlashLoanCaller) SwapStorage ¶
func (_SwapFlashLoan *SwapFlashLoanCaller) SwapStorage(opts *bind.CallOpts) (struct { InitialA *big.Int FutureA *big.Int InitialATime *big.Int FutureATime *big.Int SwapFee *big.Int AdminFee *big.Int LpToken common.Address }, error)
SwapStorage is a free data retrieval call binding the contract method 0x5fd65f0f.
Solidity: function swapStorage() view returns(uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, address lpToken)
type SwapFlashLoanCallerRaw ¶
type SwapFlashLoanCallerRaw struct {
Contract *SwapFlashLoanCaller // Generic read-only contract binding to access the raw methods on
}
SwapFlashLoanCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SwapFlashLoanCallerRaw) Call ¶
func (_SwapFlashLoan *SwapFlashLoanCallerRaw) 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 SwapFlashLoanCallerSession ¶
type SwapFlashLoanCallerSession struct { Contract *SwapFlashLoanCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SwapFlashLoanCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SwapFlashLoanCallerSession) CalculateRemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) CalculateRemoveLiquidity(amount *big.Int) ([]*big.Int, error)
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*SwapFlashLoanCallerSession) CalculateRemoveLiquidityOneToken ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*SwapFlashLoanCallerSession) CalculateSwap ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*SwapFlashLoanCallerSession) CalculateTokenAmount ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*SwapFlashLoanCallerSession) FlashLoanFeeBPS ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) FlashLoanFeeBPS() (*big.Int, error)
FlashLoanFeeBPS is a free data retrieval call binding the contract method 0x7f1c825a.
Solidity: function flashLoanFeeBPS() view returns(uint256)
func (*SwapFlashLoanCallerSession) GetA ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetA() (*big.Int, error)
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*SwapFlashLoanCallerSession) GetAPrecise ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetAPrecise() (*big.Int, error)
GetAPrecise is a free data retrieval call binding the contract method 0x0ba81959.
Solidity: function getAPrecise() view returns(uint256)
func (*SwapFlashLoanCallerSession) GetAdminBalance ¶
GetAdminBalance is a free data retrieval call binding the contract method 0xef0a712f.
Solidity: function getAdminBalance(uint256 index) view returns(uint256)
func (*SwapFlashLoanCallerSession) GetToken ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetToken(index uint8) (common.Address, error)
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*SwapFlashLoanCallerSession) GetTokenBalance ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetTokenBalance(index uint8) (*big.Int, error)
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*SwapFlashLoanCallerSession) GetTokenIndex ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*SwapFlashLoanCallerSession) GetVirtualPrice ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
func (*SwapFlashLoanCallerSession) MAXBPS ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) MAXBPS() (*big.Int, error)
MAXBPS is a free data retrieval call binding the contract method 0xfd967f47.
Solidity: function MAX_BPS() view returns(uint256)
func (*SwapFlashLoanCallerSession) Owner ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SwapFlashLoanCallerSession) Paused ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SwapFlashLoanCallerSession) ProtocolFeeShareBPS ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) ProtocolFeeShareBPS() (*big.Int, error)
ProtocolFeeShareBPS is a free data retrieval call binding the contract method 0xe8cc7fb6.
Solidity: function protocolFeeShareBPS() view returns(uint256)
func (*SwapFlashLoanCallerSession) SwapStorage ¶
func (_SwapFlashLoan *SwapFlashLoanCallerSession) SwapStorage() (struct { InitialA *big.Int FutureA *big.Int InitialATime *big.Int FutureATime *big.Int SwapFee *big.Int AdminFee *big.Int LpToken common.Address }, error)
SwapStorage is a free data retrieval call binding the contract method 0x5fd65f0f.
Solidity: function swapStorage() view returns(uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, address lpToken)
type SwapFlashLoanFilterer ¶
type SwapFlashLoanFilterer struct {
// contains filtered or unexported fields
}
SwapFlashLoanFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSwapFlashLoanFilterer ¶
func NewSwapFlashLoanFilterer(address common.Address, filterer bind.ContractFilterer) (*SwapFlashLoanFilterer, error)
NewSwapFlashLoanFilterer creates a new log filterer instance of SwapFlashLoan, bound to a specific deployed contract.
func (*SwapFlashLoanFilterer) FilterAddLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapFlashLoanAddLiquidityIterator, error)
FilterAddLiquidity is a free log retrieval operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) FilterFlashLoan ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterFlashLoan(opts *bind.FilterOpts, receiver []common.Address) (*SwapFlashLoanFlashLoanIterator, error)
FilterFlashLoan is a free log retrieval operation binding the contract event 0x7c186b2827b23e9024e7b29869cba58a97a4bac6567802a8ea6a8afa7b8c22f0.
Solidity: event FlashLoan(address indexed receiver, uint8 tokenIndex, uint256 amount, uint256 amountFee, uint256 protocolFee)
func (*SwapFlashLoanFilterer) FilterNewAdminFee ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterNewAdminFee(opts *bind.FilterOpts) (*SwapFlashLoanNewAdminFeeIterator, error)
FilterNewAdminFee is a free log retrieval operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapFlashLoanFilterer) FilterNewSwapFee ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterNewSwapFee(opts *bind.FilterOpts) (*SwapFlashLoanNewSwapFeeIterator, error)
FilterNewSwapFee is a free log retrieval operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapFlashLoanFilterer) FilterOwnershipTransferred ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SwapFlashLoanOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*SwapFlashLoanFilterer) FilterPaused ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterPaused(opts *bind.FilterOpts) (*SwapFlashLoanPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SwapFlashLoanFilterer) FilterRampA ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterRampA(opts *bind.FilterOpts) (*SwapFlashLoanRampAIterator, error)
FilterRampA is a free log retrieval operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*SwapFlashLoanFilterer) FilterRemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapFlashLoanRemoveLiquidityIterator, error)
FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) FilterRemoveLiquidityImbalance ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*SwapFlashLoanRemoveLiquidityImbalanceIterator, error)
FilterRemoveLiquidityImbalance is a free log retrieval operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) FilterRemoveLiquidityOne ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*SwapFlashLoanRemoveLiquidityOneIterator, error)
FilterRemoveLiquidityOne is a free log retrieval operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapFlashLoanFilterer) FilterStopRampA ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterStopRampA(opts *bind.FilterOpts) (*SwapFlashLoanStopRampAIterator, error)
FilterStopRampA is a free log retrieval operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
func (*SwapFlashLoanFilterer) FilterTokenSwap ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterTokenSwap(opts *bind.FilterOpts, buyer []common.Address) (*SwapFlashLoanTokenSwapIterator, error)
FilterTokenSwap is a free log retrieval operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
func (*SwapFlashLoanFilterer) FilterUnpaused ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SwapFlashLoanUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*SwapFlashLoanFilterer) ParseAddLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseAddLiquidity(log types.Log) (*SwapFlashLoanAddLiquidity, error)
ParseAddLiquidity is a log parse operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) ParseFlashLoan ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseFlashLoan(log types.Log) (*SwapFlashLoanFlashLoan, error)
ParseFlashLoan is a log parse operation binding the contract event 0x7c186b2827b23e9024e7b29869cba58a97a4bac6567802a8ea6a8afa7b8c22f0.
Solidity: event FlashLoan(address indexed receiver, uint8 tokenIndex, uint256 amount, uint256 amountFee, uint256 protocolFee)
func (*SwapFlashLoanFilterer) ParseNewAdminFee ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseNewAdminFee(log types.Log) (*SwapFlashLoanNewAdminFee, error)
ParseNewAdminFee is a log parse operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapFlashLoanFilterer) ParseNewSwapFee ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseNewSwapFee(log types.Log) (*SwapFlashLoanNewSwapFee, error)
ParseNewSwapFee is a log parse operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapFlashLoanFilterer) ParseOwnershipTransferred ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseOwnershipTransferred(log types.Log) (*SwapFlashLoanOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*SwapFlashLoanFilterer) ParsePaused ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParsePaused(log types.Log) (*SwapFlashLoanPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SwapFlashLoanFilterer) ParseRampA ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseRampA(log types.Log) (*SwapFlashLoanRampA, error)
ParseRampA is a log parse operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*SwapFlashLoanFilterer) ParseRemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseRemoveLiquidity(log types.Log) (*SwapFlashLoanRemoveLiquidity, error)
ParseRemoveLiquidity is a log parse operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) ParseRemoveLiquidityImbalance ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*SwapFlashLoanRemoveLiquidityImbalance, error)
ParseRemoveLiquidityImbalance is a log parse operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) ParseRemoveLiquidityOne ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseRemoveLiquidityOne(log types.Log) (*SwapFlashLoanRemoveLiquidityOne, error)
ParseRemoveLiquidityOne is a log parse operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapFlashLoanFilterer) ParseStopRampA ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseStopRampA(log types.Log) (*SwapFlashLoanStopRampA, error)
ParseStopRampA is a log parse operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
func (*SwapFlashLoanFilterer) ParseTokenSwap ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseTokenSwap(log types.Log) (*SwapFlashLoanTokenSwap, error)
ParseTokenSwap is a log parse operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
func (*SwapFlashLoanFilterer) ParseUnpaused ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) ParseUnpaused(log types.Log) (*SwapFlashLoanUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*SwapFlashLoanFilterer) WatchAddLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanAddLiquidity, provider []common.Address) (event.Subscription, error)
WatchAddLiquidity is a free log subscription operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) WatchFlashLoan ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanFlashLoan, receiver []common.Address) (event.Subscription, error)
WatchFlashLoan is a free log subscription operation binding the contract event 0x7c186b2827b23e9024e7b29869cba58a97a4bac6567802a8ea6a8afa7b8c22f0.
Solidity: event FlashLoan(address indexed receiver, uint8 tokenIndex, uint256 amount, uint256 amountFee, uint256 protocolFee)
func (*SwapFlashLoanFilterer) WatchNewAdminFee ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchNewAdminFee(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanNewAdminFee) (event.Subscription, error)
WatchNewAdminFee is a free log subscription operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapFlashLoanFilterer) WatchNewSwapFee ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchNewSwapFee(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanNewSwapFee) (event.Subscription, error)
WatchNewSwapFee is a free log subscription operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapFlashLoanFilterer) WatchOwnershipTransferred ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*SwapFlashLoanFilterer) WatchPaused ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SwapFlashLoanFilterer) WatchRampA ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanRampA) (event.Subscription, error)
WatchRampA is a free log subscription operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
func (*SwapFlashLoanFilterer) WatchRemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanRemoveLiquidity, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) WatchRemoveLiquidityImbalance ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanRemoveLiquidityImbalance, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityImbalance is a free log subscription operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapFlashLoanFilterer) WatchRemoveLiquidityOne ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanRemoveLiquidityOne, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityOne is a free log subscription operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapFlashLoanFilterer) WatchStopRampA ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanStopRampA) (event.Subscription, error)
WatchStopRampA is a free log subscription operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 currentA, uint256 time)
func (*SwapFlashLoanFilterer) WatchTokenSwap ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchTokenSwap(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanTokenSwap, buyer []common.Address) (event.Subscription, error)
WatchTokenSwap is a free log subscription operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
func (*SwapFlashLoanFilterer) WatchUnpaused ¶
func (_SwapFlashLoan *SwapFlashLoanFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SwapFlashLoanUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type SwapFlashLoanFlashLoan ¶
type SwapFlashLoanFlashLoan struct { Receiver common.Address TokenIndex uint8 Amount *big.Int AmountFee *big.Int ProtocolFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanFlashLoan represents a FlashLoan event raised by the SwapFlashLoan contract.
func (SwapFlashLoanFlashLoan) GetAmount ¶
func (s SwapFlashLoanFlashLoan) GetAmount() map[uint8]string
GetAmount puts the amount in a map with it's associated token index.
func (SwapFlashLoanFlashLoan) GetAmountFee ¶
func (s SwapFlashLoanFlashLoan) GetAmountFee() map[uint8]string
GetAmountFee gets the amount fee.
func (SwapFlashLoanFlashLoan) GetBlockNumber ¶
func (s SwapFlashLoanFlashLoan) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanFlashLoan) GetBoughtId ¶
func (s SwapFlashLoanFlashLoan) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanFlashLoan) GetBuyer ¶
func (s SwapFlashLoanFlashLoan) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanFlashLoan) GetContractAddress ¶
func (s SwapFlashLoanFlashLoan) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanFlashLoan) GetCurrentA ¶
func (s SwapFlashLoanFlashLoan) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanFlashLoan) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanFlashLoan) GetEventIndex() uint64
func (SwapFlashLoanFlashLoan) GetEventType ¶
func (s SwapFlashLoanFlashLoan) GetEventType() swap.EventType
GetEventType gets the type of the redeem event.
func (SwapFlashLoanFlashLoan) GetFutureTime ¶
func (s SwapFlashLoanFlashLoan) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanFlashLoan) GetInitialTime ¶
func (s SwapFlashLoanFlashLoan) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanFlashLoan) GetInvariant ¶
func (s SwapFlashLoanFlashLoan) GetInvariant() *big.Int
GetInvariant gets the invariant.
func (SwapFlashLoanFlashLoan) GetLPTokenAmount ¶
func (s SwapFlashLoanFlashLoan) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanFlashLoan) GetLPTokenSupply ¶
func (s SwapFlashLoanFlashLoan) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets LP token supply.
func (SwapFlashLoanFlashLoan) GetNewA ¶
func (s SwapFlashLoanFlashLoan) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanFlashLoan) GetNewAdminFee ¶
func (s SwapFlashLoanFlashLoan) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanFlashLoan) GetNewSwapFee ¶
func (s SwapFlashLoanFlashLoan) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanFlashLoan) GetOldA ¶
func (s SwapFlashLoanFlashLoan) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanFlashLoan) GetProtocolFee ¶
func (s SwapFlashLoanFlashLoan) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee.
func (SwapFlashLoanFlashLoan) GetProvider ¶
func (s SwapFlashLoanFlashLoan) GetProvider() *common.Address
GetProvider gets the provider removing liquidity.
func (SwapFlashLoanFlashLoan) GetRaw ¶
func (s SwapFlashLoanFlashLoan) GetRaw() ethTypes.Log
GetRaw gets the raw event logs.
func (SwapFlashLoanFlashLoan) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanFlashLoan) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanFlashLoan) GetSoldId ¶
func (s SwapFlashLoanFlashLoan) GetSoldId() *big.Int
GetSoldId gets the sold id.
func (SwapFlashLoanFlashLoan) GetTime ¶
func (s SwapFlashLoanFlashLoan) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanFlashLoan) GetTokensBought ¶
func (s SwapFlashLoanFlashLoan) GetTokensBought() *big.Int
GetTokensBought gets the tokens bought.
func (SwapFlashLoanFlashLoan) GetTokensSold ¶
func (s SwapFlashLoanFlashLoan) GetTokensSold() *big.Int
GetTokensSold gets the token sold.
func (SwapFlashLoanFlashLoan) GetTxHash ¶
func (s SwapFlashLoanFlashLoan) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) from the event.
type SwapFlashLoanFlashLoanIterator ¶
type SwapFlashLoanFlashLoanIterator struct { Event *SwapFlashLoanFlashLoan // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanFlashLoanIterator) Close ¶
func (it *SwapFlashLoanFlashLoanIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanFlashLoanIterator) Error ¶
func (it *SwapFlashLoanFlashLoanIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanFlashLoanIterator) Next ¶
func (it *SwapFlashLoanFlashLoanIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanNewAdminFee ¶
type SwapFlashLoanNewAdminFee struct { NewAdminFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanNewAdminFee represents a NewAdminFee event raised by the SwapFlashLoan contract.
func (SwapFlashLoanNewAdminFee) GetAmount ¶
func (s SwapFlashLoanNewAdminFee) GetAmount() map[uint8]string
GetAmount gets the amount(s).
func (SwapFlashLoanNewAdminFee) GetAmountFee ¶
func (s SwapFlashLoanNewAdminFee) GetAmountFee() map[uint8]string
GetAmountFee gets the fee amount(s).
func (SwapFlashLoanNewAdminFee) GetBlockNumber ¶
func (s SwapFlashLoanNewAdminFee) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanNewAdminFee) GetBoughtId ¶
func (s SwapFlashLoanNewAdminFee) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanNewAdminFee) GetBuyer ¶
func (s SwapFlashLoanNewAdminFee) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanNewAdminFee) GetContractAddress ¶
func (s SwapFlashLoanNewAdminFee) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanNewAdminFee) GetCurrentA ¶
func (s SwapFlashLoanNewAdminFee) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanNewAdminFee) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanNewAdminFee) GetEventIndex() uint64
func (SwapFlashLoanNewAdminFee) GetEventType ¶
func (s SwapFlashLoanNewAdminFee) GetEventType() swap.EventType
GetEventType gets the type of the redeem event.
func (SwapFlashLoanNewAdminFee) GetFutureTime ¶
func (s SwapFlashLoanNewAdminFee) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanNewAdminFee) GetInitialTime ¶
func (s SwapFlashLoanNewAdminFee) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanNewAdminFee) GetInvariant ¶
func (s SwapFlashLoanNewAdminFee) GetInvariant() *big.Int
GetInvariant gets the invariant of the swap.
func (SwapFlashLoanNewAdminFee) GetLPTokenAmount ¶
func (s SwapFlashLoanNewAdminFee) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanNewAdminFee) GetLPTokenSupply ¶
func (s SwapFlashLoanNewAdminFee) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets the LP token supply.
func (SwapFlashLoanNewAdminFee) GetNewA ¶
func (s SwapFlashLoanNewAdminFee) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanNewAdminFee) GetNewAdminFee ¶
func (s SwapFlashLoanNewAdminFee) GetNewAdminFee() *big.Int
GetNewAdminFee gets the admin fee.
func (SwapFlashLoanNewAdminFee) GetNewSwapFee ¶
func (s SwapFlashLoanNewAdminFee) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanNewAdminFee) GetOldA ¶
func (s SwapFlashLoanNewAdminFee) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanNewAdminFee) GetProtocolFee ¶
func (s SwapFlashLoanNewAdminFee) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanNewAdminFee) GetProvider ¶
func (s SwapFlashLoanNewAdminFee) GetProvider() *common.Address
GetProvider gets the Provider of the swap.
func (SwapFlashLoanNewAdminFee) GetRaw ¶
func (s SwapFlashLoanNewAdminFee) GetRaw() ethTypes.Log
GetRaw gets the raw event logs from the redeem and remove event.
func (SwapFlashLoanNewAdminFee) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanNewAdminFee) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanNewAdminFee) GetSoldId ¶
func (s SwapFlashLoanNewAdminFee) GetSoldId() *big.Int
GetSoldId gets the solid id.
func (SwapFlashLoanNewAdminFee) GetTime ¶
func (s SwapFlashLoanNewAdminFee) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanNewAdminFee) GetTokensBought ¶
func (s SwapFlashLoanNewAdminFee) GetTokensBought() *big.Int
GetTokensBought gets the amount of tokens bought.
func (SwapFlashLoanNewAdminFee) GetTokensSold ¶
func (s SwapFlashLoanNewAdminFee) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanNewAdminFee) GetTxHash ¶
func (s SwapFlashLoanNewAdminFee) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the withdraw.
type SwapFlashLoanNewAdminFeeIterator ¶
type SwapFlashLoanNewAdminFeeIterator struct { Event *SwapFlashLoanNewAdminFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanNewAdminFeeIterator is returned from FilterNewAdminFee and is used to iterate over the raw logs and unpacked data for NewAdminFee events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanNewAdminFeeIterator) Close ¶
func (it *SwapFlashLoanNewAdminFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanNewAdminFeeIterator) Error ¶
func (it *SwapFlashLoanNewAdminFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanNewAdminFeeIterator) Next ¶
func (it *SwapFlashLoanNewAdminFeeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanNewSwapFee ¶
type SwapFlashLoanNewSwapFee struct { NewSwapFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanNewSwapFee represents a NewSwapFee event raised by the SwapFlashLoan contract.
func (SwapFlashLoanNewSwapFee) GetAmount ¶
func (s SwapFlashLoanNewSwapFee) GetAmount() map[uint8]string
GetAmount gets the amount.
func (SwapFlashLoanNewSwapFee) GetAmountFee ¶
func (s SwapFlashLoanNewSwapFee) GetAmountFee() map[uint8]string
GetAmountFee gets the amount.
func (SwapFlashLoanNewSwapFee) GetBlockNumber ¶
func (s SwapFlashLoanNewSwapFee) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanNewSwapFee) GetBoughtId ¶
func (s SwapFlashLoanNewSwapFee) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanNewSwapFee) GetBuyer ¶
func (s SwapFlashLoanNewSwapFee) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanNewSwapFee) GetContractAddress ¶
func (s SwapFlashLoanNewSwapFee) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanNewSwapFee) GetCurrentA ¶
func (s SwapFlashLoanNewSwapFee) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanNewSwapFee) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanNewSwapFee) GetEventIndex() uint64
func (SwapFlashLoanNewSwapFee) GetEventType ¶
func (s SwapFlashLoanNewSwapFee) GetEventType() swap.EventType
GetEventType gets the type of the redeem event.
func (SwapFlashLoanNewSwapFee) GetFutureTime ¶
func (s SwapFlashLoanNewSwapFee) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanNewSwapFee) GetInitialTime ¶
func (s SwapFlashLoanNewSwapFee) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanNewSwapFee) GetInvariant ¶
func (s SwapFlashLoanNewSwapFee) GetInvariant() *big.Int
GetInvariant gets the invariant of the swap.
func (SwapFlashLoanNewSwapFee) GetLPTokenAmount ¶
func (s SwapFlashLoanNewSwapFee) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanNewSwapFee) GetLPTokenSupply ¶
func (s SwapFlashLoanNewSwapFee) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets the LP token supply.
func (SwapFlashLoanNewSwapFee) GetNewA ¶
func (s SwapFlashLoanNewSwapFee) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanNewSwapFee) GetNewAdminFee ¶
func (s SwapFlashLoanNewSwapFee) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanNewSwapFee) GetNewSwapFee ¶
func (s SwapFlashLoanNewSwapFee) GetNewSwapFee() *big.Int
GetNewSwapFee gets the admin fee.
func (SwapFlashLoanNewSwapFee) GetOldA ¶
func (s SwapFlashLoanNewSwapFee) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanNewSwapFee) GetProtocolFee ¶
func (s SwapFlashLoanNewSwapFee) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanNewSwapFee) GetProvider ¶
func (s SwapFlashLoanNewSwapFee) GetProvider() *common.Address
GetProvider gets the Provider of the swap.
func (SwapFlashLoanNewSwapFee) GetRaw ¶
func (s SwapFlashLoanNewSwapFee) GetRaw() ethTypes.Log
GetRaw gets the raw event logs from the redeem and remove event.
func (SwapFlashLoanNewSwapFee) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanNewSwapFee) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanNewSwapFee) GetSoldId ¶
func (s SwapFlashLoanNewSwapFee) GetSoldId() *big.Int
GetSoldId gets the solid id.
func (SwapFlashLoanNewSwapFee) GetTime ¶
func (s SwapFlashLoanNewSwapFee) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanNewSwapFee) GetTokensBought ¶
func (s SwapFlashLoanNewSwapFee) GetTokensBought() *big.Int
GetTokensBought gets the amount of tokens bought.
func (SwapFlashLoanNewSwapFee) GetTokensSold ¶
func (s SwapFlashLoanNewSwapFee) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanNewSwapFee) GetTxHash ¶
func (s SwapFlashLoanNewSwapFee) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the withdraw.
type SwapFlashLoanNewSwapFeeIterator ¶
type SwapFlashLoanNewSwapFeeIterator struct { Event *SwapFlashLoanNewSwapFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanNewSwapFeeIterator is returned from FilterNewSwapFee and is used to iterate over the raw logs and unpacked data for NewSwapFee events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanNewSwapFeeIterator) Close ¶
func (it *SwapFlashLoanNewSwapFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanNewSwapFeeIterator) Error ¶
func (it *SwapFlashLoanNewSwapFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanNewSwapFeeIterator) Next ¶
func (it *SwapFlashLoanNewSwapFeeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanOwnershipTransferred ¶
type SwapFlashLoanOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanOwnershipTransferred represents a OwnershipTransferred event raised by the SwapFlashLoan contract.
type SwapFlashLoanOwnershipTransferredIterator ¶
type SwapFlashLoanOwnershipTransferredIterator struct { Event *SwapFlashLoanOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanOwnershipTransferredIterator) Close ¶
func (it *SwapFlashLoanOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanOwnershipTransferredIterator) Error ¶
func (it *SwapFlashLoanOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanOwnershipTransferredIterator) Next ¶
func (it *SwapFlashLoanOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanPaused ¶
type SwapFlashLoanPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanPaused represents a Paused event raised by the SwapFlashLoan contract.
type SwapFlashLoanPausedIterator ¶
type SwapFlashLoanPausedIterator struct { Event *SwapFlashLoanPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanPausedIterator) Close ¶
func (it *SwapFlashLoanPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanPausedIterator) Error ¶
func (it *SwapFlashLoanPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanPausedIterator) Next ¶
func (it *SwapFlashLoanPausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanRampA ¶
type SwapFlashLoanRampA struct { OldA *big.Int NewA *big.Int InitialTime *big.Int FutureTime *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanRampA represents a RampA event raised by the SwapFlashLoan contract.
func (SwapFlashLoanRampA) GetAmount ¶
func (s SwapFlashLoanRampA) GetAmount() map[uint8]string
GetAmount gets the amount.
func (SwapFlashLoanRampA) GetAmountFee ¶
func (s SwapFlashLoanRampA) GetAmountFee() map[uint8]string
GetAmountFee gets the amount.
func (SwapFlashLoanRampA) GetBlockNumber ¶
func (s SwapFlashLoanRampA) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanRampA) GetBoughtId ¶
func (s SwapFlashLoanRampA) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanRampA) GetBuyer ¶
func (s SwapFlashLoanRampA) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanRampA) GetContractAddress ¶
func (s SwapFlashLoanRampA) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanRampA) GetCurrentA ¶
func (s SwapFlashLoanRampA) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanRampA) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanRampA) GetEventIndex() uint64
func (SwapFlashLoanRampA) GetEventType ¶
func (s SwapFlashLoanRampA) GetEventType() swap.EventType
GetEventType gets the type of the ramp A event.
func (SwapFlashLoanRampA) GetFutureTime ¶
func (s SwapFlashLoanRampA) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanRampA) GetInitialTime ¶
func (s SwapFlashLoanRampA) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanRampA) GetInvariant ¶
func (s SwapFlashLoanRampA) GetInvariant() *big.Int
GetInvariant gets the invariant.
func (SwapFlashLoanRampA) GetLPTokenAmount ¶
func (s SwapFlashLoanRampA) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanRampA) GetLPTokenSupply ¶
func (s SwapFlashLoanRampA) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets LP token supply.
func (SwapFlashLoanRampA) GetNewA ¶
func (s SwapFlashLoanRampA) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanRampA) GetNewAdminFee ¶
func (s SwapFlashLoanRampA) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanRampA) GetNewSwapFee ¶
func (s SwapFlashLoanRampA) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanRampA) GetOldA ¶
func (s SwapFlashLoanRampA) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanRampA) GetProtocolFee ¶
func (s SwapFlashLoanRampA) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanRampA) GetProvider ¶
func (s SwapFlashLoanRampA) GetProvider() *common.Address
GetProvider gets the provider removing liquidity.
func (SwapFlashLoanRampA) GetRaw ¶
func (s SwapFlashLoanRampA) GetRaw() ethTypes.Log
GetRaw gets the raw event logs from the Ramp A Event.
func (SwapFlashLoanRampA) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanRampA) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanRampA) GetSoldId ¶
func (s SwapFlashLoanRampA) GetSoldId() *big.Int
GetSoldId gets the solid id.
func (SwapFlashLoanRampA) GetTime ¶
func (s SwapFlashLoanRampA) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanRampA) GetTokensBought ¶
func (s SwapFlashLoanRampA) GetTokensBought() *big.Int
GetTokensBought gets the amount of tokens bought.
func (SwapFlashLoanRampA) GetTokensSold ¶
func (s SwapFlashLoanRampA) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanRampA) GetTxHash ¶
func (s SwapFlashLoanRampA) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the event.
type SwapFlashLoanRampAIterator ¶
type SwapFlashLoanRampAIterator struct { Event *SwapFlashLoanRampA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanRampAIterator is returned from FilterRampA and is used to iterate over the raw logs and unpacked data for RampA events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanRampAIterator) Close ¶
func (it *SwapFlashLoanRampAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanRampAIterator) Error ¶
func (it *SwapFlashLoanRampAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanRampAIterator) Next ¶
func (it *SwapFlashLoanRampAIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanRaw ¶
type SwapFlashLoanRaw struct {
Contract *SwapFlashLoan // Generic contract binding to access the raw methods on
}
SwapFlashLoanRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SwapFlashLoanRaw) Call ¶
func (_SwapFlashLoan *SwapFlashLoanRaw) 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 (*SwapFlashLoanRaw) Transact ¶
func (_SwapFlashLoan *SwapFlashLoanRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SwapFlashLoanRaw) Transfer ¶
func (_SwapFlashLoan *SwapFlashLoanRaw) 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 SwapFlashLoanRemoveLiquidity ¶
type SwapFlashLoanRemoveLiquidity struct { Provider common.Address TokenAmounts []*big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanRemoveLiquidity represents a RemoveLiquidity event raised by the SwapFlashLoan contract.
func (SwapFlashLoanRemoveLiquidity) GetAmount ¶
func (s SwapFlashLoanRemoveLiquidity) GetAmount() map[uint8]string
GetAmount gets the token amounts.
func (SwapFlashLoanRemoveLiquidity) GetAmountFee ¶
func (s SwapFlashLoanRemoveLiquidity) GetAmountFee() map[uint8]string
GetAmountFee gets the fees.
func (SwapFlashLoanRemoveLiquidity) GetBlockNumber ¶
func (s SwapFlashLoanRemoveLiquidity) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanRemoveLiquidity) GetBoughtId ¶
func (s SwapFlashLoanRemoveLiquidity) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanRemoveLiquidity) GetBuyer ¶
func (s SwapFlashLoanRemoveLiquidity) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanRemoveLiquidity) GetContractAddress ¶
func (s SwapFlashLoanRemoveLiquidity) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanRemoveLiquidity) GetCurrentA ¶
func (s SwapFlashLoanRemoveLiquidity) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanRemoveLiquidity) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanRemoveLiquidity) GetEventIndex() uint64
func (SwapFlashLoanRemoveLiquidity) GetEventType ¶
func (s SwapFlashLoanRemoveLiquidity) GetEventType() swap.EventType
GetEventType gets the type of the redeem event.
func (SwapFlashLoanRemoveLiquidity) GetFutureTime ¶
func (s SwapFlashLoanRemoveLiquidity) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanRemoveLiquidity) GetInitialTime ¶
func (s SwapFlashLoanRemoveLiquidity) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanRemoveLiquidity) GetInvariant ¶
func (s SwapFlashLoanRemoveLiquidity) GetInvariant() *big.Int
GetInvariant gets the invariant.
func (SwapFlashLoanRemoveLiquidity) GetLPTokenAmount ¶
func (s SwapFlashLoanRemoveLiquidity) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanRemoveLiquidity) GetLPTokenSupply ¶
func (s SwapFlashLoanRemoveLiquidity) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets the LP token supply.
func (SwapFlashLoanRemoveLiquidity) GetNewA ¶
func (s SwapFlashLoanRemoveLiquidity) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanRemoveLiquidity) GetNewAdminFee ¶
func (s SwapFlashLoanRemoveLiquidity) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanRemoveLiquidity) GetNewSwapFee ¶
func (s SwapFlashLoanRemoveLiquidity) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanRemoveLiquidity) GetOldA ¶
func (s SwapFlashLoanRemoveLiquidity) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanRemoveLiquidity) GetProtocolFee ¶
func (s SwapFlashLoanRemoveLiquidity) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanRemoveLiquidity) GetProvider ¶
func (s SwapFlashLoanRemoveLiquidity) GetProvider() *common.Address
GetProvider gets the Provider of the swap.
func (SwapFlashLoanRemoveLiquidity) GetRaw ¶
func (s SwapFlashLoanRemoveLiquidity) GetRaw() ethTypes.Log
GetRaw gets the raw event logs from the redeem and remove event.
func (SwapFlashLoanRemoveLiquidity) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanRemoveLiquidity) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanRemoveLiquidity) GetSoldId ¶
func (s SwapFlashLoanRemoveLiquidity) GetSoldId() *big.Int
GetSoldId gets the solid id.
func (SwapFlashLoanRemoveLiquidity) GetTime ¶
func (s SwapFlashLoanRemoveLiquidity) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanRemoveLiquidity) GetTokensBought ¶
func (s SwapFlashLoanRemoveLiquidity) GetTokensBought() *big.Int
GetTokensBought gets the amount of tokens bought.
func (SwapFlashLoanRemoveLiquidity) GetTokensSold ¶
func (s SwapFlashLoanRemoveLiquidity) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanRemoveLiquidity) GetTxHash ¶
func (s SwapFlashLoanRemoveLiquidity) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the withdraw.
type SwapFlashLoanRemoveLiquidityImbalance ¶
type SwapFlashLoanRemoveLiquidityImbalance struct { Provider common.Address TokenAmounts []*big.Int Fees []*big.Int Invariant *big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the SwapFlashLoan contract.
func (SwapFlashLoanRemoveLiquidityImbalance) GetAmount ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetAmount() map[uint8]string
GetAmount gets the token amounts.
func (SwapFlashLoanRemoveLiquidityImbalance) GetAmountFee ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetAmountFee() map[uint8]string
GetAmountFee gets the fees.
func (SwapFlashLoanRemoveLiquidityImbalance) GetBlockNumber ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanRemoveLiquidityImbalance) GetBoughtId ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanRemoveLiquidityImbalance) GetBuyer ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanRemoveLiquidityImbalance) GetContractAddress ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanRemoveLiquidityImbalance) GetCurrentA ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanRemoveLiquidityImbalance) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanRemoveLiquidityImbalance) GetEventIndex() uint64
func (SwapFlashLoanRemoveLiquidityImbalance) GetEventType ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetEventType() swap.EventType
GetEventType gets the type of the redeem event.
func (SwapFlashLoanRemoveLiquidityImbalance) GetFutureTime ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanRemoveLiquidityImbalance) GetInitialTime ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanRemoveLiquidityImbalance) GetInvariant ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetInvariant() *big.Int
GetInvariant gets the invariant.
func (SwapFlashLoanRemoveLiquidityImbalance) GetLPTokenAmount ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanRemoveLiquidityImbalance) GetLPTokenSupply ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets the lp token supply.
func (SwapFlashLoanRemoveLiquidityImbalance) GetNewA ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanRemoveLiquidityImbalance) GetNewAdminFee ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanRemoveLiquidityImbalance) GetNewSwapFee ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanRemoveLiquidityImbalance) GetOldA ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanRemoveLiquidityImbalance) GetProtocolFee ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanRemoveLiquidityImbalance) GetProvider ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetProvider() *common.Address
GetProvider gets the Provider of the swap.
func (SwapFlashLoanRemoveLiquidityImbalance) GetRaw ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetRaw() ethTypes.Log
GetRaw gets the raw event logs from the redeem and remove event.
func (SwapFlashLoanRemoveLiquidityImbalance) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanRemoveLiquidityImbalance) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanRemoveLiquidityImbalance) GetSoldId ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetSoldId() *big.Int
GetSoldId gets the solid id.
func (SwapFlashLoanRemoveLiquidityImbalance) GetTime ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanRemoveLiquidityImbalance) GetTokensBought ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetTokensBought() *big.Int
GetTokensBought gets the amount of tokens bought.
func (SwapFlashLoanRemoveLiquidityImbalance) GetTokensSold ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanRemoveLiquidityImbalance) GetTxHash ¶
func (s SwapFlashLoanRemoveLiquidityImbalance) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the withdraw.
type SwapFlashLoanRemoveLiquidityImbalanceIterator ¶
type SwapFlashLoanRemoveLiquidityImbalanceIterator struct { Event *SwapFlashLoanRemoveLiquidityImbalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanRemoveLiquidityImbalanceIterator is returned from FilterRemoveLiquidityImbalance and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanRemoveLiquidityImbalanceIterator) Close ¶
func (it *SwapFlashLoanRemoveLiquidityImbalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanRemoveLiquidityImbalanceIterator) Error ¶
func (it *SwapFlashLoanRemoveLiquidityImbalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanRemoveLiquidityImbalanceIterator) Next ¶
func (it *SwapFlashLoanRemoveLiquidityImbalanceIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanRemoveLiquidityIterator ¶
type SwapFlashLoanRemoveLiquidityIterator struct { Event *SwapFlashLoanRemoveLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanRemoveLiquidityIterator) Close ¶
func (it *SwapFlashLoanRemoveLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanRemoveLiquidityIterator) Error ¶
func (it *SwapFlashLoanRemoveLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanRemoveLiquidityIterator) Next ¶
func (it *SwapFlashLoanRemoveLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanRemoveLiquidityOne ¶
type SwapFlashLoanRemoveLiquidityOne struct { Provider common.Address LpTokenAmount *big.Int LpTokenSupply *big.Int BoughtId *big.Int TokensBought *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the SwapFlashLoan contract.
func (SwapFlashLoanRemoveLiquidityOne) GetAmount ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetAmount() map[uint8]string
GetAmount puts the amount in a map with its associated token index.
func (SwapFlashLoanRemoveLiquidityOne) GetAmountFee ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetAmountFee() map[uint8]string
GetAmountFee gets the amount.
func (SwapFlashLoanRemoveLiquidityOne) GetBlockNumber ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanRemoveLiquidityOne) GetBoughtId ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanRemoveLiquidityOne) GetBuyer ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanRemoveLiquidityOne) GetContractAddress ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanRemoveLiquidityOne) GetCurrentA ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanRemoveLiquidityOne) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanRemoveLiquidityOne) GetEventIndex() uint64
func (SwapFlashLoanRemoveLiquidityOne) GetEventType ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetEventType() swap.EventType
GetEventType gets the type of the redeem event.
func (SwapFlashLoanRemoveLiquidityOne) GetFutureTime ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanRemoveLiquidityOne) GetInitialTime ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanRemoveLiquidityOne) GetInvariant ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetInvariant() *big.Int
GetInvariant gets the invariant.
func (SwapFlashLoanRemoveLiquidityOne) GetLPTokenAmount ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP Token Amount.
func (SwapFlashLoanRemoveLiquidityOne) GetLPTokenSupply ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets the LP Token Supply.
func (SwapFlashLoanRemoveLiquidityOne) GetNewA ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanRemoveLiquidityOne) GetNewAdminFee ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanRemoveLiquidityOne) GetNewSwapFee ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanRemoveLiquidityOne) GetOldA ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanRemoveLiquidityOne) GetProtocolFee ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanRemoveLiquidityOne) GetProvider ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetProvider() *common.Address
GetProvider gets the Provider of the swap.
func (SwapFlashLoanRemoveLiquidityOne) GetRaw ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetRaw() ethTypes.Log
GetRaw gets the raw event logs from the redeem and remove event.
func (SwapFlashLoanRemoveLiquidityOne) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanRemoveLiquidityOne) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanRemoveLiquidityOne) GetSoldId ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetSoldId() *big.Int
GetSoldId gets the solid id.
func (SwapFlashLoanRemoveLiquidityOne) GetTime ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanRemoveLiquidityOne) GetTokensBought ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetTokensBought() *big.Int
GetTokensBought gets the tokens bought.
func (SwapFlashLoanRemoveLiquidityOne) GetTokensSold ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanRemoveLiquidityOne) GetTxHash ¶
func (s SwapFlashLoanRemoveLiquidityOne) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the withdraw.
type SwapFlashLoanRemoveLiquidityOneIterator ¶
type SwapFlashLoanRemoveLiquidityOneIterator struct { Event *SwapFlashLoanRemoveLiquidityOne // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanRemoveLiquidityOneIterator is returned from FilterRemoveLiquidityOne and is used to iterate over the raw logs and unpacked data for RemoveLiquidityOne events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanRemoveLiquidityOneIterator) Close ¶
func (it *SwapFlashLoanRemoveLiquidityOneIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanRemoveLiquidityOneIterator) Error ¶
func (it *SwapFlashLoanRemoveLiquidityOneIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanRemoveLiquidityOneIterator) Next ¶
func (it *SwapFlashLoanRemoveLiquidityOneIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanSession ¶
type SwapFlashLoanSession struct { Contract *SwapFlashLoan // 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 }
SwapFlashLoanSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SwapFlashLoanSession) AddLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*SwapFlashLoanSession) CalculateRemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanSession) CalculateRemoveLiquidity(amount *big.Int) ([]*big.Int, error)
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*SwapFlashLoanSession) CalculateRemoveLiquidityOneToken ¶
func (_SwapFlashLoan *SwapFlashLoanSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*SwapFlashLoanSession) CalculateSwap ¶
func (_SwapFlashLoan *SwapFlashLoanSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*SwapFlashLoanSession) CalculateTokenAmount ¶
func (_SwapFlashLoan *SwapFlashLoanSession) CalculateTokenAmount(amounts []*big.Int, deposit bool) (*big.Int, error)
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*SwapFlashLoanSession) FlashLoan ¶
func (_SwapFlashLoan *SwapFlashLoanSession) FlashLoan(receiver common.Address, token common.Address, amount *big.Int, params []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.
Solidity: function flashLoan(address receiver, address token, uint256 amount, bytes params) returns()
func (*SwapFlashLoanSession) FlashLoanFeeBPS ¶
func (_SwapFlashLoan *SwapFlashLoanSession) FlashLoanFeeBPS() (*big.Int, error)
FlashLoanFeeBPS is a free data retrieval call binding the contract method 0x7f1c825a.
Solidity: function flashLoanFeeBPS() view returns(uint256)
func (*SwapFlashLoanSession) GetA ¶
func (_SwapFlashLoan *SwapFlashLoanSession) GetA() (*big.Int, error)
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*SwapFlashLoanSession) GetAPrecise ¶
func (_SwapFlashLoan *SwapFlashLoanSession) GetAPrecise() (*big.Int, error)
GetAPrecise is a free data retrieval call binding the contract method 0x0ba81959.
Solidity: function getAPrecise() view returns(uint256)
func (*SwapFlashLoanSession) GetAdminBalance ¶
GetAdminBalance is a free data retrieval call binding the contract method 0xef0a712f.
Solidity: function getAdminBalance(uint256 index) view returns(uint256)
func (*SwapFlashLoanSession) GetToken ¶
func (_SwapFlashLoan *SwapFlashLoanSession) GetToken(index uint8) (common.Address, error)
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*SwapFlashLoanSession) GetTokenBalance ¶
func (_SwapFlashLoan *SwapFlashLoanSession) GetTokenBalance(index uint8) (*big.Int, error)
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*SwapFlashLoanSession) GetTokenIndex ¶
func (_SwapFlashLoan *SwapFlashLoanSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*SwapFlashLoanSession) GetVirtualPrice ¶
func (_SwapFlashLoan *SwapFlashLoanSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
func (*SwapFlashLoanSession) Initialize ¶
func (_SwapFlashLoan *SwapFlashLoanSession) Initialize(_pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, _a *big.Int, _fee *big.Int, _adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, address lpTokenTargetAddress) returns()
func (*SwapFlashLoanSession) MAXBPS ¶
func (_SwapFlashLoan *SwapFlashLoanSession) MAXBPS() (*big.Int, error)
MAXBPS is a free data retrieval call binding the contract method 0xfd967f47.
Solidity: function MAX_BPS() view returns(uint256)
func (*SwapFlashLoanSession) Owner ¶
func (_SwapFlashLoan *SwapFlashLoanSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SwapFlashLoanSession) Pause ¶
func (_SwapFlashLoan *SwapFlashLoanSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SwapFlashLoanSession) Paused ¶
func (_SwapFlashLoan *SwapFlashLoanSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SwapFlashLoanSession) ProtocolFeeShareBPS ¶
func (_SwapFlashLoan *SwapFlashLoanSession) ProtocolFeeShareBPS() (*big.Int, error)
ProtocolFeeShareBPS is a free data retrieval call binding the contract method 0xe8cc7fb6.
Solidity: function protocolFeeShareBPS() view returns(uint256)
func (*SwapFlashLoanSession) RampA ¶
func (_SwapFlashLoan *SwapFlashLoanSession) RampA(futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x593d132c.
Solidity: function rampA(uint256 futureA, uint256 futureTime) returns()
func (*SwapFlashLoanSession) RemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*SwapFlashLoanSession) RemoveLiquidityImbalance ¶
func (_SwapFlashLoan *SwapFlashLoanSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*SwapFlashLoanSession) RemoveLiquidityOneToken ¶
func (_SwapFlashLoan *SwapFlashLoanSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*SwapFlashLoanSession) RenounceOwnership ¶
func (_SwapFlashLoan *SwapFlashLoanSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SwapFlashLoanSession) SetAdminFee ¶
func (_SwapFlashLoan *SwapFlashLoanSession) SetAdminFee(newAdminFee *big.Int) (*types.Transaction, error)
SetAdminFee is a paid mutator transaction binding the contract method 0x8beb60b6.
Solidity: function setAdminFee(uint256 newAdminFee) returns()
func (*SwapFlashLoanSession) SetFlashLoanFees ¶
func (_SwapFlashLoan *SwapFlashLoanSession) SetFlashLoanFees(newFlashLoanFeeBPS *big.Int, newProtocolFeeShareBPS *big.Int) (*types.Transaction, error)
SetFlashLoanFees is a paid mutator transaction binding the contract method 0xef815967.
Solidity: function setFlashLoanFees(uint256 newFlashLoanFeeBPS, uint256 newProtocolFeeShareBPS) returns()
func (*SwapFlashLoanSession) SetSwapFee ¶
func (_SwapFlashLoan *SwapFlashLoanSession) SetSwapFee(newSwapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 newSwapFee) returns()
func (*SwapFlashLoanSession) StopRampA ¶
func (_SwapFlashLoan *SwapFlashLoanSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0xc4db7fa0.
Solidity: function stopRampA() returns()
func (*SwapFlashLoanSession) Swap ¶
func (_SwapFlashLoan *SwapFlashLoanSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
func (*SwapFlashLoanSession) SwapStorage ¶
func (_SwapFlashLoan *SwapFlashLoanSession) SwapStorage() (struct { InitialA *big.Int FutureA *big.Int InitialATime *big.Int FutureATime *big.Int SwapFee *big.Int AdminFee *big.Int LpToken common.Address }, error)
SwapStorage is a free data retrieval call binding the contract method 0x5fd65f0f.
Solidity: function swapStorage() view returns(uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, address lpToken)
func (*SwapFlashLoanSession) TransferOwnership ¶
func (_SwapFlashLoan *SwapFlashLoanSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*SwapFlashLoanSession) Unpause ¶
func (_SwapFlashLoan *SwapFlashLoanSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*SwapFlashLoanSession) WithdrawAdminFees ¶
func (_SwapFlashLoan *SwapFlashLoanSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x0419b45a.
Solidity: function withdrawAdminFees() returns()
type SwapFlashLoanStopRampA ¶
type SwapFlashLoanStopRampA struct { CurrentA *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanStopRampA represents a StopRampA event raised by the SwapFlashLoan contract.
func (SwapFlashLoanStopRampA) GetAmount ¶
func (s SwapFlashLoanStopRampA) GetAmount() map[uint8]string
GetAmount gets the amount.
func (SwapFlashLoanStopRampA) GetAmountFee ¶
func (s SwapFlashLoanStopRampA) GetAmountFee() map[uint8]string
GetAmountFee gets the amount.
func (SwapFlashLoanStopRampA) GetBlockNumber ¶
func (s SwapFlashLoanStopRampA) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanStopRampA) GetBoughtId ¶
func (s SwapFlashLoanStopRampA) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanStopRampA) GetBuyer ¶
func (s SwapFlashLoanStopRampA) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanStopRampA) GetContractAddress ¶
func (s SwapFlashLoanStopRampA) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanStopRampA) GetCurrentA ¶
func (s SwapFlashLoanStopRampA) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanStopRampA) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanStopRampA) GetEventIndex() uint64
func (SwapFlashLoanStopRampA) GetEventType ¶
func (s SwapFlashLoanStopRampA) GetEventType() swap.EventType
GetEventType gets the type of the redeem event.
func (SwapFlashLoanStopRampA) GetFutureTime ¶
func (s SwapFlashLoanStopRampA) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanStopRampA) GetInitialTime ¶
func (s SwapFlashLoanStopRampA) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanStopRampA) GetInvariant ¶
func (s SwapFlashLoanStopRampA) GetInvariant() *big.Int
GetInvariant gets the invariant.
func (SwapFlashLoanStopRampA) GetLPTokenAmount ¶
func (s SwapFlashLoanStopRampA) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanStopRampA) GetLPTokenSupply ¶
func (s SwapFlashLoanStopRampA) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets LP token supply.
func (SwapFlashLoanStopRampA) GetNewA ¶
func (s SwapFlashLoanStopRampA) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanStopRampA) GetNewAdminFee ¶
func (s SwapFlashLoanStopRampA) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanStopRampA) GetNewSwapFee ¶
func (s SwapFlashLoanStopRampA) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanStopRampA) GetOldA ¶
func (s SwapFlashLoanStopRampA) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanStopRampA) GetProtocolFee ¶
func (s SwapFlashLoanStopRampA) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanStopRampA) GetProvider ¶
func (s SwapFlashLoanStopRampA) GetProvider() *common.Address
GetProvider gets the provider removing liquidity.
func (SwapFlashLoanStopRampA) GetRaw ¶
func (s SwapFlashLoanStopRampA) GetRaw() ethTypes.Log
GetRaw gets the raw event logs from the redeem and remove event.
func (SwapFlashLoanStopRampA) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanStopRampA) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanStopRampA) GetSoldId ¶
func (s SwapFlashLoanStopRampA) GetSoldId() *big.Int
GetSoldId gets the sold id.
func (SwapFlashLoanStopRampA) GetTime ¶
func (s SwapFlashLoanStopRampA) GetTime() *big.Int
GetTime gets the time.
func (SwapFlashLoanStopRampA) GetTokensBought ¶
func (s SwapFlashLoanStopRampA) GetTokensBought() *big.Int
GetTokensBought gets the amount of tokens bought.
func (SwapFlashLoanStopRampA) GetTokensSold ¶
func (s SwapFlashLoanStopRampA) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanStopRampA) GetTxHash ¶
func (s SwapFlashLoanStopRampA) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the withdraw.
type SwapFlashLoanStopRampAIterator ¶
type SwapFlashLoanStopRampAIterator struct { Event *SwapFlashLoanStopRampA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanStopRampAIterator is returned from FilterStopRampA and is used to iterate over the raw logs and unpacked data for StopRampA events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanStopRampAIterator) Close ¶
func (it *SwapFlashLoanStopRampAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanStopRampAIterator) Error ¶
func (it *SwapFlashLoanStopRampAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanStopRampAIterator) Next ¶
func (it *SwapFlashLoanStopRampAIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanTokenSwap ¶
type SwapFlashLoanTokenSwap struct { Buyer common.Address TokensSold *big.Int TokensBought *big.Int SoldId *big.Int BoughtId *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanTokenSwap represents a TokenSwap event raised by the SwapFlashLoan contract.
func (SwapFlashLoanTokenSwap) GetAmount ¶
func (s SwapFlashLoanTokenSwap) GetAmount() map[uint8]string
GetAmount puts the amount in a map with it's associated token index.
func (SwapFlashLoanTokenSwap) GetAmountFee ¶
func (s SwapFlashLoanTokenSwap) GetAmountFee() map[uint8]string
GetAmountFee gets the amount.
func (SwapFlashLoanTokenSwap) GetBlockNumber ¶
func (s SwapFlashLoanTokenSwap) GetBlockNumber() uint64
GetBlockNumber gets the block number for the event.
func (SwapFlashLoanTokenSwap) GetBoughtId ¶
func (s SwapFlashLoanTokenSwap) GetBoughtId() *big.Int
GetBoughtId gets the bought id.
func (SwapFlashLoanTokenSwap) GetBuyer ¶
func (s SwapFlashLoanTokenSwap) GetBuyer() *common.Address
GetBuyer gets the buyer.
func (SwapFlashLoanTokenSwap) GetContractAddress ¶
func (s SwapFlashLoanTokenSwap) GetContractAddress() common.Address
GetContractAddress gets the contract address the event occurred on.
func (SwapFlashLoanTokenSwap) GetCurrentA ¶
func (s SwapFlashLoanTokenSwap) GetCurrentA() *big.Int
GetCurrentA gets the current A.
func (SwapFlashLoanTokenSwap) GetEventIndex ¶ added in v0.0.5
func (s SwapFlashLoanTokenSwap) GetEventIndex() uint64
func (SwapFlashLoanTokenSwap) GetEventType ¶
func (s SwapFlashLoanTokenSwap) GetEventType() swap.EventType
GetEventType gets the type of the swap event.
func (SwapFlashLoanTokenSwap) GetFutureTime ¶
func (s SwapFlashLoanTokenSwap) GetFutureTime() *big.Int
GetFutureTime gets the future time.
func (SwapFlashLoanTokenSwap) GetInitialTime ¶
func (s SwapFlashLoanTokenSwap) GetInitialTime() *big.Int
GetInitialTime gets the initial time.
func (SwapFlashLoanTokenSwap) GetInvariant ¶
func (s SwapFlashLoanTokenSwap) GetInvariant() *big.Int
GetInvariant gets the invariant.
func (SwapFlashLoanTokenSwap) GetLPTokenAmount ¶
func (s SwapFlashLoanTokenSwap) GetLPTokenAmount() *big.Int
GetLPTokenAmount gets the LP token supply.
func (SwapFlashLoanTokenSwap) GetLPTokenSupply ¶
func (s SwapFlashLoanTokenSwap) GetLPTokenSupply() *big.Int
GetLPTokenSupply gets LP token supply.
func (SwapFlashLoanTokenSwap) GetNewA ¶
func (s SwapFlashLoanTokenSwap) GetNewA() *big.Int
GetNewA gets the new A.
func (SwapFlashLoanTokenSwap) GetNewAdminFee ¶
func (s SwapFlashLoanTokenSwap) GetNewAdminFee() *big.Int
GetNewAdminFee gets the new admin fee.
func (SwapFlashLoanTokenSwap) GetNewSwapFee ¶
func (s SwapFlashLoanTokenSwap) GetNewSwapFee() *big.Int
GetNewSwapFee gets the new swap fee.
func (SwapFlashLoanTokenSwap) GetOldA ¶
func (s SwapFlashLoanTokenSwap) GetOldA() *big.Int
GetOldA gets the old A.
func (SwapFlashLoanTokenSwap) GetProtocolFee ¶
func (s SwapFlashLoanTokenSwap) GetProtocolFee() *big.Int
GetProtocolFee gets the protocol fee of the tx.
func (SwapFlashLoanTokenSwap) GetProvider ¶
func (s SwapFlashLoanTokenSwap) GetProvider() *common.Address
GetProvider gets the provider removing liquidity.
func (SwapFlashLoanTokenSwap) GetRaw ¶
func (s SwapFlashLoanTokenSwap) GetRaw() ethTypes.Log
GetRaw gets the raw event logs.
func (SwapFlashLoanTokenSwap) GetReceiver ¶ added in v0.0.3
func (s SwapFlashLoanTokenSwap) GetReceiver() *common.Address
GetReceiver gets the receiver.
func (SwapFlashLoanTokenSwap) GetSoldId ¶
func (s SwapFlashLoanTokenSwap) GetSoldId() *big.Int
GetSoldId gets the solid id.
func (SwapFlashLoanTokenSwap) GetTime ¶
func (s SwapFlashLoanTokenSwap) GetTime() *big.Int
GetTime gets the current time.
func (SwapFlashLoanTokenSwap) GetTokensBought ¶
func (s SwapFlashLoanTokenSwap) GetTokensBought() *big.Int
GetTokensBought gets the tokens bought.
func (SwapFlashLoanTokenSwap) GetTokensSold ¶
func (s SwapFlashLoanTokenSwap) GetTokensSold() *big.Int
GetTokensSold gets the tokens sold.
func (SwapFlashLoanTokenSwap) GetTxHash ¶
func (s SwapFlashLoanTokenSwap) GetTxHash() common.Hash
GetTxHash gets the unique identifier (txhash) for the event.
type SwapFlashLoanTokenSwapIterator ¶
type SwapFlashLoanTokenSwapIterator struct { Event *SwapFlashLoanTokenSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanTokenSwapIterator is returned from FilterTokenSwap and is used to iterate over the raw logs and unpacked data for TokenSwap events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanTokenSwapIterator) Close ¶
func (it *SwapFlashLoanTokenSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanTokenSwapIterator) Error ¶
func (it *SwapFlashLoanTokenSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanTokenSwapIterator) Next ¶
func (it *SwapFlashLoanTokenSwapIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapFlashLoanTransactor ¶
type SwapFlashLoanTransactor struct {
// contains filtered or unexported fields
}
SwapFlashLoanTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSwapFlashLoanTransactor ¶
func NewSwapFlashLoanTransactor(address common.Address, transactor bind.ContractTransactor) (*SwapFlashLoanTransactor, error)
NewSwapFlashLoanTransactor creates a new write-only instance of SwapFlashLoan, bound to a specific deployed contract.
func (*SwapFlashLoanTransactor) AddLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) AddLiquidity(opts *bind.TransactOpts, amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*SwapFlashLoanTransactor) FlashLoan ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) FlashLoan(opts *bind.TransactOpts, receiver common.Address, token common.Address, amount *big.Int, params []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.
Solidity: function flashLoan(address receiver, address token, uint256 amount, bytes params) returns()
func (*SwapFlashLoanTransactor) Initialize ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) Initialize(opts *bind.TransactOpts, _pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, _a *big.Int, _fee *big.Int, _adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, address lpTokenTargetAddress) returns()
func (*SwapFlashLoanTransactor) Pause ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SwapFlashLoanTransactor) RampA ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) RampA(opts *bind.TransactOpts, futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x593d132c.
Solidity: function rampA(uint256 futureA, uint256 futureTime) returns()
func (*SwapFlashLoanTransactor) RemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) RemoveLiquidity(opts *bind.TransactOpts, amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*SwapFlashLoanTransactor) RemoveLiquidityImbalance ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*SwapFlashLoanTransactor) RemoveLiquidityOneToken ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) RemoveLiquidityOneToken(opts *bind.TransactOpts, tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*SwapFlashLoanTransactor) RenounceOwnership ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SwapFlashLoanTransactor) SetAdminFee ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) SetAdminFee(opts *bind.TransactOpts, newAdminFee *big.Int) (*types.Transaction, error)
SetAdminFee is a paid mutator transaction binding the contract method 0x8beb60b6.
Solidity: function setAdminFee(uint256 newAdminFee) returns()
func (*SwapFlashLoanTransactor) SetFlashLoanFees ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) SetFlashLoanFees(opts *bind.TransactOpts, newFlashLoanFeeBPS *big.Int, newProtocolFeeShareBPS *big.Int) (*types.Transaction, error)
SetFlashLoanFees is a paid mutator transaction binding the contract method 0xef815967.
Solidity: function setFlashLoanFees(uint256 newFlashLoanFeeBPS, uint256 newProtocolFeeShareBPS) returns()
func (*SwapFlashLoanTransactor) SetSwapFee ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) SetSwapFee(opts *bind.TransactOpts, newSwapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 newSwapFee) returns()
func (*SwapFlashLoanTransactor) StopRampA ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0xc4db7fa0.
Solidity: function stopRampA() returns()
func (*SwapFlashLoanTransactor) Swap ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) Swap(opts *bind.TransactOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
func (*SwapFlashLoanTransactor) TransferOwnership ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*SwapFlashLoanTransactor) Unpause ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*SwapFlashLoanTransactor) WithdrawAdminFees ¶
func (_SwapFlashLoan *SwapFlashLoanTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x0419b45a.
Solidity: function withdrawAdminFees() returns()
type SwapFlashLoanTransactorRaw ¶
type SwapFlashLoanTransactorRaw struct {
Contract *SwapFlashLoanTransactor // Generic write-only contract binding to access the raw methods on
}
SwapFlashLoanTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SwapFlashLoanTransactorRaw) Transact ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SwapFlashLoanTransactorRaw) Transfer ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorRaw) 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 SwapFlashLoanTransactorSession ¶
type SwapFlashLoanTransactorSession struct { Contract *SwapFlashLoanTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SwapFlashLoanTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SwapFlashLoanTransactorSession) AddLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*SwapFlashLoanTransactorSession) FlashLoan ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) FlashLoan(receiver common.Address, token common.Address, amount *big.Int, params []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.
Solidity: function flashLoan(address receiver, address token, uint256 amount, bytes params) returns()
func (*SwapFlashLoanTransactorSession) Initialize ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) Initialize(_pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, _a *big.Int, _fee *big.Int, _adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, address lpTokenTargetAddress) returns()
func (*SwapFlashLoanTransactorSession) Pause ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SwapFlashLoanTransactorSession) RampA ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RampA(futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x593d132c.
Solidity: function rampA(uint256 futureA, uint256 futureTime) returns()
func (*SwapFlashLoanTransactorSession) RemoveLiquidity ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*SwapFlashLoanTransactorSession) RemoveLiquidityImbalance ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*SwapFlashLoanTransactorSession) RemoveLiquidityOneToken ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*SwapFlashLoanTransactorSession) RenounceOwnership ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SwapFlashLoanTransactorSession) SetAdminFee ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) SetAdminFee(newAdminFee *big.Int) (*types.Transaction, error)
SetAdminFee is a paid mutator transaction binding the contract method 0x8beb60b6.
Solidity: function setAdminFee(uint256 newAdminFee) returns()
func (*SwapFlashLoanTransactorSession) SetFlashLoanFees ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) SetFlashLoanFees(newFlashLoanFeeBPS *big.Int, newProtocolFeeShareBPS *big.Int) (*types.Transaction, error)
SetFlashLoanFees is a paid mutator transaction binding the contract method 0xef815967.
Solidity: function setFlashLoanFees(uint256 newFlashLoanFeeBPS, uint256 newProtocolFeeShareBPS) returns()
func (*SwapFlashLoanTransactorSession) SetSwapFee ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) SetSwapFee(newSwapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 newSwapFee) returns()
func (*SwapFlashLoanTransactorSession) StopRampA ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0xc4db7fa0.
Solidity: function stopRampA() returns()
func (*SwapFlashLoanTransactorSession) Swap ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
func (*SwapFlashLoanTransactorSession) TransferOwnership ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*SwapFlashLoanTransactorSession) Unpause ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*SwapFlashLoanTransactorSession) WithdrawAdminFees ¶
func (_SwapFlashLoan *SwapFlashLoanTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x0419b45a.
Solidity: function withdrawAdminFees() returns()
type SwapFlashLoanUnpaused ¶
type SwapFlashLoanUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
SwapFlashLoanUnpaused represents a Unpaused event raised by the SwapFlashLoan contract.
type SwapFlashLoanUnpausedIterator ¶
type SwapFlashLoanUnpausedIterator struct { Event *SwapFlashLoanUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapFlashLoanUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the SwapFlashLoan contract.
func (*SwapFlashLoanUnpausedIterator) Close ¶
func (it *SwapFlashLoanUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapFlashLoanUnpausedIterator) Error ¶
func (it *SwapFlashLoanUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapFlashLoanUnpausedIterator) Next ¶
func (it *SwapFlashLoanUnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapNewAdminFee ¶
type SwapNewAdminFee struct { NewAdminFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapNewAdminFee represents a NewAdminFee event raised by the Swap contract.
type SwapNewAdminFeeIterator ¶
type SwapNewAdminFeeIterator struct { Event *SwapNewAdminFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapNewAdminFeeIterator is returned from FilterNewAdminFee and is used to iterate over the raw logs and unpacked data for NewAdminFee events raised by the Swap contract.
func (*SwapNewAdminFeeIterator) Close ¶
func (it *SwapNewAdminFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapNewAdminFeeIterator) Error ¶
func (it *SwapNewAdminFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapNewAdminFeeIterator) Next ¶
func (it *SwapNewAdminFeeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapNewSwapFee ¶
type SwapNewSwapFee struct { NewSwapFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapNewSwapFee represents a NewSwapFee event raised by the Swap contract.
type SwapNewSwapFeeIterator ¶
type SwapNewSwapFeeIterator struct { Event *SwapNewSwapFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapNewSwapFeeIterator is returned from FilterNewSwapFee and is used to iterate over the raw logs and unpacked data for NewSwapFee events raised by the Swap contract.
func (*SwapNewSwapFeeIterator) Close ¶
func (it *SwapNewSwapFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapNewSwapFeeIterator) Error ¶
func (it *SwapNewSwapFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapNewSwapFeeIterator) Next ¶
func (it *SwapNewSwapFeeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapOwnershipTransferred ¶
type SwapOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SwapOwnershipTransferred represents a OwnershipTransferred event raised by the Swap contract.
type SwapOwnershipTransferredIterator ¶
type SwapOwnershipTransferredIterator struct { Event *SwapOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Swap contract.
func (*SwapOwnershipTransferredIterator) Close ¶
func (it *SwapOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapOwnershipTransferredIterator) Error ¶
func (it *SwapOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapOwnershipTransferredIterator) Next ¶
func (it *SwapOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapPaused ¶
type SwapPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
SwapPaused represents a Paused event raised by the Swap contract.
type SwapPausedIterator ¶
type SwapPausedIterator struct { Event *SwapPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Swap contract.
func (*SwapPausedIterator) Close ¶
func (it *SwapPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapPausedIterator) Error ¶
func (it *SwapPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapPausedIterator) Next ¶
func (it *SwapPausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapRampA ¶
type SwapRampA struct { OldA *big.Int NewA *big.Int InitialTime *big.Int FutureTime *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapRampA represents a RampA event raised by the Swap contract.
type SwapRampAIterator ¶
type SwapRampAIterator struct { Event *SwapRampA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapRampAIterator is returned from FilterRampA and is used to iterate over the raw logs and unpacked data for RampA events raised by the Swap contract.
func (*SwapRampAIterator) Close ¶
func (it *SwapRampAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapRampAIterator) Error ¶
func (it *SwapRampAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapRampAIterator) Next ¶
func (it *SwapRampAIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapRaw ¶
type SwapRaw struct {
Contract *Swap // Generic contract binding to access the raw methods on
}
SwapRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SwapRaw) Call ¶
func (_Swap *SwapRaw) 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 (*SwapRaw) Transact ¶
func (_Swap *SwapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SwapRaw) Transfer ¶
func (_Swap *SwapRaw) 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 SwapRef ¶
type SwapRef struct { *SwapFlashLoan // contains filtered or unexported fields }
SwapRef is a bound synapse bridge config v2 contract that returns the address of that contract
func NewSwapRef ¶
NewSwapRef gets a bound synapse bridge config contract that returns the address of the contract
type SwapRemoveLiquidity ¶
type SwapRemoveLiquidity struct { Provider common.Address TokenAmounts []*big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapRemoveLiquidity represents a RemoveLiquidity event raised by the Swap contract.
type SwapRemoveLiquidityImbalance ¶
type SwapRemoveLiquidityImbalance struct { Provider common.Address TokenAmounts []*big.Int Fees []*big.Int Invariant *big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the Swap contract.
type SwapRemoveLiquidityImbalanceIterator ¶
type SwapRemoveLiquidityImbalanceIterator struct { Event *SwapRemoveLiquidityImbalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapRemoveLiquidityImbalanceIterator is returned from FilterRemoveLiquidityImbalance and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance events raised by the Swap contract.
func (*SwapRemoveLiquidityImbalanceIterator) Close ¶
func (it *SwapRemoveLiquidityImbalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapRemoveLiquidityImbalanceIterator) Error ¶
func (it *SwapRemoveLiquidityImbalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapRemoveLiquidityImbalanceIterator) Next ¶
func (it *SwapRemoveLiquidityImbalanceIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapRemoveLiquidityIterator ¶
type SwapRemoveLiquidityIterator struct { Event *SwapRemoveLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the Swap contract.
func (*SwapRemoveLiquidityIterator) Close ¶
func (it *SwapRemoveLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapRemoveLiquidityIterator) Error ¶
func (it *SwapRemoveLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapRemoveLiquidityIterator) Next ¶
func (it *SwapRemoveLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapRemoveLiquidityOne ¶
type SwapRemoveLiquidityOne struct { Provider common.Address LpTokenAmount *big.Int LpTokenSupply *big.Int BoughtId *big.Int TokensBought *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the Swap contract.
type SwapRemoveLiquidityOneIterator ¶
type SwapRemoveLiquidityOneIterator struct { Event *SwapRemoveLiquidityOne // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapRemoveLiquidityOneIterator is returned from FilterRemoveLiquidityOne and is used to iterate over the raw logs and unpacked data for RemoveLiquidityOne events raised by the Swap contract.
func (*SwapRemoveLiquidityOneIterator) Close ¶
func (it *SwapRemoveLiquidityOneIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapRemoveLiquidityOneIterator) Error ¶
func (it *SwapRemoveLiquidityOneIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapRemoveLiquidityOneIterator) Next ¶
func (it *SwapRemoveLiquidityOneIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapSession ¶
type SwapSession struct { Contract *Swap // 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 }
SwapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SwapSession) AddLiquidity ¶
func (_Swap *SwapSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*SwapSession) CalculateRemoveLiquidity ¶
CalculateRemoveLiquidity is a free data retrieval call binding the contract method 0xf2fad2b6.
Solidity: function calculateRemoveLiquidity(uint256 amount) view returns(uint256[])
func (*SwapSession) CalculateRemoveLiquidityOneToken ¶
func (_Swap *SwapSession) CalculateRemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8) (*big.Int, error)
CalculateRemoveLiquidityOneToken is a free data retrieval call binding the contract method 0x342a87a1.
Solidity: function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns(uint256 availableTokenAmount)
func (*SwapSession) CalculateSwap ¶
func (_Swap *SwapSession) CalculateSwap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int) (*big.Int, error)
CalculateSwap is a free data retrieval call binding the contract method 0xa95b089f.
Solidity: function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns(uint256)
func (*SwapSession) CalculateTokenAmount ¶
CalculateTokenAmount is a free data retrieval call binding the contract method 0xe6ab2806.
Solidity: function calculateTokenAmount(uint256[] amounts, bool deposit) view returns(uint256)
func (*SwapSession) GetA ¶
func (_Swap *SwapSession) GetA() (*big.Int, error)
GetA is a free data retrieval call binding the contract method 0xd46300fd.
Solidity: function getA() view returns(uint256)
func (*SwapSession) GetAPrecise ¶
func (_Swap *SwapSession) GetAPrecise() (*big.Int, error)
GetAPrecise is a free data retrieval call binding the contract method 0x0ba81959.
Solidity: function getAPrecise() view returns(uint256)
func (*SwapSession) GetAdminBalance ¶
GetAdminBalance is a free data retrieval call binding the contract method 0xef0a712f.
Solidity: function getAdminBalance(uint256 index) view returns(uint256)
func (*SwapSession) GetToken ¶
func (_Swap *SwapSession) GetToken(index uint8) (common.Address, error)
GetToken is a free data retrieval call binding the contract method 0x82b86600.
Solidity: function getToken(uint8 index) view returns(address)
func (*SwapSession) GetTokenBalance ¶
func (_Swap *SwapSession) GetTokenBalance(index uint8) (*big.Int, error)
GetTokenBalance is a free data retrieval call binding the contract method 0x91ceb3eb.
Solidity: function getTokenBalance(uint8 index) view returns(uint256)
func (*SwapSession) GetTokenIndex ¶
func (_Swap *SwapSession) GetTokenIndex(tokenAddress common.Address) (uint8, error)
GetTokenIndex is a free data retrieval call binding the contract method 0x66c0bd24.
Solidity: function getTokenIndex(address tokenAddress) view returns(uint8)
func (*SwapSession) GetVirtualPrice ¶
func (_Swap *SwapSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xe25aa5fa.
Solidity: function getVirtualPrice() view returns(uint256)
func (*SwapSession) Initialize ¶
func (_Swap *SwapSession) Initialize(_pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, _a *big.Int, _fee *big.Int, _adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, address lpTokenTargetAddress) returns()
func (*SwapSession) Owner ¶
func (_Swap *SwapSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SwapSession) Pause ¶
func (_Swap *SwapSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SwapSession) Paused ¶
func (_Swap *SwapSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SwapSession) RampA ¶
func (_Swap *SwapSession) RampA(futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x593d132c.
Solidity: function rampA(uint256 futureA, uint256 futureTime) returns()
func (*SwapSession) RemoveLiquidity ¶
func (_Swap *SwapSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*SwapSession) RemoveLiquidityImbalance ¶
func (_Swap *SwapSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*SwapSession) RemoveLiquidityOneToken ¶
func (_Swap *SwapSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*SwapSession) RenounceOwnership ¶
func (_Swap *SwapSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SwapSession) SetAdminFee ¶
func (_Swap *SwapSession) SetAdminFee(newAdminFee *big.Int) (*types.Transaction, error)
SetAdminFee is a paid mutator transaction binding the contract method 0x8beb60b6.
Solidity: function setAdminFee(uint256 newAdminFee) returns()
func (*SwapSession) SetSwapFee ¶
func (_Swap *SwapSession) SetSwapFee(newSwapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 newSwapFee) returns()
func (*SwapSession) StopRampA ¶
func (_Swap *SwapSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0xc4db7fa0.
Solidity: function stopRampA() returns()
func (*SwapSession) Swap ¶
func (_Swap *SwapSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
func (*SwapSession) SwapStorage ¶
func (_Swap *SwapSession) SwapStorage() (struct { InitialA *big.Int FutureA *big.Int InitialATime *big.Int FutureATime *big.Int SwapFee *big.Int AdminFee *big.Int LpToken common.Address }, error)
SwapStorage is a free data retrieval call binding the contract method 0x5fd65f0f.
Solidity: function swapStorage() view returns(uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, address lpToken)
func (*SwapSession) TransferOwnership ¶
func (_Swap *SwapSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*SwapSession) Unpause ¶
func (_Swap *SwapSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*SwapSession) WithdrawAdminFees ¶
func (_Swap *SwapSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x0419b45a.
Solidity: function withdrawAdminFees() returns()
type SwapStopRampA ¶
type SwapStopRampA struct { CurrentA *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapStopRampA represents a StopRampA event raised by the Swap contract.
type SwapStopRampAIterator ¶
type SwapStopRampAIterator struct { Event *SwapStopRampA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapStopRampAIterator is returned from FilterStopRampA and is used to iterate over the raw logs and unpacked data for StopRampA events raised by the Swap contract.
func (*SwapStopRampAIterator) Close ¶
func (it *SwapStopRampAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapStopRampAIterator) Error ¶
func (it *SwapStopRampAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapStopRampAIterator) Next ¶
func (it *SwapStopRampAIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapTokenSwap ¶
type SwapTokenSwap struct { Buyer common.Address TokensSold *big.Int TokensBought *big.Int SoldId *big.Int BoughtId *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapTokenSwap represents a TokenSwap event raised by the Swap contract.
type SwapTokenSwapIterator ¶
type SwapTokenSwapIterator struct { Event *SwapTokenSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapTokenSwapIterator is returned from FilterTokenSwap and is used to iterate over the raw logs and unpacked data for TokenSwap events raised by the Swap contract.
func (*SwapTokenSwapIterator) Close ¶
func (it *SwapTokenSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapTokenSwapIterator) Error ¶
func (it *SwapTokenSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapTokenSwapIterator) Next ¶
func (it *SwapTokenSwapIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapTransactor ¶
type SwapTransactor struct {
// contains filtered or unexported fields
}
SwapTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSwapTransactor ¶
func NewSwapTransactor(address common.Address, transactor bind.ContractTransactor) (*SwapTransactor, error)
NewSwapTransactor creates a new write-only instance of Swap, bound to a specific deployed contract.
func (*SwapTransactor) AddLiquidity ¶
func (_Swap *SwapTransactor) AddLiquidity(opts *bind.TransactOpts, amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*SwapTransactor) Initialize ¶
func (_Swap *SwapTransactor) Initialize(opts *bind.TransactOpts, _pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, _a *big.Int, _fee *big.Int, _adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, address lpTokenTargetAddress) returns()
func (*SwapTransactor) Pause ¶
func (_Swap *SwapTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SwapTransactor) RampA ¶
func (_Swap *SwapTransactor) RampA(opts *bind.TransactOpts, futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x593d132c.
Solidity: function rampA(uint256 futureA, uint256 futureTime) returns()
func (*SwapTransactor) RemoveLiquidity ¶
func (_Swap *SwapTransactor) RemoveLiquidity(opts *bind.TransactOpts, amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*SwapTransactor) RemoveLiquidityImbalance ¶
func (_Swap *SwapTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*SwapTransactor) RemoveLiquidityOneToken ¶
func (_Swap *SwapTransactor) RemoveLiquidityOneToken(opts *bind.TransactOpts, tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*SwapTransactor) RenounceOwnership ¶
func (_Swap *SwapTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SwapTransactor) SetAdminFee ¶
func (_Swap *SwapTransactor) SetAdminFee(opts *bind.TransactOpts, newAdminFee *big.Int) (*types.Transaction, error)
SetAdminFee is a paid mutator transaction binding the contract method 0x8beb60b6.
Solidity: function setAdminFee(uint256 newAdminFee) returns()
func (*SwapTransactor) SetSwapFee ¶
func (_Swap *SwapTransactor) SetSwapFee(opts *bind.TransactOpts, newSwapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 newSwapFee) returns()
func (*SwapTransactor) StopRampA ¶
func (_Swap *SwapTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0xc4db7fa0.
Solidity: function stopRampA() returns()
func (*SwapTransactor) Swap ¶
func (_Swap *SwapTransactor) Swap(opts *bind.TransactOpts, tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
func (*SwapTransactor) TransferOwnership ¶
func (_Swap *SwapTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*SwapTransactor) Unpause ¶
func (_Swap *SwapTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*SwapTransactor) WithdrawAdminFees ¶
func (_Swap *SwapTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x0419b45a.
Solidity: function withdrawAdminFees() returns()
type SwapTransactorRaw ¶
type SwapTransactorRaw struct {
Contract *SwapTransactor // Generic write-only contract binding to access the raw methods on
}
SwapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SwapTransactorRaw) Transact ¶
func (_Swap *SwapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SwapTransactorRaw) Transfer ¶
func (_Swap *SwapTransactorRaw) 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 SwapTransactorSession ¶
type SwapTransactorSession struct { Contract *SwapTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SwapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SwapTransactorSession) AddLiquidity ¶
func (_Swap *SwapTransactorSession) AddLiquidity(amounts []*big.Int, minToMint *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x4d49e87d.
Solidity: function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns(uint256)
func (*SwapTransactorSession) Initialize ¶
func (_Swap *SwapTransactorSession) Initialize(_pooledTokens []common.Address, decimals []uint8, lpTokenName string, lpTokenSymbol string, _a *big.Int, _fee *big.Int, _adminFee *big.Int, lpTokenTargetAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xb28cb6dc.
Solidity: function initialize(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, address lpTokenTargetAddress) returns()
func (*SwapTransactorSession) Pause ¶
func (_Swap *SwapTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SwapTransactorSession) RampA ¶
func (_Swap *SwapTransactorSession) RampA(futureA *big.Int, futureTime *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x593d132c.
Solidity: function rampA(uint256 futureA, uint256 futureTime) returns()
func (*SwapTransactorSession) RemoveLiquidity ¶
func (_Swap *SwapTransactorSession) RemoveLiquidity(amount *big.Int, minAmounts []*big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x31cd52b0.
Solidity: function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns(uint256[])
func (*SwapTransactorSession) RemoveLiquidityImbalance ¶
func (_Swap *SwapTransactorSession) RemoveLiquidityImbalance(amounts []*big.Int, maxBurnAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x84cdd9bc.
Solidity: function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns(uint256)
func (*SwapTransactorSession) RemoveLiquidityOneToken ¶
func (_Swap *SwapTransactorSession) RemoveLiquidityOneToken(tokenAmount *big.Int, tokenIndex uint8, minAmount *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityOneToken is a paid mutator transaction binding the contract method 0x3e3a1560.
Solidity: function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns(uint256)
func (*SwapTransactorSession) RenounceOwnership ¶
func (_Swap *SwapTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SwapTransactorSession) SetAdminFee ¶
func (_Swap *SwapTransactorSession) SetAdminFee(newAdminFee *big.Int) (*types.Transaction, error)
SetAdminFee is a paid mutator transaction binding the contract method 0x8beb60b6.
Solidity: function setAdminFee(uint256 newAdminFee) returns()
func (*SwapTransactorSession) SetSwapFee ¶
func (_Swap *SwapTransactorSession) SetSwapFee(newSwapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 newSwapFee) returns()
func (*SwapTransactorSession) StopRampA ¶
func (_Swap *SwapTransactorSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0xc4db7fa0.
Solidity: function stopRampA() returns()
func (*SwapTransactorSession) Swap ¶
func (_Swap *SwapTransactorSession) Swap(tokenIndexFrom uint8, tokenIndexTo uint8, dx *big.Int, minDy *big.Int, deadline *big.Int) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x91695586.
Solidity: function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns(uint256)
func (*SwapTransactorSession) TransferOwnership ¶
func (_Swap *SwapTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*SwapTransactorSession) Unpause ¶
func (_Swap *SwapTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*SwapTransactorSession) WithdrawAdminFees ¶
func (_Swap *SwapTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x0419b45a.
Solidity: function withdrawAdminFees() returns()
type SwapUnpaused ¶
type SwapUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
SwapUnpaused represents a Unpaused event raised by the Swap contract.
type SwapUnpausedIterator ¶
type SwapUnpausedIterator struct { Event *SwapUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Swap contract.
func (*SwapUnpausedIterator) Close ¶
func (it *SwapUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapUnpausedIterator) Error ¶
func (it *SwapUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapUnpausedIterator) Next ¶
func (it *SwapUnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapUtils ¶
type SwapUtils struct { SwapUtilsCaller // Read-only binding to the contract SwapUtilsTransactor // Write-only binding to the contract SwapUtilsFilterer // Log filterer for contract events }
SwapUtils is an auto generated Go binding around an Ethereum contract.
func DeploySwapUtils ¶
func DeploySwapUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SwapUtils, error)
DeploySwapUtils deploys a new Ethereum contract, binding an instance of SwapUtils to it.
func NewSwapUtils ¶
NewSwapUtils creates a new instance of SwapUtils, bound to a specific deployed contract.
type SwapUtilsAddLiquidity ¶
type SwapUtilsAddLiquidity struct { Provider common.Address TokenAmounts []*big.Int Fees []*big.Int Invariant *big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapUtilsAddLiquidity represents a AddLiquidity event raised by the SwapUtils contract.
type SwapUtilsAddLiquidityIterator ¶
type SwapUtilsAddLiquidityIterator struct { Event *SwapUtilsAddLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapUtilsAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the SwapUtils contract.
func (*SwapUtilsAddLiquidityIterator) Close ¶
func (it *SwapUtilsAddLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapUtilsAddLiquidityIterator) Error ¶
func (it *SwapUtilsAddLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapUtilsAddLiquidityIterator) Next ¶
func (it *SwapUtilsAddLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapUtilsCaller ¶
type SwapUtilsCaller struct {
// contains filtered or unexported fields
}
SwapUtilsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSwapUtilsCaller ¶
func NewSwapUtilsCaller(address common.Address, caller bind.ContractCaller) (*SwapUtilsCaller, error)
NewSwapUtilsCaller creates a new read-only instance of SwapUtils, bound to a specific deployed contract.
func (*SwapUtilsCaller) MAXADMINFEE ¶
MAXADMINFEE is a free data retrieval call binding the contract method 0xf3de0362.
Solidity: function MAX_ADMIN_FEE() view returns(uint256)
func (*SwapUtilsCaller) MAXSWAPFEE ¶
MAXSWAPFEE is a free data retrieval call binding the contract method 0xab3d8544.
Solidity: function MAX_SWAP_FEE() view returns(uint256)
func (*SwapUtilsCaller) POOLPRECISIONDECIMALS ¶
func (_SwapUtils *SwapUtilsCaller) POOLPRECISIONDECIMALS(opts *bind.CallOpts) (uint8, error)
POOLPRECISIONDECIMALS is a free data retrieval call binding the contract method 0x0296ab50.
Solidity: function POOL_PRECISION_DECIMALS() view returns(uint8)
type SwapUtilsCallerRaw ¶
type SwapUtilsCallerRaw struct {
Contract *SwapUtilsCaller // Generic read-only contract binding to access the raw methods on
}
SwapUtilsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SwapUtilsCallerRaw) Call ¶
func (_SwapUtils *SwapUtilsCallerRaw) 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 SwapUtilsCallerSession ¶
type SwapUtilsCallerSession struct { Contract *SwapUtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SwapUtilsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SwapUtilsCallerSession) MAXADMINFEE ¶
func (_SwapUtils *SwapUtilsCallerSession) MAXADMINFEE() (*big.Int, error)
MAXADMINFEE is a free data retrieval call binding the contract method 0xf3de0362.
Solidity: function MAX_ADMIN_FEE() view returns(uint256)
func (*SwapUtilsCallerSession) MAXSWAPFEE ¶
func (_SwapUtils *SwapUtilsCallerSession) MAXSWAPFEE() (*big.Int, error)
MAXSWAPFEE is a free data retrieval call binding the contract method 0xab3d8544.
Solidity: function MAX_SWAP_FEE() view returns(uint256)
func (*SwapUtilsCallerSession) POOLPRECISIONDECIMALS ¶
func (_SwapUtils *SwapUtilsCallerSession) POOLPRECISIONDECIMALS() (uint8, error)
POOLPRECISIONDECIMALS is a free data retrieval call binding the contract method 0x0296ab50.
Solidity: function POOL_PRECISION_DECIMALS() view returns(uint8)
type SwapUtilsFilterer ¶
type SwapUtilsFilterer struct {
// contains filtered or unexported fields
}
SwapUtilsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSwapUtilsFilterer ¶
func NewSwapUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*SwapUtilsFilterer, error)
NewSwapUtilsFilterer creates a new log filterer instance of SwapUtils, bound to a specific deployed contract.
func (*SwapUtilsFilterer) FilterAddLiquidity ¶
func (_SwapUtils *SwapUtilsFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapUtilsAddLiquidityIterator, error)
FilterAddLiquidity is a free log retrieval operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) FilterNewAdminFee ¶
func (_SwapUtils *SwapUtilsFilterer) FilterNewAdminFee(opts *bind.FilterOpts) (*SwapUtilsNewAdminFeeIterator, error)
FilterNewAdminFee is a free log retrieval operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapUtilsFilterer) FilterNewSwapFee ¶
func (_SwapUtils *SwapUtilsFilterer) FilterNewSwapFee(opts *bind.FilterOpts) (*SwapUtilsNewSwapFeeIterator, error)
FilterNewSwapFee is a free log retrieval operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapUtilsFilterer) FilterRemoveLiquidity ¶
func (_SwapUtils *SwapUtilsFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SwapUtilsRemoveLiquidityIterator, error)
FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) FilterRemoveLiquidityImbalance ¶
func (_SwapUtils *SwapUtilsFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*SwapUtilsRemoveLiquidityImbalanceIterator, error)
FilterRemoveLiquidityImbalance is a free log retrieval operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) FilterRemoveLiquidityOne ¶
func (_SwapUtils *SwapUtilsFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*SwapUtilsRemoveLiquidityOneIterator, error)
FilterRemoveLiquidityOne is a free log retrieval operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapUtilsFilterer) FilterTokenSwap ¶
func (_SwapUtils *SwapUtilsFilterer) FilterTokenSwap(opts *bind.FilterOpts, buyer []common.Address) (*SwapUtilsTokenSwapIterator, error)
FilterTokenSwap is a free log retrieval operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
func (*SwapUtilsFilterer) ParseAddLiquidity ¶
func (_SwapUtils *SwapUtilsFilterer) ParseAddLiquidity(log types.Log) (*SwapUtilsAddLiquidity, error)
ParseAddLiquidity is a log parse operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) ParseNewAdminFee ¶
func (_SwapUtils *SwapUtilsFilterer) ParseNewAdminFee(log types.Log) (*SwapUtilsNewAdminFee, error)
ParseNewAdminFee is a log parse operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapUtilsFilterer) ParseNewSwapFee ¶
func (_SwapUtils *SwapUtilsFilterer) ParseNewSwapFee(log types.Log) (*SwapUtilsNewSwapFee, error)
ParseNewSwapFee is a log parse operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapUtilsFilterer) ParseRemoveLiquidity ¶
func (_SwapUtils *SwapUtilsFilterer) ParseRemoveLiquidity(log types.Log) (*SwapUtilsRemoveLiquidity, error)
ParseRemoveLiquidity is a log parse operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) ParseRemoveLiquidityImbalance ¶
func (_SwapUtils *SwapUtilsFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*SwapUtilsRemoveLiquidityImbalance, error)
ParseRemoveLiquidityImbalance is a log parse operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) ParseRemoveLiquidityOne ¶
func (_SwapUtils *SwapUtilsFilterer) ParseRemoveLiquidityOne(log types.Log) (*SwapUtilsRemoveLiquidityOne, error)
ParseRemoveLiquidityOne is a log parse operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapUtilsFilterer) ParseTokenSwap ¶
func (_SwapUtils *SwapUtilsFilterer) ParseTokenSwap(log types.Log) (*SwapUtilsTokenSwap, error)
ParseTokenSwap is a log parse operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
func (*SwapUtilsFilterer) WatchAddLiquidity ¶
func (_SwapUtils *SwapUtilsFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *SwapUtilsAddLiquidity, provider []common.Address) (event.Subscription, error)
WatchAddLiquidity is a free log subscription operation binding the contract event 0x189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2.
Solidity: event AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) WatchNewAdminFee ¶
func (_SwapUtils *SwapUtilsFilterer) WatchNewAdminFee(opts *bind.WatchOpts, sink chan<- *SwapUtilsNewAdminFee) (event.Subscription, error)
WatchNewAdminFee is a free log subscription operation binding the contract event 0xab599d640ca80cde2b09b128a4154a8dfe608cb80f4c9399c8b954b01fd35f38.
Solidity: event NewAdminFee(uint256 newAdminFee)
func (*SwapUtilsFilterer) WatchNewSwapFee ¶
func (_SwapUtils *SwapUtilsFilterer) WatchNewSwapFee(opts *bind.WatchOpts, sink chan<- *SwapUtilsNewSwapFee) (event.Subscription, error)
WatchNewSwapFee is a free log subscription operation binding the contract event 0xd88ea5155021c6f8dafa1a741e173f595cdf77ce7c17d43342131d7f06afdfe5.
Solidity: event NewSwapFee(uint256 newSwapFee)
func (*SwapUtilsFilterer) WatchRemoveLiquidity ¶
func (_SwapUtils *SwapUtilsFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *SwapUtilsRemoveLiquidity, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x88d38ed598fdd809c2bf01ee49cd24b7fdabf379a83d29567952b60324d58cef.
Solidity: event RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) WatchRemoveLiquidityImbalance ¶
func (_SwapUtils *SwapUtilsFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *SwapUtilsRemoveLiquidityImbalance, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityImbalance is a free log subscription operation binding the contract event 0x3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af1755.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
func (*SwapUtilsFilterer) WatchRemoveLiquidityOne ¶
func (_SwapUtils *SwapUtilsFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *SwapUtilsRemoveLiquidityOne, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityOne is a free log subscription operation binding the contract event 0x43fb02998f4e03da2e0e6fff53fdbf0c40a9f45f145dc377fc30615d7d7a8a64.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
func (*SwapUtilsFilterer) WatchTokenSwap ¶
func (_SwapUtils *SwapUtilsFilterer) WatchTokenSwap(opts *bind.WatchOpts, sink chan<- *SwapUtilsTokenSwap, buyer []common.Address) (event.Subscription, error)
WatchTokenSwap is a free log subscription operation binding the contract event 0xc6c1e0630dbe9130cc068028486c0d118ddcea348550819defd5cb8c257f8a38.
Solidity: event TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
type SwapUtilsNewAdminFee ¶
type SwapUtilsNewAdminFee struct { NewAdminFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapUtilsNewAdminFee represents a NewAdminFee event raised by the SwapUtils contract.
type SwapUtilsNewAdminFeeIterator ¶
type SwapUtilsNewAdminFeeIterator struct { Event *SwapUtilsNewAdminFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapUtilsNewAdminFeeIterator is returned from FilterNewAdminFee and is used to iterate over the raw logs and unpacked data for NewAdminFee events raised by the SwapUtils contract.
func (*SwapUtilsNewAdminFeeIterator) Close ¶
func (it *SwapUtilsNewAdminFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapUtilsNewAdminFeeIterator) Error ¶
func (it *SwapUtilsNewAdminFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapUtilsNewAdminFeeIterator) Next ¶
func (it *SwapUtilsNewAdminFeeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapUtilsNewSwapFee ¶
type SwapUtilsNewSwapFee struct { NewSwapFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapUtilsNewSwapFee represents a NewSwapFee event raised by the SwapUtils contract.
type SwapUtilsNewSwapFeeIterator ¶
type SwapUtilsNewSwapFeeIterator struct { Event *SwapUtilsNewSwapFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapUtilsNewSwapFeeIterator is returned from FilterNewSwapFee and is used to iterate over the raw logs and unpacked data for NewSwapFee events raised by the SwapUtils contract.
func (*SwapUtilsNewSwapFeeIterator) Close ¶
func (it *SwapUtilsNewSwapFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapUtilsNewSwapFeeIterator) Error ¶
func (it *SwapUtilsNewSwapFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapUtilsNewSwapFeeIterator) Next ¶
func (it *SwapUtilsNewSwapFeeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapUtilsRaw ¶
type SwapUtilsRaw struct {
Contract *SwapUtils // Generic contract binding to access the raw methods on
}
SwapUtilsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SwapUtilsRaw) Call ¶
func (_SwapUtils *SwapUtilsRaw) 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 (*SwapUtilsRaw) Transact ¶
func (_SwapUtils *SwapUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SwapUtilsRaw) Transfer ¶
func (_SwapUtils *SwapUtilsRaw) 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 SwapUtilsRemoveLiquidity ¶
type SwapUtilsRemoveLiquidity struct { Provider common.Address TokenAmounts []*big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapUtilsRemoveLiquidity represents a RemoveLiquidity event raised by the SwapUtils contract.
type SwapUtilsRemoveLiquidityImbalance ¶
type SwapUtilsRemoveLiquidityImbalance struct { Provider common.Address TokenAmounts []*big.Int Fees []*big.Int Invariant *big.Int LpTokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapUtilsRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the SwapUtils contract.
type SwapUtilsRemoveLiquidityImbalanceIterator ¶
type SwapUtilsRemoveLiquidityImbalanceIterator struct { Event *SwapUtilsRemoveLiquidityImbalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapUtilsRemoveLiquidityImbalanceIterator is returned from FilterRemoveLiquidityImbalance and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance events raised by the SwapUtils contract.
func (*SwapUtilsRemoveLiquidityImbalanceIterator) Close ¶
func (it *SwapUtilsRemoveLiquidityImbalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapUtilsRemoveLiquidityImbalanceIterator) Error ¶
func (it *SwapUtilsRemoveLiquidityImbalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapUtilsRemoveLiquidityImbalanceIterator) Next ¶
func (it *SwapUtilsRemoveLiquidityImbalanceIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapUtilsRemoveLiquidityIterator ¶
type SwapUtilsRemoveLiquidityIterator struct { Event *SwapUtilsRemoveLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapUtilsRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the SwapUtils contract.
func (*SwapUtilsRemoveLiquidityIterator) Close ¶
func (it *SwapUtilsRemoveLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapUtilsRemoveLiquidityIterator) Error ¶
func (it *SwapUtilsRemoveLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapUtilsRemoveLiquidityIterator) Next ¶
func (it *SwapUtilsRemoveLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapUtilsRemoveLiquidityOne ¶
type SwapUtilsRemoveLiquidityOne struct { Provider common.Address LpTokenAmount *big.Int LpTokenSupply *big.Int BoughtId *big.Int TokensBought *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapUtilsRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the SwapUtils contract.
type SwapUtilsRemoveLiquidityOneIterator ¶
type SwapUtilsRemoveLiquidityOneIterator struct { Event *SwapUtilsRemoveLiquidityOne // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapUtilsRemoveLiquidityOneIterator is returned from FilterRemoveLiquidityOne and is used to iterate over the raw logs and unpacked data for RemoveLiquidityOne events raised by the SwapUtils contract.
func (*SwapUtilsRemoveLiquidityOneIterator) Close ¶
func (it *SwapUtilsRemoveLiquidityOneIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapUtilsRemoveLiquidityOneIterator) Error ¶
func (it *SwapUtilsRemoveLiquidityOneIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapUtilsRemoveLiquidityOneIterator) Next ¶
func (it *SwapUtilsRemoveLiquidityOneIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapUtilsSession ¶
type SwapUtilsSession struct { Contract *SwapUtils // 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 }
SwapUtilsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SwapUtilsSession) MAXADMINFEE ¶
func (_SwapUtils *SwapUtilsSession) MAXADMINFEE() (*big.Int, error)
MAXADMINFEE is a free data retrieval call binding the contract method 0xf3de0362.
Solidity: function MAX_ADMIN_FEE() view returns(uint256)
func (*SwapUtilsSession) MAXSWAPFEE ¶
func (_SwapUtils *SwapUtilsSession) MAXSWAPFEE() (*big.Int, error)
MAXSWAPFEE is a free data retrieval call binding the contract method 0xab3d8544.
Solidity: function MAX_SWAP_FEE() view returns(uint256)
func (*SwapUtilsSession) POOLPRECISIONDECIMALS ¶
func (_SwapUtils *SwapUtilsSession) POOLPRECISIONDECIMALS() (uint8, error)
POOLPRECISIONDECIMALS is a free data retrieval call binding the contract method 0x0296ab50.
Solidity: function POOL_PRECISION_DECIMALS() view returns(uint8)
type SwapUtilsTokenSwap ¶
type SwapUtilsTokenSwap struct { Buyer common.Address TokensSold *big.Int TokensBought *big.Int SoldId *big.Int BoughtId *big.Int Raw types.Log // Blockchain specific contextual infos }
SwapUtilsTokenSwap represents a TokenSwap event raised by the SwapUtils contract.
type SwapUtilsTokenSwapIterator ¶
type SwapUtilsTokenSwapIterator struct { Event *SwapUtilsTokenSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SwapUtilsTokenSwapIterator is returned from FilterTokenSwap and is used to iterate over the raw logs and unpacked data for TokenSwap events raised by the SwapUtils contract.
func (*SwapUtilsTokenSwapIterator) Close ¶
func (it *SwapUtilsTokenSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SwapUtilsTokenSwapIterator) Error ¶
func (it *SwapUtilsTokenSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SwapUtilsTokenSwapIterator) Next ¶
func (it *SwapUtilsTokenSwapIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SwapUtilsTransactor ¶
type SwapUtilsTransactor struct {
// contains filtered or unexported fields
}
SwapUtilsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSwapUtilsTransactor ¶
func NewSwapUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*SwapUtilsTransactor, error)
NewSwapUtilsTransactor creates a new write-only instance of SwapUtils, bound to a specific deployed contract.
type SwapUtilsTransactorRaw ¶
type SwapUtilsTransactorRaw struct {
Contract *SwapUtilsTransactor // Generic write-only contract binding to access the raw methods on
}
SwapUtilsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SwapUtilsTransactorRaw) Transact ¶
func (_SwapUtils *SwapUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SwapUtilsTransactorRaw) Transfer ¶
func (_SwapUtils *SwapUtilsTransactorRaw) 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 SwapUtilsTransactorSession ¶
type SwapUtilsTransactorSession struct { Contract *SwapUtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SwapUtilsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.