Documentation ¶
Index ¶
- Variables
- type CtfExchange
- type CtfExchangeCaller
- func (_CtfExchange *CtfExchangeCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCaller) DomainSeparator(opts *bind.CallOpts) ([32]byte, error)
- func (_CtfExchange *CtfExchangeCaller) GetCollateral(opts *bind.CallOpts) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) GetComplement(opts *bind.CallOpts, token *big.Int) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCaller) GetConditionId(opts *bind.CallOpts, token *big.Int) ([32]byte, error)
- func (_CtfExchange *CtfExchangeCaller) GetCtf(opts *bind.CallOpts) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) GetMaxFeeRate(opts *bind.CallOpts) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCaller) GetOrderStatus(opts *bind.CallOpts, orderHash [32]byte) (OrderStatus, error)
- func (_CtfExchange *CtfExchangeCaller) GetPolyProxyFactoryImplementation(opts *bind.CallOpts) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) GetPolyProxyWalletAddress(opts *bind.CallOpts, _addr common.Address) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) GetProxyFactory(opts *bind.CallOpts) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) GetSafeAddress(opts *bind.CallOpts, _addr common.Address) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) GetSafeFactory(opts *bind.CallOpts) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) GetSafeFactoryImplementation(opts *bind.CallOpts) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) HashOrder(opts *bind.CallOpts, order Order) ([32]byte, error)
- func (_CtfExchange *CtfExchangeCaller) IsAdmin(opts *bind.CallOpts, usr common.Address) (bool, error)
- func (_CtfExchange *CtfExchangeCaller) IsOperator(opts *bind.CallOpts, usr common.Address) (bool, error)
- func (_CtfExchange *CtfExchangeCaller) IsValidNonce(opts *bind.CallOpts, usr common.Address, nonce *big.Int) (bool, error)
- func (_CtfExchange *CtfExchangeCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCaller) OrderStatus(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_CtfExchange *CtfExchangeCaller) ParentCollectionId(opts *bind.CallOpts) ([32]byte, error)
- func (_CtfExchange *CtfExchangeCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_CtfExchange *CtfExchangeCaller) ProxyFactory(opts *bind.CallOpts) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) Registry(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_CtfExchange *CtfExchangeCaller) SafeFactory(opts *bind.CallOpts) (common.Address, error)
- func (_CtfExchange *CtfExchangeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_CtfExchange *CtfExchangeCaller) ValidateComplement(opts *bind.CallOpts, token *big.Int, complement *big.Int) error
- func (_CtfExchange *CtfExchangeCaller) ValidateOrder(opts *bind.CallOpts, order Order) error
- func (_CtfExchange *CtfExchangeCaller) ValidateOrderSignature(opts *bind.CallOpts, orderHash [32]byte, order Order) error
- func (_CtfExchange *CtfExchangeCaller) ValidateTokenId(opts *bind.CallOpts, tokenId *big.Int) error
- type CtfExchangeCallerRaw
- type CtfExchangeCallerSession
- func (_CtfExchange *CtfExchangeCallerSession) Admins(arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCallerSession) DomainSeparator() ([32]byte, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetCollateral() (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetComplement(token *big.Int) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetConditionId(token *big.Int) ([32]byte, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetCtf() (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetMaxFeeRate() (*big.Int, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetOrderStatus(orderHash [32]byte) (OrderStatus, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetPolyProxyFactoryImplementation() (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetPolyProxyWalletAddress(_addr common.Address) (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetProxyFactory() (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetSafeAddress(_addr common.Address) (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetSafeFactory() (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) GetSafeFactoryImplementation() (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) HashOrder(order Order) ([32]byte, error)
- func (_CtfExchange *CtfExchangeCallerSession) IsAdmin(usr common.Address) (bool, error)
- func (_CtfExchange *CtfExchangeCallerSession) IsOperator(usr common.Address) (bool, error)
- func (_CtfExchange *CtfExchangeCallerSession) IsValidNonce(usr common.Address, nonce *big.Int) (bool, error)
- func (_CtfExchange *CtfExchangeCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCallerSession) Operators(arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeCallerSession) OrderStatus(arg0 [32]byte) (struct{ ... }, error)
- func (_CtfExchange *CtfExchangeCallerSession) ParentCollectionId() ([32]byte, error)
- func (_CtfExchange *CtfExchangeCallerSession) Paused() (bool, error)
- func (_CtfExchange *CtfExchangeCallerSession) ProxyFactory() (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) Registry(arg0 *big.Int) (struct{ ... }, error)
- func (_CtfExchange *CtfExchangeCallerSession) SafeFactory() (common.Address, error)
- func (_CtfExchange *CtfExchangeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_CtfExchange *CtfExchangeCallerSession) ValidateComplement(token *big.Int, complement *big.Int) error
- func (_CtfExchange *CtfExchangeCallerSession) ValidateOrder(order Order) error
- func (_CtfExchange *CtfExchangeCallerSession) ValidateOrderSignature(orderHash [32]byte, order Order) error
- func (_CtfExchange *CtfExchangeCallerSession) ValidateTokenId(tokenId *big.Int) error
- type CtfExchangeFeeCharged
- type CtfExchangeFeeChargedIterator
- type CtfExchangeFilterer
- func (_CtfExchange *CtfExchangeFilterer) FilterFeeCharged(opts *bind.FilterOpts, receiver []common.Address) (*CtfExchangeFeeChargedIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterNewAdmin(opts *bind.FilterOpts, newAdminAddress []common.Address, ...) (*CtfExchangeNewAdminIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterNewOperator(opts *bind.FilterOpts, newOperatorAddress []common.Address, ...) (*CtfExchangeNewOperatorIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterOrderCancelled(opts *bind.FilterOpts, orderHash [][32]byte) (*CtfExchangeOrderCancelledIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterOrderFilled(opts *bind.FilterOpts, orderHash [][32]byte, maker []common.Address, ...) (*CtfExchangeOrderFilledIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterOrdersMatched(opts *bind.FilterOpts, takerOrderHash [][32]byte, ...) (*CtfExchangeOrdersMatchedIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterProxyFactoryUpdated(opts *bind.FilterOpts, oldProxyFactory []common.Address, ...) (*CtfExchangeProxyFactoryUpdatedIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterRemovedAdmin(opts *bind.FilterOpts, removedAdmin []common.Address, admin []common.Address) (*CtfExchangeRemovedAdminIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterRemovedOperator(opts *bind.FilterOpts, removedOperator []common.Address, ...) (*CtfExchangeRemovedOperatorIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterSafeFactoryUpdated(opts *bind.FilterOpts, oldSafeFactory []common.Address, ...) (*CtfExchangeSafeFactoryUpdatedIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterTokenRegistered(opts *bind.FilterOpts, token0 []*big.Int, token1 []*big.Int, ...) (*CtfExchangeTokenRegisteredIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterTradingPaused(opts *bind.FilterOpts, pauser []common.Address) (*CtfExchangeTradingPausedIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) FilterTradingUnpaused(opts *bind.FilterOpts, pauser []common.Address) (*CtfExchangeTradingUnpausedIterator, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseFeeCharged(log types.Log) (*CtfExchangeFeeCharged, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseNewAdmin(log types.Log) (*CtfExchangeNewAdmin, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseNewOperator(log types.Log) (*CtfExchangeNewOperator, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseOrderCancelled(log types.Log) (*CtfExchangeOrderCancelled, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseOrderFilled(log types.Log) (*CtfExchangeOrderFilled, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseOrdersMatched(log types.Log) (*CtfExchangeOrdersMatched, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseProxyFactoryUpdated(log types.Log) (*CtfExchangeProxyFactoryUpdated, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseRemovedAdmin(log types.Log) (*CtfExchangeRemovedAdmin, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseRemovedOperator(log types.Log) (*CtfExchangeRemovedOperator, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseSafeFactoryUpdated(log types.Log) (*CtfExchangeSafeFactoryUpdated, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseTokenRegistered(log types.Log) (*CtfExchangeTokenRegistered, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseTradingPaused(log types.Log) (*CtfExchangeTradingPaused, error)
- func (_CtfExchange *CtfExchangeFilterer) ParseTradingUnpaused(log types.Log) (*CtfExchangeTradingUnpaused, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchFeeCharged(opts *bind.WatchOpts, sink chan<- *CtfExchangeFeeCharged, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *CtfExchangeNewAdmin, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchNewOperator(opts *bind.WatchOpts, sink chan<- *CtfExchangeNewOperator, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *CtfExchangeOrderCancelled, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchOrderFilled(opts *bind.WatchOpts, sink chan<- *CtfExchangeOrderFilled, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchOrdersMatched(opts *bind.WatchOpts, sink chan<- *CtfExchangeOrdersMatched, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchProxyFactoryUpdated(opts *bind.WatchOpts, sink chan<- *CtfExchangeProxyFactoryUpdated, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchRemovedAdmin(opts *bind.WatchOpts, sink chan<- *CtfExchangeRemovedAdmin, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchRemovedOperator(opts *bind.WatchOpts, sink chan<- *CtfExchangeRemovedOperator, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchSafeFactoryUpdated(opts *bind.WatchOpts, sink chan<- *CtfExchangeSafeFactoryUpdated, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *CtfExchangeTokenRegistered, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchTradingPaused(opts *bind.WatchOpts, sink chan<- *CtfExchangeTradingPaused, ...) (event.Subscription, error)
- func (_CtfExchange *CtfExchangeFilterer) WatchTradingUnpaused(opts *bind.WatchOpts, sink chan<- *CtfExchangeTradingUnpaused, ...) (event.Subscription, error)
- type CtfExchangeNewAdmin
- type CtfExchangeNewAdminIterator
- type CtfExchangeNewOperator
- type CtfExchangeNewOperatorIterator
- type CtfExchangeOrderCancelled
- type CtfExchangeOrderCancelledIterator
- type CtfExchangeOrderFilled
- type CtfExchangeOrderFilledIterator
- type CtfExchangeOrdersMatched
- type CtfExchangeOrdersMatchedIterator
- type CtfExchangeProxyFactoryUpdated
- type CtfExchangeProxyFactoryUpdatedIterator
- type CtfExchangeRaw
- func (_CtfExchange *CtfExchangeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CtfExchange *CtfExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CtfExchangeRemovedAdmin
- type CtfExchangeRemovedAdminIterator
- type CtfExchangeRemovedOperator
- type CtfExchangeRemovedOperatorIterator
- type CtfExchangeSafeFactoryUpdated
- type CtfExchangeSafeFactoryUpdatedIterator
- type CtfExchangeSession
- func (_CtfExchange *CtfExchangeSession) AddAdmin(admin_ common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) AddOperator(operator_ common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) Admins(arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeSession) CancelOrder(order Order) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) CancelOrders(orders []Order) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) DomainSeparator() ([32]byte, error)
- func (_CtfExchange *CtfExchangeSession) FillOrder(order Order, fillAmount *big.Int) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) FillOrders(orders []Order, fillAmounts []*big.Int) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) GetCollateral() (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) GetComplement(token *big.Int) (*big.Int, error)
- func (_CtfExchange *CtfExchangeSession) GetConditionId(token *big.Int) ([32]byte, error)
- func (_CtfExchange *CtfExchangeSession) GetCtf() (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) GetMaxFeeRate() (*big.Int, error)
- func (_CtfExchange *CtfExchangeSession) GetOrderStatus(orderHash [32]byte) (OrderStatus, error)
- func (_CtfExchange *CtfExchangeSession) GetPolyProxyFactoryImplementation() (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) GetPolyProxyWalletAddress(_addr common.Address) (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) GetProxyFactory() (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) GetSafeAddress(_addr common.Address) (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) GetSafeFactory() (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) GetSafeFactoryImplementation() (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) HashOrder(order Order) ([32]byte, error)
- func (_CtfExchange *CtfExchangeSession) IncrementNonce() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) IsAdmin(usr common.Address) (bool, error)
- func (_CtfExchange *CtfExchangeSession) IsOperator(usr common.Address) (bool, error)
- func (_CtfExchange *CtfExchangeSession) IsValidNonce(usr common.Address, nonce *big.Int) (bool, error)
- func (_CtfExchange *CtfExchangeSession) MatchOrders(takerOrder Order, makerOrders []Order, takerFillAmount *big.Int, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) Operators(arg0 common.Address) (*big.Int, error)
- func (_CtfExchange *CtfExchangeSession) OrderStatus(arg0 [32]byte) (struct{ ... }, error)
- func (_CtfExchange *CtfExchangeSession) ParentCollectionId() ([32]byte, error)
- func (_CtfExchange *CtfExchangeSession) PauseTrading() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) Paused() (bool, error)
- func (_CtfExchange *CtfExchangeSession) ProxyFactory() (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) RegisterToken(token *big.Int, complement *big.Int, conditionId [32]byte) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) Registry(arg0 *big.Int) (struct{ ... }, error)
- func (_CtfExchange *CtfExchangeSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) RemoveOperator(operator common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) RenounceAdminRole() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) RenounceOperatorRole() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) SafeFactory() (common.Address, error)
- func (_CtfExchange *CtfExchangeSession) SetProxyFactory(_newProxyFactory common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) SetSafeFactory(_newSafeFactory common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_CtfExchange *CtfExchangeSession) UnpauseTrading() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeSession) ValidateComplement(token *big.Int, complement *big.Int) error
- func (_CtfExchange *CtfExchangeSession) ValidateOrder(order Order) error
- func (_CtfExchange *CtfExchangeSession) ValidateOrderSignature(orderHash [32]byte, order Order) error
- func (_CtfExchange *CtfExchangeSession) ValidateTokenId(tokenId *big.Int) error
- type CtfExchangeTokenRegistered
- type CtfExchangeTokenRegisteredIterator
- type CtfExchangeTradingPaused
- type CtfExchangeTradingPausedIterator
- type CtfExchangeTradingUnpaused
- type CtfExchangeTradingUnpausedIterator
- type CtfExchangeTransactor
- func (_CtfExchange *CtfExchangeTransactor) AddAdmin(opts *bind.TransactOpts, admin_ common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) AddOperator(opts *bind.TransactOpts, operator_ common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) CancelOrder(opts *bind.TransactOpts, order Order) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) CancelOrders(opts *bind.TransactOpts, orders []Order) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) FillOrder(opts *bind.TransactOpts, order Order, fillAmount *big.Int) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) FillOrders(opts *bind.TransactOpts, orders []Order, fillAmounts []*big.Int) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) IncrementNonce(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) MatchOrders(opts *bind.TransactOpts, takerOrder Order, makerOrders []Order, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) PauseTrading(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) RegisterToken(opts *bind.TransactOpts, token *big.Int, complement *big.Int, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) RemoveAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) RemoveOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) RenounceAdminRole(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) RenounceOperatorRole(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) SetProxyFactory(opts *bind.TransactOpts, _newProxyFactory common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) SetSafeFactory(opts *bind.TransactOpts, _newSafeFactory common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactor) UnpauseTrading(opts *bind.TransactOpts) (*types.Transaction, error)
- type CtfExchangeTransactorRaw
- type CtfExchangeTransactorSession
- func (_CtfExchange *CtfExchangeTransactorSession) AddAdmin(admin_ common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) AddOperator(operator_ common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) CancelOrder(order Order) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) CancelOrders(orders []Order) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) FillOrder(order Order, fillAmount *big.Int) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) FillOrders(orders []Order, fillAmounts []*big.Int) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) IncrementNonce() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) MatchOrders(takerOrder Order, makerOrders []Order, takerFillAmount *big.Int, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) PauseTrading() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) RegisterToken(token *big.Int, complement *big.Int, conditionId [32]byte) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) RenounceAdminRole() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) RenounceOperatorRole() (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) SetProxyFactory(_newProxyFactory common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) SetSafeFactory(_newSafeFactory common.Address) (*types.Transaction, error)
- func (_CtfExchange *CtfExchangeTransactorSession) UnpauseTrading() (*types.Transaction, error)
- type Order
- type OrderStatus
Constants ¶
This section is empty.
Variables ¶
var CtfExchangeABI = CtfExchangeMetaData.ABI
CtfExchangeABI is the input ABI used to generate the binding from. Deprecated: Use CtfExchangeMetaData.ABI instead.
var CtfExchangeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_collateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_ctf\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_proxyFactory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_safeFactory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidComplement\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTokenId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MakingGtRemaining\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MismatchedTokenIds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAdmin\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotCrossing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotOperator\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotTaker\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OrderExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OrderFilledOrCancelled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Paused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TooLittleTokensReceived\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeeCharged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAdminAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"NewAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOperatorAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"NewOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makerAssetId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"takerAssetId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makerAmountFilled\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"takerAmountFilled\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"OrderFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"takerOrderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"takerOrderMaker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makerAssetId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"takerAssetId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makerAmountFilled\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"takerAmountFilled\",\"type\":\"uint256\"}],\"name\":\"OrdersMatched\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldProxyFactory\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newProxyFactory\",\"type\":\"address\"}],\"name\":\"ProxyFactoryUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"removedAdmin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"RemovedAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"removedOperator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"RemovedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSafeFactory\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSafeFactory\",\"type\":\"address\"}],\"name\":\"SafeFactoryUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"token0\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"token1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"conditionId\",\"type\":\"bytes32\"}],\"name\":\"TokenRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pauser\",\"type\":\"address\"}],\"name\":\"TradingPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pauser\",\"type\":\"address\"}],\"name\":\"TradingUnpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"}],\"name\":\"addAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator_\",\"type\":\"address\"}],\"name\":\"addOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"admins\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"cancelOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"}],\"name\":\"cancelOrders\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domainSeparator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"fillAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[]\",\"name\":\"fillAmounts\",\"type\":\"uint256[]\"}],\"name\":\"fillOrders\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCollateral\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"name\":\"getComplement\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"name\":\"getConditionId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCtf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"getOrderStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isFilledOrCancelled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"remaining\",\"type\":\"uint256\"}],\"internalType\":\"structOrderStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPolyProxyFactoryImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"getPolyProxyWalletAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProxyFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"getSafeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSafeFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSafeFactoryImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"hashOrder\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"incrementNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"}],\"name\":\"isAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"isValidNonce\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder\",\"name\":\"takerOrder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder[]\",\"name\":\"makerOrders\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"takerFillAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"makerFillAmounts\",\"type\":\"uint256[]\"}],\"name\":\"matchOrders\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"operators\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"orderStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isFilledOrCancelled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"remaining\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"parentCollectionId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauseTrading\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"complement\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conditionId\",\"type\":\"bytes32\"}],\"name\":\"registerToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"complement\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conditionId\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"removeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"removeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceAdminRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOperatorRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"safeFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newProxyFactory\",\"type\":\"address\"}],\"name\":\"setProxyFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newSafeFactory\",\"type\":\"address\"}],\"name\":\"setSafeFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpauseTrading\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"complement\",\"type\":\"uint256\"}],\"name\":\"validateComplement\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"validateOrder\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeRateBps\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"enumSignatureType\",\"name\":\"signatureType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"validateOrderSignature\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"validateTokenId\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
CtfExchangeMetaData contains all meta data concerning the CtfExchange contract.
Functions ¶
This section is empty.
Types ¶
type CtfExchange ¶
type CtfExchange struct { CtfExchangeCaller // Read-only binding to the contract CtfExchangeTransactor // Write-only binding to the contract CtfExchangeFilterer // Log filterer for contract events }
CtfExchange is an auto generated Go binding around an Ethereum contract.
func NewCtfExchange ¶
func NewCtfExchange(address common.Address, backend bind.ContractBackend) (*CtfExchange, error)
NewCtfExchange creates a new instance of CtfExchange, bound to a specific deployed contract.
type CtfExchangeCaller ¶
type CtfExchangeCaller struct {
// contains filtered or unexported fields
}
CtfExchangeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCtfExchangeCaller ¶
func NewCtfExchangeCaller(address common.Address, caller bind.ContractCaller) (*CtfExchangeCaller, error)
NewCtfExchangeCaller creates a new read-only instance of CtfExchange, bound to a specific deployed contract.
func (*CtfExchangeCaller) Admins ¶
func (_CtfExchange *CtfExchangeCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(uint256)
func (*CtfExchangeCaller) DomainSeparator ¶
func (_CtfExchange *CtfExchangeCaller) DomainSeparator(opts *bind.CallOpts) ([32]byte, error)
DomainSeparator is a free data retrieval call binding the contract method 0xf698da25.
Solidity: function domainSeparator() view returns(bytes32)
func (*CtfExchangeCaller) GetCollateral ¶
GetCollateral is a free data retrieval call binding the contract method 0x5c1548fb.
Solidity: function getCollateral() view returns(address)
func (*CtfExchangeCaller) GetComplement ¶
func (_CtfExchange *CtfExchangeCaller) GetComplement(opts *bind.CallOpts, token *big.Int) (*big.Int, error)
GetComplement is a free data retrieval call binding the contract method 0xa10f3dce.
Solidity: function getComplement(uint256 token) view returns(uint256)
func (*CtfExchangeCaller) GetConditionId ¶
func (_CtfExchange *CtfExchangeCaller) GetConditionId(opts *bind.CallOpts, token *big.Int) ([32]byte, error)
GetConditionId is a free data retrieval call binding the contract method 0xd7fb272f.
Solidity: function getConditionId(uint256 token) view returns(bytes32)
func (*CtfExchangeCaller) GetCtf ¶
GetCtf is a free data retrieval call binding the contract method 0x3b521d78.
Solidity: function getCtf() view returns(address)
func (*CtfExchangeCaller) GetMaxFeeRate ¶
GetMaxFeeRate is a free data retrieval call binding the contract method 0x4a2a11f5.
Solidity: function getMaxFeeRate() pure returns(uint256)
func (*CtfExchangeCaller) GetOrderStatus ¶
func (_CtfExchange *CtfExchangeCaller) GetOrderStatus(opts *bind.CallOpts, orderHash [32]byte) (OrderStatus, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns((bool,uint256))
func (*CtfExchangeCaller) GetPolyProxyFactoryImplementation ¶
func (_CtfExchange *CtfExchangeCaller) GetPolyProxyFactoryImplementation(opts *bind.CallOpts) (common.Address, error)
GetPolyProxyFactoryImplementation is a free data retrieval call binding the contract method 0x06b9d691.
Solidity: function getPolyProxyFactoryImplementation() view returns(address)
func (*CtfExchangeCaller) GetPolyProxyWalletAddress ¶
func (_CtfExchange *CtfExchangeCaller) GetPolyProxyWalletAddress(opts *bind.CallOpts, _addr common.Address) (common.Address, error)
GetPolyProxyWalletAddress is a free data retrieval call binding the contract method 0xedef7d8e.
Solidity: function getPolyProxyWalletAddress(address _addr) view returns(address)
func (*CtfExchangeCaller) GetProxyFactory ¶
GetProxyFactory is a free data retrieval call binding the contract method 0xb28c51c0.
Solidity: function getProxyFactory() view returns(address)
func (*CtfExchangeCaller) GetSafeAddress ¶
func (_CtfExchange *CtfExchangeCaller) GetSafeAddress(opts *bind.CallOpts, _addr common.Address) (common.Address, error)
GetSafeAddress is a free data retrieval call binding the contract method 0xa287bdf1.
Solidity: function getSafeAddress(address _addr) view returns(address)
func (*CtfExchangeCaller) GetSafeFactory ¶
GetSafeFactory is a free data retrieval call binding the contract method 0x75d7370a.
Solidity: function getSafeFactory() view returns(address)
func (*CtfExchangeCaller) GetSafeFactoryImplementation ¶
func (_CtfExchange *CtfExchangeCaller) GetSafeFactoryImplementation(opts *bind.CallOpts) (common.Address, error)
GetSafeFactoryImplementation is a free data retrieval call binding the contract method 0xe03ac3d0.
Solidity: function getSafeFactoryImplementation() view returns(address)
func (*CtfExchangeCaller) HashOrder ¶
func (_CtfExchange *CtfExchangeCaller) HashOrder(opts *bind.CallOpts, order Order) ([32]byte, error)
HashOrder is a free data retrieval call binding the contract method 0xe50e4f97.
Solidity: function hashOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns(bytes32)
func (*CtfExchangeCaller) IsAdmin ¶
func (_CtfExchange *CtfExchangeCaller) IsAdmin(opts *bind.CallOpts, usr common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address usr) view returns(bool)
func (*CtfExchangeCaller) IsOperator ¶
func (_CtfExchange *CtfExchangeCaller) IsOperator(opts *bind.CallOpts, usr common.Address) (bool, error)
IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.
Solidity: function isOperator(address usr) view returns(bool)
func (*CtfExchangeCaller) IsValidNonce ¶
func (_CtfExchange *CtfExchangeCaller) IsValidNonce(opts *bind.CallOpts, usr common.Address, nonce *big.Int) (bool, error)
IsValidNonce is a free data retrieval call binding the contract method 0x0647ee20.
Solidity: function isValidNonce(address usr, uint256 nonce) view returns(bool)
func (*CtfExchangeCaller) Nonces ¶
func (_CtfExchange *CtfExchangeCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*CtfExchangeCaller) Operators ¶
func (_CtfExchange *CtfExchangeCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Operators is a free data retrieval call binding the contract method 0x13e7c9d8.
Solidity: function operators(address ) view returns(uint256)
func (*CtfExchangeCaller) OrderStatus ¶
func (_CtfExchange *CtfExchangeCaller) OrderStatus(opts *bind.CallOpts, arg0 [32]byte) (struct { IsFilledOrCancelled bool Remaining *big.Int }, error)
OrderStatus is a free data retrieval call binding the contract method 0x2dff692d.
Solidity: function orderStatus(bytes32 ) view returns(bool isFilledOrCancelled, uint256 remaining)
func (*CtfExchangeCaller) ParentCollectionId ¶
func (_CtfExchange *CtfExchangeCaller) ParentCollectionId(opts *bind.CallOpts) ([32]byte, error)
ParentCollectionId is a free data retrieval call binding the contract method 0x44bea37e.
Solidity: function parentCollectionId() view returns(bytes32)
func (*CtfExchangeCaller) Paused ¶
func (_CtfExchange *CtfExchangeCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*CtfExchangeCaller) ProxyFactory ¶
ProxyFactory is a free data retrieval call binding the contract method 0xc10f1a75.
Solidity: function proxyFactory() view returns(address)
func (*CtfExchangeCaller) Registry ¶
func (_CtfExchange *CtfExchangeCaller) Registry(opts *bind.CallOpts, arg0 *big.Int) (struct { Complement *big.Int ConditionId [32]byte }, error)
Registry is a free data retrieval call binding the contract method 0x5893253c.
Solidity: function registry(uint256 ) view returns(uint256 complement, bytes32 conditionId)
func (*CtfExchangeCaller) SafeFactory ¶
SafeFactory is a free data retrieval call binding the contract method 0x131e7e1c.
Solidity: function safeFactory() view returns(address)
func (*CtfExchangeCaller) SupportsInterface ¶
func (_CtfExchange *CtfExchangeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CtfExchangeCaller) ValidateComplement ¶
func (_CtfExchange *CtfExchangeCaller) ValidateComplement(opts *bind.CallOpts, token *big.Int, complement *big.Int) error
ValidateComplement is a free data retrieval call binding the contract method 0xd82da838.
Solidity: function validateComplement(uint256 token, uint256 complement) view returns()
func (*CtfExchangeCaller) ValidateOrder ¶
func (_CtfExchange *CtfExchangeCaller) ValidateOrder(opts *bind.CallOpts, order Order) error
ValidateOrder is a free data retrieval call binding the contract method 0x654f0ce4.
Solidity: function validateOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns()
func (*CtfExchangeCaller) ValidateOrderSignature ¶
func (_CtfExchange *CtfExchangeCaller) ValidateOrderSignature(opts *bind.CallOpts, orderHash [32]byte, order Order) error
ValidateOrderSignature is a free data retrieval call binding the contract method 0xe2eec405.
Solidity: function validateOrderSignature(bytes32 orderHash, (uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns()
func (*CtfExchangeCaller) ValidateTokenId ¶
ValidateTokenId is a free data retrieval call binding the contract method 0x34600901.
Solidity: function validateTokenId(uint256 tokenId) view returns()
type CtfExchangeCallerRaw ¶
type CtfExchangeCallerRaw struct {
Contract *CtfExchangeCaller // Generic read-only contract binding to access the raw methods on
}
CtfExchangeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CtfExchangeCallerRaw) Call ¶
func (_CtfExchange *CtfExchangeCallerRaw) 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 CtfExchangeCallerSession ¶
type CtfExchangeCallerSession struct { Contract *CtfExchangeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CtfExchangeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CtfExchangeCallerSession) Admins ¶
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(uint256)
func (*CtfExchangeCallerSession) DomainSeparator ¶
func (_CtfExchange *CtfExchangeCallerSession) DomainSeparator() ([32]byte, error)
DomainSeparator is a free data retrieval call binding the contract method 0xf698da25.
Solidity: function domainSeparator() view returns(bytes32)
func (*CtfExchangeCallerSession) GetCollateral ¶
func (_CtfExchange *CtfExchangeCallerSession) GetCollateral() (common.Address, error)
GetCollateral is a free data retrieval call binding the contract method 0x5c1548fb.
Solidity: function getCollateral() view returns(address)
func (*CtfExchangeCallerSession) GetComplement ¶
GetComplement is a free data retrieval call binding the contract method 0xa10f3dce.
Solidity: function getComplement(uint256 token) view returns(uint256)
func (*CtfExchangeCallerSession) GetConditionId ¶
func (_CtfExchange *CtfExchangeCallerSession) GetConditionId(token *big.Int) ([32]byte, error)
GetConditionId is a free data retrieval call binding the contract method 0xd7fb272f.
Solidity: function getConditionId(uint256 token) view returns(bytes32)
func (*CtfExchangeCallerSession) GetCtf ¶
func (_CtfExchange *CtfExchangeCallerSession) GetCtf() (common.Address, error)
GetCtf is a free data retrieval call binding the contract method 0x3b521d78.
Solidity: function getCtf() view returns(address)
func (*CtfExchangeCallerSession) GetMaxFeeRate ¶
func (_CtfExchange *CtfExchangeCallerSession) GetMaxFeeRate() (*big.Int, error)
GetMaxFeeRate is a free data retrieval call binding the contract method 0x4a2a11f5.
Solidity: function getMaxFeeRate() pure returns(uint256)
func (*CtfExchangeCallerSession) GetOrderStatus ¶
func (_CtfExchange *CtfExchangeCallerSession) GetOrderStatus(orderHash [32]byte) (OrderStatus, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns((bool,uint256))
func (*CtfExchangeCallerSession) GetPolyProxyFactoryImplementation ¶
func (_CtfExchange *CtfExchangeCallerSession) GetPolyProxyFactoryImplementation() (common.Address, error)
GetPolyProxyFactoryImplementation is a free data retrieval call binding the contract method 0x06b9d691.
Solidity: function getPolyProxyFactoryImplementation() view returns(address)
func (*CtfExchangeCallerSession) GetPolyProxyWalletAddress ¶
func (_CtfExchange *CtfExchangeCallerSession) GetPolyProxyWalletAddress(_addr common.Address) (common.Address, error)
GetPolyProxyWalletAddress is a free data retrieval call binding the contract method 0xedef7d8e.
Solidity: function getPolyProxyWalletAddress(address _addr) view returns(address)
func (*CtfExchangeCallerSession) GetProxyFactory ¶
func (_CtfExchange *CtfExchangeCallerSession) GetProxyFactory() (common.Address, error)
GetProxyFactory is a free data retrieval call binding the contract method 0xb28c51c0.
Solidity: function getProxyFactory() view returns(address)
func (*CtfExchangeCallerSession) GetSafeAddress ¶
func (_CtfExchange *CtfExchangeCallerSession) GetSafeAddress(_addr common.Address) (common.Address, error)
GetSafeAddress is a free data retrieval call binding the contract method 0xa287bdf1.
Solidity: function getSafeAddress(address _addr) view returns(address)
func (*CtfExchangeCallerSession) GetSafeFactory ¶
func (_CtfExchange *CtfExchangeCallerSession) GetSafeFactory() (common.Address, error)
GetSafeFactory is a free data retrieval call binding the contract method 0x75d7370a.
Solidity: function getSafeFactory() view returns(address)
func (*CtfExchangeCallerSession) GetSafeFactoryImplementation ¶
func (_CtfExchange *CtfExchangeCallerSession) GetSafeFactoryImplementation() (common.Address, error)
GetSafeFactoryImplementation is a free data retrieval call binding the contract method 0xe03ac3d0.
Solidity: function getSafeFactoryImplementation() view returns(address)
func (*CtfExchangeCallerSession) HashOrder ¶
func (_CtfExchange *CtfExchangeCallerSession) HashOrder(order Order) ([32]byte, error)
HashOrder is a free data retrieval call binding the contract method 0xe50e4f97.
Solidity: function hashOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns(bytes32)
func (*CtfExchangeCallerSession) IsAdmin ¶
func (_CtfExchange *CtfExchangeCallerSession) IsAdmin(usr common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address usr) view returns(bool)
func (*CtfExchangeCallerSession) IsOperator ¶
func (_CtfExchange *CtfExchangeCallerSession) IsOperator(usr common.Address) (bool, error)
IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.
Solidity: function isOperator(address usr) view returns(bool)
func (*CtfExchangeCallerSession) IsValidNonce ¶
func (_CtfExchange *CtfExchangeCallerSession) IsValidNonce(usr common.Address, nonce *big.Int) (bool, error)
IsValidNonce is a free data retrieval call binding the contract method 0x0647ee20.
Solidity: function isValidNonce(address usr, uint256 nonce) view returns(bool)
func (*CtfExchangeCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*CtfExchangeCallerSession) Operators ¶
Operators is a free data retrieval call binding the contract method 0x13e7c9d8.
Solidity: function operators(address ) view returns(uint256)
func (*CtfExchangeCallerSession) OrderStatus ¶
func (_CtfExchange *CtfExchangeCallerSession) OrderStatus(arg0 [32]byte) (struct { IsFilledOrCancelled bool Remaining *big.Int }, error)
OrderStatus is a free data retrieval call binding the contract method 0x2dff692d.
Solidity: function orderStatus(bytes32 ) view returns(bool isFilledOrCancelled, uint256 remaining)
func (*CtfExchangeCallerSession) ParentCollectionId ¶
func (_CtfExchange *CtfExchangeCallerSession) ParentCollectionId() ([32]byte, error)
ParentCollectionId is a free data retrieval call binding the contract method 0x44bea37e.
Solidity: function parentCollectionId() view returns(bytes32)
func (*CtfExchangeCallerSession) Paused ¶
func (_CtfExchange *CtfExchangeCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*CtfExchangeCallerSession) ProxyFactory ¶
func (_CtfExchange *CtfExchangeCallerSession) ProxyFactory() (common.Address, error)
ProxyFactory is a free data retrieval call binding the contract method 0xc10f1a75.
Solidity: function proxyFactory() view returns(address)
func (*CtfExchangeCallerSession) Registry ¶
func (_CtfExchange *CtfExchangeCallerSession) Registry(arg0 *big.Int) (struct { Complement *big.Int ConditionId [32]byte }, error)
Registry is a free data retrieval call binding the contract method 0x5893253c.
Solidity: function registry(uint256 ) view returns(uint256 complement, bytes32 conditionId)
func (*CtfExchangeCallerSession) SafeFactory ¶
func (_CtfExchange *CtfExchangeCallerSession) SafeFactory() (common.Address, error)
SafeFactory is a free data retrieval call binding the contract method 0x131e7e1c.
Solidity: function safeFactory() view returns(address)
func (*CtfExchangeCallerSession) SupportsInterface ¶
func (_CtfExchange *CtfExchangeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CtfExchangeCallerSession) ValidateComplement ¶
func (_CtfExchange *CtfExchangeCallerSession) ValidateComplement(token *big.Int, complement *big.Int) error
ValidateComplement is a free data retrieval call binding the contract method 0xd82da838.
Solidity: function validateComplement(uint256 token, uint256 complement) view returns()
func (*CtfExchangeCallerSession) ValidateOrder ¶
func (_CtfExchange *CtfExchangeCallerSession) ValidateOrder(order Order) error
ValidateOrder is a free data retrieval call binding the contract method 0x654f0ce4.
Solidity: function validateOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns()
func (*CtfExchangeCallerSession) ValidateOrderSignature ¶
func (_CtfExchange *CtfExchangeCallerSession) ValidateOrderSignature(orderHash [32]byte, order Order) error
ValidateOrderSignature is a free data retrieval call binding the contract method 0xe2eec405.
Solidity: function validateOrderSignature(bytes32 orderHash, (uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns()
func (*CtfExchangeCallerSession) ValidateTokenId ¶
func (_CtfExchange *CtfExchangeCallerSession) ValidateTokenId(tokenId *big.Int) error
ValidateTokenId is a free data retrieval call binding the contract method 0x34600901.
Solidity: function validateTokenId(uint256 tokenId) view returns()
type CtfExchangeFeeCharged ¶
type CtfExchangeFeeCharged struct { Receiver common.Address TokenId *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
CtfExchangeFeeCharged represents a FeeCharged event raised by the CtfExchange contract.
type CtfExchangeFeeChargedIterator ¶
type CtfExchangeFeeChargedIterator struct { Event *CtfExchangeFeeCharged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeFeeChargedIterator is returned from FilterFeeCharged and is used to iterate over the raw logs and unpacked data for FeeCharged events raised by the CtfExchange contract.
func (*CtfExchangeFeeChargedIterator) Close ¶
func (it *CtfExchangeFeeChargedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeFeeChargedIterator) Error ¶
func (it *CtfExchangeFeeChargedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeFeeChargedIterator) Next ¶
func (it *CtfExchangeFeeChargedIterator) 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 CtfExchangeFilterer ¶
type CtfExchangeFilterer struct {
// contains filtered or unexported fields
}
CtfExchangeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCtfExchangeFilterer ¶
func NewCtfExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*CtfExchangeFilterer, error)
NewCtfExchangeFilterer creates a new log filterer instance of CtfExchange, bound to a specific deployed contract.
func (*CtfExchangeFilterer) FilterFeeCharged ¶
func (_CtfExchange *CtfExchangeFilterer) FilterFeeCharged(opts *bind.FilterOpts, receiver []common.Address) (*CtfExchangeFeeChargedIterator, error)
FilterFeeCharged is a free log retrieval operation binding the contract event 0xacffcc86834d0f1a64b0d5a675798deed6ff0bcfc2231edd3480e7288dba7ff4.
Solidity: event FeeCharged(address indexed receiver, uint256 tokenId, uint256 amount)
func (*CtfExchangeFilterer) FilterNewAdmin ¶
func (_CtfExchange *CtfExchangeFilterer) FilterNewAdmin(opts *bind.FilterOpts, newAdminAddress []common.Address, admin []common.Address) (*CtfExchangeNewAdminIterator, error)
FilterNewAdmin is a free log retrieval operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.
Solidity: event NewAdmin(address indexed newAdminAddress, address indexed admin)
func (*CtfExchangeFilterer) FilterNewOperator ¶
func (_CtfExchange *CtfExchangeFilterer) FilterNewOperator(opts *bind.FilterOpts, newOperatorAddress []common.Address, admin []common.Address) (*CtfExchangeNewOperatorIterator, error)
FilterNewOperator is a free log retrieval operation binding the contract event 0xf1e04d73c4304b5ff164f9d10c7473e2a1593b740674a6107975e2a7001c1e5c.
Solidity: event NewOperator(address indexed newOperatorAddress, address indexed admin)
func (*CtfExchangeFilterer) FilterOrderCancelled ¶
func (_CtfExchange *CtfExchangeFilterer) FilterOrderCancelled(opts *bind.FilterOpts, orderHash [][32]byte) (*CtfExchangeOrderCancelledIterator, error)
FilterOrderCancelled is a free log retrieval operation binding the contract event 0x5152abf959f6564662358c2e52b702259b78bac5ee7842a0f01937e670efcc7d.
Solidity: event OrderCancelled(bytes32 indexed orderHash)
func (*CtfExchangeFilterer) FilterOrderFilled ¶
func (_CtfExchange *CtfExchangeFilterer) FilterOrderFilled(opts *bind.FilterOpts, orderHash [][32]byte, maker []common.Address, taker []common.Address) (*CtfExchangeOrderFilledIterator, error)
FilterOrderFilled is a free log retrieval operation binding the contract event 0xd0a08e8c493f9c94f29311604c9de1b4e8c8d4c06bd0c789af57f2d65bfec0f6.
Solidity: event OrderFilled(bytes32 indexed orderHash, address indexed maker, address indexed taker, uint256 makerAssetId, uint256 takerAssetId, uint256 makerAmountFilled, uint256 takerAmountFilled, uint256 fee)
func (*CtfExchangeFilterer) FilterOrdersMatched ¶
func (_CtfExchange *CtfExchangeFilterer) FilterOrdersMatched(opts *bind.FilterOpts, takerOrderHash [][32]byte, takerOrderMaker []common.Address) (*CtfExchangeOrdersMatchedIterator, error)
FilterOrdersMatched is a free log retrieval operation binding the contract event 0x63bf4d16b7fa898ef4c4b2b6d90fd201e9c56313b65638af6088d149d2ce956c.
Solidity: event OrdersMatched(bytes32 indexed takerOrderHash, address indexed takerOrderMaker, uint256 makerAssetId, uint256 takerAssetId, uint256 makerAmountFilled, uint256 takerAmountFilled)
func (*CtfExchangeFilterer) FilterProxyFactoryUpdated ¶
func (_CtfExchange *CtfExchangeFilterer) FilterProxyFactoryUpdated(opts *bind.FilterOpts, oldProxyFactory []common.Address, newProxyFactory []common.Address) (*CtfExchangeProxyFactoryUpdatedIterator, error)
FilterProxyFactoryUpdated is a free log retrieval operation binding the contract event 0x3053c6252a932554235c173caffc1913604dba3a41cee89516f631c4a1a50a37.
Solidity: event ProxyFactoryUpdated(address indexed oldProxyFactory, address indexed newProxyFactory)
func (*CtfExchangeFilterer) FilterRemovedAdmin ¶
func (_CtfExchange *CtfExchangeFilterer) FilterRemovedAdmin(opts *bind.FilterOpts, removedAdmin []common.Address, admin []common.Address) (*CtfExchangeRemovedAdminIterator, error)
FilterRemovedAdmin is a free log retrieval operation binding the contract event 0x787a2e12f4a55b658b8f573c32432ee11a5e8b51677d1e1e937aaf6a0bb5776e.
Solidity: event RemovedAdmin(address indexed removedAdmin, address indexed admin)
func (*CtfExchangeFilterer) FilterRemovedOperator ¶
func (_CtfExchange *CtfExchangeFilterer) FilterRemovedOperator(opts *bind.FilterOpts, removedOperator []common.Address, admin []common.Address) (*CtfExchangeRemovedOperatorIterator, error)
FilterRemovedOperator is a free log retrieval operation binding the contract event 0xf7262ed0443cc211121ceb1a80d69004f319245615a7488f951f1437fd91642c.
Solidity: event RemovedOperator(address indexed removedOperator, address indexed admin)
func (*CtfExchangeFilterer) FilterSafeFactoryUpdated ¶
func (_CtfExchange *CtfExchangeFilterer) FilterSafeFactoryUpdated(opts *bind.FilterOpts, oldSafeFactory []common.Address, newSafeFactory []common.Address) (*CtfExchangeSafeFactoryUpdatedIterator, error)
FilterSafeFactoryUpdated is a free log retrieval operation binding the contract event 0x9726d7faf7429d6b059560dc858ed769377ccdf8b7541eabe12b22548719831f.
Solidity: event SafeFactoryUpdated(address indexed oldSafeFactory, address indexed newSafeFactory)
func (*CtfExchangeFilterer) FilterTokenRegistered ¶
func (_CtfExchange *CtfExchangeFilterer) FilterTokenRegistered(opts *bind.FilterOpts, token0 []*big.Int, token1 []*big.Int, conditionId [][32]byte) (*CtfExchangeTokenRegisteredIterator, error)
FilterTokenRegistered is a free log retrieval operation binding the contract event 0xbc9a2432e8aeb48327246cddd6e872ef452812b4243c04e6bfb786a2cd8faf0d.
Solidity: event TokenRegistered(uint256 indexed token0, uint256 indexed token1, bytes32 indexed conditionId)
func (*CtfExchangeFilterer) FilterTradingPaused ¶
func (_CtfExchange *CtfExchangeFilterer) FilterTradingPaused(opts *bind.FilterOpts, pauser []common.Address) (*CtfExchangeTradingPausedIterator, error)
FilterTradingPaused is a free log retrieval operation binding the contract event 0x203c4bd3e526634f661575359ff30de3b0edaba6c2cb1eac60f730b6d2d9d536.
Solidity: event TradingPaused(address indexed pauser)
func (*CtfExchangeFilterer) FilterTradingUnpaused ¶
func (_CtfExchange *CtfExchangeFilterer) FilterTradingUnpaused(opts *bind.FilterOpts, pauser []common.Address) (*CtfExchangeTradingUnpausedIterator, error)
FilterTradingUnpaused is a free log retrieval operation binding the contract event 0xa1e8a54850dbd7f520bcc09f47bff152294b77b2081da545a7adf531b7ea283b.
Solidity: event TradingUnpaused(address indexed pauser)
func (*CtfExchangeFilterer) ParseFeeCharged ¶
func (_CtfExchange *CtfExchangeFilterer) ParseFeeCharged(log types.Log) (*CtfExchangeFeeCharged, error)
ParseFeeCharged is a log parse operation binding the contract event 0xacffcc86834d0f1a64b0d5a675798deed6ff0bcfc2231edd3480e7288dba7ff4.
Solidity: event FeeCharged(address indexed receiver, uint256 tokenId, uint256 amount)
func (*CtfExchangeFilterer) ParseNewAdmin ¶
func (_CtfExchange *CtfExchangeFilterer) ParseNewAdmin(log types.Log) (*CtfExchangeNewAdmin, error)
ParseNewAdmin is a log parse operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.
Solidity: event NewAdmin(address indexed newAdminAddress, address indexed admin)
func (*CtfExchangeFilterer) ParseNewOperator ¶
func (_CtfExchange *CtfExchangeFilterer) ParseNewOperator(log types.Log) (*CtfExchangeNewOperator, error)
ParseNewOperator is a log parse operation binding the contract event 0xf1e04d73c4304b5ff164f9d10c7473e2a1593b740674a6107975e2a7001c1e5c.
Solidity: event NewOperator(address indexed newOperatorAddress, address indexed admin)
func (*CtfExchangeFilterer) ParseOrderCancelled ¶
func (_CtfExchange *CtfExchangeFilterer) ParseOrderCancelled(log types.Log) (*CtfExchangeOrderCancelled, error)
ParseOrderCancelled is a log parse operation binding the contract event 0x5152abf959f6564662358c2e52b702259b78bac5ee7842a0f01937e670efcc7d.
Solidity: event OrderCancelled(bytes32 indexed orderHash)
func (*CtfExchangeFilterer) ParseOrderFilled ¶
func (_CtfExchange *CtfExchangeFilterer) ParseOrderFilled(log types.Log) (*CtfExchangeOrderFilled, error)
ParseOrderFilled is a log parse operation binding the contract event 0xd0a08e8c493f9c94f29311604c9de1b4e8c8d4c06bd0c789af57f2d65bfec0f6.
Solidity: event OrderFilled(bytes32 indexed orderHash, address indexed maker, address indexed taker, uint256 makerAssetId, uint256 takerAssetId, uint256 makerAmountFilled, uint256 takerAmountFilled, uint256 fee)
func (*CtfExchangeFilterer) ParseOrdersMatched ¶
func (_CtfExchange *CtfExchangeFilterer) ParseOrdersMatched(log types.Log) (*CtfExchangeOrdersMatched, error)
ParseOrdersMatched is a log parse operation binding the contract event 0x63bf4d16b7fa898ef4c4b2b6d90fd201e9c56313b65638af6088d149d2ce956c.
Solidity: event OrdersMatched(bytes32 indexed takerOrderHash, address indexed takerOrderMaker, uint256 makerAssetId, uint256 takerAssetId, uint256 makerAmountFilled, uint256 takerAmountFilled)
func (*CtfExchangeFilterer) ParseProxyFactoryUpdated ¶
func (_CtfExchange *CtfExchangeFilterer) ParseProxyFactoryUpdated(log types.Log) (*CtfExchangeProxyFactoryUpdated, error)
ParseProxyFactoryUpdated is a log parse operation binding the contract event 0x3053c6252a932554235c173caffc1913604dba3a41cee89516f631c4a1a50a37.
Solidity: event ProxyFactoryUpdated(address indexed oldProxyFactory, address indexed newProxyFactory)
func (*CtfExchangeFilterer) ParseRemovedAdmin ¶
func (_CtfExchange *CtfExchangeFilterer) ParseRemovedAdmin(log types.Log) (*CtfExchangeRemovedAdmin, error)
ParseRemovedAdmin is a log parse operation binding the contract event 0x787a2e12f4a55b658b8f573c32432ee11a5e8b51677d1e1e937aaf6a0bb5776e.
Solidity: event RemovedAdmin(address indexed removedAdmin, address indexed admin)
func (*CtfExchangeFilterer) ParseRemovedOperator ¶
func (_CtfExchange *CtfExchangeFilterer) ParseRemovedOperator(log types.Log) (*CtfExchangeRemovedOperator, error)
ParseRemovedOperator is a log parse operation binding the contract event 0xf7262ed0443cc211121ceb1a80d69004f319245615a7488f951f1437fd91642c.
Solidity: event RemovedOperator(address indexed removedOperator, address indexed admin)
func (*CtfExchangeFilterer) ParseSafeFactoryUpdated ¶
func (_CtfExchange *CtfExchangeFilterer) ParseSafeFactoryUpdated(log types.Log) (*CtfExchangeSafeFactoryUpdated, error)
ParseSafeFactoryUpdated is a log parse operation binding the contract event 0x9726d7faf7429d6b059560dc858ed769377ccdf8b7541eabe12b22548719831f.
Solidity: event SafeFactoryUpdated(address indexed oldSafeFactory, address indexed newSafeFactory)
func (*CtfExchangeFilterer) ParseTokenRegistered ¶
func (_CtfExchange *CtfExchangeFilterer) ParseTokenRegistered(log types.Log) (*CtfExchangeTokenRegistered, error)
ParseTokenRegistered is a log parse operation binding the contract event 0xbc9a2432e8aeb48327246cddd6e872ef452812b4243c04e6bfb786a2cd8faf0d.
Solidity: event TokenRegistered(uint256 indexed token0, uint256 indexed token1, bytes32 indexed conditionId)
func (*CtfExchangeFilterer) ParseTradingPaused ¶
func (_CtfExchange *CtfExchangeFilterer) ParseTradingPaused(log types.Log) (*CtfExchangeTradingPaused, error)
ParseTradingPaused is a log parse operation binding the contract event 0x203c4bd3e526634f661575359ff30de3b0edaba6c2cb1eac60f730b6d2d9d536.
Solidity: event TradingPaused(address indexed pauser)
func (*CtfExchangeFilterer) ParseTradingUnpaused ¶
func (_CtfExchange *CtfExchangeFilterer) ParseTradingUnpaused(log types.Log) (*CtfExchangeTradingUnpaused, error)
ParseTradingUnpaused is a log parse operation binding the contract event 0xa1e8a54850dbd7f520bcc09f47bff152294b77b2081da545a7adf531b7ea283b.
Solidity: event TradingUnpaused(address indexed pauser)
func (*CtfExchangeFilterer) WatchFeeCharged ¶
func (_CtfExchange *CtfExchangeFilterer) WatchFeeCharged(opts *bind.WatchOpts, sink chan<- *CtfExchangeFeeCharged, receiver []common.Address) (event.Subscription, error)
WatchFeeCharged is a free log subscription operation binding the contract event 0xacffcc86834d0f1a64b0d5a675798deed6ff0bcfc2231edd3480e7288dba7ff4.
Solidity: event FeeCharged(address indexed receiver, uint256 tokenId, uint256 amount)
func (*CtfExchangeFilterer) WatchNewAdmin ¶
func (_CtfExchange *CtfExchangeFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *CtfExchangeNewAdmin, newAdminAddress []common.Address, admin []common.Address) (event.Subscription, error)
WatchNewAdmin is a free log subscription operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.
Solidity: event NewAdmin(address indexed newAdminAddress, address indexed admin)
func (*CtfExchangeFilterer) WatchNewOperator ¶
func (_CtfExchange *CtfExchangeFilterer) WatchNewOperator(opts *bind.WatchOpts, sink chan<- *CtfExchangeNewOperator, newOperatorAddress []common.Address, admin []common.Address) (event.Subscription, error)
WatchNewOperator is a free log subscription operation binding the contract event 0xf1e04d73c4304b5ff164f9d10c7473e2a1593b740674a6107975e2a7001c1e5c.
Solidity: event NewOperator(address indexed newOperatorAddress, address indexed admin)
func (*CtfExchangeFilterer) WatchOrderCancelled ¶
func (_CtfExchange *CtfExchangeFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *CtfExchangeOrderCancelled, orderHash [][32]byte) (event.Subscription, error)
WatchOrderCancelled is a free log subscription operation binding the contract event 0x5152abf959f6564662358c2e52b702259b78bac5ee7842a0f01937e670efcc7d.
Solidity: event OrderCancelled(bytes32 indexed orderHash)
func (*CtfExchangeFilterer) WatchOrderFilled ¶
func (_CtfExchange *CtfExchangeFilterer) WatchOrderFilled(opts *bind.WatchOpts, sink chan<- *CtfExchangeOrderFilled, orderHash [][32]byte, maker []common.Address, taker []common.Address) (event.Subscription, error)
WatchOrderFilled is a free log subscription operation binding the contract event 0xd0a08e8c493f9c94f29311604c9de1b4e8c8d4c06bd0c789af57f2d65bfec0f6.
Solidity: event OrderFilled(bytes32 indexed orderHash, address indexed maker, address indexed taker, uint256 makerAssetId, uint256 takerAssetId, uint256 makerAmountFilled, uint256 takerAmountFilled, uint256 fee)
func (*CtfExchangeFilterer) WatchOrdersMatched ¶
func (_CtfExchange *CtfExchangeFilterer) WatchOrdersMatched(opts *bind.WatchOpts, sink chan<- *CtfExchangeOrdersMatched, takerOrderHash [][32]byte, takerOrderMaker []common.Address) (event.Subscription, error)
WatchOrdersMatched is a free log subscription operation binding the contract event 0x63bf4d16b7fa898ef4c4b2b6d90fd201e9c56313b65638af6088d149d2ce956c.
Solidity: event OrdersMatched(bytes32 indexed takerOrderHash, address indexed takerOrderMaker, uint256 makerAssetId, uint256 takerAssetId, uint256 makerAmountFilled, uint256 takerAmountFilled)
func (*CtfExchangeFilterer) WatchProxyFactoryUpdated ¶
func (_CtfExchange *CtfExchangeFilterer) WatchProxyFactoryUpdated(opts *bind.WatchOpts, sink chan<- *CtfExchangeProxyFactoryUpdated, oldProxyFactory []common.Address, newProxyFactory []common.Address) (event.Subscription, error)
WatchProxyFactoryUpdated is a free log subscription operation binding the contract event 0x3053c6252a932554235c173caffc1913604dba3a41cee89516f631c4a1a50a37.
Solidity: event ProxyFactoryUpdated(address indexed oldProxyFactory, address indexed newProxyFactory)
func (*CtfExchangeFilterer) WatchRemovedAdmin ¶
func (_CtfExchange *CtfExchangeFilterer) WatchRemovedAdmin(opts *bind.WatchOpts, sink chan<- *CtfExchangeRemovedAdmin, removedAdmin []common.Address, admin []common.Address) (event.Subscription, error)
WatchRemovedAdmin is a free log subscription operation binding the contract event 0x787a2e12f4a55b658b8f573c32432ee11a5e8b51677d1e1e937aaf6a0bb5776e.
Solidity: event RemovedAdmin(address indexed removedAdmin, address indexed admin)
func (*CtfExchangeFilterer) WatchRemovedOperator ¶
func (_CtfExchange *CtfExchangeFilterer) WatchRemovedOperator(opts *bind.WatchOpts, sink chan<- *CtfExchangeRemovedOperator, removedOperator []common.Address, admin []common.Address) (event.Subscription, error)
WatchRemovedOperator is a free log subscription operation binding the contract event 0xf7262ed0443cc211121ceb1a80d69004f319245615a7488f951f1437fd91642c.
Solidity: event RemovedOperator(address indexed removedOperator, address indexed admin)
func (*CtfExchangeFilterer) WatchSafeFactoryUpdated ¶
func (_CtfExchange *CtfExchangeFilterer) WatchSafeFactoryUpdated(opts *bind.WatchOpts, sink chan<- *CtfExchangeSafeFactoryUpdated, oldSafeFactory []common.Address, newSafeFactory []common.Address) (event.Subscription, error)
WatchSafeFactoryUpdated is a free log subscription operation binding the contract event 0x9726d7faf7429d6b059560dc858ed769377ccdf8b7541eabe12b22548719831f.
Solidity: event SafeFactoryUpdated(address indexed oldSafeFactory, address indexed newSafeFactory)
func (*CtfExchangeFilterer) WatchTokenRegistered ¶
func (_CtfExchange *CtfExchangeFilterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *CtfExchangeTokenRegistered, token0 []*big.Int, token1 []*big.Int, conditionId [][32]byte) (event.Subscription, error)
WatchTokenRegistered is a free log subscription operation binding the contract event 0xbc9a2432e8aeb48327246cddd6e872ef452812b4243c04e6bfb786a2cd8faf0d.
Solidity: event TokenRegistered(uint256 indexed token0, uint256 indexed token1, bytes32 indexed conditionId)
func (*CtfExchangeFilterer) WatchTradingPaused ¶
func (_CtfExchange *CtfExchangeFilterer) WatchTradingPaused(opts *bind.WatchOpts, sink chan<- *CtfExchangeTradingPaused, pauser []common.Address) (event.Subscription, error)
WatchTradingPaused is a free log subscription operation binding the contract event 0x203c4bd3e526634f661575359ff30de3b0edaba6c2cb1eac60f730b6d2d9d536.
Solidity: event TradingPaused(address indexed pauser)
func (*CtfExchangeFilterer) WatchTradingUnpaused ¶
func (_CtfExchange *CtfExchangeFilterer) WatchTradingUnpaused(opts *bind.WatchOpts, sink chan<- *CtfExchangeTradingUnpaused, pauser []common.Address) (event.Subscription, error)
WatchTradingUnpaused is a free log subscription operation binding the contract event 0xa1e8a54850dbd7f520bcc09f47bff152294b77b2081da545a7adf531b7ea283b.
Solidity: event TradingUnpaused(address indexed pauser)
type CtfExchangeNewAdmin ¶
type CtfExchangeNewAdmin struct { NewAdminAddress common.Address Admin common.Address Raw types.Log // Blockchain specific contextual infos }
CtfExchangeNewAdmin represents a NewAdmin event raised by the CtfExchange contract.
type CtfExchangeNewAdminIterator ¶
type CtfExchangeNewAdminIterator struct { Event *CtfExchangeNewAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the CtfExchange contract.
func (*CtfExchangeNewAdminIterator) Close ¶
func (it *CtfExchangeNewAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeNewAdminIterator) Error ¶
func (it *CtfExchangeNewAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeNewAdminIterator) Next ¶
func (it *CtfExchangeNewAdminIterator) 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 CtfExchangeNewOperator ¶
type CtfExchangeNewOperator struct { NewOperatorAddress common.Address Admin common.Address Raw types.Log // Blockchain specific contextual infos }
CtfExchangeNewOperator represents a NewOperator event raised by the CtfExchange contract.
type CtfExchangeNewOperatorIterator ¶
type CtfExchangeNewOperatorIterator struct { Event *CtfExchangeNewOperator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeNewOperatorIterator is returned from FilterNewOperator and is used to iterate over the raw logs and unpacked data for NewOperator events raised by the CtfExchange contract.
func (*CtfExchangeNewOperatorIterator) Close ¶
func (it *CtfExchangeNewOperatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeNewOperatorIterator) Error ¶
func (it *CtfExchangeNewOperatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeNewOperatorIterator) Next ¶
func (it *CtfExchangeNewOperatorIterator) 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 CtfExchangeOrderCancelled ¶
type CtfExchangeOrderCancelled struct { OrderHash [32]byte Raw types.Log // Blockchain specific contextual infos }
CtfExchangeOrderCancelled represents a OrderCancelled event raised by the CtfExchange contract.
type CtfExchangeOrderCancelledIterator ¶
type CtfExchangeOrderCancelledIterator struct { Event *CtfExchangeOrderCancelled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeOrderCancelledIterator is returned from FilterOrderCancelled and is used to iterate over the raw logs and unpacked data for OrderCancelled events raised by the CtfExchange contract.
func (*CtfExchangeOrderCancelledIterator) Close ¶
func (it *CtfExchangeOrderCancelledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeOrderCancelledIterator) Error ¶
func (it *CtfExchangeOrderCancelledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeOrderCancelledIterator) Next ¶
func (it *CtfExchangeOrderCancelledIterator) 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 CtfExchangeOrderFilled ¶
type CtfExchangeOrderFilled struct { OrderHash [32]byte Maker common.Address Taker common.Address MakerAssetId *big.Int TakerAssetId *big.Int MakerAmountFilled *big.Int TakerAmountFilled *big.Int Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
CtfExchangeOrderFilled represents a OrderFilled event raised by the CtfExchange contract.
func (CtfExchangeOrderFilled) MarshalJSON ¶
func (e CtfExchangeOrderFilled) MarshalJSON() ([]byte, error)
type CtfExchangeOrderFilledIterator ¶
type CtfExchangeOrderFilledIterator struct { Event *CtfExchangeOrderFilled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeOrderFilledIterator is returned from FilterOrderFilled and is used to iterate over the raw logs and unpacked data for OrderFilled events raised by the CtfExchange contract.
func (*CtfExchangeOrderFilledIterator) Close ¶
func (it *CtfExchangeOrderFilledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeOrderFilledIterator) Error ¶
func (it *CtfExchangeOrderFilledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeOrderFilledIterator) Next ¶
func (it *CtfExchangeOrderFilledIterator) 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 CtfExchangeOrdersMatched ¶
type CtfExchangeOrdersMatched struct { TakerOrderHash [32]byte TakerOrderMaker common.Address MakerAssetId *big.Int TakerAssetId *big.Int MakerAmountFilled *big.Int TakerAmountFilled *big.Int Raw types.Log // Blockchain specific contextual infos }
CtfExchangeOrdersMatched represents a OrdersMatched event raised by the CtfExchange contract.
type CtfExchangeOrdersMatchedIterator ¶
type CtfExchangeOrdersMatchedIterator struct { Event *CtfExchangeOrdersMatched // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeOrdersMatchedIterator is returned from FilterOrdersMatched and is used to iterate over the raw logs and unpacked data for OrdersMatched events raised by the CtfExchange contract.
func (*CtfExchangeOrdersMatchedIterator) Close ¶
func (it *CtfExchangeOrdersMatchedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeOrdersMatchedIterator) Error ¶
func (it *CtfExchangeOrdersMatchedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeOrdersMatchedIterator) Next ¶
func (it *CtfExchangeOrdersMatchedIterator) 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 CtfExchangeProxyFactoryUpdated ¶
type CtfExchangeProxyFactoryUpdated struct { OldProxyFactory common.Address NewProxyFactory common.Address Raw types.Log // Blockchain specific contextual infos }
CtfExchangeProxyFactoryUpdated represents a ProxyFactoryUpdated event raised by the CtfExchange contract.
type CtfExchangeProxyFactoryUpdatedIterator ¶
type CtfExchangeProxyFactoryUpdatedIterator struct { Event *CtfExchangeProxyFactoryUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeProxyFactoryUpdatedIterator is returned from FilterProxyFactoryUpdated and is used to iterate over the raw logs and unpacked data for ProxyFactoryUpdated events raised by the CtfExchange contract.
func (*CtfExchangeProxyFactoryUpdatedIterator) Close ¶
func (it *CtfExchangeProxyFactoryUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeProxyFactoryUpdatedIterator) Error ¶
func (it *CtfExchangeProxyFactoryUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeProxyFactoryUpdatedIterator) Next ¶
func (it *CtfExchangeProxyFactoryUpdatedIterator) 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 CtfExchangeRaw ¶
type CtfExchangeRaw struct {
Contract *CtfExchange // Generic contract binding to access the raw methods on
}
CtfExchangeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CtfExchangeRaw) Call ¶
func (_CtfExchange *CtfExchangeRaw) 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 (*CtfExchangeRaw) Transact ¶
func (_CtfExchange *CtfExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CtfExchangeRaw) Transfer ¶
func (_CtfExchange *CtfExchangeRaw) 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 CtfExchangeRemovedAdmin ¶
type CtfExchangeRemovedAdmin struct { RemovedAdmin common.Address Admin common.Address Raw types.Log // Blockchain specific contextual infos }
CtfExchangeRemovedAdmin represents a RemovedAdmin event raised by the CtfExchange contract.
type CtfExchangeRemovedAdminIterator ¶
type CtfExchangeRemovedAdminIterator struct { Event *CtfExchangeRemovedAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeRemovedAdminIterator is returned from FilterRemovedAdmin and is used to iterate over the raw logs and unpacked data for RemovedAdmin events raised by the CtfExchange contract.
func (*CtfExchangeRemovedAdminIterator) Close ¶
func (it *CtfExchangeRemovedAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeRemovedAdminIterator) Error ¶
func (it *CtfExchangeRemovedAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeRemovedAdminIterator) Next ¶
func (it *CtfExchangeRemovedAdminIterator) 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 CtfExchangeRemovedOperator ¶
type CtfExchangeRemovedOperator struct { RemovedOperator common.Address Admin common.Address Raw types.Log // Blockchain specific contextual infos }
CtfExchangeRemovedOperator represents a RemovedOperator event raised by the CtfExchange contract.
type CtfExchangeRemovedOperatorIterator ¶
type CtfExchangeRemovedOperatorIterator struct { Event *CtfExchangeRemovedOperator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeRemovedOperatorIterator is returned from FilterRemovedOperator and is used to iterate over the raw logs and unpacked data for RemovedOperator events raised by the CtfExchange contract.
func (*CtfExchangeRemovedOperatorIterator) Close ¶
func (it *CtfExchangeRemovedOperatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeRemovedOperatorIterator) Error ¶
func (it *CtfExchangeRemovedOperatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeRemovedOperatorIterator) Next ¶
func (it *CtfExchangeRemovedOperatorIterator) 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 CtfExchangeSafeFactoryUpdated ¶
type CtfExchangeSafeFactoryUpdated struct { OldSafeFactory common.Address NewSafeFactory common.Address Raw types.Log // Blockchain specific contextual infos }
CtfExchangeSafeFactoryUpdated represents a SafeFactoryUpdated event raised by the CtfExchange contract.
type CtfExchangeSafeFactoryUpdatedIterator ¶
type CtfExchangeSafeFactoryUpdatedIterator struct { Event *CtfExchangeSafeFactoryUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeSafeFactoryUpdatedIterator is returned from FilterSafeFactoryUpdated and is used to iterate over the raw logs and unpacked data for SafeFactoryUpdated events raised by the CtfExchange contract.
func (*CtfExchangeSafeFactoryUpdatedIterator) Close ¶
func (it *CtfExchangeSafeFactoryUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeSafeFactoryUpdatedIterator) Error ¶
func (it *CtfExchangeSafeFactoryUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeSafeFactoryUpdatedIterator) Next ¶
func (it *CtfExchangeSafeFactoryUpdatedIterator) 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 CtfExchangeSession ¶
type CtfExchangeSession struct { Contract *CtfExchange // 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 }
CtfExchangeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CtfExchangeSession) AddAdmin ¶
func (_CtfExchange *CtfExchangeSession) AddAdmin(admin_ common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address admin_) returns()
func (*CtfExchangeSession) AddOperator ¶
func (_CtfExchange *CtfExchangeSession) AddOperator(operator_ common.Address) (*types.Transaction, error)
AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.
Solidity: function addOperator(address operator_) returns()
func (*CtfExchangeSession) Admins ¶
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(uint256)
func (*CtfExchangeSession) CancelOrder ¶
func (_CtfExchange *CtfExchangeSession) CancelOrder(order Order) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0xa6dfcf86.
Solidity: function cancelOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) returns()
func (*CtfExchangeSession) CancelOrders ¶
func (_CtfExchange *CtfExchangeSession) CancelOrders(orders []Order) (*types.Transaction, error)
CancelOrders is a paid mutator transaction binding the contract method 0xfa950b48.
Solidity: function cancelOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] orders) returns()
func (*CtfExchangeSession) DomainSeparator ¶
func (_CtfExchange *CtfExchangeSession) DomainSeparator() ([32]byte, error)
DomainSeparator is a free data retrieval call binding the contract method 0xf698da25.
Solidity: function domainSeparator() view returns(bytes32)
func (*CtfExchangeSession) FillOrder ¶
func (_CtfExchange *CtfExchangeSession) FillOrder(order Order, fillAmount *big.Int) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0xfe729aaf.
Solidity: function fillOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order, uint256 fillAmount) returns()
func (*CtfExchangeSession) FillOrders ¶
func (_CtfExchange *CtfExchangeSession) FillOrders(orders []Order, fillAmounts []*big.Int) (*types.Transaction, error)
FillOrders is a paid mutator transaction binding the contract method 0xd798eff6.
Solidity: function fillOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] orders, uint256[] fillAmounts) returns()
func (*CtfExchangeSession) GetCollateral ¶
func (_CtfExchange *CtfExchangeSession) GetCollateral() (common.Address, error)
GetCollateral is a free data retrieval call binding the contract method 0x5c1548fb.
Solidity: function getCollateral() view returns(address)
func (*CtfExchangeSession) GetComplement ¶
GetComplement is a free data retrieval call binding the contract method 0xa10f3dce.
Solidity: function getComplement(uint256 token) view returns(uint256)
func (*CtfExchangeSession) GetConditionId ¶
func (_CtfExchange *CtfExchangeSession) GetConditionId(token *big.Int) ([32]byte, error)
GetConditionId is a free data retrieval call binding the contract method 0xd7fb272f.
Solidity: function getConditionId(uint256 token) view returns(bytes32)
func (*CtfExchangeSession) GetCtf ¶
func (_CtfExchange *CtfExchangeSession) GetCtf() (common.Address, error)
GetCtf is a free data retrieval call binding the contract method 0x3b521d78.
Solidity: function getCtf() view returns(address)
func (*CtfExchangeSession) GetMaxFeeRate ¶
func (_CtfExchange *CtfExchangeSession) GetMaxFeeRate() (*big.Int, error)
GetMaxFeeRate is a free data retrieval call binding the contract method 0x4a2a11f5.
Solidity: function getMaxFeeRate() pure returns(uint256)
func (*CtfExchangeSession) GetOrderStatus ¶
func (_CtfExchange *CtfExchangeSession) GetOrderStatus(orderHash [32]byte) (OrderStatus, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns((bool,uint256))
func (*CtfExchangeSession) GetPolyProxyFactoryImplementation ¶
func (_CtfExchange *CtfExchangeSession) GetPolyProxyFactoryImplementation() (common.Address, error)
GetPolyProxyFactoryImplementation is a free data retrieval call binding the contract method 0x06b9d691.
Solidity: function getPolyProxyFactoryImplementation() view returns(address)
func (*CtfExchangeSession) GetPolyProxyWalletAddress ¶
func (_CtfExchange *CtfExchangeSession) GetPolyProxyWalletAddress(_addr common.Address) (common.Address, error)
GetPolyProxyWalletAddress is a free data retrieval call binding the contract method 0xedef7d8e.
Solidity: function getPolyProxyWalletAddress(address _addr) view returns(address)
func (*CtfExchangeSession) GetProxyFactory ¶
func (_CtfExchange *CtfExchangeSession) GetProxyFactory() (common.Address, error)
GetProxyFactory is a free data retrieval call binding the contract method 0xb28c51c0.
Solidity: function getProxyFactory() view returns(address)
func (*CtfExchangeSession) GetSafeAddress ¶
func (_CtfExchange *CtfExchangeSession) GetSafeAddress(_addr common.Address) (common.Address, error)
GetSafeAddress is a free data retrieval call binding the contract method 0xa287bdf1.
Solidity: function getSafeAddress(address _addr) view returns(address)
func (*CtfExchangeSession) GetSafeFactory ¶
func (_CtfExchange *CtfExchangeSession) GetSafeFactory() (common.Address, error)
GetSafeFactory is a free data retrieval call binding the contract method 0x75d7370a.
Solidity: function getSafeFactory() view returns(address)
func (*CtfExchangeSession) GetSafeFactoryImplementation ¶
func (_CtfExchange *CtfExchangeSession) GetSafeFactoryImplementation() (common.Address, error)
GetSafeFactoryImplementation is a free data retrieval call binding the contract method 0xe03ac3d0.
Solidity: function getSafeFactoryImplementation() view returns(address)
func (*CtfExchangeSession) HashOrder ¶
func (_CtfExchange *CtfExchangeSession) HashOrder(order Order) ([32]byte, error)
HashOrder is a free data retrieval call binding the contract method 0xe50e4f97.
Solidity: function hashOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns(bytes32)
func (*CtfExchangeSession) IncrementNonce ¶
func (_CtfExchange *CtfExchangeSession) IncrementNonce() (*types.Transaction, error)
IncrementNonce is a paid mutator transaction binding the contract method 0x627cdcb9.
Solidity: function incrementNonce() returns()
func (*CtfExchangeSession) IsAdmin ¶
func (_CtfExchange *CtfExchangeSession) IsAdmin(usr common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address usr) view returns(bool)
func (*CtfExchangeSession) IsOperator ¶
func (_CtfExchange *CtfExchangeSession) IsOperator(usr common.Address) (bool, error)
IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.
Solidity: function isOperator(address usr) view returns(bool)
func (*CtfExchangeSession) IsValidNonce ¶
func (_CtfExchange *CtfExchangeSession) IsValidNonce(usr common.Address, nonce *big.Int) (bool, error)
IsValidNonce is a free data retrieval call binding the contract method 0x0647ee20.
Solidity: function isValidNonce(address usr, uint256 nonce) view returns(bool)
func (*CtfExchangeSession) MatchOrders ¶
func (_CtfExchange *CtfExchangeSession) MatchOrders(takerOrder Order, makerOrders []Order, takerFillAmount *big.Int, makerFillAmounts []*big.Int) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0xe60f0c05.
Solidity: function matchOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) takerOrder, (uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] makerOrders, uint256 takerFillAmount, uint256[] makerFillAmounts) returns()
func (*CtfExchangeSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*CtfExchangeSession) OnERC1155BatchReceived ¶
func (_CtfExchange *CtfExchangeSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*CtfExchangeSession) OnERC1155Received ¶
func (_CtfExchange *CtfExchangeSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*CtfExchangeSession) Operators ¶
Operators is a free data retrieval call binding the contract method 0x13e7c9d8.
Solidity: function operators(address ) view returns(uint256)
func (*CtfExchangeSession) OrderStatus ¶
func (_CtfExchange *CtfExchangeSession) OrderStatus(arg0 [32]byte) (struct { IsFilledOrCancelled bool Remaining *big.Int }, error)
OrderStatus is a free data retrieval call binding the contract method 0x2dff692d.
Solidity: function orderStatus(bytes32 ) view returns(bool isFilledOrCancelled, uint256 remaining)
func (*CtfExchangeSession) ParentCollectionId ¶
func (_CtfExchange *CtfExchangeSession) ParentCollectionId() ([32]byte, error)
ParentCollectionId is a free data retrieval call binding the contract method 0x44bea37e.
Solidity: function parentCollectionId() view returns(bytes32)
func (*CtfExchangeSession) PauseTrading ¶
func (_CtfExchange *CtfExchangeSession) PauseTrading() (*types.Transaction, error)
PauseTrading is a paid mutator transaction binding the contract method 0x1031e36e.
Solidity: function pauseTrading() returns()
func (*CtfExchangeSession) Paused ¶
func (_CtfExchange *CtfExchangeSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*CtfExchangeSession) ProxyFactory ¶
func (_CtfExchange *CtfExchangeSession) ProxyFactory() (common.Address, error)
ProxyFactory is a free data retrieval call binding the contract method 0xc10f1a75.
Solidity: function proxyFactory() view returns(address)
func (*CtfExchangeSession) RegisterToken ¶
func (_CtfExchange *CtfExchangeSession) RegisterToken(token *big.Int, complement *big.Int, conditionId [32]byte) (*types.Transaction, error)
RegisterToken is a paid mutator transaction binding the contract method 0x68c7450f.
Solidity: function registerToken(uint256 token, uint256 complement, bytes32 conditionId) returns()
func (*CtfExchangeSession) Registry ¶
func (_CtfExchange *CtfExchangeSession) Registry(arg0 *big.Int) (struct { Complement *big.Int ConditionId [32]byte }, error)
Registry is a free data retrieval call binding the contract method 0x5893253c.
Solidity: function registry(uint256 ) view returns(uint256 complement, bytes32 conditionId)
func (*CtfExchangeSession) RemoveAdmin ¶
func (_CtfExchange *CtfExchangeSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*CtfExchangeSession) RemoveOperator ¶
func (_CtfExchange *CtfExchangeSession) RemoveOperator(operator common.Address) (*types.Transaction, error)
RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.
Solidity: function removeOperator(address operator) returns()
func (*CtfExchangeSession) RenounceAdminRole ¶
func (_CtfExchange *CtfExchangeSession) RenounceAdminRole() (*types.Transaction, error)
RenounceAdminRole is a paid mutator transaction binding the contract method 0x83b8a5ae.
Solidity: function renounceAdminRole() returns()
func (*CtfExchangeSession) RenounceOperatorRole ¶
func (_CtfExchange *CtfExchangeSession) RenounceOperatorRole() (*types.Transaction, error)
RenounceOperatorRole is a paid mutator transaction binding the contract method 0x3d6d3598.
Solidity: function renounceOperatorRole() returns()
func (*CtfExchangeSession) SafeFactory ¶
func (_CtfExchange *CtfExchangeSession) SafeFactory() (common.Address, error)
SafeFactory is a free data retrieval call binding the contract method 0x131e7e1c.
Solidity: function safeFactory() view returns(address)
func (*CtfExchangeSession) SetProxyFactory ¶
func (_CtfExchange *CtfExchangeSession) SetProxyFactory(_newProxyFactory common.Address) (*types.Transaction, error)
SetProxyFactory is a paid mutator transaction binding the contract method 0xfbddd751.
Solidity: function setProxyFactory(address _newProxyFactory) returns()
func (*CtfExchangeSession) SetSafeFactory ¶
func (_CtfExchange *CtfExchangeSession) SetSafeFactory(_newSafeFactory common.Address) (*types.Transaction, error)
SetSafeFactory is a paid mutator transaction binding the contract method 0x4544f055.
Solidity: function setSafeFactory(address _newSafeFactory) returns()
func (*CtfExchangeSession) SupportsInterface ¶
func (_CtfExchange *CtfExchangeSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CtfExchangeSession) UnpauseTrading ¶
func (_CtfExchange *CtfExchangeSession) UnpauseTrading() (*types.Transaction, error)
UnpauseTrading is a paid mutator transaction binding the contract method 0x456068d2.
Solidity: function unpauseTrading() returns()
func (*CtfExchangeSession) ValidateComplement ¶
func (_CtfExchange *CtfExchangeSession) ValidateComplement(token *big.Int, complement *big.Int) error
ValidateComplement is a free data retrieval call binding the contract method 0xd82da838.
Solidity: function validateComplement(uint256 token, uint256 complement) view returns()
func (*CtfExchangeSession) ValidateOrder ¶
func (_CtfExchange *CtfExchangeSession) ValidateOrder(order Order) error
ValidateOrder is a free data retrieval call binding the contract method 0x654f0ce4.
Solidity: function validateOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns()
func (*CtfExchangeSession) ValidateOrderSignature ¶
func (_CtfExchange *CtfExchangeSession) ValidateOrderSignature(orderHash [32]byte, order Order) error
ValidateOrderSignature is a free data retrieval call binding the contract method 0xe2eec405.
Solidity: function validateOrderSignature(bytes32 orderHash, (uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) view returns()
func (*CtfExchangeSession) ValidateTokenId ¶
func (_CtfExchange *CtfExchangeSession) ValidateTokenId(tokenId *big.Int) error
ValidateTokenId is a free data retrieval call binding the contract method 0x34600901.
Solidity: function validateTokenId(uint256 tokenId) view returns()
type CtfExchangeTokenRegistered ¶
type CtfExchangeTokenRegistered struct { Token0 *big.Int Token1 *big.Int ConditionId [32]byte Raw types.Log // Blockchain specific contextual infos }
CtfExchangeTokenRegistered represents a TokenRegistered event raised by the CtfExchange contract.
type CtfExchangeTokenRegisteredIterator ¶
type CtfExchangeTokenRegisteredIterator struct { Event *CtfExchangeTokenRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeTokenRegisteredIterator is returned from FilterTokenRegistered and is used to iterate over the raw logs and unpacked data for TokenRegistered events raised by the CtfExchange contract.
func (*CtfExchangeTokenRegisteredIterator) Close ¶
func (it *CtfExchangeTokenRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeTokenRegisteredIterator) Error ¶
func (it *CtfExchangeTokenRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeTokenRegisteredIterator) Next ¶
func (it *CtfExchangeTokenRegisteredIterator) 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 CtfExchangeTradingPaused ¶
type CtfExchangeTradingPaused struct { Pauser common.Address Raw types.Log // Blockchain specific contextual infos }
CtfExchangeTradingPaused represents a TradingPaused event raised by the CtfExchange contract.
type CtfExchangeTradingPausedIterator ¶
type CtfExchangeTradingPausedIterator struct { Event *CtfExchangeTradingPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeTradingPausedIterator is returned from FilterTradingPaused and is used to iterate over the raw logs and unpacked data for TradingPaused events raised by the CtfExchange contract.
func (*CtfExchangeTradingPausedIterator) Close ¶
func (it *CtfExchangeTradingPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeTradingPausedIterator) Error ¶
func (it *CtfExchangeTradingPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeTradingPausedIterator) Next ¶
func (it *CtfExchangeTradingPausedIterator) 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 CtfExchangeTradingUnpaused ¶
type CtfExchangeTradingUnpaused struct { Pauser common.Address Raw types.Log // Blockchain specific contextual infos }
CtfExchangeTradingUnpaused represents a TradingUnpaused event raised by the CtfExchange contract.
type CtfExchangeTradingUnpausedIterator ¶
type CtfExchangeTradingUnpausedIterator struct { Event *CtfExchangeTradingUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CtfExchangeTradingUnpausedIterator is returned from FilterTradingUnpaused and is used to iterate over the raw logs and unpacked data for TradingUnpaused events raised by the CtfExchange contract.
func (*CtfExchangeTradingUnpausedIterator) Close ¶
func (it *CtfExchangeTradingUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CtfExchangeTradingUnpausedIterator) Error ¶
func (it *CtfExchangeTradingUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CtfExchangeTradingUnpausedIterator) Next ¶
func (it *CtfExchangeTradingUnpausedIterator) 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 CtfExchangeTransactor ¶
type CtfExchangeTransactor struct {
// contains filtered or unexported fields
}
CtfExchangeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCtfExchangeTransactor ¶
func NewCtfExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*CtfExchangeTransactor, error)
NewCtfExchangeTransactor creates a new write-only instance of CtfExchange, bound to a specific deployed contract.
func (*CtfExchangeTransactor) AddAdmin ¶
func (_CtfExchange *CtfExchangeTransactor) AddAdmin(opts *bind.TransactOpts, admin_ common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address admin_) returns()
func (*CtfExchangeTransactor) AddOperator ¶
func (_CtfExchange *CtfExchangeTransactor) AddOperator(opts *bind.TransactOpts, operator_ common.Address) (*types.Transaction, error)
AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.
Solidity: function addOperator(address operator_) returns()
func (*CtfExchangeTransactor) CancelOrder ¶
func (_CtfExchange *CtfExchangeTransactor) CancelOrder(opts *bind.TransactOpts, order Order) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0xa6dfcf86.
Solidity: function cancelOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) returns()
func (*CtfExchangeTransactor) CancelOrders ¶
func (_CtfExchange *CtfExchangeTransactor) CancelOrders(opts *bind.TransactOpts, orders []Order) (*types.Transaction, error)
CancelOrders is a paid mutator transaction binding the contract method 0xfa950b48.
Solidity: function cancelOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] orders) returns()
func (*CtfExchangeTransactor) FillOrder ¶
func (_CtfExchange *CtfExchangeTransactor) FillOrder(opts *bind.TransactOpts, order Order, fillAmount *big.Int) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0xfe729aaf.
Solidity: function fillOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order, uint256 fillAmount) returns()
func (*CtfExchangeTransactor) FillOrders ¶
func (_CtfExchange *CtfExchangeTransactor) FillOrders(opts *bind.TransactOpts, orders []Order, fillAmounts []*big.Int) (*types.Transaction, error)
FillOrders is a paid mutator transaction binding the contract method 0xd798eff6.
Solidity: function fillOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] orders, uint256[] fillAmounts) returns()
func (*CtfExchangeTransactor) IncrementNonce ¶
func (_CtfExchange *CtfExchangeTransactor) IncrementNonce(opts *bind.TransactOpts) (*types.Transaction, error)
IncrementNonce is a paid mutator transaction binding the contract method 0x627cdcb9.
Solidity: function incrementNonce() returns()
func (*CtfExchangeTransactor) MatchOrders ¶
func (_CtfExchange *CtfExchangeTransactor) MatchOrders(opts *bind.TransactOpts, takerOrder Order, makerOrders []Order, takerFillAmount *big.Int, makerFillAmounts []*big.Int) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0xe60f0c05.
Solidity: function matchOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) takerOrder, (uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] makerOrders, uint256 takerFillAmount, uint256[] makerFillAmounts) returns()
func (*CtfExchangeTransactor) OnERC1155BatchReceived ¶
func (_CtfExchange *CtfExchangeTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*CtfExchangeTransactor) OnERC1155Received ¶
func (_CtfExchange *CtfExchangeTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*CtfExchangeTransactor) PauseTrading ¶
func (_CtfExchange *CtfExchangeTransactor) PauseTrading(opts *bind.TransactOpts) (*types.Transaction, error)
PauseTrading is a paid mutator transaction binding the contract method 0x1031e36e.
Solidity: function pauseTrading() returns()
func (*CtfExchangeTransactor) RegisterToken ¶
func (_CtfExchange *CtfExchangeTransactor) RegisterToken(opts *bind.TransactOpts, token *big.Int, complement *big.Int, conditionId [32]byte) (*types.Transaction, error)
RegisterToken is a paid mutator transaction binding the contract method 0x68c7450f.
Solidity: function registerToken(uint256 token, uint256 complement, bytes32 conditionId) returns()
func (*CtfExchangeTransactor) RemoveAdmin ¶
func (_CtfExchange *CtfExchangeTransactor) RemoveAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*CtfExchangeTransactor) RemoveOperator ¶
func (_CtfExchange *CtfExchangeTransactor) RemoveOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.
Solidity: function removeOperator(address operator) returns()
func (*CtfExchangeTransactor) RenounceAdminRole ¶
func (_CtfExchange *CtfExchangeTransactor) RenounceAdminRole(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceAdminRole is a paid mutator transaction binding the contract method 0x83b8a5ae.
Solidity: function renounceAdminRole() returns()
func (*CtfExchangeTransactor) RenounceOperatorRole ¶
func (_CtfExchange *CtfExchangeTransactor) RenounceOperatorRole(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOperatorRole is a paid mutator transaction binding the contract method 0x3d6d3598.
Solidity: function renounceOperatorRole() returns()
func (*CtfExchangeTransactor) SetProxyFactory ¶
func (_CtfExchange *CtfExchangeTransactor) SetProxyFactory(opts *bind.TransactOpts, _newProxyFactory common.Address) (*types.Transaction, error)
SetProxyFactory is a paid mutator transaction binding the contract method 0xfbddd751.
Solidity: function setProxyFactory(address _newProxyFactory) returns()
func (*CtfExchangeTransactor) SetSafeFactory ¶
func (_CtfExchange *CtfExchangeTransactor) SetSafeFactory(opts *bind.TransactOpts, _newSafeFactory common.Address) (*types.Transaction, error)
SetSafeFactory is a paid mutator transaction binding the contract method 0x4544f055.
Solidity: function setSafeFactory(address _newSafeFactory) returns()
func (*CtfExchangeTransactor) UnpauseTrading ¶
func (_CtfExchange *CtfExchangeTransactor) UnpauseTrading(opts *bind.TransactOpts) (*types.Transaction, error)
UnpauseTrading is a paid mutator transaction binding the contract method 0x456068d2.
Solidity: function unpauseTrading() returns()
type CtfExchangeTransactorRaw ¶
type CtfExchangeTransactorRaw struct {
Contract *CtfExchangeTransactor // Generic write-only contract binding to access the raw methods on
}
CtfExchangeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CtfExchangeTransactorRaw) Transact ¶
func (_CtfExchange *CtfExchangeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CtfExchangeTransactorRaw) Transfer ¶
func (_CtfExchange *CtfExchangeTransactorRaw) 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 CtfExchangeTransactorSession ¶
type CtfExchangeTransactorSession struct { Contract *CtfExchangeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CtfExchangeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CtfExchangeTransactorSession) AddAdmin ¶
func (_CtfExchange *CtfExchangeTransactorSession) AddAdmin(admin_ common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address admin_) returns()
func (*CtfExchangeTransactorSession) AddOperator ¶
func (_CtfExchange *CtfExchangeTransactorSession) AddOperator(operator_ common.Address) (*types.Transaction, error)
AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.
Solidity: function addOperator(address operator_) returns()
func (*CtfExchangeTransactorSession) CancelOrder ¶
func (_CtfExchange *CtfExchangeTransactorSession) CancelOrder(order Order) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0xa6dfcf86.
Solidity: function cancelOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order) returns()
func (*CtfExchangeTransactorSession) CancelOrders ¶
func (_CtfExchange *CtfExchangeTransactorSession) CancelOrders(orders []Order) (*types.Transaction, error)
CancelOrders is a paid mutator transaction binding the contract method 0xfa950b48.
Solidity: function cancelOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] orders) returns()
func (*CtfExchangeTransactorSession) FillOrder ¶
func (_CtfExchange *CtfExchangeTransactorSession) FillOrder(order Order, fillAmount *big.Int) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0xfe729aaf.
Solidity: function fillOrder((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) order, uint256 fillAmount) returns()
func (*CtfExchangeTransactorSession) FillOrders ¶
func (_CtfExchange *CtfExchangeTransactorSession) FillOrders(orders []Order, fillAmounts []*big.Int) (*types.Transaction, error)
FillOrders is a paid mutator transaction binding the contract method 0xd798eff6.
Solidity: function fillOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] orders, uint256[] fillAmounts) returns()
func (*CtfExchangeTransactorSession) IncrementNonce ¶
func (_CtfExchange *CtfExchangeTransactorSession) IncrementNonce() (*types.Transaction, error)
IncrementNonce is a paid mutator transaction binding the contract method 0x627cdcb9.
Solidity: function incrementNonce() returns()
func (*CtfExchangeTransactorSession) MatchOrders ¶
func (_CtfExchange *CtfExchangeTransactorSession) MatchOrders(takerOrder Order, makerOrders []Order, takerFillAmount *big.Int, makerFillAmounts []*big.Int) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0xe60f0c05.
Solidity: function matchOrders((uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes) takerOrder, (uint256,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint8,uint8,bytes)[] makerOrders, uint256 takerFillAmount, uint256[] makerFillAmounts) returns()
func (*CtfExchangeTransactorSession) OnERC1155BatchReceived ¶
func (_CtfExchange *CtfExchangeTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*CtfExchangeTransactorSession) OnERC1155Received ¶
func (_CtfExchange *CtfExchangeTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*CtfExchangeTransactorSession) PauseTrading ¶
func (_CtfExchange *CtfExchangeTransactorSession) PauseTrading() (*types.Transaction, error)
PauseTrading is a paid mutator transaction binding the contract method 0x1031e36e.
Solidity: function pauseTrading() returns()
func (*CtfExchangeTransactorSession) RegisterToken ¶
func (_CtfExchange *CtfExchangeTransactorSession) RegisterToken(token *big.Int, complement *big.Int, conditionId [32]byte) (*types.Transaction, error)
RegisterToken is a paid mutator transaction binding the contract method 0x68c7450f.
Solidity: function registerToken(uint256 token, uint256 complement, bytes32 conditionId) returns()
func (*CtfExchangeTransactorSession) RemoveAdmin ¶
func (_CtfExchange *CtfExchangeTransactorSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*CtfExchangeTransactorSession) RemoveOperator ¶
func (_CtfExchange *CtfExchangeTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)
RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.
Solidity: function removeOperator(address operator) returns()
func (*CtfExchangeTransactorSession) RenounceAdminRole ¶
func (_CtfExchange *CtfExchangeTransactorSession) RenounceAdminRole() (*types.Transaction, error)
RenounceAdminRole is a paid mutator transaction binding the contract method 0x83b8a5ae.
Solidity: function renounceAdminRole() returns()
func (*CtfExchangeTransactorSession) RenounceOperatorRole ¶
func (_CtfExchange *CtfExchangeTransactorSession) RenounceOperatorRole() (*types.Transaction, error)
RenounceOperatorRole is a paid mutator transaction binding the contract method 0x3d6d3598.
Solidity: function renounceOperatorRole() returns()
func (*CtfExchangeTransactorSession) SetProxyFactory ¶
func (_CtfExchange *CtfExchangeTransactorSession) SetProxyFactory(_newProxyFactory common.Address) (*types.Transaction, error)
SetProxyFactory is a paid mutator transaction binding the contract method 0xfbddd751.
Solidity: function setProxyFactory(address _newProxyFactory) returns()
func (*CtfExchangeTransactorSession) SetSafeFactory ¶
func (_CtfExchange *CtfExchangeTransactorSession) SetSafeFactory(_newSafeFactory common.Address) (*types.Transaction, error)
SetSafeFactory is a paid mutator transaction binding the contract method 0x4544f055.
Solidity: function setSafeFactory(address _newSafeFactory) returns()
func (*CtfExchangeTransactorSession) UnpauseTrading ¶
func (_CtfExchange *CtfExchangeTransactorSession) UnpauseTrading() (*types.Transaction, error)
UnpauseTrading is a paid mutator transaction binding the contract method 0x456068d2.
Solidity: function unpauseTrading() returns()
type Order ¶
type Order struct { Salt *big.Int Maker common.Address Signer common.Address Taker common.Address TokenId *big.Int MakerAmount *big.Int TakerAmount *big.Int Expiration *big.Int Nonce *big.Int FeeRateBps *big.Int Side uint8 SignatureType uint8 Signature []byte }
Order is an auto generated low-level Go binding around an user-defined struct.
type OrderStatus ¶
OrderStatus is an auto generated low-level Go binding around an user-defined struct.