Documentation ¶
Index ¶
- Variables
- type Erc20
- type Erc20Approval
- type Erc20ApprovalIterator
- 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, _owner 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(_owner 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, _value *big.Int) (*types.Transaction, error)
- func (_Erc20 *Erc20Session) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_Erc20 *Erc20Session) Decimals() (uint8, error)
- func (_Erc20 *Erc20Session) Fallback(calldata []byte) (*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(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Erc20 *Erc20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type Erc20Transactor
- func (_Erc20 *Erc20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Erc20 *Erc20Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_Erc20 *Erc20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Erc20 *Erc20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type Erc20TransactorRaw
- type Erc20TransactorSession
- func (_Erc20 *Erc20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Erc20 *Erc20TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Erc20 *Erc20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Erc20 *Erc20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type Erc20Transfer
- type Erc20TransferIterator
- type FeeController
- type FeeControllerCaller
- func (_FeeController *FeeControllerCaller) BASEFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_FeeController *FeeControllerCaller) FeeRecipient(opts *bind.CallOpts) (common.Address, error)
- func (_FeeController *FeeControllerCaller) Fees(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_FeeController *FeeControllerCaller) GetFeeOutputs(opts *bind.CallOpts, order ResolvedOrder) ([]OutputToken, error)
- func (_FeeController *FeeControllerCaller) GetPairHash(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) ([32]byte, error)
- func (_FeeController *FeeControllerCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_FeeController *FeeControllerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type FeeControllerCallerRaw
- type FeeControllerCallerSession
- func (_FeeController *FeeControllerCallerSession) BASEFEE() (*big.Int, error)
- func (_FeeController *FeeControllerCallerSession) FeeRecipient() (common.Address, error)
- func (_FeeController *FeeControllerCallerSession) Fees(arg0 [32]byte) (struct{ ... }, error)
- func (_FeeController *FeeControllerCallerSession) GetFeeOutputs(order ResolvedOrder) ([]OutputToken, error)
- func (_FeeController *FeeControllerCallerSession) GetPairHash(tokenIn common.Address, tokenOut common.Address) ([32]byte, error)
- func (_FeeController *FeeControllerCallerSession) Initialized() (bool, error)
- func (_FeeController *FeeControllerCallerSession) Owner() (common.Address, error)
- type FeeControllerFilterer
- func (_FeeController *FeeControllerFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*FeeControllerLogSetOwnerIterator, error)
- func (_FeeController *FeeControllerFilterer) ParseLogSetOwner(log types.Log) (*FeeControllerLogSetOwner, error)
- func (_FeeController *FeeControllerFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *FeeControllerLogSetOwner, ...) (event.Subscription, error)
- type FeeControllerLogSetOwner
- type FeeControllerLogSetOwnerIterator
- type FeeControllerRaw
- func (_FeeController *FeeControllerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FeeController *FeeControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FeeController *FeeControllerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FeeControllerSession
- func (_FeeController *FeeControllerSession) BASEFEE() (*big.Int, error)
- func (_FeeController *FeeControllerSession) FeeRecipient() (common.Address, error)
- func (_FeeController *FeeControllerSession) Fees(arg0 [32]byte) (struct{ ... }, error)
- func (_FeeController *FeeControllerSession) GetFeeOutputs(order ResolvedOrder) ([]OutputToken, error)
- func (_FeeController *FeeControllerSession) GetPairHash(tokenIn common.Address, tokenOut common.Address) ([32]byte, error)
- func (_FeeController *FeeControllerSession) Initialize(_owner common.Address, _feeRecipient common.Address) (*types.Transaction, error)
- func (_FeeController *FeeControllerSession) Initialized() (bool, error)
- func (_FeeController *FeeControllerSession) Owner() (common.Address, error)
- func (_FeeController *FeeControllerSession) SetFee(tokenIn common.Address, tokenOut common.Address, fee *big.Int, applyFee bool) (*types.Transaction, error)
- func (_FeeController *FeeControllerSession) SetFeeRecipient(recipient common.Address) (*types.Transaction, error)
- func (_FeeController *FeeControllerSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
- type FeeControllerTransactor
- func (_FeeController *FeeControllerTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address, _feeRecipient common.Address) (*types.Transaction, error)
- func (_FeeController *FeeControllerTransactor) SetFee(opts *bind.TransactOpts, tokenIn common.Address, tokenOut common.Address, ...) (*types.Transaction, error)
- func (_FeeController *FeeControllerTransactor) SetFeeRecipient(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
- func (_FeeController *FeeControllerTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)
- type FeeControllerTransactorRaw
- type FeeControllerTransactorSession
- func (_FeeController *FeeControllerTransactorSession) Initialize(_owner common.Address, _feeRecipient common.Address) (*types.Transaction, error)
- func (_FeeController *FeeControllerTransactorSession) SetFee(tokenIn common.Address, tokenOut common.Address, fee *big.Int, applyFee bool) (*types.Transaction, error)
- func (_FeeController *FeeControllerTransactorSession) SetFeeRecipient(recipient common.Address) (*types.Transaction, error)
- func (_FeeController *FeeControllerTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
- type GladiusOrderQuoter
- type GladiusOrderQuoterCaller
- type GladiusOrderQuoterCallerRaw
- type GladiusOrderQuoterCallerSession
- type GladiusOrderQuoterFilterer
- type GladiusOrderQuoterRaw
- func (_GladiusOrderQuoter *GladiusOrderQuoterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GladiusOrderQuoter *GladiusOrderQuoterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GladiusOrderQuoter *GladiusOrderQuoterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GladiusOrderQuoterSession
- func (_GladiusOrderQuoter *GladiusOrderQuoterSession) GetReactor(order []byte) (common.Address, error)
- func (_GladiusOrderQuoter *GladiusOrderQuoterSession) Quote(order []byte, sig []byte, quantity *big.Int) (*types.Transaction, error)
- func (_GladiusOrderQuoter *GladiusOrderQuoterSession) ReactorCallback(resolvedOrders []ResolvedOrder, arg1 []byte) error
- type GladiusOrderQuoterTransactor
- type GladiusOrderQuoterTransactorRaw
- type GladiusOrderQuoterTransactorSession
- type GladiusReactor
- type GladiusReactorCaller
- func (_GladiusReactor *GladiusReactorCaller) FeeController(opts *bind.CallOpts) (common.Address, error)
- func (_GladiusReactor *GladiusReactorCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_GladiusReactor *GladiusReactorCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_GladiusReactor *GladiusReactorCaller) Permit2(opts *bind.CallOpts) (common.Address, error)
- type GladiusReactorCallerRaw
- type GladiusReactorCallerSession
- func (_GladiusReactor *GladiusReactorCallerSession) FeeController() (common.Address, error)
- func (_GladiusReactor *GladiusReactorCallerSession) Initialized() (bool, error)
- func (_GladiusReactor *GladiusReactorCallerSession) Owner() (common.Address, error)
- func (_GladiusReactor *GladiusReactorCallerSession) Permit2() (common.Address, error)
- type GladiusReactorFill
- type GladiusReactorFillIterator
- type GladiusReactorFilterer
- func (_GladiusReactor *GladiusReactorFilterer) FilterFill(opts *bind.FilterOpts, orderHash [][32]byte, filler []common.Address, ...) (*GladiusReactorFillIterator, error)
- func (_GladiusReactor *GladiusReactorFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*GladiusReactorLogSetOwnerIterator, error)
- func (_GladiusReactor *GladiusReactorFilterer) FilterProtocolFeeControllerSet(opts *bind.FilterOpts) (*GladiusReactorProtocolFeeControllerSetIterator, error)
- func (_GladiusReactor *GladiusReactorFilterer) ParseFill(log types.Log) (*GladiusReactorFill, error)
- func (_GladiusReactor *GladiusReactorFilterer) ParseLogSetOwner(log types.Log) (*GladiusReactorLogSetOwner, error)
- func (_GladiusReactor *GladiusReactorFilterer) ParseProtocolFeeControllerSet(log types.Log) (*GladiusReactorProtocolFeeControllerSet, error)
- func (_GladiusReactor *GladiusReactorFilterer) WatchFill(opts *bind.WatchOpts, sink chan<- *GladiusReactorFill, orderHash [][32]byte, ...) (event.Subscription, error)
- func (_GladiusReactor *GladiusReactorFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *GladiusReactorLogSetOwner, ...) (event.Subscription, error)
- func (_GladiusReactor *GladiusReactorFilterer) WatchProtocolFeeControllerSet(opts *bind.WatchOpts, sink chan<- *GladiusReactorProtocolFeeControllerSet) (event.Subscription, error)
- type GladiusReactorLogSetOwner
- type GladiusReactorLogSetOwnerIterator
- type GladiusReactorProtocolFeeControllerSet
- type GladiusReactorProtocolFeeControllerSetIterator
- type GladiusReactorRaw
- func (_GladiusReactor *GladiusReactorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GladiusReactor *GladiusReactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GladiusReactorSession
- func (_GladiusReactor *GladiusReactorSession) Execute(order SignedOrder, quantity *big.Int) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorSession) ExecuteBatch(orders []SignedOrder, quantities []*big.Int) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorSession) ExecuteBatchWithCallback(orders []SignedOrder, quantities []*big.Int, callbackData []byte) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorSession) ExecuteWithCallback(order SignedOrder, quantity *big.Int, callbackData []byte) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorSession) FeeController() (common.Address, error)
- func (_GladiusReactor *GladiusReactorSession) Initialize(_permit2 common.Address, _owner common.Address) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorSession) Initialized() (bool, error)
- func (_GladiusReactor *GladiusReactorSession) Owner() (common.Address, error)
- func (_GladiusReactor *GladiusReactorSession) Permit2() (common.Address, error)
- func (_GladiusReactor *GladiusReactorSession) Receive() (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorSession) SetProtocolFeeController(_newFeeController common.Address) (*types.Transaction, error)
- type GladiusReactorTransactor
- func (_GladiusReactor *GladiusReactorTransactor) Execute(opts *bind.TransactOpts, order SignedOrder, quantity *big.Int) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactor) ExecuteBatch(opts *bind.TransactOpts, orders []SignedOrder, quantities []*big.Int) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactor) ExecuteBatchWithCallback(opts *bind.TransactOpts, orders []SignedOrder, quantities []*big.Int, ...) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactor) ExecuteWithCallback(opts *bind.TransactOpts, order SignedOrder, quantity *big.Int, ...) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactor) Initialize(opts *bind.TransactOpts, _permit2 common.Address, _owner common.Address) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactor) SetProtocolFeeController(opts *bind.TransactOpts, _newFeeController common.Address) (*types.Transaction, error)
- type GladiusReactorTransactorRaw
- type GladiusReactorTransactorSession
- func (_GladiusReactor *GladiusReactorTransactorSession) Execute(order SignedOrder, quantity *big.Int) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactorSession) ExecuteBatch(orders []SignedOrder, quantities []*big.Int) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactorSession) ExecuteBatchWithCallback(orders []SignedOrder, quantities []*big.Int, callbackData []byte) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactorSession) ExecuteWithCallback(order SignedOrder, quantity *big.Int, callbackData []byte) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactorSession) Initialize(_permit2 common.Address, _owner common.Address) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactorSession) Receive() (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
- func (_GladiusReactor *GladiusReactorTransactorSession) SetProtocolFeeController(_newFeeController common.Address) (*types.Transaction, error)
- type IAllowanceTransferAllowanceTransferDetails
- type IAllowanceTransferPermitBatch
- type IAllowanceTransferPermitDetails
- type IAllowanceTransferPermitSingle
- type IAllowanceTransferTokenSpenderPair
- type ISignatureTransferPermitBatchTransferFrom
- type ISignatureTransferPermitTransferFrom
- type ISignatureTransferSignatureTransferDetails
- type ISignatureTransferTokenPermissions
- type InputToken
- type OrderInfo
- type OutputToken
- type Permit2
- type Permit2Approval
- type Permit2ApprovalIterator
- type Permit2Caller
- func (_Permit2 *Permit2Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, ...) (struct{ ... }, error)
- func (_Permit2 *Permit2Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_Permit2 *Permit2Caller) NonceBitmap(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- type Permit2CallerRaw
- type Permit2CallerSession
- func (_Permit2 *Permit2CallerSession) Allowance(arg0 common.Address, arg1 common.Address, arg2 common.Address) (struct{ ... }, error)
- func (_Permit2 *Permit2CallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Permit2 *Permit2CallerSession) NonceBitmap(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- type Permit2Filterer
- func (_Permit2 *Permit2Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, token []common.Address, ...) (*Permit2ApprovalIterator, error)
- func (_Permit2 *Permit2Filterer) FilterLockdown(opts *bind.FilterOpts, owner []common.Address) (*Permit2LockdownIterator, error)
- func (_Permit2 *Permit2Filterer) FilterNonceInvalidation(opts *bind.FilterOpts, owner []common.Address, token []common.Address, ...) (*Permit2NonceInvalidationIterator, error)
- func (_Permit2 *Permit2Filterer) FilterPermit(opts *bind.FilterOpts, owner []common.Address, token []common.Address, ...) (*Permit2PermitIterator, error)
- func (_Permit2 *Permit2Filterer) FilterUnorderedNonceInvalidation(opts *bind.FilterOpts, owner []common.Address) (*Permit2UnorderedNonceInvalidationIterator, error)
- func (_Permit2 *Permit2Filterer) ParseApproval(log types.Log) (*Permit2Approval, error)
- func (_Permit2 *Permit2Filterer) ParseLockdown(log types.Log) (*Permit2Lockdown, error)
- func (_Permit2 *Permit2Filterer) ParseNonceInvalidation(log types.Log) (*Permit2NonceInvalidation, error)
- func (_Permit2 *Permit2Filterer) ParsePermit(log types.Log) (*Permit2Permit, error)
- func (_Permit2 *Permit2Filterer) ParseUnorderedNonceInvalidation(log types.Log) (*Permit2UnorderedNonceInvalidation, error)
- func (_Permit2 *Permit2Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Permit2Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_Permit2 *Permit2Filterer) WatchLockdown(opts *bind.WatchOpts, sink chan<- *Permit2Lockdown, owner []common.Address) (event.Subscription, error)
- func (_Permit2 *Permit2Filterer) WatchNonceInvalidation(opts *bind.WatchOpts, sink chan<- *Permit2NonceInvalidation, ...) (event.Subscription, error)
- func (_Permit2 *Permit2Filterer) WatchPermit(opts *bind.WatchOpts, sink chan<- *Permit2Permit, owner []common.Address, ...) (event.Subscription, error)
- func (_Permit2 *Permit2Filterer) WatchUnorderedNonceInvalidation(opts *bind.WatchOpts, sink chan<- *Permit2UnorderedNonceInvalidation, ...) (event.Subscription, error)
- type Permit2Lockdown
- type Permit2LockdownIterator
- type Permit2NonceInvalidation
- type Permit2NonceInvalidationIterator
- type Permit2Permit
- type Permit2PermitIterator
- type Permit2Raw
- func (_Permit2 *Permit2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Permit2 *Permit2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Permit2 *Permit2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Permit2Session
- func (_Permit2 *Permit2Session) Allowance(arg0 common.Address, arg1 common.Address, arg2 common.Address) (struct{ ... }, error)
- func (_Permit2 *Permit2Session) Approve(token common.Address, spender common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) DOMAINSEPARATOR() ([32]byte, error)
- func (_Permit2 *Permit2Session) InvalidateNonces(token common.Address, spender common.Address, newNonce *big.Int) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) InvalidateUnorderedNonces(wordPos *big.Int, mask *big.Int) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) Lockdown(approvals []IAllowanceTransferTokenSpenderPair) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) NonceBitmap(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Permit2 *Permit2Session) Permit(owner common.Address, permitBatch IAllowanceTransferPermitBatch, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) Permit0(owner common.Address, permitSingle IAllowanceTransferPermitSingle, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) PermitTransferFrom(permit ISignatureTransferPermitTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) PermitTransferFrom0(permit ISignatureTransferPermitBatchTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) PermitWitnessTransferFrom(permit ISignatureTransferPermitTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) PermitWitnessTransferFrom0(permit ISignatureTransferPermitBatchTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) TransferFrom(transferDetails []IAllowanceTransferAllowanceTransferDetails) (*types.Transaction, error)
- func (_Permit2 *Permit2Session) TransferFrom0(from common.Address, to common.Address, amount *big.Int, token common.Address) (*types.Transaction, error)
- type Permit2Transactor
- func (_Permit2 *Permit2Transactor) Approve(opts *bind.TransactOpts, token common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) InvalidateNonces(opts *bind.TransactOpts, token common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) InvalidateUnorderedNonces(opts *bind.TransactOpts, wordPos *big.Int, mask *big.Int) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) Lockdown(opts *bind.TransactOpts, approvals []IAllowanceTransferTokenSpenderPair) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) Permit(opts *bind.TransactOpts, owner common.Address, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) Permit0(opts *bind.TransactOpts, owner common.Address, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) PermitTransferFrom(opts *bind.TransactOpts, permit ISignatureTransferPermitTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) PermitTransferFrom0(opts *bind.TransactOpts, permit ISignatureTransferPermitBatchTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) PermitWitnessTransferFrom(opts *bind.TransactOpts, permit ISignatureTransferPermitTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) PermitWitnessTransferFrom0(opts *bind.TransactOpts, permit ISignatureTransferPermitBatchTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) TransferFrom(opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2Transactor) TransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type Permit2TransactorRaw
- type Permit2TransactorSession
- func (_Permit2 *Permit2TransactorSession) Approve(token common.Address, spender common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) InvalidateNonces(token common.Address, spender common.Address, newNonce *big.Int) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) InvalidateUnorderedNonces(wordPos *big.Int, mask *big.Int) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) Lockdown(approvals []IAllowanceTransferTokenSpenderPair) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) Permit(owner common.Address, permitBatch IAllowanceTransferPermitBatch, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) Permit0(owner common.Address, permitSingle IAllowanceTransferPermitSingle, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) PermitTransferFrom(permit ISignatureTransferPermitTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) PermitTransferFrom0(permit ISignatureTransferPermitBatchTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) PermitWitnessTransferFrom(permit ISignatureTransferPermitTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) PermitWitnessTransferFrom0(permit ISignatureTransferPermitBatchTransferFrom, ...) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) TransferFrom(transferDetails []IAllowanceTransferAllowanceTransferDetails) (*types.Transaction, error)
- func (_Permit2 *Permit2TransactorSession) TransferFrom0(from common.Address, to common.Address, amount *big.Int, token common.Address) (*types.Transaction, error)
- type Permit2UnorderedNonceInvalidation
- type Permit2UnorderedNonceInvalidationIterator
- type ResolvedOrder
- type SignedOrder
Constants ¶
This section is empty.
Variables ¶
var Erc20ABI = Erc20MetaData.ABI
Erc20ABI is the input ABI used to generate the binding from. Deprecated: Use Erc20MetaData.ABI instead.
var Erc20MetaData = &bind.MetaData{
ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}]",
}
Erc20MetaData contains all meta data concerning the Erc20 contract.
var FeeControllerABI = FeeControllerMetaData.ABI
FeeControllerABI is the input ABI used to generate the binding from. Deprecated: Use FeeControllerMetaData.ABI instead.
var FeeControllerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"LogSetOwner\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BASE_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"fees\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"applyFee\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"contractIReactor\",\"name\":\"reactor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"contractIValidationCallback\",\"name\":\"additionalValidationContract\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"additionalValidationData\",\"type\":\"bytes\"}],\"internalType\":\"structOrderInfo\",\"name\":\"info\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"contractERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxAmount\",\"type\":\"uint256\"}],\"internalType\":\"structInputToken\",\"name\":\"input\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structOutputToken[]\",\"name\":\"outputs\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"internalType\":\"structResolvedOrder\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"getFeeOutputs\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structOutputToken[]\",\"name\":\"result\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"}],\"name\":\"getPairHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_feeRecipient\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"applyFee\",\"type\":\"bool\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"setFeeRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
FeeControllerMetaData contains all meta data concerning the FeeController contract.
var GladiusOrderQuoterABI = GladiusOrderQuoterMetaData.ABI
GladiusOrderQuoterABI is the input ABI used to generate the binding from. Deprecated: Use GladiusOrderQuoterMetaData.ABI instead.
var GladiusOrderQuoterMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"OrdersLengthIncorrect\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"order\",\"type\":\"bytes\"}],\"name\":\"getReactor\",\"outputs\":[{\"internalType\":\"contractIGladiusReactor\",\"name\":\"reactor\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"order\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"name\":\"quote\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"contractIReactor\",\"name\":\"reactor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"contractIValidationCallback\",\"name\":\"additionalValidationContract\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"additionalValidationData\",\"type\":\"bytes\"}],\"internalType\":\"structOrderInfo\",\"name\":\"info\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"contractERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxAmount\",\"type\":\"uint256\"}],\"internalType\":\"structInputToken\",\"name\":\"input\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structOutputToken[]\",\"name\":\"outputs\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"internalType\":\"structResolvedOrder\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"contractIReactor\",\"name\":\"reactor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"contractIValidationCallback\",\"name\":\"additionalValidationContract\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"additionalValidationData\",\"type\":\"bytes\"}],\"internalType\":\"structOrderInfo\",\"name\":\"info\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"contractERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxAmount\",\"type\":\"uint256\"}],\"internalType\":\"structInputToken\",\"name\":\"input\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structOutputToken[]\",\"name\":\"outputs\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"internalType\":\"structResolvedOrder[]\",\"name\":\"resolvedOrders\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"reactorCallback\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}
GladiusOrderQuoterMetaData contains all meta data concerning the GladiusOrderQuoter contract.
var GladiusReactorABI = GladiusReactorMetaData.ABI
GladiusReactorABI is the input ABI used to generate the binding from. Deprecated: Use GladiusReactorMetaData.ABI instead.
var GladiusReactorMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineBeforeEndTime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlinePassed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"duplicateToken\",\"type\":\"address\"}],\"name\":\"DuplicateFeeOutput\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EndTimeBeforeStartTime\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"FeeTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAmounts\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputAndOutputDecay\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientEth\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"feeToken\",\"type\":\"address\"}],\"name\":\"InvalidFeeToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOutLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidReactor\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NativeTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoExclusiveOverride\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OrderEndTimeBeforeStartTime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PartialFillOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PartialFillUnderflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"QuantityLtThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RelativeErrTooBig\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"filler\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"swapper\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Fill\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"LogSetOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldFeeController\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newFeeController\",\"type\":\"address\"}],\"name\":\"ProtocolFeeControllerSet\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"order\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"}],\"internalType\":\"structSignedOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"order\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"}],\"internalType\":\"structSignedOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[]\",\"name\":\"quantities\",\"type\":\"uint256[]\"}],\"name\":\"executeBatch\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"order\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"}],\"internalType\":\"structSignedOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[]\",\"name\":\"quantities\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"callbackData\",\"type\":\"bytes\"}],\"name\":\"executeBatchWithCallback\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"order\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"}],\"internalType\":\"structSignedOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"callbackData\",\"type\":\"bytes\"}],\"name\":\"executeWithCallback\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeController\",\"outputs\":[{\"internalType\":\"contractIProtocolFeeController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPermit2\",\"name\":\"_permit2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"permit2\",\"outputs\":[{\"internalType\":\"contractIPermit2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newFeeController\",\"type\":\"address\"}],\"name\":\"setProtocolFeeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
GladiusReactorMetaData contains all meta data concerning the GladiusReactor contract.
var InvalidDeadline error = errors.New("Invalid deadline")
var Permit2ABI = Permit2MetaData.ABI
Permit2ABI is the input ABI used to generate the binding from. Deprecated: Use Permit2MetaData.ABI instead.
var Permit2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"AllowanceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExcessiveInvalidation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmount\",\"type\":\"uint256\"}],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidContractSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"signatureDeadline\",\"type\":\"uint256\"}],\"name\":\"SignatureExpired\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"Lockdown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"newNonce\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"oldNonce\",\"type\":\"uint48\"}],\"name\":\"NonceInvalidation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"name\":\"Permit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mask\",\"type\":\"uint256\"}],\"name\":\"UnorderedNonceInvalidation\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"newNonce\",\"type\":\"uint48\"}],\"name\":\"invalidateNonces\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"wordPos\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mask\",\"type\":\"uint256\"}],\"name\":\"invalidateUnorderedNonces\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"internalType\":\"structIAllowanceTransfer.TokenSpenderPair[]\",\"name\":\"approvals\",\"type\":\"tuple[]\"}],\"name\":\"lockdown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nonceBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"structIAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"structIAllowanceTransfer.PermitBatch\",\"name\":\"permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"structIAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"structIAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.TokenPermissions\",\"name\":\"permitted\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.PermitTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.SignatureTransferDetails\",\"name\":\"transferDetails\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.TokenPermissions[]\",\"name\":\"permitted\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.PermitBatchTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.SignatureTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.TokenPermissions\",\"name\":\"permitted\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.PermitTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.SignatureTransferDetails\",\"name\":\"transferDetails\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"witness\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"witnessTypeString\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitWitnessTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.TokenPermissions[]\",\"name\":\"permitted\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.PermitBatchTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"structISignatureTransfer.SignatureTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"witness\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"witnessTypeString\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitWitnessTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"internalType\":\"structIAllowanceTransfer.AllowanceTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Permit2MetaData contains all meta data concerning the Permit2 contract.
Functions ¶
This section is empty.
Types ¶
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.
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 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 _owner) view returns(uint256 balance)
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 _owner) view returns(uint256 balance)
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, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*Erc20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
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) Fallback ¶
func (_Erc20 *Erc20Session) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
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(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*Erc20Session) TransferFrom ¶
func (_Erc20 *Erc20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) 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, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*Erc20Transactor) Fallback ¶
func (_Erc20 *Erc20Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*Erc20Transactor) Transfer ¶
func (_Erc20 *Erc20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*Erc20Transactor) TransferFrom ¶
func (_Erc20 *Erc20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) 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, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*Erc20TransactorSession) Fallback ¶
func (_Erc20 *Erc20TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*Erc20TransactorSession) Transfer ¶
func (_Erc20 *Erc20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*Erc20TransactorSession) TransferFrom ¶
func (_Erc20 *Erc20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) 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 FeeController ¶
type FeeController struct { FeeControllerCaller // Read-only binding to the contract FeeControllerTransactor // Write-only binding to the contract FeeControllerFilterer // Log filterer for contract events }
FeeController is an auto generated Go binding around an Ethereum contract.
func NewFeeController ¶
func NewFeeController(address common.Address, backend bind.ContractBackend) (*FeeController, error)
NewFeeController creates a new instance of FeeController, bound to a specific deployed contract.
type FeeControllerCaller ¶
type FeeControllerCaller struct {
// contains filtered or unexported fields
}
FeeControllerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFeeControllerCaller ¶
func NewFeeControllerCaller(address common.Address, caller bind.ContractCaller) (*FeeControllerCaller, error)
NewFeeControllerCaller creates a new read-only instance of FeeController, bound to a specific deployed contract.
func (*FeeControllerCaller) BASEFEE ¶
BASEFEE is a free data retrieval call binding the contract method 0x3d18651e.
Solidity: function BASE_FEE() view returns(uint256)
func (*FeeControllerCaller) FeeRecipient ¶
func (_FeeController *FeeControllerCaller) FeeRecipient(opts *bind.CallOpts) (common.Address, error)
FeeRecipient is a free data retrieval call binding the contract method 0x46904840.
Solidity: function feeRecipient() view returns(address)
func (*FeeControllerCaller) Fees ¶
func (_FeeController *FeeControllerCaller) Fees(opts *bind.CallOpts, arg0 [32]byte) (struct { ApplyFee bool Fee *big.Int }, error)
Fees is a free data retrieval call binding the contract method 0xcdb5661f.
Solidity: function fees(bytes32 ) view returns(bool applyFee, uint256 fee)
func (*FeeControllerCaller) GetFeeOutputs ¶
func (_FeeController *FeeControllerCaller) GetFeeOutputs(opts *bind.CallOpts, order ResolvedOrder) ([]OutputToken, error)
GetFeeOutputs is a free data retrieval call binding the contract method 0x8aa6cf03.
Solidity: function getFeeOutputs(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32) order) view returns((address,uint256,address)[] result)
func (*FeeControllerCaller) GetPairHash ¶
func (_FeeController *FeeControllerCaller) GetPairHash(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) ([32]byte, error)
GetPairHash is a free data retrieval call binding the contract method 0xd7b7961c.
Solidity: function getPairHash(address tokenIn, address tokenOut) pure returns(bytes32 hash)
func (*FeeControllerCaller) Initialized ¶
func (_FeeController *FeeControllerCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() view returns(bool)
type FeeControllerCallerRaw ¶
type FeeControllerCallerRaw struct {
Contract *FeeControllerCaller // Generic read-only contract binding to access the raw methods on
}
FeeControllerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FeeControllerCallerRaw) Call ¶
func (_FeeController *FeeControllerCallerRaw) 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 FeeControllerCallerSession ¶
type FeeControllerCallerSession struct { Contract *FeeControllerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FeeControllerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FeeControllerCallerSession) BASEFEE ¶
func (_FeeController *FeeControllerCallerSession) BASEFEE() (*big.Int, error)
BASEFEE is a free data retrieval call binding the contract method 0x3d18651e.
Solidity: function BASE_FEE() view returns(uint256)
func (*FeeControllerCallerSession) FeeRecipient ¶
func (_FeeController *FeeControllerCallerSession) FeeRecipient() (common.Address, error)
FeeRecipient is a free data retrieval call binding the contract method 0x46904840.
Solidity: function feeRecipient() view returns(address)
func (*FeeControllerCallerSession) Fees ¶
func (_FeeController *FeeControllerCallerSession) Fees(arg0 [32]byte) (struct { ApplyFee bool Fee *big.Int }, error)
Fees is a free data retrieval call binding the contract method 0xcdb5661f.
Solidity: function fees(bytes32 ) view returns(bool applyFee, uint256 fee)
func (*FeeControllerCallerSession) GetFeeOutputs ¶
func (_FeeController *FeeControllerCallerSession) GetFeeOutputs(order ResolvedOrder) ([]OutputToken, error)
GetFeeOutputs is a free data retrieval call binding the contract method 0x8aa6cf03.
Solidity: function getFeeOutputs(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32) order) view returns((address,uint256,address)[] result)
func (*FeeControllerCallerSession) GetPairHash ¶
func (_FeeController *FeeControllerCallerSession) GetPairHash(tokenIn common.Address, tokenOut common.Address) ([32]byte, error)
GetPairHash is a free data retrieval call binding the contract method 0xd7b7961c.
Solidity: function getPairHash(address tokenIn, address tokenOut) pure returns(bytes32 hash)
func (*FeeControllerCallerSession) Initialized ¶
func (_FeeController *FeeControllerCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() view returns(bool)
type FeeControllerFilterer ¶
type FeeControllerFilterer struct {
// contains filtered or unexported fields
}
FeeControllerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFeeControllerFilterer ¶
func NewFeeControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*FeeControllerFilterer, error)
NewFeeControllerFilterer creates a new log filterer instance of FeeController, bound to a specific deployed contract.
func (*FeeControllerFilterer) FilterLogSetOwner ¶
func (_FeeController *FeeControllerFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*FeeControllerLogSetOwnerIterator, error)
FilterLogSetOwner is a free log retrieval operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
func (*FeeControllerFilterer) ParseLogSetOwner ¶
func (_FeeController *FeeControllerFilterer) ParseLogSetOwner(log types.Log) (*FeeControllerLogSetOwner, error)
ParseLogSetOwner is a log parse operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
func (*FeeControllerFilterer) WatchLogSetOwner ¶
func (_FeeController *FeeControllerFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *FeeControllerLogSetOwner, owner []common.Address) (event.Subscription, error)
WatchLogSetOwner is a free log subscription operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
type FeeControllerLogSetOwner ¶
type FeeControllerLogSetOwner struct { Owner common.Address Raw types.Log // Blockchain specific contextual infos }
FeeControllerLogSetOwner represents a LogSetOwner event raised by the FeeController contract.
type FeeControllerLogSetOwnerIterator ¶
type FeeControllerLogSetOwnerIterator struct { Event *FeeControllerLogSetOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeeControllerLogSetOwnerIterator is returned from FilterLogSetOwner and is used to iterate over the raw logs and unpacked data for LogSetOwner events raised by the FeeController contract.
func (*FeeControllerLogSetOwnerIterator) Close ¶
func (it *FeeControllerLogSetOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeeControllerLogSetOwnerIterator) Error ¶
func (it *FeeControllerLogSetOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeeControllerLogSetOwnerIterator) Next ¶
func (it *FeeControllerLogSetOwnerIterator) 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 FeeControllerRaw ¶
type FeeControllerRaw struct {
Contract *FeeController // Generic contract binding to access the raw methods on
}
FeeControllerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FeeControllerRaw) Call ¶
func (_FeeController *FeeControllerRaw) 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 (*FeeControllerRaw) Transact ¶
func (_FeeController *FeeControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FeeControllerRaw) Transfer ¶
func (_FeeController *FeeControllerRaw) 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 FeeControllerSession ¶
type FeeControllerSession struct { Contract *FeeController // 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 }
FeeControllerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FeeControllerSession) BASEFEE ¶
func (_FeeController *FeeControllerSession) BASEFEE() (*big.Int, error)
BASEFEE is a free data retrieval call binding the contract method 0x3d18651e.
Solidity: function BASE_FEE() view returns(uint256)
func (*FeeControllerSession) FeeRecipient ¶
func (_FeeController *FeeControllerSession) FeeRecipient() (common.Address, error)
FeeRecipient is a free data retrieval call binding the contract method 0x46904840.
Solidity: function feeRecipient() view returns(address)
func (*FeeControllerSession) Fees ¶
func (_FeeController *FeeControllerSession) Fees(arg0 [32]byte) (struct { ApplyFee bool Fee *big.Int }, error)
Fees is a free data retrieval call binding the contract method 0xcdb5661f.
Solidity: function fees(bytes32 ) view returns(bool applyFee, uint256 fee)
func (*FeeControllerSession) GetFeeOutputs ¶
func (_FeeController *FeeControllerSession) GetFeeOutputs(order ResolvedOrder) ([]OutputToken, error)
GetFeeOutputs is a free data retrieval call binding the contract method 0x8aa6cf03.
Solidity: function getFeeOutputs(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32) order) view returns((address,uint256,address)[] result)
func (*FeeControllerSession) GetPairHash ¶
func (_FeeController *FeeControllerSession) GetPairHash(tokenIn common.Address, tokenOut common.Address) ([32]byte, error)
GetPairHash is a free data retrieval call binding the contract method 0xd7b7961c.
Solidity: function getPairHash(address tokenIn, address tokenOut) pure returns(bytes32 hash)
func (*FeeControllerSession) Initialize ¶
func (_FeeController *FeeControllerSession) Initialize(_owner common.Address, _feeRecipient common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _owner, address _feeRecipient) returns()
func (*FeeControllerSession) Initialized ¶
func (_FeeController *FeeControllerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() view returns(bool)
func (*FeeControllerSession) Owner ¶
func (_FeeController *FeeControllerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FeeControllerSession) SetFee ¶
func (_FeeController *FeeControllerSession) SetFee(tokenIn common.Address, tokenOut common.Address, fee *big.Int, applyFee bool) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0x9815f084.
Solidity: function setFee(address tokenIn, address tokenOut, uint256 fee, bool applyFee) returns()
func (*FeeControllerSession) SetFeeRecipient ¶
func (_FeeController *FeeControllerSession) SetFeeRecipient(recipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address recipient) returns()
func (*FeeControllerSession) SetOwner ¶
func (_FeeController *FeeControllerSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
type FeeControllerTransactor ¶
type FeeControllerTransactor struct {
// contains filtered or unexported fields
}
FeeControllerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFeeControllerTransactor ¶
func NewFeeControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*FeeControllerTransactor, error)
NewFeeControllerTransactor creates a new write-only instance of FeeController, bound to a specific deployed contract.
func (*FeeControllerTransactor) Initialize ¶
func (_FeeController *FeeControllerTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address, _feeRecipient common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _owner, address _feeRecipient) returns()
func (*FeeControllerTransactor) SetFee ¶
func (_FeeController *FeeControllerTransactor) SetFee(opts *bind.TransactOpts, tokenIn common.Address, tokenOut common.Address, fee *big.Int, applyFee bool) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0x9815f084.
Solidity: function setFee(address tokenIn, address tokenOut, uint256 fee, bool applyFee) returns()
func (*FeeControllerTransactor) SetFeeRecipient ¶
func (_FeeController *FeeControllerTransactor) SetFeeRecipient(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address recipient) returns()
func (*FeeControllerTransactor) SetOwner ¶
func (_FeeController *FeeControllerTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
type FeeControllerTransactorRaw ¶
type FeeControllerTransactorRaw struct {
Contract *FeeControllerTransactor // Generic write-only contract binding to access the raw methods on
}
FeeControllerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FeeControllerTransactorRaw) Transact ¶
func (_FeeController *FeeControllerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FeeControllerTransactorRaw) Transfer ¶
func (_FeeController *FeeControllerTransactorRaw) 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 FeeControllerTransactorSession ¶
type FeeControllerTransactorSession struct { Contract *FeeControllerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FeeControllerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FeeControllerTransactorSession) Initialize ¶
func (_FeeController *FeeControllerTransactorSession) Initialize(_owner common.Address, _feeRecipient common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _owner, address _feeRecipient) returns()
func (*FeeControllerTransactorSession) SetFee ¶
func (_FeeController *FeeControllerTransactorSession) SetFee(tokenIn common.Address, tokenOut common.Address, fee *big.Int, applyFee bool) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0x9815f084.
Solidity: function setFee(address tokenIn, address tokenOut, uint256 fee, bool applyFee) returns()
func (*FeeControllerTransactorSession) SetFeeRecipient ¶
func (_FeeController *FeeControllerTransactorSession) SetFeeRecipient(recipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address recipient) returns()
func (*FeeControllerTransactorSession) SetOwner ¶
func (_FeeController *FeeControllerTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
type GladiusOrderQuoter ¶
type GladiusOrderQuoter struct { GladiusOrderQuoterCaller // Read-only binding to the contract GladiusOrderQuoterTransactor // Write-only binding to the contract GladiusOrderQuoterFilterer // Log filterer for contract events }
GladiusOrderQuoter is an auto generated Go binding around an Ethereum contract.
func NewGladiusOrderQuoter ¶
func NewGladiusOrderQuoter(address common.Address, backend bind.ContractBackend) (*GladiusOrderQuoter, error)
NewGladiusOrderQuoter creates a new instance of GladiusOrderQuoter, bound to a specific deployed contract.
type GladiusOrderQuoterCaller ¶
type GladiusOrderQuoterCaller struct {
// contains filtered or unexported fields
}
GladiusOrderQuoterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGladiusOrderQuoterCaller ¶
func NewGladiusOrderQuoterCaller(address common.Address, caller bind.ContractCaller) (*GladiusOrderQuoterCaller, error)
NewGladiusOrderQuoterCaller creates a new read-only instance of GladiusOrderQuoter, bound to a specific deployed contract.
func (*GladiusOrderQuoterCaller) GetReactor ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterCaller) GetReactor(opts *bind.CallOpts, order []byte) (common.Address, error)
GetReactor is a free data retrieval call binding the contract method 0x7671d07b.
Solidity: function getReactor(bytes order) pure returns(address reactor)
func (*GladiusOrderQuoterCaller) ReactorCallback ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterCaller) ReactorCallback(opts *bind.CallOpts, resolvedOrders []ResolvedOrder, arg1 []byte) error
ReactorCallback is a free data retrieval call binding the contract method 0x585da628.
Solidity: function reactorCallback(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32)[] resolvedOrders, bytes ) pure returns()
type GladiusOrderQuoterCallerRaw ¶
type GladiusOrderQuoterCallerRaw struct {
Contract *GladiusOrderQuoterCaller // Generic read-only contract binding to access the raw methods on
}
GladiusOrderQuoterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GladiusOrderQuoterCallerRaw) Call ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterCallerRaw) 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 GladiusOrderQuoterCallerSession ¶
type GladiusOrderQuoterCallerSession struct { Contract *GladiusOrderQuoterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GladiusOrderQuoterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GladiusOrderQuoterCallerSession) GetReactor ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterCallerSession) GetReactor(order []byte) (common.Address, error)
GetReactor is a free data retrieval call binding the contract method 0x7671d07b.
Solidity: function getReactor(bytes order) pure returns(address reactor)
func (*GladiusOrderQuoterCallerSession) ReactorCallback ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterCallerSession) ReactorCallback(resolvedOrders []ResolvedOrder, arg1 []byte) error
ReactorCallback is a free data retrieval call binding the contract method 0x585da628.
Solidity: function reactorCallback(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32)[] resolvedOrders, bytes ) pure returns()
type GladiusOrderQuoterFilterer ¶
type GladiusOrderQuoterFilterer struct {
// contains filtered or unexported fields
}
GladiusOrderQuoterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGladiusOrderQuoterFilterer ¶
func NewGladiusOrderQuoterFilterer(address common.Address, filterer bind.ContractFilterer) (*GladiusOrderQuoterFilterer, error)
NewGladiusOrderQuoterFilterer creates a new log filterer instance of GladiusOrderQuoter, bound to a specific deployed contract.
type GladiusOrderQuoterRaw ¶
type GladiusOrderQuoterRaw struct {
Contract *GladiusOrderQuoter // Generic contract binding to access the raw methods on
}
GladiusOrderQuoterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GladiusOrderQuoterRaw) Call ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterRaw) 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 (*GladiusOrderQuoterRaw) Transact ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GladiusOrderQuoterRaw) Transfer ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterRaw) 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 GladiusOrderQuoterSession ¶
type GladiusOrderQuoterSession struct { Contract *GladiusOrderQuoter // 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 }
GladiusOrderQuoterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GladiusOrderQuoterSession) GetReactor ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterSession) GetReactor(order []byte) (common.Address, error)
GetReactor is a free data retrieval call binding the contract method 0x7671d07b.
Solidity: function getReactor(bytes order) pure returns(address reactor)
func (*GladiusOrderQuoterSession) Quote ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterSession) Quote(order []byte, sig []byte, quantity *big.Int) (*types.Transaction, error)
Quote is a paid mutator transaction binding the contract method 0x630dca1b.
Solidity: function quote(bytes order, bytes sig, uint256 quantity) returns(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32) result)
func (*GladiusOrderQuoterSession) ReactorCallback ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterSession) ReactorCallback(resolvedOrders []ResolvedOrder, arg1 []byte) error
ReactorCallback is a free data retrieval call binding the contract method 0x585da628.
Solidity: function reactorCallback(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32)[] resolvedOrders, bytes ) pure returns()
type GladiusOrderQuoterTransactor ¶
type GladiusOrderQuoterTransactor struct {
// contains filtered or unexported fields
}
GladiusOrderQuoterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGladiusOrderQuoterTransactor ¶
func NewGladiusOrderQuoterTransactor(address common.Address, transactor bind.ContractTransactor) (*GladiusOrderQuoterTransactor, error)
NewGladiusOrderQuoterTransactor creates a new write-only instance of GladiusOrderQuoter, bound to a specific deployed contract.
func (*GladiusOrderQuoterTransactor) Quote ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterTransactor) Quote(opts *bind.TransactOpts, order []byte, sig []byte, quantity *big.Int) (*types.Transaction, error)
Quote is a paid mutator transaction binding the contract method 0x630dca1b.
Solidity: function quote(bytes order, bytes sig, uint256 quantity) returns(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32) result)
type GladiusOrderQuoterTransactorRaw ¶
type GladiusOrderQuoterTransactorRaw struct {
Contract *GladiusOrderQuoterTransactor // Generic write-only contract binding to access the raw methods on
}
GladiusOrderQuoterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GladiusOrderQuoterTransactorRaw) Transact ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GladiusOrderQuoterTransactorRaw) Transfer ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterTransactorRaw) 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 GladiusOrderQuoterTransactorSession ¶
type GladiusOrderQuoterTransactorSession struct { Contract *GladiusOrderQuoterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GladiusOrderQuoterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GladiusOrderQuoterTransactorSession) Quote ¶
func (_GladiusOrderQuoter *GladiusOrderQuoterTransactorSession) Quote(order []byte, sig []byte, quantity *big.Int) (*types.Transaction, error)
Quote is a paid mutator transaction binding the contract method 0x630dca1b.
Solidity: function quote(bytes order, bytes sig, uint256 quantity) returns(((address,address,uint256,uint256,address,bytes),(address,uint256,uint256),(address,uint256,address)[],bytes,bytes32) result)
type GladiusReactor ¶
type GladiusReactor struct { GladiusReactorCaller // Read-only binding to the contract GladiusReactorTransactor // Write-only binding to the contract GladiusReactorFilterer // Log filterer for contract events }
GladiusReactor is an auto generated Go binding around an Ethereum contract.
func NewGladiusReactor ¶
func NewGladiusReactor(address common.Address, backend bind.ContractBackend) (*GladiusReactor, error)
NewGladiusReactor creates a new instance of GladiusReactor, bound to a specific deployed contract.
type GladiusReactorCaller ¶
type GladiusReactorCaller struct {
// contains filtered or unexported fields
}
GladiusReactorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGladiusReactorCaller ¶
func NewGladiusReactorCaller(address common.Address, caller bind.ContractCaller) (*GladiusReactorCaller, error)
NewGladiusReactorCaller creates a new read-only instance of GladiusReactor, bound to a specific deployed contract.
func (*GladiusReactorCaller) FeeController ¶
func (_GladiusReactor *GladiusReactorCaller) FeeController(opts *bind.CallOpts) (common.Address, error)
FeeController is a free data retrieval call binding the contract method 0x6999b377.
Solidity: function feeController() view returns(address)
func (*GladiusReactorCaller) Initialized ¶
func (_GladiusReactor *GladiusReactorCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() view returns(bool)
type GladiusReactorCallerRaw ¶
type GladiusReactorCallerRaw struct {
Contract *GladiusReactorCaller // Generic read-only contract binding to access the raw methods on
}
GladiusReactorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GladiusReactorCallerRaw) Call ¶
func (_GladiusReactor *GladiusReactorCallerRaw) 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 GladiusReactorCallerSession ¶
type GladiusReactorCallerSession struct { Contract *GladiusReactorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GladiusReactorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GladiusReactorCallerSession) FeeController ¶
func (_GladiusReactor *GladiusReactorCallerSession) FeeController() (common.Address, error)
FeeController is a free data retrieval call binding the contract method 0x6999b377.
Solidity: function feeController() view returns(address)
func (*GladiusReactorCallerSession) Initialized ¶
func (_GladiusReactor *GladiusReactorCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() view returns(bool)
type GladiusReactorFill ¶
type GladiusReactorFill struct { OrderHash [32]byte Filler common.Address Swapper common.Address Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
GladiusReactorFill represents a Fill event raised by the GladiusReactor contract.
type GladiusReactorFillIterator ¶
type GladiusReactorFillIterator struct { Event *GladiusReactorFill // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GladiusReactorFillIterator is returned from FilterFill and is used to iterate over the raw logs and unpacked data for Fill events raised by the GladiusReactor contract.
func (*GladiusReactorFillIterator) Close ¶
func (it *GladiusReactorFillIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GladiusReactorFillIterator) Error ¶
func (it *GladiusReactorFillIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GladiusReactorFillIterator) Next ¶
func (it *GladiusReactorFillIterator) 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 GladiusReactorFilterer ¶
type GladiusReactorFilterer struct {
// contains filtered or unexported fields
}
GladiusReactorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGladiusReactorFilterer ¶
func NewGladiusReactorFilterer(address common.Address, filterer bind.ContractFilterer) (*GladiusReactorFilterer, error)
NewGladiusReactorFilterer creates a new log filterer instance of GladiusReactor, bound to a specific deployed contract.
func (*GladiusReactorFilterer) FilterFill ¶
func (_GladiusReactor *GladiusReactorFilterer) FilterFill(opts *bind.FilterOpts, orderHash [][32]byte, filler []common.Address, swapper []common.Address) (*GladiusReactorFillIterator, error)
FilterFill is a free log retrieval operation binding the contract event 0x78ad7ec0e9f89e74012afa58738b6b661c024cb0fd185ee2f616c0a28924bd66.
Solidity: event Fill(bytes32 indexed orderHash, address indexed filler, address indexed swapper, uint256 nonce)
func (*GladiusReactorFilterer) FilterLogSetOwner ¶
func (_GladiusReactor *GladiusReactorFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*GladiusReactorLogSetOwnerIterator, error)
FilterLogSetOwner is a free log retrieval operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
func (*GladiusReactorFilterer) FilterProtocolFeeControllerSet ¶
func (_GladiusReactor *GladiusReactorFilterer) FilterProtocolFeeControllerSet(opts *bind.FilterOpts) (*GladiusReactorProtocolFeeControllerSetIterator, error)
FilterProtocolFeeControllerSet is a free log retrieval operation binding the contract event 0xb904ae9529e373e48bc82df4326cceaf1b4c472babf37f5b7dec46fecc6b53e0.
Solidity: event ProtocolFeeControllerSet(address oldFeeController, address newFeeController)
func (*GladiusReactorFilterer) ParseFill ¶
func (_GladiusReactor *GladiusReactorFilterer) ParseFill(log types.Log) (*GladiusReactorFill, error)
ParseFill is a log parse operation binding the contract event 0x78ad7ec0e9f89e74012afa58738b6b661c024cb0fd185ee2f616c0a28924bd66.
Solidity: event Fill(bytes32 indexed orderHash, address indexed filler, address indexed swapper, uint256 nonce)
func (*GladiusReactorFilterer) ParseLogSetOwner ¶
func (_GladiusReactor *GladiusReactorFilterer) ParseLogSetOwner(log types.Log) (*GladiusReactorLogSetOwner, error)
ParseLogSetOwner is a log parse operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
func (*GladiusReactorFilterer) ParseProtocolFeeControllerSet ¶
func (_GladiusReactor *GladiusReactorFilterer) ParseProtocolFeeControllerSet(log types.Log) (*GladiusReactorProtocolFeeControllerSet, error)
ParseProtocolFeeControllerSet is a log parse operation binding the contract event 0xb904ae9529e373e48bc82df4326cceaf1b4c472babf37f5b7dec46fecc6b53e0.
Solidity: event ProtocolFeeControllerSet(address oldFeeController, address newFeeController)
func (*GladiusReactorFilterer) WatchFill ¶
func (_GladiusReactor *GladiusReactorFilterer) WatchFill(opts *bind.WatchOpts, sink chan<- *GladiusReactorFill, orderHash [][32]byte, filler []common.Address, swapper []common.Address) (event.Subscription, error)
WatchFill is a free log subscription operation binding the contract event 0x78ad7ec0e9f89e74012afa58738b6b661c024cb0fd185ee2f616c0a28924bd66.
Solidity: event Fill(bytes32 indexed orderHash, address indexed filler, address indexed swapper, uint256 nonce)
func (*GladiusReactorFilterer) WatchLogSetOwner ¶
func (_GladiusReactor *GladiusReactorFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *GladiusReactorLogSetOwner, owner []common.Address) (event.Subscription, error)
WatchLogSetOwner is a free log subscription operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
func (*GladiusReactorFilterer) WatchProtocolFeeControllerSet ¶
func (_GladiusReactor *GladiusReactorFilterer) WatchProtocolFeeControllerSet(opts *bind.WatchOpts, sink chan<- *GladiusReactorProtocolFeeControllerSet) (event.Subscription, error)
WatchProtocolFeeControllerSet is a free log subscription operation binding the contract event 0xb904ae9529e373e48bc82df4326cceaf1b4c472babf37f5b7dec46fecc6b53e0.
Solidity: event ProtocolFeeControllerSet(address oldFeeController, address newFeeController)
type GladiusReactorLogSetOwner ¶
type GladiusReactorLogSetOwner struct { Owner common.Address Raw types.Log // Blockchain specific contextual infos }
GladiusReactorLogSetOwner represents a LogSetOwner event raised by the GladiusReactor contract.
type GladiusReactorLogSetOwnerIterator ¶
type GladiusReactorLogSetOwnerIterator struct { Event *GladiusReactorLogSetOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GladiusReactorLogSetOwnerIterator is returned from FilterLogSetOwner and is used to iterate over the raw logs and unpacked data for LogSetOwner events raised by the GladiusReactor contract.
func (*GladiusReactorLogSetOwnerIterator) Close ¶
func (it *GladiusReactorLogSetOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GladiusReactorLogSetOwnerIterator) Error ¶
func (it *GladiusReactorLogSetOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GladiusReactorLogSetOwnerIterator) Next ¶
func (it *GladiusReactorLogSetOwnerIterator) 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 GladiusReactorProtocolFeeControllerSet ¶
type GladiusReactorProtocolFeeControllerSet struct { OldFeeController common.Address NewFeeController common.Address Raw types.Log // Blockchain specific contextual infos }
GladiusReactorProtocolFeeControllerSet represents a ProtocolFeeControllerSet event raised by the GladiusReactor contract.
type GladiusReactorProtocolFeeControllerSetIterator ¶
type GladiusReactorProtocolFeeControllerSetIterator struct { Event *GladiusReactorProtocolFeeControllerSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GladiusReactorProtocolFeeControllerSetIterator is returned from FilterProtocolFeeControllerSet and is used to iterate over the raw logs and unpacked data for ProtocolFeeControllerSet events raised by the GladiusReactor contract.
func (*GladiusReactorProtocolFeeControllerSetIterator) Close ¶
func (it *GladiusReactorProtocolFeeControllerSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GladiusReactorProtocolFeeControllerSetIterator) Error ¶
func (it *GladiusReactorProtocolFeeControllerSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GladiusReactorProtocolFeeControllerSetIterator) Next ¶
func (it *GladiusReactorProtocolFeeControllerSetIterator) 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 GladiusReactorRaw ¶
type GladiusReactorRaw struct {
Contract *GladiusReactor // Generic contract binding to access the raw methods on
}
GladiusReactorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GladiusReactorRaw) Call ¶
func (_GladiusReactor *GladiusReactorRaw) 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 (*GladiusReactorRaw) Transact ¶
func (_GladiusReactor *GladiusReactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GladiusReactorRaw) Transfer ¶
func (_GladiusReactor *GladiusReactorRaw) 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 GladiusReactorSession ¶
type GladiusReactorSession struct { Contract *GladiusReactor // 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 }
GladiusReactorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GladiusReactorSession) Execute ¶
func (_GladiusReactor *GladiusReactorSession) Execute(order SignedOrder, quantity *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xdc081cc9.
Solidity: function execute((bytes,bytes) order, uint256 quantity) payable returns()
func (*GladiusReactorSession) ExecuteBatch ¶
func (_GladiusReactor *GladiusReactorSession) ExecuteBatch(orders []SignedOrder, quantities []*big.Int) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x6411e816.
Solidity: function executeBatch((bytes,bytes)[] orders, uint256[] quantities) payable returns()
func (*GladiusReactorSession) ExecuteBatchWithCallback ¶
func (_GladiusReactor *GladiusReactorSession) ExecuteBatchWithCallback(orders []SignedOrder, quantities []*big.Int, callbackData []byte) (*types.Transaction, error)
ExecuteBatchWithCallback is a paid mutator transaction binding the contract method 0xbccd8d09.
Solidity: function executeBatchWithCallback((bytes,bytes)[] orders, uint256[] quantities, bytes callbackData) payable returns()
func (*GladiusReactorSession) ExecuteWithCallback ¶
func (_GladiusReactor *GladiusReactorSession) ExecuteWithCallback(order SignedOrder, quantity *big.Int, callbackData []byte) (*types.Transaction, error)
ExecuteWithCallback is a paid mutator transaction binding the contract method 0xe767b794.
Solidity: function executeWithCallback((bytes,bytes) order, uint256 quantity, bytes callbackData) payable returns()
func (*GladiusReactorSession) FeeController ¶
func (_GladiusReactor *GladiusReactorSession) FeeController() (common.Address, error)
FeeController is a free data retrieval call binding the contract method 0x6999b377.
Solidity: function feeController() view returns(address)
func (*GladiusReactorSession) Initialize ¶
func (_GladiusReactor *GladiusReactorSession) Initialize(_permit2 common.Address, _owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _permit2, address _owner) returns()
func (*GladiusReactorSession) Initialized ¶
func (_GladiusReactor *GladiusReactorSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() view returns(bool)
func (*GladiusReactorSession) Owner ¶
func (_GladiusReactor *GladiusReactorSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*GladiusReactorSession) Permit2 ¶
func (_GladiusReactor *GladiusReactorSession) Permit2() (common.Address, error)
Permit2 is a free data retrieval call binding the contract method 0x12261ee7.
Solidity: function permit2() view returns(address)
func (*GladiusReactorSession) Receive ¶
func (_GladiusReactor *GladiusReactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*GladiusReactorSession) SetOwner ¶
func (_GladiusReactor *GladiusReactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
func (*GladiusReactorSession) SetProtocolFeeController ¶
func (_GladiusReactor *GladiusReactorSession) SetProtocolFeeController(_newFeeController common.Address) (*types.Transaction, error)
SetProtocolFeeController is a paid mutator transaction binding the contract method 0x2d771389.
Solidity: function setProtocolFeeController(address _newFeeController) returns()
type GladiusReactorTransactor ¶
type GladiusReactorTransactor struct {
// contains filtered or unexported fields
}
GladiusReactorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGladiusReactorTransactor ¶
func NewGladiusReactorTransactor(address common.Address, transactor bind.ContractTransactor) (*GladiusReactorTransactor, error)
NewGladiusReactorTransactor creates a new write-only instance of GladiusReactor, bound to a specific deployed contract.
func (*GladiusReactorTransactor) Execute ¶
func (_GladiusReactor *GladiusReactorTransactor) Execute(opts *bind.TransactOpts, order SignedOrder, quantity *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xdc081cc9.
Solidity: function execute((bytes,bytes) order, uint256 quantity) payable returns()
func (*GladiusReactorTransactor) ExecuteBatch ¶
func (_GladiusReactor *GladiusReactorTransactor) ExecuteBatch(opts *bind.TransactOpts, orders []SignedOrder, quantities []*big.Int) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x6411e816.
Solidity: function executeBatch((bytes,bytes)[] orders, uint256[] quantities) payable returns()
func (*GladiusReactorTransactor) ExecuteBatchWithCallback ¶
func (_GladiusReactor *GladiusReactorTransactor) ExecuteBatchWithCallback(opts *bind.TransactOpts, orders []SignedOrder, quantities []*big.Int, callbackData []byte) (*types.Transaction, error)
ExecuteBatchWithCallback is a paid mutator transaction binding the contract method 0xbccd8d09.
Solidity: function executeBatchWithCallback((bytes,bytes)[] orders, uint256[] quantities, bytes callbackData) payable returns()
func (*GladiusReactorTransactor) ExecuteWithCallback ¶
func (_GladiusReactor *GladiusReactorTransactor) ExecuteWithCallback(opts *bind.TransactOpts, order SignedOrder, quantity *big.Int, callbackData []byte) (*types.Transaction, error)
ExecuteWithCallback is a paid mutator transaction binding the contract method 0xe767b794.
Solidity: function executeWithCallback((bytes,bytes) order, uint256 quantity, bytes callbackData) payable returns()
func (*GladiusReactorTransactor) Initialize ¶
func (_GladiusReactor *GladiusReactorTransactor) Initialize(opts *bind.TransactOpts, _permit2 common.Address, _owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _permit2, address _owner) returns()
func (*GladiusReactorTransactor) Receive ¶
func (_GladiusReactor *GladiusReactorTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*GladiusReactorTransactor) SetOwner ¶
func (_GladiusReactor *GladiusReactorTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
func (*GladiusReactorTransactor) SetProtocolFeeController ¶
func (_GladiusReactor *GladiusReactorTransactor) SetProtocolFeeController(opts *bind.TransactOpts, _newFeeController common.Address) (*types.Transaction, error)
SetProtocolFeeController is a paid mutator transaction binding the contract method 0x2d771389.
Solidity: function setProtocolFeeController(address _newFeeController) returns()
type GladiusReactorTransactorRaw ¶
type GladiusReactorTransactorRaw struct {
Contract *GladiusReactorTransactor // Generic write-only contract binding to access the raw methods on
}
GladiusReactorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GladiusReactorTransactorRaw) Transact ¶
func (_GladiusReactor *GladiusReactorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GladiusReactorTransactorRaw) Transfer ¶
func (_GladiusReactor *GladiusReactorTransactorRaw) 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 GladiusReactorTransactorSession ¶
type GladiusReactorTransactorSession struct { Contract *GladiusReactorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GladiusReactorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GladiusReactorTransactorSession) Execute ¶
func (_GladiusReactor *GladiusReactorTransactorSession) Execute(order SignedOrder, quantity *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xdc081cc9.
Solidity: function execute((bytes,bytes) order, uint256 quantity) payable returns()
func (*GladiusReactorTransactorSession) ExecuteBatch ¶
func (_GladiusReactor *GladiusReactorTransactorSession) ExecuteBatch(orders []SignedOrder, quantities []*big.Int) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x6411e816.
Solidity: function executeBatch((bytes,bytes)[] orders, uint256[] quantities) payable returns()
func (*GladiusReactorTransactorSession) ExecuteBatchWithCallback ¶
func (_GladiusReactor *GladiusReactorTransactorSession) ExecuteBatchWithCallback(orders []SignedOrder, quantities []*big.Int, callbackData []byte) (*types.Transaction, error)
ExecuteBatchWithCallback is a paid mutator transaction binding the contract method 0xbccd8d09.
Solidity: function executeBatchWithCallback((bytes,bytes)[] orders, uint256[] quantities, bytes callbackData) payable returns()
func (*GladiusReactorTransactorSession) ExecuteWithCallback ¶
func (_GladiusReactor *GladiusReactorTransactorSession) ExecuteWithCallback(order SignedOrder, quantity *big.Int, callbackData []byte) (*types.Transaction, error)
ExecuteWithCallback is a paid mutator transaction binding the contract method 0xe767b794.
Solidity: function executeWithCallback((bytes,bytes) order, uint256 quantity, bytes callbackData) payable returns()
func (*GladiusReactorTransactorSession) Initialize ¶
func (_GladiusReactor *GladiusReactorTransactorSession) Initialize(_permit2 common.Address, _owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _permit2, address _owner) returns()
func (*GladiusReactorTransactorSession) Receive ¶
func (_GladiusReactor *GladiusReactorTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*GladiusReactorTransactorSession) SetOwner ¶
func (_GladiusReactor *GladiusReactorTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
func (*GladiusReactorTransactorSession) SetProtocolFeeController ¶
func (_GladiusReactor *GladiusReactorTransactorSession) SetProtocolFeeController(_newFeeController common.Address) (*types.Transaction, error)
SetProtocolFeeController is a paid mutator transaction binding the contract method 0x2d771389.
Solidity: function setProtocolFeeController(address _newFeeController) returns()
type IAllowanceTransferAllowanceTransferDetails ¶
type IAllowanceTransferAllowanceTransferDetails struct { From common.Address To common.Address Amount *big.Int Token common.Address }
IAllowanceTransferAllowanceTransferDetails is an auto generated low-level Go binding around an user-defined struct.
type IAllowanceTransferPermitBatch ¶
type IAllowanceTransferPermitBatch struct { Details []IAllowanceTransferPermitDetails Spender common.Address SigDeadline *big.Int }
IAllowanceTransferPermitBatch is an auto generated low-level Go binding around an user-defined struct.
type IAllowanceTransferPermitDetails ¶
type IAllowanceTransferPermitDetails struct { Token common.Address Amount *big.Int Expiration *big.Int Nonce *big.Int }
IAllowanceTransferPermitDetails is an auto generated low-level Go binding around an user-defined struct.
type IAllowanceTransferPermitSingle ¶
type IAllowanceTransferPermitSingle struct { Details IAllowanceTransferPermitDetails Spender common.Address SigDeadline *big.Int }
IAllowanceTransferPermitSingle is an auto generated low-level Go binding around an user-defined struct.
type IAllowanceTransferTokenSpenderPair ¶
IAllowanceTransferTokenSpenderPair is an auto generated low-level Go binding around an user-defined struct.
type ISignatureTransferPermitBatchTransferFrom ¶
type ISignatureTransferPermitBatchTransferFrom struct { Permitted []ISignatureTransferTokenPermissions Nonce *big.Int Deadline *big.Int }
ISignatureTransferPermitBatchTransferFrom is an auto generated low-level Go binding around an user-defined struct.
type ISignatureTransferPermitTransferFrom ¶
type ISignatureTransferPermitTransferFrom struct { Permitted ISignatureTransferTokenPermissions Nonce *big.Int Deadline *big.Int }
ISignatureTransferPermitTransferFrom is an auto generated low-level Go binding around an user-defined struct.
type ISignatureTransferSignatureTransferDetails ¶
type ISignatureTransferSignatureTransferDetails struct { To common.Address RequestedAmount *big.Int }
ISignatureTransferSignatureTransferDetails is an auto generated low-level Go binding around an user-defined struct.
type ISignatureTransferTokenPermissions ¶
ISignatureTransferTokenPermissions is an auto generated low-level Go binding around an user-defined struct.
type InputToken ¶
InputToken is an auto generated low-level Go binding around an user-defined struct.
type OrderInfo ¶
type OrderInfo struct { Reactor common.Address Swapper common.Address Nonce *big.Int Deadline *big.Int AdditionalValidationContract common.Address AdditionalValidationData []byte }
OrderInfo is an auto generated low-level Go binding around an user-defined struct.
type OutputToken ¶
OutputToken is an auto generated low-level Go binding around an user-defined struct.
type Permit2 ¶
type Permit2 struct { Permit2Caller // Read-only binding to the contract Permit2Transactor // Write-only binding to the contract Permit2Filterer // Log filterer for contract events }
Permit2 is an auto generated Go binding around an Ethereum contract.
func NewPermit2 ¶
NewPermit2 creates a new instance of Permit2, bound to a specific deployed contract.
type Permit2Approval ¶
type Permit2Approval struct { Owner common.Address Token common.Address Spender common.Address Amount *big.Int Expiration *big.Int Raw types.Log // Blockchain specific contextual infos }
Permit2Approval represents a Approval event raised by the Permit2 contract.
type Permit2ApprovalIterator ¶
type Permit2ApprovalIterator struct { Event *Permit2Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Permit2ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Permit2 contract.
func (*Permit2ApprovalIterator) Close ¶
func (it *Permit2ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Permit2ApprovalIterator) Error ¶
func (it *Permit2ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Permit2ApprovalIterator) Next ¶
func (it *Permit2ApprovalIterator) 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 Permit2Caller ¶
type Permit2Caller struct {
// contains filtered or unexported fields
}
Permit2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewPermit2Caller ¶
func NewPermit2Caller(address common.Address, caller bind.ContractCaller) (*Permit2Caller, error)
NewPermit2Caller creates a new read-only instance of Permit2, bound to a specific deployed contract.
func (*Permit2Caller) Allowance ¶
func (_Permit2 *Permit2Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 common.Address) (struct { Amount *big.Int Expiration *big.Int Nonce *big.Int }, error)
Allowance is a free data retrieval call binding the contract method 0x927da105.
Solidity: function allowance(address , address , address ) view returns(uint160 amount, uint48 expiration, uint48 nonce)
func (*Permit2Caller) DOMAINSEPARATOR ¶
func (_Permit2 *Permit2Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*Permit2Caller) NonceBitmap ¶
func (_Permit2 *Permit2Caller) NonceBitmap(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
NonceBitmap is a free data retrieval call binding the contract method 0x4fe02b44.
Solidity: function nonceBitmap(address , uint256 ) view returns(uint256)
type Permit2CallerRaw ¶
type Permit2CallerRaw struct {
Contract *Permit2Caller // Generic read-only contract binding to access the raw methods on
}
Permit2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Permit2CallerRaw) Call ¶
func (_Permit2 *Permit2CallerRaw) 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 Permit2CallerSession ¶
type Permit2CallerSession struct { Contract *Permit2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Permit2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Permit2CallerSession) Allowance ¶
func (_Permit2 *Permit2CallerSession) Allowance(arg0 common.Address, arg1 common.Address, arg2 common.Address) (struct { Amount *big.Int Expiration *big.Int Nonce *big.Int }, error)
Allowance is a free data retrieval call binding the contract method 0x927da105.
Solidity: function allowance(address , address , address ) view returns(uint160 amount, uint48 expiration, uint48 nonce)
func (*Permit2CallerSession) DOMAINSEPARATOR ¶
func (_Permit2 *Permit2CallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*Permit2CallerSession) NonceBitmap ¶
func (_Permit2 *Permit2CallerSession) NonceBitmap(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
NonceBitmap is a free data retrieval call binding the contract method 0x4fe02b44.
Solidity: function nonceBitmap(address , uint256 ) view returns(uint256)
type Permit2Filterer ¶
type Permit2Filterer struct {
// contains filtered or unexported fields
}
Permit2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPermit2Filterer ¶
func NewPermit2Filterer(address common.Address, filterer bind.ContractFilterer) (*Permit2Filterer, error)
NewPermit2Filterer creates a new log filterer instance of Permit2, bound to a specific deployed contract.
func (*Permit2Filterer) FilterApproval ¶
func (_Permit2 *Permit2Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, token []common.Address, spender []common.Address) (*Permit2ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0xda9fa7c1b00402c17d0161b249b1ab8bbec047c5a52207b9c112deffd817036b.
Solidity: event Approval(address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration)
func (*Permit2Filterer) FilterLockdown ¶
func (_Permit2 *Permit2Filterer) FilterLockdown(opts *bind.FilterOpts, owner []common.Address) (*Permit2LockdownIterator, error)
FilterLockdown is a free log retrieval operation binding the contract event 0x89b1add15eff56b3dfe299ad94e01f2b52fbcb80ae1a3baea6ae8c04cb2b98a4.
Solidity: event Lockdown(address indexed owner, address token, address spender)
func (*Permit2Filterer) FilterNonceInvalidation ¶
func (_Permit2 *Permit2Filterer) FilterNonceInvalidation(opts *bind.FilterOpts, owner []common.Address, token []common.Address, spender []common.Address) (*Permit2NonceInvalidationIterator, error)
FilterNonceInvalidation is a free log retrieval operation binding the contract event 0x55eb90d810e1700b35a8e7e25395ff7f2b2259abd7415ca2284dfb1c246418f3.
Solidity: event NonceInvalidation(address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce)
func (*Permit2Filterer) FilterPermit ¶
func (_Permit2 *Permit2Filterer) FilterPermit(opts *bind.FilterOpts, owner []common.Address, token []common.Address, spender []common.Address) (*Permit2PermitIterator, error)
FilterPermit is a free log retrieval operation binding the contract event 0xc6a377bfc4eb120024a8ac08eef205be16b817020812c73223e81d1bdb9708ec.
Solidity: event Permit(address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration, uint48 nonce)
func (*Permit2Filterer) FilterUnorderedNonceInvalidation ¶
func (_Permit2 *Permit2Filterer) FilterUnorderedNonceInvalidation(opts *bind.FilterOpts, owner []common.Address) (*Permit2UnorderedNonceInvalidationIterator, error)
FilterUnorderedNonceInvalidation is a free log retrieval operation binding the contract event 0x3704902f963766a4e561bbaab6e6cdc1b1dd12f6e9e99648da8843b3f46b918d.
Solidity: event UnorderedNonceInvalidation(address indexed owner, uint256 word, uint256 mask)
func (*Permit2Filterer) ParseApproval ¶
func (_Permit2 *Permit2Filterer) ParseApproval(log types.Log) (*Permit2Approval, error)
ParseApproval is a log parse operation binding the contract event 0xda9fa7c1b00402c17d0161b249b1ab8bbec047c5a52207b9c112deffd817036b.
Solidity: event Approval(address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration)
func (*Permit2Filterer) ParseLockdown ¶
func (_Permit2 *Permit2Filterer) ParseLockdown(log types.Log) (*Permit2Lockdown, error)
ParseLockdown is a log parse operation binding the contract event 0x89b1add15eff56b3dfe299ad94e01f2b52fbcb80ae1a3baea6ae8c04cb2b98a4.
Solidity: event Lockdown(address indexed owner, address token, address spender)
func (*Permit2Filterer) ParseNonceInvalidation ¶
func (_Permit2 *Permit2Filterer) ParseNonceInvalidation(log types.Log) (*Permit2NonceInvalidation, error)
ParseNonceInvalidation is a log parse operation binding the contract event 0x55eb90d810e1700b35a8e7e25395ff7f2b2259abd7415ca2284dfb1c246418f3.
Solidity: event NonceInvalidation(address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce)
func (*Permit2Filterer) ParsePermit ¶
func (_Permit2 *Permit2Filterer) ParsePermit(log types.Log) (*Permit2Permit, error)
ParsePermit is a log parse operation binding the contract event 0xc6a377bfc4eb120024a8ac08eef205be16b817020812c73223e81d1bdb9708ec.
Solidity: event Permit(address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration, uint48 nonce)
func (*Permit2Filterer) ParseUnorderedNonceInvalidation ¶
func (_Permit2 *Permit2Filterer) ParseUnorderedNonceInvalidation(log types.Log) (*Permit2UnorderedNonceInvalidation, error)
ParseUnorderedNonceInvalidation is a log parse operation binding the contract event 0x3704902f963766a4e561bbaab6e6cdc1b1dd12f6e9e99648da8843b3f46b918d.
Solidity: event UnorderedNonceInvalidation(address indexed owner, uint256 word, uint256 mask)
func (*Permit2Filterer) WatchApproval ¶
func (_Permit2 *Permit2Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Permit2Approval, owner []common.Address, token []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0xda9fa7c1b00402c17d0161b249b1ab8bbec047c5a52207b9c112deffd817036b.
Solidity: event Approval(address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration)
func (*Permit2Filterer) WatchLockdown ¶
func (_Permit2 *Permit2Filterer) WatchLockdown(opts *bind.WatchOpts, sink chan<- *Permit2Lockdown, owner []common.Address) (event.Subscription, error)
WatchLockdown is a free log subscription operation binding the contract event 0x89b1add15eff56b3dfe299ad94e01f2b52fbcb80ae1a3baea6ae8c04cb2b98a4.
Solidity: event Lockdown(address indexed owner, address token, address spender)
func (*Permit2Filterer) WatchNonceInvalidation ¶
func (_Permit2 *Permit2Filterer) WatchNonceInvalidation(opts *bind.WatchOpts, sink chan<- *Permit2NonceInvalidation, owner []common.Address, token []common.Address, spender []common.Address) (event.Subscription, error)
WatchNonceInvalidation is a free log subscription operation binding the contract event 0x55eb90d810e1700b35a8e7e25395ff7f2b2259abd7415ca2284dfb1c246418f3.
Solidity: event NonceInvalidation(address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce)
func (*Permit2Filterer) WatchPermit ¶
func (_Permit2 *Permit2Filterer) WatchPermit(opts *bind.WatchOpts, sink chan<- *Permit2Permit, owner []common.Address, token []common.Address, spender []common.Address) (event.Subscription, error)
WatchPermit is a free log subscription operation binding the contract event 0xc6a377bfc4eb120024a8ac08eef205be16b817020812c73223e81d1bdb9708ec.
Solidity: event Permit(address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration, uint48 nonce)
func (*Permit2Filterer) WatchUnorderedNonceInvalidation ¶
func (_Permit2 *Permit2Filterer) WatchUnorderedNonceInvalidation(opts *bind.WatchOpts, sink chan<- *Permit2UnorderedNonceInvalidation, owner []common.Address) (event.Subscription, error)
WatchUnorderedNonceInvalidation is a free log subscription operation binding the contract event 0x3704902f963766a4e561bbaab6e6cdc1b1dd12f6e9e99648da8843b3f46b918d.
Solidity: event UnorderedNonceInvalidation(address indexed owner, uint256 word, uint256 mask)
type Permit2Lockdown ¶
type Permit2Lockdown struct { Owner common.Address Token common.Address Spender common.Address Raw types.Log // Blockchain specific contextual infos }
Permit2Lockdown represents a Lockdown event raised by the Permit2 contract.
type Permit2LockdownIterator ¶
type Permit2LockdownIterator struct { Event *Permit2Lockdown // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Permit2LockdownIterator is returned from FilterLockdown and is used to iterate over the raw logs and unpacked data for Lockdown events raised by the Permit2 contract.
func (*Permit2LockdownIterator) Close ¶
func (it *Permit2LockdownIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Permit2LockdownIterator) Error ¶
func (it *Permit2LockdownIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Permit2LockdownIterator) Next ¶
func (it *Permit2LockdownIterator) 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 Permit2NonceInvalidation ¶
type Permit2NonceInvalidation struct { Owner common.Address Token common.Address Spender common.Address NewNonce *big.Int OldNonce *big.Int Raw types.Log // Blockchain specific contextual infos }
Permit2NonceInvalidation represents a NonceInvalidation event raised by the Permit2 contract.
type Permit2NonceInvalidationIterator ¶
type Permit2NonceInvalidationIterator struct { Event *Permit2NonceInvalidation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Permit2NonceInvalidationIterator is returned from FilterNonceInvalidation and is used to iterate over the raw logs and unpacked data for NonceInvalidation events raised by the Permit2 contract.
func (*Permit2NonceInvalidationIterator) Close ¶
func (it *Permit2NonceInvalidationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Permit2NonceInvalidationIterator) Error ¶
func (it *Permit2NonceInvalidationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Permit2NonceInvalidationIterator) Next ¶
func (it *Permit2NonceInvalidationIterator) 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 Permit2Permit ¶
type Permit2Permit struct { Owner common.Address Token common.Address Spender common.Address Amount *big.Int Expiration *big.Int Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
Permit2Permit represents a Permit event raised by the Permit2 contract.
type Permit2PermitIterator ¶
type Permit2PermitIterator struct { Event *Permit2Permit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Permit2PermitIterator is returned from FilterPermit and is used to iterate over the raw logs and unpacked data for Permit events raised by the Permit2 contract.
func (*Permit2PermitIterator) Close ¶
func (it *Permit2PermitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Permit2PermitIterator) Error ¶
func (it *Permit2PermitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Permit2PermitIterator) Next ¶
func (it *Permit2PermitIterator) 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 Permit2Raw ¶
type Permit2Raw struct {
Contract *Permit2 // Generic contract binding to access the raw methods on
}
Permit2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Permit2Raw) Call ¶
func (_Permit2 *Permit2Raw) 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 (*Permit2Raw) Transact ¶
func (_Permit2 *Permit2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Permit2Raw) Transfer ¶
func (_Permit2 *Permit2Raw) 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 Permit2Session ¶
type Permit2Session struct { Contract *Permit2 // 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 }
Permit2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Permit2Session) Allowance ¶
func (_Permit2 *Permit2Session) Allowance(arg0 common.Address, arg1 common.Address, arg2 common.Address) (struct { Amount *big.Int Expiration *big.Int Nonce *big.Int }, error)
Allowance is a free data retrieval call binding the contract method 0x927da105.
Solidity: function allowance(address , address , address ) view returns(uint160 amount, uint48 expiration, uint48 nonce)
func (*Permit2Session) Approve ¶
func (_Permit2 *Permit2Session) Approve(token common.Address, spender common.Address, amount *big.Int, expiration *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x87517c45.
Solidity: function approve(address token, address spender, uint160 amount, uint48 expiration) returns()
func (*Permit2Session) DOMAINSEPARATOR ¶
func (_Permit2 *Permit2Session) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*Permit2Session) InvalidateNonces ¶
func (_Permit2 *Permit2Session) InvalidateNonces(token common.Address, spender common.Address, newNonce *big.Int) (*types.Transaction, error)
InvalidateNonces is a paid mutator transaction binding the contract method 0x65d9723c.
Solidity: function invalidateNonces(address token, address spender, uint48 newNonce) returns()
func (*Permit2Session) InvalidateUnorderedNonces ¶
func (_Permit2 *Permit2Session) InvalidateUnorderedNonces(wordPos *big.Int, mask *big.Int) (*types.Transaction, error)
InvalidateUnorderedNonces is a paid mutator transaction binding the contract method 0x3ff9dcb1.
Solidity: function invalidateUnorderedNonces(uint256 wordPos, uint256 mask) returns()
func (*Permit2Session) Lockdown ¶
func (_Permit2 *Permit2Session) Lockdown(approvals []IAllowanceTransferTokenSpenderPair) (*types.Transaction, error)
Lockdown is a paid mutator transaction binding the contract method 0xcc53287f.
Solidity: function lockdown((address,address)[] approvals) returns()
func (*Permit2Session) NonceBitmap ¶
NonceBitmap is a free data retrieval call binding the contract method 0x4fe02b44.
Solidity: function nonceBitmap(address , uint256 ) view returns(uint256)
func (*Permit2Session) Permit ¶
func (_Permit2 *Permit2Session) Permit(owner common.Address, permitBatch IAllowanceTransferPermitBatch, signature []byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x2a2d80d1.
Solidity: function permit(address owner, ((address,uint160,uint48,uint48)[],address,uint256) permitBatch, bytes signature) returns()
func (*Permit2Session) Permit0 ¶
func (_Permit2 *Permit2Session) Permit0(owner common.Address, permitSingle IAllowanceTransferPermitSingle, signature []byte) (*types.Transaction, error)
Permit0 is a paid mutator transaction binding the contract method 0x2b67b570.
Solidity: function permit(address owner, ((address,uint160,uint48,uint48),address,uint256) permitSingle, bytes signature) returns()
func (*Permit2Session) PermitTransferFrom ¶
func (_Permit2 *Permit2Session) PermitTransferFrom(permit ISignatureTransferPermitTransferFrom, transferDetails ISignatureTransferSignatureTransferDetails, owner common.Address, signature []byte) (*types.Transaction, error)
PermitTransferFrom is a paid mutator transaction binding the contract method 0x30f28b7a.
Solidity: function permitTransferFrom(((address,uint256),uint256,uint256) permit, (address,uint256) transferDetails, address owner, bytes signature) returns()
func (*Permit2Session) PermitTransferFrom0 ¶
func (_Permit2 *Permit2Session) PermitTransferFrom0(permit ISignatureTransferPermitBatchTransferFrom, transferDetails []ISignatureTransferSignatureTransferDetails, owner common.Address, signature []byte) (*types.Transaction, error)
PermitTransferFrom0 is a paid mutator transaction binding the contract method 0xedd9444b.
Solidity: function permitTransferFrom(((address,uint256)[],uint256,uint256) permit, (address,uint256)[] transferDetails, address owner, bytes signature) returns()
func (*Permit2Session) PermitWitnessTransferFrom ¶
func (_Permit2 *Permit2Session) PermitWitnessTransferFrom(permit ISignatureTransferPermitTransferFrom, transferDetails ISignatureTransferSignatureTransferDetails, owner common.Address, witness [32]byte, witnessTypeString string, signature []byte) (*types.Transaction, error)
PermitWitnessTransferFrom is a paid mutator transaction binding the contract method 0x137c29fe.
Solidity: function permitWitnessTransferFrom(((address,uint256),uint256,uint256) permit, (address,uint256) transferDetails, address owner, bytes32 witness, string witnessTypeString, bytes signature) returns()
func (*Permit2Session) PermitWitnessTransferFrom0 ¶
func (_Permit2 *Permit2Session) PermitWitnessTransferFrom0(permit ISignatureTransferPermitBatchTransferFrom, transferDetails []ISignatureTransferSignatureTransferDetails, owner common.Address, witness [32]byte, witnessTypeString string, signature []byte) (*types.Transaction, error)
PermitWitnessTransferFrom0 is a paid mutator transaction binding the contract method 0xfe8ec1a7.
Solidity: function permitWitnessTransferFrom(((address,uint256)[],uint256,uint256) permit, (address,uint256)[] transferDetails, address owner, bytes32 witness, string witnessTypeString, bytes signature) returns()
func (*Permit2Session) TransferFrom ¶
func (_Permit2 *Permit2Session) TransferFrom(transferDetails []IAllowanceTransferAllowanceTransferDetails) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x0d58b1db.
Solidity: function transferFrom((address,address,uint160,address)[] transferDetails) returns()
func (*Permit2Session) TransferFrom0 ¶
func (_Permit2 *Permit2Session) TransferFrom0(from common.Address, to common.Address, amount *big.Int, token common.Address) (*types.Transaction, error)
TransferFrom0 is a paid mutator transaction binding the contract method 0x36c78516.
Solidity: function transferFrom(address from, address to, uint160 amount, address token) returns()
type Permit2Transactor ¶
type Permit2Transactor struct {
// contains filtered or unexported fields
}
Permit2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPermit2Transactor ¶
func NewPermit2Transactor(address common.Address, transactor bind.ContractTransactor) (*Permit2Transactor, error)
NewPermit2Transactor creates a new write-only instance of Permit2, bound to a specific deployed contract.
func (*Permit2Transactor) Approve ¶
func (_Permit2 *Permit2Transactor) Approve(opts *bind.TransactOpts, token common.Address, spender common.Address, amount *big.Int, expiration *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x87517c45.
Solidity: function approve(address token, address spender, uint160 amount, uint48 expiration) returns()
func (*Permit2Transactor) InvalidateNonces ¶
func (_Permit2 *Permit2Transactor) InvalidateNonces(opts *bind.TransactOpts, token common.Address, spender common.Address, newNonce *big.Int) (*types.Transaction, error)
InvalidateNonces is a paid mutator transaction binding the contract method 0x65d9723c.
Solidity: function invalidateNonces(address token, address spender, uint48 newNonce) returns()
func (*Permit2Transactor) InvalidateUnorderedNonces ¶
func (_Permit2 *Permit2Transactor) InvalidateUnorderedNonces(opts *bind.TransactOpts, wordPos *big.Int, mask *big.Int) (*types.Transaction, error)
InvalidateUnorderedNonces is a paid mutator transaction binding the contract method 0x3ff9dcb1.
Solidity: function invalidateUnorderedNonces(uint256 wordPos, uint256 mask) returns()
func (*Permit2Transactor) Lockdown ¶
func (_Permit2 *Permit2Transactor) Lockdown(opts *bind.TransactOpts, approvals []IAllowanceTransferTokenSpenderPair) (*types.Transaction, error)
Lockdown is a paid mutator transaction binding the contract method 0xcc53287f.
Solidity: function lockdown((address,address)[] approvals) returns()
func (*Permit2Transactor) Permit ¶
func (_Permit2 *Permit2Transactor) Permit(opts *bind.TransactOpts, owner common.Address, permitBatch IAllowanceTransferPermitBatch, signature []byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x2a2d80d1.
Solidity: function permit(address owner, ((address,uint160,uint48,uint48)[],address,uint256) permitBatch, bytes signature) returns()
func (*Permit2Transactor) Permit0 ¶
func (_Permit2 *Permit2Transactor) Permit0(opts *bind.TransactOpts, owner common.Address, permitSingle IAllowanceTransferPermitSingle, signature []byte) (*types.Transaction, error)
Permit0 is a paid mutator transaction binding the contract method 0x2b67b570.
Solidity: function permit(address owner, ((address,uint160,uint48,uint48),address,uint256) permitSingle, bytes signature) returns()
func (*Permit2Transactor) PermitTransferFrom ¶
func (_Permit2 *Permit2Transactor) PermitTransferFrom(opts *bind.TransactOpts, permit ISignatureTransferPermitTransferFrom, transferDetails ISignatureTransferSignatureTransferDetails, owner common.Address, signature []byte) (*types.Transaction, error)
PermitTransferFrom is a paid mutator transaction binding the contract method 0x30f28b7a.
Solidity: function permitTransferFrom(((address,uint256),uint256,uint256) permit, (address,uint256) transferDetails, address owner, bytes signature) returns()
func (*Permit2Transactor) PermitTransferFrom0 ¶
func (_Permit2 *Permit2Transactor) PermitTransferFrom0(opts *bind.TransactOpts, permit ISignatureTransferPermitBatchTransferFrom, transferDetails []ISignatureTransferSignatureTransferDetails, owner common.Address, signature []byte) (*types.Transaction, error)
PermitTransferFrom0 is a paid mutator transaction binding the contract method 0xedd9444b.
Solidity: function permitTransferFrom(((address,uint256)[],uint256,uint256) permit, (address,uint256)[] transferDetails, address owner, bytes signature) returns()
func (*Permit2Transactor) PermitWitnessTransferFrom ¶
func (_Permit2 *Permit2Transactor) PermitWitnessTransferFrom(opts *bind.TransactOpts, permit ISignatureTransferPermitTransferFrom, transferDetails ISignatureTransferSignatureTransferDetails, owner common.Address, witness [32]byte, witnessTypeString string, signature []byte) (*types.Transaction, error)
PermitWitnessTransferFrom is a paid mutator transaction binding the contract method 0x137c29fe.
Solidity: function permitWitnessTransferFrom(((address,uint256),uint256,uint256) permit, (address,uint256) transferDetails, address owner, bytes32 witness, string witnessTypeString, bytes signature) returns()
func (*Permit2Transactor) PermitWitnessTransferFrom0 ¶
func (_Permit2 *Permit2Transactor) PermitWitnessTransferFrom0(opts *bind.TransactOpts, permit ISignatureTransferPermitBatchTransferFrom, transferDetails []ISignatureTransferSignatureTransferDetails, owner common.Address, witness [32]byte, witnessTypeString string, signature []byte) (*types.Transaction, error)
PermitWitnessTransferFrom0 is a paid mutator transaction binding the contract method 0xfe8ec1a7.
Solidity: function permitWitnessTransferFrom(((address,uint256)[],uint256,uint256) permit, (address,uint256)[] transferDetails, address owner, bytes32 witness, string witnessTypeString, bytes signature) returns()
func (*Permit2Transactor) TransferFrom ¶
func (_Permit2 *Permit2Transactor) TransferFrom(opts *bind.TransactOpts, transferDetails []IAllowanceTransferAllowanceTransferDetails) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x0d58b1db.
Solidity: function transferFrom((address,address,uint160,address)[] transferDetails) returns()
func (*Permit2Transactor) TransferFrom0 ¶
func (_Permit2 *Permit2Transactor) TransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int, token common.Address) (*types.Transaction, error)
TransferFrom0 is a paid mutator transaction binding the contract method 0x36c78516.
Solidity: function transferFrom(address from, address to, uint160 amount, address token) returns()
type Permit2TransactorRaw ¶
type Permit2TransactorRaw struct {
Contract *Permit2Transactor // Generic write-only contract binding to access the raw methods on
}
Permit2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Permit2TransactorRaw) Transact ¶
func (_Permit2 *Permit2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Permit2TransactorRaw) Transfer ¶
func (_Permit2 *Permit2TransactorRaw) 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 Permit2TransactorSession ¶
type Permit2TransactorSession struct { Contract *Permit2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Permit2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Permit2TransactorSession) Approve ¶
func (_Permit2 *Permit2TransactorSession) Approve(token common.Address, spender common.Address, amount *big.Int, expiration *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x87517c45.
Solidity: function approve(address token, address spender, uint160 amount, uint48 expiration) returns()
func (*Permit2TransactorSession) InvalidateNonces ¶
func (_Permit2 *Permit2TransactorSession) InvalidateNonces(token common.Address, spender common.Address, newNonce *big.Int) (*types.Transaction, error)
InvalidateNonces is a paid mutator transaction binding the contract method 0x65d9723c.
Solidity: function invalidateNonces(address token, address spender, uint48 newNonce) returns()
func (*Permit2TransactorSession) InvalidateUnorderedNonces ¶
func (_Permit2 *Permit2TransactorSession) InvalidateUnorderedNonces(wordPos *big.Int, mask *big.Int) (*types.Transaction, error)
InvalidateUnorderedNonces is a paid mutator transaction binding the contract method 0x3ff9dcb1.
Solidity: function invalidateUnorderedNonces(uint256 wordPos, uint256 mask) returns()
func (*Permit2TransactorSession) Lockdown ¶
func (_Permit2 *Permit2TransactorSession) Lockdown(approvals []IAllowanceTransferTokenSpenderPair) (*types.Transaction, error)
Lockdown is a paid mutator transaction binding the contract method 0xcc53287f.
Solidity: function lockdown((address,address)[] approvals) returns()
func (*Permit2TransactorSession) Permit ¶
func (_Permit2 *Permit2TransactorSession) Permit(owner common.Address, permitBatch IAllowanceTransferPermitBatch, signature []byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x2a2d80d1.
Solidity: function permit(address owner, ((address,uint160,uint48,uint48)[],address,uint256) permitBatch, bytes signature) returns()
func (*Permit2TransactorSession) Permit0 ¶
func (_Permit2 *Permit2TransactorSession) Permit0(owner common.Address, permitSingle IAllowanceTransferPermitSingle, signature []byte) (*types.Transaction, error)
Permit0 is a paid mutator transaction binding the contract method 0x2b67b570.
Solidity: function permit(address owner, ((address,uint160,uint48,uint48),address,uint256) permitSingle, bytes signature) returns()
func (*Permit2TransactorSession) PermitTransferFrom ¶
func (_Permit2 *Permit2TransactorSession) PermitTransferFrom(permit ISignatureTransferPermitTransferFrom, transferDetails ISignatureTransferSignatureTransferDetails, owner common.Address, signature []byte) (*types.Transaction, error)
PermitTransferFrom is a paid mutator transaction binding the contract method 0x30f28b7a.
Solidity: function permitTransferFrom(((address,uint256),uint256,uint256) permit, (address,uint256) transferDetails, address owner, bytes signature) returns()
func (*Permit2TransactorSession) PermitTransferFrom0 ¶
func (_Permit2 *Permit2TransactorSession) PermitTransferFrom0(permit ISignatureTransferPermitBatchTransferFrom, transferDetails []ISignatureTransferSignatureTransferDetails, owner common.Address, signature []byte) (*types.Transaction, error)
PermitTransferFrom0 is a paid mutator transaction binding the contract method 0xedd9444b.
Solidity: function permitTransferFrom(((address,uint256)[],uint256,uint256) permit, (address,uint256)[] transferDetails, address owner, bytes signature) returns()
func (*Permit2TransactorSession) PermitWitnessTransferFrom ¶
func (_Permit2 *Permit2TransactorSession) PermitWitnessTransferFrom(permit ISignatureTransferPermitTransferFrom, transferDetails ISignatureTransferSignatureTransferDetails, owner common.Address, witness [32]byte, witnessTypeString string, signature []byte) (*types.Transaction, error)
PermitWitnessTransferFrom is a paid mutator transaction binding the contract method 0x137c29fe.
Solidity: function permitWitnessTransferFrom(((address,uint256),uint256,uint256) permit, (address,uint256) transferDetails, address owner, bytes32 witness, string witnessTypeString, bytes signature) returns()
func (*Permit2TransactorSession) PermitWitnessTransferFrom0 ¶
func (_Permit2 *Permit2TransactorSession) PermitWitnessTransferFrom0(permit ISignatureTransferPermitBatchTransferFrom, transferDetails []ISignatureTransferSignatureTransferDetails, owner common.Address, witness [32]byte, witnessTypeString string, signature []byte) (*types.Transaction, error)
PermitWitnessTransferFrom0 is a paid mutator transaction binding the contract method 0xfe8ec1a7.
Solidity: function permitWitnessTransferFrom(((address,uint256)[],uint256,uint256) permit, (address,uint256)[] transferDetails, address owner, bytes32 witness, string witnessTypeString, bytes signature) returns()
func (*Permit2TransactorSession) TransferFrom ¶
func (_Permit2 *Permit2TransactorSession) TransferFrom(transferDetails []IAllowanceTransferAllowanceTransferDetails) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x0d58b1db.
Solidity: function transferFrom((address,address,uint160,address)[] transferDetails) returns()
func (*Permit2TransactorSession) TransferFrom0 ¶
func (_Permit2 *Permit2TransactorSession) TransferFrom0(from common.Address, to common.Address, amount *big.Int, token common.Address) (*types.Transaction, error)
TransferFrom0 is a paid mutator transaction binding the contract method 0x36c78516.
Solidity: function transferFrom(address from, address to, uint160 amount, address token) returns()
type Permit2UnorderedNonceInvalidation ¶
type Permit2UnorderedNonceInvalidation struct { Owner common.Address Word *big.Int Mask *big.Int Raw types.Log // Blockchain specific contextual infos }
Permit2UnorderedNonceInvalidation represents a UnorderedNonceInvalidation event raised by the Permit2 contract.
type Permit2UnorderedNonceInvalidationIterator ¶
type Permit2UnorderedNonceInvalidationIterator struct { Event *Permit2UnorderedNonceInvalidation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Permit2UnorderedNonceInvalidationIterator is returned from FilterUnorderedNonceInvalidation and is used to iterate over the raw logs and unpacked data for UnorderedNonceInvalidation events raised by the Permit2 contract.
func (*Permit2UnorderedNonceInvalidationIterator) Close ¶
func (it *Permit2UnorderedNonceInvalidationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Permit2UnorderedNonceInvalidationIterator) Error ¶
func (it *Permit2UnorderedNonceInvalidationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Permit2UnorderedNonceInvalidationIterator) Next ¶
func (it *Permit2UnorderedNonceInvalidationIterator) 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 ResolvedOrder ¶
type ResolvedOrder struct { Info OrderInfo Input InputToken Outputs []OutputToken Sig []byte Hash [32]byte }
ResolvedOrder is an auto generated low-level Go binding around an user-defined struct.
func (*ResolvedOrder) ValidateDeadline ¶
func (o *ResolvedOrder) ValidateDeadline() error
Validates deadline of an order, by checking if it has expired or not. Returns 'nil' if deadline is valid.
func (*ResolvedOrder) ValidateDeadlineSec ¶
func (o *ResolvedOrder) ValidateDeadlineSec(sec int64) (err error)
Validates deadline of an order, making sure that it will be valid for a specified number of seconds - 'sec'. To note, remaining time should be only greater than 'sec', if it equals to it, error will be returned.
func (*ResolvedOrder) ValidateDeadlineUnix ¶
func (o *ResolvedOrder) ValidateDeadlineUnix(timestamp int64) (err error)
Validate deadline of an order against unix timestamp. For a deadline to be considered valid here, it should be greater than provided `timestamp`, otherwise an error will be returned.
type SignedOrder ¶
SignedOrder is an auto generated low-level Go binding around an user-defined struct.