Documentation ¶
Index ¶
- Variables
- type INiftyswapExchange
- type INiftyswapExchangeCaller
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetBuyPrice(opts *bind.CallOpts, _assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetCurrencyInfo(opts *bind.CallOpts) (common.Address, *big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetCurrencyReserves(opts *bind.CallOpts, _ids []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetFactoryAddress(opts *bind.CallOpts) (common.Address, error)
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetPriceCurrencyToToken(opts *bind.CallOpts, _ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetPriceTokenToCurrency(opts *bind.CallOpts, _ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetSellPrice(opts *bind.CallOpts, _assetSoldAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetTokenAddress(opts *bind.CallOpts) (common.Address, error)
- func (_INiftyswapExchange *INiftyswapExchangeCaller) GetTotalSupply(opts *bind.CallOpts, _ids []*big.Int) ([]*big.Int, error)
- type INiftyswapExchangeCallerRaw
- type INiftyswapExchangeCallerSession
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetBuyPrice(_assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetCurrencyInfo() (common.Address, *big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetCurrencyReserves(_ids []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetFactoryAddress() (common.Address, error)
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetPriceCurrencyToToken(_ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetPriceTokenToCurrency(_ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetSellPrice(_assetSoldAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetTokenAddress() (common.Address, error)
- func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetTotalSupply(_ids []*big.Int) ([]*big.Int, error)
- type INiftyswapExchangeCurrencyPurchase
- type INiftyswapExchangeCurrencyPurchaseIterator
- type INiftyswapExchangeFilterer
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) FilterCurrencyPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*INiftyswapExchangeCurrencyPurchaseIterator, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) FilterLiquidityAdded(opts *bind.FilterOpts, provider []common.Address) (*INiftyswapExchangeLiquidityAddedIterator, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) FilterLiquidityRemoved(opts *bind.FilterOpts, provider []common.Address) (*INiftyswapExchangeLiquidityRemovedIterator, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) FilterTokensPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*INiftyswapExchangeTokensPurchaseIterator, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) ParseCurrencyPurchase(log types.Log) (*INiftyswapExchangeCurrencyPurchase, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) ParseLiquidityAdded(log types.Log) (*INiftyswapExchangeLiquidityAdded, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) ParseLiquidityRemoved(log types.Log) (*INiftyswapExchangeLiquidityRemoved, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) ParseTokensPurchase(log types.Log) (*INiftyswapExchangeTokensPurchase, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) WatchCurrencyPurchase(opts *bind.WatchOpts, sink chan<- *INiftyswapExchangeCurrencyPurchase, ...) (event.Subscription, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *INiftyswapExchangeLiquidityAdded, ...) (event.Subscription, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *INiftyswapExchangeLiquidityRemoved, ...) (event.Subscription, error)
- func (_INiftyswapExchange *INiftyswapExchangeFilterer) WatchTokensPurchase(opts *bind.WatchOpts, sink chan<- *INiftyswapExchangeTokensPurchase, ...) (event.Subscription, error)
- type INiftyswapExchangeLiquidityAdded
- type INiftyswapExchangeLiquidityAddedIterator
- type INiftyswapExchangeLiquidityRemoved
- type INiftyswapExchangeLiquidityRemovedIterator
- type INiftyswapExchangeRaw
- func (_INiftyswapExchange *INiftyswapExchangeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_INiftyswapExchange *INiftyswapExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_INiftyswapExchange *INiftyswapExchangeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type INiftyswapExchangeSession
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetBuyPrice(_assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetCurrencyInfo() (common.Address, *big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetCurrencyReserves(_ids []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetFactoryAddress() (common.Address, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetPriceCurrencyToToken(_ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetPriceTokenToCurrency(_ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetSellPrice(_assetSoldAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetTokenAddress() (common.Address, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) GetTotalSupply(_ids []*big.Int) ([]*big.Int, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, ...) (*types.Transaction, error)
- func (_INiftyswapExchange *INiftyswapExchangeSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- type INiftyswapExchangeTokensPurchase
- type INiftyswapExchangeTokensPurchaseIterator
- type INiftyswapExchangeTransactor
- func (_INiftyswapExchange *INiftyswapExchangeTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_INiftyswapExchange *INiftyswapExchangeTransactor) OnERC1155Received(opts *bind.TransactOpts, _operator common.Address, _from common.Address, ...) (*types.Transaction, error)
- type INiftyswapExchangeTransactorRaw
- type INiftyswapExchangeTransactorSession
- func (_INiftyswapExchange *INiftyswapExchangeTransactorSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, ...) (*types.Transaction, error)
- func (_INiftyswapExchange *INiftyswapExchangeTransactorSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- type INiftyswapFactory
- type INiftyswapFactoryCaller
- type INiftyswapFactoryCallerRaw
- type INiftyswapFactoryCallerSession
- type INiftyswapFactoryFilterer
- func (_INiftyswapFactory *INiftyswapFactoryFilterer) FilterNewExchange(opts *bind.FilterOpts, token []common.Address, currency []common.Address, ...) (*INiftyswapFactoryNewExchangeIterator, error)
- func (_INiftyswapFactory *INiftyswapFactoryFilterer) ParseNewExchange(log types.Log) (*INiftyswapFactoryNewExchange, error)
- func (_INiftyswapFactory *INiftyswapFactoryFilterer) WatchNewExchange(opts *bind.WatchOpts, sink chan<- *INiftyswapFactoryNewExchange, ...) (event.Subscription, error)
- type INiftyswapFactoryNewExchange
- type INiftyswapFactoryNewExchangeIterator
- type INiftyswapFactoryRaw
- func (_INiftyswapFactory *INiftyswapFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_INiftyswapFactory *INiftyswapFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_INiftyswapFactory *INiftyswapFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type INiftyswapFactorySession
- func (_INiftyswapFactory *INiftyswapFactorySession) CreateExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (*types.Transaction, error)
- func (_INiftyswapFactory *INiftyswapFactorySession) TokensToExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (common.Address, error)
- type INiftyswapFactoryTransactor
- type INiftyswapFactoryTransactorRaw
- type INiftyswapFactoryTransactorSession
- type IWrapAndNiftyswap
- type IWrapAndNiftyswapCaller
- type IWrapAndNiftyswapCallerRaw
- type IWrapAndNiftyswapCallerSession
- type IWrapAndNiftyswapFilterer
- type IWrapAndNiftyswapRaw
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IWrapAndNiftyswapSession
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, ...) (*types.Transaction, error)
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapSession) WrapAndSwap(_maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
- type IWrapAndNiftyswapTransactor
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactor) OnERC1155Received(opts *bind.TransactOpts, _operator common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactor) WrapAndSwap(opts *bind.TransactOpts, _maxAmount *big.Int, _recipient common.Address, ...) (*types.Transaction, error)
- type IWrapAndNiftyswapTransactorRaw
- type IWrapAndNiftyswapTransactorSession
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactorSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, ...) (*types.Transaction, error)
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactorSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactorSession) WrapAndSwap(_maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
- type NiftyswapExchange
- type NiftyswapExchangeApprovalForAll
- type NiftyswapExchangeApprovalForAllIterator
- type NiftyswapExchangeCaller
- func (_NiftyswapExchange *NiftyswapExchangeCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address, _id *big.Int) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) BalanceOfBatch(opts *bind.CallOpts, _owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetBuyPrice(opts *bind.CallOpts, _assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetCurrencyInfo(opts *bind.CallOpts) (common.Address, *big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetCurrencyReserves(opts *bind.CallOpts, _ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetFactoryAddress(opts *bind.CallOpts) (common.Address, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetPriceCurrencyToToken(opts *bind.CallOpts, _ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetPriceTokenToCurrency(opts *bind.CallOpts, _ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetSellPrice(opts *bind.CallOpts, _assetSoldAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetTokenAddress(opts *bind.CallOpts) (common.Address, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) GetTotalSupply(opts *bind.CallOpts, _ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) IsApprovedForAll(opts *bind.CallOpts, _owner common.Address, _operator common.Address) (bool, error)
- func (_NiftyswapExchange *NiftyswapExchangeCaller) SupportsInterface(opts *bind.CallOpts, interfaceID [4]byte) (bool, error)
- type NiftyswapExchangeCallerRaw
- type NiftyswapExchangeCallerSession
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) BalanceOf(_owner common.Address, _id *big.Int) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) BalanceOfBatch(_owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetBuyPrice(_assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetCurrencyInfo() (common.Address, *big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetCurrencyReserves(_ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetFactoryAddress() (common.Address, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetPriceCurrencyToToken(_ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetPriceTokenToCurrency(_ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetSellPrice(_assetSoldAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetTokenAddress() (common.Address, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetTotalSupply(_ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)
- func (_NiftyswapExchange *NiftyswapExchangeCallerSession) SupportsInterface(interfaceID [4]byte) (bool, error)
- type NiftyswapExchangeCurrencyPurchase
- type NiftyswapExchangeCurrencyPurchaseIterator
- type NiftyswapExchangeFilterer
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterApprovalForAll(opts *bind.FilterOpts, _owner []common.Address, _operator []common.Address) (*NiftyswapExchangeApprovalForAllIterator, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterCurrencyPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*NiftyswapExchangeCurrencyPurchaseIterator, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterLiquidityAdded(opts *bind.FilterOpts, provider []common.Address) (*NiftyswapExchangeLiquidityAddedIterator, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterLiquidityRemoved(opts *bind.FilterOpts, provider []common.Address) (*NiftyswapExchangeLiquidityRemovedIterator, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterTokensPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*NiftyswapExchangeTokensPurchaseIterator, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterTransferBatch(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, ...) (*NiftyswapExchangeTransferBatchIterator, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterTransferSingle(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, ...) (*NiftyswapExchangeTransferSingleIterator, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseApprovalForAll(log types.Log) (*NiftyswapExchangeApprovalForAll, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseCurrencyPurchase(log types.Log) (*NiftyswapExchangeCurrencyPurchase, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseLiquidityAdded(log types.Log) (*NiftyswapExchangeLiquidityAdded, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseLiquidityRemoved(log types.Log) (*NiftyswapExchangeLiquidityRemoved, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseTokensPurchase(log types.Log) (*NiftyswapExchangeTokensPurchase, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseTransferBatch(log types.Log) (*NiftyswapExchangeTransferBatch, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseTransferSingle(log types.Log) (*NiftyswapExchangeTransferSingle, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeApprovalForAll, ...) (event.Subscription, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchCurrencyPurchase(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeCurrencyPurchase, ...) (event.Subscription, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeLiquidityAdded, ...) (event.Subscription, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeLiquidityRemoved, ...) (event.Subscription, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchTokensPurchase(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeTokensPurchase, ...) (event.Subscription, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeTransferBatch, ...) (event.Subscription, error)
- func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeTransferSingle, ...) (event.Subscription, error)
- type NiftyswapExchangeLiquidityAdded
- type NiftyswapExchangeLiquidityAddedIterator
- type NiftyswapExchangeLiquidityRemoved
- type NiftyswapExchangeLiquidityRemovedIterator
- type NiftyswapExchangeRaw
- func (_NiftyswapExchange *NiftyswapExchangeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NiftyswapExchange *NiftyswapExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NiftyswapExchangeSession
- func (_NiftyswapExchange *NiftyswapExchangeSession) BalanceOf(_owner common.Address, _id *big.Int) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) BalanceOfBatch(_owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetBuyPrice(_assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetCurrencyInfo() (common.Address, *big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetCurrencyReserves(_ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetFactoryAddress() (common.Address, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetPriceCurrencyToToken(_ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetPriceTokenToCurrency(_ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetSellPrice(_assetSoldAmount *big.Int, _assetSoldReserve *big.Int, ...) (*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetTokenAddress() (common.Address, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) GetTotalSupply(_ids []*big.Int) ([]*big.Int, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _amounts []*big.Int, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) SafeTransferFrom(_from common.Address, _to common.Address, _id *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeSession) SupportsInterface(interfaceID [4]byte) (bool, error)
- type NiftyswapExchangeTokensPurchase
- type NiftyswapExchangeTokensPurchaseIterator
- type NiftyswapExchangeTransactor
- func (_NiftyswapExchange *NiftyswapExchangeTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactor) OnERC1155Received(opts *bind.TransactOpts, _operator common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactor) SafeTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactor) SetApprovalForAll(opts *bind.TransactOpts, _operator common.Address, _approved bool) (*types.Transaction, error)
- type NiftyswapExchangeTransactorRaw
- type NiftyswapExchangeTransactorSession
- func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _amounts []*big.Int, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) SafeTransferFrom(_from common.Address, _to common.Address, _id *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)
- type NiftyswapExchangeTransferBatch
- type NiftyswapExchangeTransferBatchIterator
- type NiftyswapExchangeTransferSingle
- type NiftyswapExchangeTransferSingleIterator
- type NiftyswapFactory
- type NiftyswapFactoryCaller
- type NiftyswapFactoryCallerRaw
- type NiftyswapFactoryCallerSession
- type NiftyswapFactoryFilterer
- func (_NiftyswapFactory *NiftyswapFactoryFilterer) FilterNewExchange(opts *bind.FilterOpts, token []common.Address, currency []common.Address, ...) (*NiftyswapFactoryNewExchangeIterator, error)
- func (_NiftyswapFactory *NiftyswapFactoryFilterer) ParseNewExchange(log types.Log) (*NiftyswapFactoryNewExchange, error)
- func (_NiftyswapFactory *NiftyswapFactoryFilterer) WatchNewExchange(opts *bind.WatchOpts, sink chan<- *NiftyswapFactoryNewExchange, ...) (event.Subscription, error)
- type NiftyswapFactoryNewExchange
- type NiftyswapFactoryNewExchangeIterator
- type NiftyswapFactoryRaw
- func (_NiftyswapFactory *NiftyswapFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NiftyswapFactory *NiftyswapFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NiftyswapFactory *NiftyswapFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NiftyswapFactorySession
- func (_NiftyswapFactory *NiftyswapFactorySession) CreateExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (*types.Transaction, error)
- func (_NiftyswapFactory *NiftyswapFactorySession) TokensToExchange(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- type NiftyswapFactoryTransactor
- type NiftyswapFactoryTransactorRaw
- type NiftyswapFactoryTransactorSession
- type WrapAndNiftyswap
- type WrapAndNiftyswapCaller
- func (_WrapAndNiftyswap *WrapAndNiftyswapCaller) Erc1155(opts *bind.CallOpts) (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapCaller) Erc20(opts *bind.CallOpts) (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapCaller) Exchange(opts *bind.CallOpts) (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapCaller) TokenWrapper(opts *bind.CallOpts) (common.Address, error)
- type WrapAndNiftyswapCallerRaw
- type WrapAndNiftyswapCallerSession
- func (_WrapAndNiftyswap *WrapAndNiftyswapCallerSession) Erc1155() (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapCallerSession) Erc20() (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapCallerSession) Exchange() (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapCallerSession) TokenWrapper() (common.Address, error)
- type WrapAndNiftyswapFilterer
- type WrapAndNiftyswapRaw
- func (_WrapAndNiftyswap *WrapAndNiftyswapRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_WrapAndNiftyswap *WrapAndNiftyswapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WrapAndNiftyswapSession
- func (_WrapAndNiftyswap *WrapAndNiftyswapSession) Erc1155() (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapSession) Erc20() (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapSession) Exchange() (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, ...) (*types.Transaction, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapSession) TokenWrapper() (common.Address, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapSession) WrapAndSwap(_maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
- type WrapAndNiftyswapTransactor
- func (_WrapAndNiftyswap *WrapAndNiftyswapTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapTransactor) WrapAndSwap(opts *bind.TransactOpts, _maxAmount *big.Int, _recipient common.Address, ...) (*types.Transaction, error)
- type WrapAndNiftyswapTransactorRaw
- type WrapAndNiftyswapTransactorSession
- func (_WrapAndNiftyswap *WrapAndNiftyswapTransactorSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, ...) (*types.Transaction, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_WrapAndNiftyswap *WrapAndNiftyswapTransactorSession) WrapAndSwap(_maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var INiftyswapExchangeABI = INiftyswapExchangeMetaData.ABI
INiftyswapExchangeABI is the input ABI used to generate the binding from. Deprecated: Use INiftyswapExchangeMetaData.ABI instead.
var INiftyswapExchangeMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokensSoldIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokensSoldAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"currencyBoughtAmounts\",\"type\":\"uint256[]\"}],\"name\":\"CurrencyPurchase\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"currencyAmounts\",\"type\":\"uint256[]\"}],\"name\":\"LiquidityAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"currencyAmounts\",\"type\":\"uint256[]\"}],\"name\":\"LiquidityRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokensBoughtIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokensBoughtAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"currencySoldAmounts\",\"type\":\"uint256[]\"}],\"name\":\"TokensPurchase\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assetBoughtAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_assetSoldReserve\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_assetBoughtReserve\",\"type\":\"uint256\"}],\"name\":\"getBuyPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrencyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"}],\"name\":\"getCurrencyReserves\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFactoryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_tokensBought\",\"type\":\"uint256[]\"}],\"name\":\"getPrice_currencyToToken\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_tokensSold\",\"type\":\"uint256[]\"}],\"name\":\"getPrice_tokenToCurrency\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assetSoldAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_assetSoldReserve\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_assetBoughtReserve\",\"type\":\"uint256\"}],\"name\":\"getSellPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"}],\"name\":\"getTotalSupply\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
INiftyswapExchangeMetaData contains all meta data concerning the INiftyswapExchange contract.
var INiftyswapFactoryABI = INiftyswapFactoryMetaData.ABI
INiftyswapFactoryABI is the input ABI used to generate the binding from. Deprecated: Use INiftyswapFactoryMetaData.ABI instead.
var INiftyswapFactoryMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"currencyID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"exchange\",\"type\":\"address\"}],\"name\":\"NewExchange\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_currencyID\",\"type\":\"uint256\"}],\"name\":\"createExchange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_currencyID\",\"type\":\"uint256\"}],\"name\":\"tokensToExchange\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
INiftyswapFactoryMetaData contains all meta data concerning the INiftyswapFactory contract.
var IWrapAndNiftyswapABI = IWrapAndNiftyswapMetaData.ABI
IWrapAndNiftyswapABI is the input ABI used to generate the binding from. Deprecated: Use IWrapAndNiftyswapMetaData.ABI instead.
var IWrapAndNiftyswapMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_niftyswapOrder\",\"type\":\"bytes\"}],\"name\":\"wrapAndSwap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IWrapAndNiftyswapMetaData contains all meta data concerning the IWrapAndNiftyswap contract.
var NiftyswapExchangeABI = NiftyswapExchangeMetaData.ABI
NiftyswapExchangeABI is the input ABI used to generate the binding from. Deprecated: Use NiftyswapExchangeMetaData.ABI instead.
var NiftyswapExchangeBin = NiftyswapExchangeMetaData.Bin
NiftyswapExchangeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use NiftyswapExchangeMetaData.Bin instead.
var NiftyswapExchangeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currencyAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_currencyID\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokensSoldIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokensSoldAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"currencyBoughtAmounts\",\"type\":\"uint256[]\"}],\"name\":\"CurrencyPurchase\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"currencyAmounts\",\"type\":\"uint256[]\"}],\"name\":\"LiquidityAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"currencyAmounts\",\"type\":\"uint256[]\"}],\"name\":\"LiquidityRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokensBoughtIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokensBoughtAmounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"currencySoldAmounts\",\"type\":\"uint256[]\"}],\"name\":\"TokensPurchase\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_owners\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assetBoughtAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_assetSoldReserve\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_assetBoughtReserve\",\"type\":\"uint256\"}],\"name\":\"getBuyPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrencyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"}],\"name\":\"getCurrencyReserves\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFactoryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_tokensBought\",\"type\":\"uint256[]\"}],\"name\":\"getPrice_currencyToToken\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_tokensSold\",\"type\":\"uint256[]\"}],\"name\":\"getPrice_tokenToCurrency\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assetSoldAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_assetSoldReserve\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_assetBoughtReserve\",\"type\":\"uint256\"}],\"name\":\"getSellPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"}],\"name\":\"getTotalSupply\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOperator\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b506040516200552c3803806200552c83398101604081905262000034916200011f565b6000805460ff191660011790556001600160a01b038316158015906200006257506001600160a01b03821615155b6200008a5760405162461bcd60e51b815260040162000081906200015f565b60405180910390fd5b600580546001600160a01b03199081163317909155600380546001600160a01b03868116918416821790925560048054928616929093168217909255600683905514620000d9576000620000dc565b60015b60048054911515600160a01b0260ff60a01b1990921691909117905550620001aa915050565b80516001600160a01b03811681146200011a57600080fd5b919050565b60008060006060848603121562000134578283fd5b6200013f8462000102565b92506200014f6020850162000102565b9150604084015190509250925092565b6020808252602b908201527f4e696674797377617045786368616e676523636f6e7374727563746f723a494e60408201526a159053125117d25394155560aa1b606082015260800190565b61537280620001ba6000396000f3fe608060405234801561001057600080fd5b50600436106101355760003560e01c8063863ed300116100b2578063be57146811610081578063f23a6e6111610066578063f23a6e61146102c6578063f242432a146102d9578063fca16c3b146102ec57610135565b8063be571468146102a0578063e985e9c5146102b357610135565b8063863ed30014610252578063a22cb46514610265578063a9c2e36c14610278578063bc197c811461028057610135565b80632bef5e381161010957806346adf5ca116100ee57806346adf5ca146102165780634e1273f41461022c5780636ee8e1341461023f57610135565b80632bef5e38146101ee5780632eb2c2d61461020157610135565b8062fdd58e1461017057806301ffc9a71461019957806310fe9ae8146101b9578063209b96c5146101ce575b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614bd0565b60405180910390fd5b61018361017e366004613da5565b6102ff565b60405161019091906150b0565b60405180910390f35b6101ac6101a7366004613f77565b610337565b6040516101909190614540565b6101c161041e565b60405161019091906142ed565b6101e16101dc366004613e93565b61043a565b60405161019091906144f4565b6101e16101fc366004613e93565b6104db565b61021461020f366004613c63565b610573565b005b61021e61067e565b604051610190929190614461565b6101e161023a366004613dd0565b61069f565b61018361024d366004614288565b6107ec565b6101e1610260366004613ed3565b610880565b610214610273366004613d74565b6109e3565b6101c1610a7c565b61029361028e366004613c63565b610a98565b604051610190919061454b565b6101e16102ae366004613ed3565b61110f565b6101ac6102c1366004613c2b565b611267565b6102936102d4366004613d0d565b6112a2565b6102146102e7366004613d0d565b6113d3565b6101836102fa366004614288565b6114d7565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602090815260408083208484529091529020545b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a70000000000000000000000000000000000000000000000000000000014806103ca57507fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000145b8061041657507fffffffff0000000000000000000000000000000000000000000000000000000082167f4e2312e000000000000000000000000000000000000000000000000000000000145b90505b919050565b60035473ffffffffffffffffffffffffffffffffffffffff1690565b606081818167ffffffffffffffff8111801561045557600080fd5b5060405190808252806020026020018201604052801561047f578160200160208202803683370190505b50905060005b828110156104d2576008600087878481811061049d57fe5b905060200201358152602001908152602001600020548282815181106104bf57fe5b6020908102919091010152600101610485565b50949350505050565b606081818167ffffffffffffffff811180156104f657600080fd5b50604051908082528060200260200182016040528015610520578160200160208202803683370190505b50905060005b828110156104d2576007600087878481811061053e57fe5b9050602002013581526020019081526020016000205482828151811061056057fe5b6020908102919091010152600101610526565b3373ffffffffffffffffffffffffffffffffffffffff8616148061059c575061059c8533611267565b6105f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180615265602f913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff841661065d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806151d96030913960400191505060405180910390fd5b61066985858585611556565b610677858585855a86611880565b5050505050565b60045460065473ffffffffffffffffffffffffffffffffffffffff90911691565b606081518351146106fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615239602c913960400191505060405180910390fd5b6060835167ffffffffffffffff8111801561071557600080fd5b5060405190808252806020026020018201604052801561073f578160200160208202803683370190505b50905060005b84518110156107e4576001600086838151811061075e57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008583815181106107ae57fe5b60200260200101518152602001908152602001600020548282815181106107d157fe5b6020908102919091010152600101610745565b509392505050565b600080831180156107fd5750600082115b610833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614f73565b6000610841856103e3611af7565b9050600061084f8285611af7565b9050600061086983610863886103e8611af7565b90611b87565b905080828161087457fe5b04979650505050505050565b606083818167ffffffffffffffff8111801561089b57600080fd5b506040519080825280602002602001820160405280156108c5578160200160208202803683370190505b50905060005b828110156109d85760035460009073ffffffffffffffffffffffffffffffffffffffff1662fdd58e308b8b8681811061090057fe5b905060200201356040518363ffffffff1660e01b8152600401610924929190614461565b60206040518083038186803b15801561093c57600080fd5b505afa158015610950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109749190614270565b90506109b887878481811061098557fe5b9050602002013582600860008d8d8881811061099d57fe5b905060200201358152602001908152602001600020546107ec565b8383815181106109c457fe5b6020908102919091010152506001016108cb565b509695505050505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b60055473ffffffffffffffffffffffffffffffffffffffff1690565b60008082806020019051810190610aaf9190613f93565b90507fffffffff0000000000000000000000000000000000000000000000000000000081167fb2d81047000000000000000000000000000000000000000000000000000000001415610ccb5760045473ffffffffffffffffffffffffffffffffffffffff163314610b4c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101679061502d565b8451600114610b87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101679061476f565b60065485600081518110610b9757fe5b602002602001015114610bd6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101679061468f565b610bde6139dd565b83806020019051810190610bf29190614048565b80519092506000915073ffffffffffffffffffffffffffffffffffffffff1615610c1d578151610c1f565b875b90506060610c508360200151846040015189600081518110610c3d57fe5b6020026020010151866060015186611bfb565b90508173ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a308560200151866040015185604051610cbb93929190614507565b60405180910390a35050506110e3565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fdb08ec97000000000000000000000000000000000000000000000000000000001415610e2b5760035473ffffffffffffffffffffffffffffffffffffffff163314610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906149b3565b610d6e613a1b565b83806020019051810190610d8291906141d1565b80519092506000915073ffffffffffffffffffffffffffffffffffffffff1615610dad578151610daf565b875b90506060610dc888888560200151866040015186611fbf565b90508173ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd8a8a85604051610cbb93929190614507565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f82da2b73000000000000000000000000000000000000000000000000000000001415610f035760035473ffffffffffffffffffffffffffffffffffffffff163314610ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906146ec565b610ece613a52565b83806020019051810190610ee29190613faf565b905080915050610efd878787846000015185602001516122c9565b506110e3565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f5c0bf259000000000000000000000000000000000000000000000000000000001415610fc257333014610f86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614af0565b610f8e613a6c565b83806020019051810190610fa29190614115565b905080915050610efd87878784600001518560200151866040015161293e565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fc8c323f90000000000000000000000000000000000000000000000000000000014156110b15760045473ffffffffffffffffffffffffffffffffffffffff16331461105d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906147f2565b6006548560008151811061106d57fe5b6020026020010151146110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101679061468f565b6110e3565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614fd0565b507fbc197c81000000000000000000000000000000000000000000000000000000009695505050505050565b606083818167ffffffffffffffff8111801561112a57600080fd5b50604051908082528060200260200182016040528015611154578160200160208202803683370190505b50905060005b828110156109d85760035460009073ffffffffffffffffffffffffffffffffffffffff1662fdd58e308b8b8681811061118f57fe5b905060200201356040518363ffffffff1660e01b81526004016111b3929190614461565b60206040518083038186803b1580156111cb57600080fd5b505afa1580156111df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112039190614270565b905061124787878481811061121457fe5b90506020020135600860008c8c8781811061122b57fe5b90506020020135815260200190815260200160002054836114d7565b83838151811061125357fe5b60209081029190910101525060010161115a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205460ff1690565b6040805160018082528183019092526000916060919060208083019080368337505060408051600180825281830190925292935060609291506020808301908036833701905050905085826000815181106112f957fe5b602002602001018181525050848160008151811061131357fe5b60200260200101818152505061132c8888848488610a98565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c8100000000000000000000000000000000000000000000000000000000146113a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614c2d565b507ff23a6e6100000000000000000000000000000000000000000000000000000000979650505050505050565b3373ffffffffffffffffffffffffffffffffffffffff861614806113fc57506113fc8533611267565b611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061517a602a913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff84166114bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b81526020018061514f602b913960400191505060405180910390fd5b6114c985858585612ea7565b610677858585855a86612faf565b600080831180156114e85750600082115b61151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614f16565b60006115366103e86115308688611af7565b90611af7565b9050600061154a6103e361153086896131a0565b90506109d88282613217565b80518251146115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806151a46035913960400191505060405180910390fd5b815160005b81811015611778576116468382815181106115cc57fe5b6020026020010151600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087858151811061162157fe5b60200260200101518152602001908152602001600020546131a090919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600160205260408120865190919087908590811061167c57fe5b602002602001015181526020019081526020016000208190555061171f8382815181106116a557fe5b6020026020010151600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008785815181106116fa57fe5b6020026020010151815260200190815260200160002054611b8790919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600160205260408120865190919087908590811061175557fe5b6020908102919091018101518252810191909152604001600020556001016115b5565b508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561182557818101518382015260200161180d565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561186457818101518382015260200161184c565b5050505090500194505050505060405180910390a45050505050565b61189f8573ffffffffffffffffffffffffffffffffffffffff1661325e565b15611aef5760008573ffffffffffffffffffffffffffffffffffffffff1663bc197c8184338a8989886040518763ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561195757818101518382015260200161193f565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561199657818101518382015260200161197e565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156119d25781810151838201526020016119ba565b50505050905090810190601f1680156119ff5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600088803b158015611a2457600080fd5b5087f1158015611a38573d6000803e3d6000fd5b50505050506040513d6020811015611a4f57600080fd5b505190507fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611aed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f8152602001806152c4603f913960400191505060405180910390fd5b505b505050505050565b600082611b0657506000610331565b82820282848281611b1357fe5b0414611b8057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f536166654d617468236d756c3a204f564552464c4f5700000000000000000000604482015290519081900360640190fd5b9392505050565b600082820183811015611b8057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f536166654d617468236164643a204f564552464c4f5700000000000000000000604482015290519081900360640190fd5b60005460609060ff16611c6f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905542831015611cd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614632565b8551848167ffffffffffffffff81118015611ceb57600080fd5b50604051908082528060200260200182016040528015611d15578160200160208202803683370190505b50925060608267ffffffffffffffff81118015611d3157600080fd5b50604051908082528060200260200182016040528015611d5b578160200160208202803683370190505b509050611d6789613295565b905060005b83811015611e645760008a8281518110611d8257fe5b6020026020010151905060008a8381518110611d9a57fe5b602002602001015190506000848481518110611db257fe5b6020026020010151905060008211611df6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614ce8565b60008381526008602052604081205490611e118483856114d7565b9050611e1d88826131a0565b9750808a8781518110611e2c57fe5b6020908102919091010152611e418282611b87565b60009586526008602052604090952094909455505060019092019150611d6c9050565b508115611efa57600480546006546040517ff242432a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9092169263f242432a92611ec79230928b9289910161441c565b600060405180830381600087803b158015611ee157600080fd5b505af1158015611ef5573d6000803e3d6000fd5b505050505b6003546040517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690632eb2c2d690611f5690309089908e908e9060040161430e565b600060405180830381600087803b158015611f7057600080fd5b505af1158015611f84573d6000803e3d6000fd5b50505050505050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905595945050505050565b60005460609060ff1661203357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055855142841015612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614875565b60008167ffffffffffffffff811180156120b057600080fd5b506040519080825280602002602001820160405280156120da578160200160208202803683370190505b50925060608267ffffffffffffffff811180156120f657600080fd5b50604051908082528060200260200182016040528015612120578160200160208202803683370190505b50905061212c89613295565b905060005b838110156122325760008a828151811061214757fe5b6020026020010151905060008a838151811061215f57fe5b60200260200101519050600084848151811061217757fe5b60200260200101519050600082116121bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614eb9565b600083815260086020526040812054906121df846121d985826131a0565b846107ec565b90506121eb8882611b87565b97506121f782826131a0565b600086815260086020526040902055895181908b908890811061221657fe5b6020908102919091010152505060019093019250612131915050565b508682101561226d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906148d2565b600480546006546040517ff242432a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9092169263f242432a92611f569230928b9289910161441c565b60005460ff1661233a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690554281101561239c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614d45565b8351600060608267ffffffffffffffff811180156123b957600080fd5b506040519080825280602002602001820160405280156123e3578160200160208202803683370190505b50905060608367ffffffffffffffff811180156123ff57600080fd5b50604051908082528060200260200182016040528015612429578160200160208202803683370190505b50905060608467ffffffffffffffff8111801561244557600080fd5b5060405190808252806020026020018201604052801561246f578160200160208202803683370190505b50905061247b89613295565b905060005b858110156127db5760008a828151811061249657fe5b6020026020010151905060008a83815181106124ae57fe5b6020026020010151905060008a84815181106124c657fe5b602002602001015111612505576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614578565b6000811161253f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614e5c565b60045474010000000000000000000000000000000000000000900460ff161561259e5760065482141561259e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614da2565b60008281526007602052604090205480156127145760008381526008602052604081205486519091908790879081106125d357fe5b602002602001015190506000806126056125f68588611af790919063ffffffff16565b61260085896131a0565b613217565b91509150818f898151811061261657fe5b60200260200101511015612656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614a93565b6126608483611b87565b6000888152600860205260409020556126798c83611b87565b9b508361269c866115308461268f576000612692565b60015b869060ff166131a0565b816126a357fe5b048b89815181106126b057fe5b602002602001018181525050818a89815181106126c957fe5b6020026020010181815250506126fb8b89815181106126e457fe5b602002602001015186611b8790919063ffffffff16565b600088815260076020526040902055506127d092505050565b60008b858151811061272257fe5b60200260200101519050633b9aca0081101561276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614a36565b60008481526008602052604090208190556127858982611b87565b6000858152600760205260409020829055885190995081908990879081106127a957fe5b602002602001018181525050808786815181106127c257fe5b602002602001018181525050505b505050600101612480565b506127f78a8a856040518060200160405280600081525061357d565b60045460065460405173ffffffffffffffffffffffffffffffffffffffff9092169163f242432a918d913091908990612854907fc8c323f9000000000000000000000000000000000000000000000000000000009060200161454b565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612883959493929190614373565b600060405180830381600087803b15801561289d57600080fd5b505af11580156128b1573d6000803e3d6000fd5b505050508973ffffffffffffffffffffffffffffffffffffffff167f403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da3168a8a856040516128ff93929190614507565b60405180910390a25050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60005460ff166129af57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055428111612a10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614b73565b8451600060608267ffffffffffffffff81118015612a2d57600080fd5b50604051908082528060200260200182016040528015612a57578160200160208202803683370190505b50905060608367ffffffffffffffff81118015612a7357600080fd5b50604051908082528060200260200182016040528015612a9d578160200160208202803683370190505b50905060608467ffffffffffffffff81118015612ab957600080fd5b50604051908082528060200260200182016040528015612ae3578160200160208202803683370190505b509050612aef8a613295565b905060005b85811015612cee5760008b8281518110612b0a57fe5b6020026020010151905060008b8381518110612b2257fe5b602002602001015190506000848481518110612b3a57fe5b6020026020010151905060006007600085815260200190815260200160002054905060008111612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906145d5565b6000848152600860205260408120549082612bb18684611af7565b81612bb857fe5b049050600083612bc88787611af7565b81612bcf57fe5b0490508f8881518110612bde57fe5b6020026020010151821015612c1f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614c8a565b8e8881518110612c2b57fe5b6020026020010151811015612c6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614dff565b612c7684876131a0565b600088815260076020526040902055612c8f83836131a0565b600088815260086020526040902055612ca88c83611b87565b9b50808b8981518110612cb757fe5b602002602001018181525050818a8981518110612cd057fe5b6020908102919091010152505060019095019450612af49350505050565b50612cfa308b8b6137b2565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a308d600654886040518563ffffffff1660e01b8152600401612d5d949392919061441c565b600060405180830381600087803b158015612d7757600080fd5b505af1158015612d8b573d6000803e3d6000fd5b50506003546040517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169250632eb2c2d69150612deb9030908f908f90899060040161430e565b600060405180830381600087803b158015612e0557600080fd5b505af1158015612e19573d6000803e3d6000fd5b505050508a73ffffffffffffffffffffffffffffffffffffffff167f711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd4238b8585604051612e6793929190614507565b60405180910390a25050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320858452909152902054612ee290826131a0565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600160208181526040808420888552825280842095909555928716825282528281208582529091522054612f339082611b87565b73ffffffffffffffffffffffffffffffffffffffff8085166000818152600160209081526040808320888452825291829020949094558051868152938401859052805191939288169233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62929181900390910190a450505050565b612fce8573ffffffffffffffffffffffffffffffffffffffff1661325e565b15611aef5760008573ffffffffffffffffffffffffffffffffffffffff1663f23a6e6184338a8989886040518763ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561308757818101518382015260200161306f565b50505050905090810190601f1680156130b45780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600088803b1580156130d757600080fd5b5087f11580156130eb573d6000803e3d6000fd5b50505050506040513d602081101561310257600080fd5b505190507fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611aed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180615303603a913960400191505060405180910390fd5b60008282111561321157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f536166654d617468237375623a20554e444552464c4f57000000000000000000604482015290519081900360640190fd5b50900390565b60008082848161322357fe5b06156132455761323e600184868161323757fe5b0490611b87565b6001613252565b82848161324e57fe5b0460005b915091505b9250929050565b6000813f8015801590611b8057507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470141592915050565b8051606090600181141561338957604080516001808252818301909252606091602080830190803683375050600354865192935073ffffffffffffffffffffffffffffffffffffffff169162fdd58e9150309087906000906132f357fe5b60200260200101516040518363ffffffff1660e01b8152600401613318929190614461565b60206040518083038186803b15801561333057600080fd5b505afa158015613344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133689190614270565b8160008151811061337557fe5b602090810291909101015291506104199050565b60608167ffffffffffffffff811180156133a257600080fd5b506040519080825280602002602001820160405280156133cc578160200160208202803683370190505b50905030816000815181106133dd57fe5b73ffffffffffffffffffffffffffffffffffffffff9092166020928302919091019091015260015b828110156134a95784818151811061341957fe5b602002602001015185600183038151811061343057fe5b60200260200101511061346f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614930565b3082828151811061347c57fe5b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152600101613405565b506003546040517f4e1273f400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690634e1273f4906135029084908890600401614487565b60006040518083038186803b15801561351a57600080fd5b505afa15801561352e573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526135749190810190613f3c565b92505050610419565b81518351146135d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806152946030913960400191505060405180910390fd5b825160005b818110156136a1576136488482815181106135f357fe5b6020026020010151600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008885815181106116fa57fe5b73ffffffffffffffffffffffffffffffffffffffff87166000908152600160205260408120875190919088908590811061367e57fe5b6020908102919091018101518252810191909152604001600020556001016135dc565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561374f578181015183820152602001613737565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561378e578181015183820152602001613776565b5050505090500194505050505060405180910390a461067760008686865a87611880565b81518151811461380d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806152096030913960400191505060405180910390fd5b60005b818110156138d55761387c83828151811061382757fe5b6020026020010151600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087858151811061162157fe5b73ffffffffffffffffffffffffffffffffffffffff8616600090815260016020526040812086519091908790859081106138b257fe5b602090810291909101810151825281019190915260400160002055600101613810565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561398357818101518382015260200161396b565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156139c25781810151838201526020016139aa565b5050505090500194505050505060405180910390a450505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600081525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081525090565b604051806040016040528060608152602001600081525090565b60405180606001604052806060815260200160608152602001600081525090565b8051610419816150fb565b60008083601f840112613aa9578081fd5b50813567ffffffffffffffff811115613ac0578182fd5b602083019150836020808302850101111561325757600080fd5b600082601f830112613aea578081fd5b8135613afd613af8826150dd565b6150b9565b818152915060208083019084810181840286018201871015613b1e57600080fd5b60005b84811015613b3d57813584529282019290820190600101613b21565b505050505092915050565b600082601f830112613b58578081fd5b8151613b66613af8826150dd565b818152915060208083019084810181840286018201871015613b8757600080fd5b60005b84811015613b3d57815184529282019290820190600101613b8a565b600082601f830112613bb6578081fd5b813567ffffffffffffffff811115613bca57fe5b613bfb60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016150b9565b9150808252836020828501011115613c1257600080fd5b8060208401602084013760009082016020015292915050565b60008060408385031215613c3d578182fd5b8235613c48816150fb565b91506020830135613c58816150fb565b809150509250929050565b600080600080600060a08688031215613c7a578081fd5b8535613c85816150fb565b94506020860135613c95816150fb565b9350604086013567ffffffffffffffff80821115613cb1578283fd5b613cbd89838a01613ada565b94506060880135915080821115613cd2578283fd5b613cde89838a01613ada565b93506080880135915080821115613cf3578283fd5b50613d0088828901613ba6565b9150509295509295909350565b600080600080600060a08688031215613d24578081fd5b8535613d2f816150fb565b94506020860135613d3f816150fb565b93506040860135925060608601359150608086013567ffffffffffffffff811115613d68578182fd5b613d0088828901613ba6565b60008060408385031215613d86578182fd5b8235613d91816150fb565b915060208301358015158114613c58578182fd5b60008060408385031215613db7578182fd5b8235613dc2816150fb565b946020939093013593505050565b60008060408385031215613de2578182fd5b823567ffffffffffffffff80821115613df9578384fd5b818501915085601f830112613e0c578384fd5b8135613e1a613af8826150dd565b80828252602080830192508086018a828387028901011115613e3a578889fd5b8896505b84871015613e65578035613e51816150fb565b845260019690960195928101928101613e3e565b509096508701359350505080821115613e7c578283fd5b50613e8985828601613ada565b9150509250929050565b60008060208385031215613ea5578182fd5b823567ffffffffffffffff811115613ebb578283fd5b613ec785828601613a98565b90969095509350505050565b60008060008060408587031215613ee8578182fd5b843567ffffffffffffffff80821115613eff578384fd5b613f0b88838901613a98565b90965094506020870135915080821115613f23578384fd5b50613f3087828801613a98565b95989497509550505050565b600060208284031215613f4d578081fd5b815167ffffffffffffffff811115613f63578182fd5b613f6f84828501613b48565b949350505050565b600060208284031215613f88578081fd5b8135611b8081615120565b600060208284031215613fa4578081fd5b8151611b8081615120565b60008060408385031215613fc1578182fd5b8251613fcc81615120565b602084015190925067ffffffffffffffff80821115613fe9578283fd5b9084019060408287031215613ffc578283fd5b60405160408101818110838211171561401157fe5b604052825182811115614022578485fd5b61402e88828601613b48565b825250602083015160208201528093505050509250929050565b6000806040838503121561405a578182fd5b825161406581615120565b602084015190925067ffffffffffffffff80821115614082578283fd5b9084019060808287031215614095578283fd5b6040516080810181811083821117156140aa57fe5b6040526140b683613a8d565b81526020830151828111156140c9578485fd5b6140d588828601613b48565b6020830152506040830151828111156140ec578485fd5b6140f888828601613b48565b604083015250606083015160608201528093505050509250929050565b60008060408385031215614127578182fd5b825161413281615120565b602084015190925067ffffffffffffffff8082111561414f578283fd5b9084019060608287031215614162578283fd5b60405160608101818110838211171561417757fe5b604052825182811115614188578485fd5b61419488828601613b48565b8252506020830151828111156141a8578485fd5b6141b488828601613b48565b602083015250604083015160408201528093505050509250929050565b60008082840360808112156141e4578283fd5b83516141ef81615120565b925060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082011215614220578182fd5b506040516060810181811067ffffffffffffffff8211171561423e57fe5b604052602084015161424f816150fb565b81526040848101516020830152606090940151938101939093525092909150565b600060208284031215614281578081fd5b5051919050565b60008060006060848603121561429c578081fd5b505081359360208301359350604090920135919050565b6000815180845260208085019450808401835b838110156142e2578151875295820195908201906001016142c6565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060a0604083015261434760a08301856142b3565b828103606084015261435981856142b3565b838103608090940193909352508152602001949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015285606085015260a06080850152845191508160a0850152825b828110156143d35785810182015185820160c0015281016143b7565b828111156143e4578360c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c0019695505050505050565b73ffffffffffffffffffffffffffffffffffffffff94851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b828110156144d657815173ffffffffffffffffffffffffffffffffffffffff16845292840192908401906001016144a4565b505050838103828501526144ea81866142b3565b9695505050505050565b600060208252611b8060208301846142b3565b60006060825261451a60608301866142b3565b828103602084015261452c81866142b3565b905082810360408401526144ea81856142b3565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b60208082526032908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f204e554c4c5f4d41585f43555252454e43590000000000000000000000000000606082015260800190565b60208082526038908201527f4e696674797377617045786368616e6765235f72656d6f76654c69717569646960408201527f74793a204e554c4c5f544f54414c5f4c49515549444954590000000000000000606082015260800190565b60208082526035908201527f4e696674797377617045786368616e6765235f63757272656e6379546f546f6b60408201527f656e3a20444541444c494e455f45584345454445440000000000000000000000606082015260800190565b6020808252603d908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f43555252454e43595f4944000000606082015260800190565b60208082526043908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f544f4b454e5f5452414e5346455260608201527f5245440000000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526045908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f43555252454e43595f4944535f4160608201527f4d4f554e54000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526042908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f544f4b454e535f4445504f53495460608201527f4544000000000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526035908201527f4e696674797377617045786368616e6765235f746f6b656e546f43757272656e60408201527f63793a20444541444c494e455f45584345454445440000000000000000000000606082015260800190565b602080825260409082018190527f4e696674797377617045786368616e6765235f746f6b656e546f43757272656e908201527f63793a20494e53554646494349454e545f43555252454e43595f414d4f554e54606082015260800190565b60208082526044908201527f4e696674797377617045786368616e6765235f676574546f6b656e526573657260408201527f7665733a20554e534f525445445f4f525f4455504c49434154455f544f4b454e60608201527f5f49445300000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526044908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f544f4b454e535f5452414e53464560608201527f5252454400000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526038908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f20494e56414c49445f43555252454e43595f414d4f554e540000000000000000606082015260800190565b6020808252603d908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f204d41585f43555252454e43595f414d4f554e545f4558434545444544000000606082015260800190565b6020808252604a908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f4e494654595f544f4b454e535f5460608201527f52414e5346455252454400000000000000000000000000000000000000000000608082015260a00190565b60208082526035908201527f4e696674797377617045786368616e6765235f72656d6f76654c69717569646960408201527f74793a20444541444c494e455f45584345454445440000000000000000000000606082015260800190565b60208082526024908201527f4e696674797377617045786368616e67653a554e535550504f525445445f4d4560408201527f54484f4400000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252603f908201527f4e696674797377617045786368616e6765236f6e45524331313535526563656960408201527f7665643a20494e56414c49445f4f4e52454345495645445f4d45535341474500606082015260800190565b602080825260409082018190527f4e696674797377617045786368616e6765235f72656d6f76654c697175696469908201527f74793a20494e53554646494349454e545f43555252454e43595f414d4f554e54606082015260800190565b60208082526036908201527f4e696674797377617045786368616e6765235f63757272656e6379546f546f6b60408201527f656e3a204e554c4c5f544f4b454e535f424f5547485400000000000000000000606082015260800190565b60208082526032908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f20444541444c494e455f45584345454445440000000000000000000000000000606082015260800190565b60208082526038908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f2043555252454e43595f504f4f4c5f464f5242494444454e0000000000000000606082015260800190565b60208082526037908201527f4e696674797377617045786368616e6765235f72656d6f76654c69717569646960408201527f74793a20494e53554646494349454e545f544f4b454e53000000000000000000606082015260800190565b60208082526033908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f204e554c4c5f544f4b454e535f414d4f554e5400000000000000000000000000606082015260800190565b60208082526034908201527f4e696674797377617045786368616e6765235f746f6b656e546f43757272656e60408201527f63793a204e554c4c5f544f4b454e535f534f4c44000000000000000000000000606082015260800190565b6020808252602c908201527f4e696674797377617045786368616e67652367657442757950726963653a204560408201527f4d5054595f524553455256450000000000000000000000000000000000000000606082015260800190565b6020808252602d908201527f4e696674797377617045786368616e67652367657453656c6c50726963653a2060408201527f454d5054595f5245534552564500000000000000000000000000000000000000606082015260800190565b60208082526038908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f4d4554484f440000000000000000606082015260800190565b60208082526046908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f43555252454e43595f5452414e5360608201527f4645525245440000000000000000000000000000000000000000000000000000608082015260a00190565b90815260200190565b60405181810167ffffffffffffffff811182821017156150d557fe5b604052919050565b600067ffffffffffffffff8211156150f157fe5b5060209081020190565b73ffffffffffffffffffffffffffffffffffffffff8116811461511d57600080fd5b50565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461511d57600080fdfe4552433131353523736166655472616e7366657246726f6d3a20494e56414c49445f524543495049454e544552433131353523736166655472616e7366657246726f6d3a20494e56414c49445f4f50455241544f5245524331313535235f7361666542617463685472616e7366657246726f6d3a20494e56414c49445f4152524159535f4c454e47544845524331313535237361666542617463685472616e7366657246726f6d3a20494e56414c49445f524543495049454e54455243313135354d696e744275726e2362617463684275726e3a20494e56414c49445f4152524159535f4c454e475448455243313135352362616c616e63654f6642617463683a20494e56414c49445f41525241595f4c454e47544845524331313535237361666542617463685472616e7366657246726f6d3a20494e56414c49445f4f50455241544f52455243313135354d696e744275726e2362617463684d696e743a20494e56414c49445f4152524159535f4c454e47544845524331313535235f63616c6c6f6e45524331313535426174636852656365697665643a20494e56414c49445f4f4e5f524543454956455f4d45535341474545524331313535235f63616c6c6f6e4552433131353552656365697665643a20494e56414c49445f4f4e5f524543454956455f4d455353414745a2646970667358221220bbe4ddf43fc5ce83671a3cc56ec24b12af234f4b4d938334883029500c3510ed64736f6c63430007040033",
}
NiftyswapExchangeMetaData contains all meta data concerning the NiftyswapExchange contract.
var NiftyswapFactoryABI = NiftyswapFactoryMetaData.ABI
NiftyswapFactoryABI is the input ABI used to generate the binding from. Deprecated: Use NiftyswapFactoryMetaData.ABI instead.
var NiftyswapFactoryBin = NiftyswapFactoryMetaData.Bin
NiftyswapFactoryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use NiftyswapFactoryMetaData.Bin instead.
var NiftyswapFactoryMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"currencyID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"exchange\",\"type\":\"address\"}],\"name\":\"NewExchange\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_currencyID\",\"type\":\"uint256\"}],\"name\":\"createExchange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokensToExchange\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50615875806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80631427474c1461003b5780638359289c146100a7575b600080fd5b61007e6004803603606081101561005157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356100ec565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100ea600480360360608110156100bd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610124565b005b6000602081815293815260408082208552928152828120909352825290205473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152602081815260408083208685168452825280832085845290915290205416156101b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806158076039913960400191505060405180910390fd5b60008383836040516101c6906102cd565b808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051809103906000f080158015610226573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff85811660008181526020818152604080832089861680855290835281842089855283529281902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169587169586179055805194855251949550869491937f23658fa6d505b3e3034045b3937d4239cbdaa345bfb0c4a2d6637ade8b85457c929081900390910190a450505050565b61552c806102db8339019056fe60806040523480156200001157600080fd5b506040516200552c3803806200552c83398101604081905262000034916200011f565b6000805460ff191660011790556001600160a01b038316158015906200006257506001600160a01b03821615155b6200008a5760405162461bcd60e51b815260040162000081906200015f565b60405180910390fd5b600580546001600160a01b03199081163317909155600380546001600160a01b03868116918416821790925560048054928616929093168217909255600683905514620000d9576000620000dc565b60015b60048054911515600160a01b0260ff60a01b1990921691909117905550620001aa915050565b80516001600160a01b03811681146200011a57600080fd5b919050565b60008060006060848603121562000134578283fd5b6200013f8462000102565b92506200014f6020850162000102565b9150604084015190509250925092565b6020808252602b908201527f4e696674797377617045786368616e676523636f6e7374727563746f723a494e60408201526a159053125117d25394155560aa1b606082015260800190565b61537280620001ba6000396000f3fe608060405234801561001057600080fd5b50600436106101355760003560e01c8063863ed300116100b2578063be57146811610081578063f23a6e6111610066578063f23a6e61146102c6578063f242432a146102d9578063fca16c3b146102ec57610135565b8063be571468146102a0578063e985e9c5146102b357610135565b8063863ed30014610252578063a22cb46514610265578063a9c2e36c14610278578063bc197c811461028057610135565b80632bef5e381161010957806346adf5ca116100ee57806346adf5ca146102165780634e1273f41461022c5780636ee8e1341461023f57610135565b80632bef5e38146101ee5780632eb2c2d61461020157610135565b8062fdd58e1461017057806301ffc9a71461019957806310fe9ae8146101b9578063209b96c5146101ce575b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614bd0565b60405180910390fd5b61018361017e366004613da5565b6102ff565b60405161019091906150b0565b60405180910390f35b6101ac6101a7366004613f77565b610337565b6040516101909190614540565b6101c161041e565b60405161019091906142ed565b6101e16101dc366004613e93565b61043a565b60405161019091906144f4565b6101e16101fc366004613e93565b6104db565b61021461020f366004613c63565b610573565b005b61021e61067e565b604051610190929190614461565b6101e161023a366004613dd0565b61069f565b61018361024d366004614288565b6107ec565b6101e1610260366004613ed3565b610880565b610214610273366004613d74565b6109e3565b6101c1610a7c565b61029361028e366004613c63565b610a98565b604051610190919061454b565b6101e16102ae366004613ed3565b61110f565b6101ac6102c1366004613c2b565b611267565b6102936102d4366004613d0d565b6112a2565b6102146102e7366004613d0d565b6113d3565b6101836102fa366004614288565b6114d7565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602090815260408083208484529091529020545b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a70000000000000000000000000000000000000000000000000000000014806103ca57507fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000145b8061041657507fffffffff0000000000000000000000000000000000000000000000000000000082167f4e2312e000000000000000000000000000000000000000000000000000000000145b90505b919050565b60035473ffffffffffffffffffffffffffffffffffffffff1690565b606081818167ffffffffffffffff8111801561045557600080fd5b5060405190808252806020026020018201604052801561047f578160200160208202803683370190505b50905060005b828110156104d2576008600087878481811061049d57fe5b905060200201358152602001908152602001600020548282815181106104bf57fe5b6020908102919091010152600101610485565b50949350505050565b606081818167ffffffffffffffff811180156104f657600080fd5b50604051908082528060200260200182016040528015610520578160200160208202803683370190505b50905060005b828110156104d2576007600087878481811061053e57fe5b9050602002013581526020019081526020016000205482828151811061056057fe5b6020908102919091010152600101610526565b3373ffffffffffffffffffffffffffffffffffffffff8616148061059c575061059c8533611267565b6105f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180615265602f913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff841661065d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806151d96030913960400191505060405180910390fd5b61066985858585611556565b610677858585855a86611880565b5050505050565b60045460065473ffffffffffffffffffffffffffffffffffffffff90911691565b606081518351146106fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615239602c913960400191505060405180910390fd5b6060835167ffffffffffffffff8111801561071557600080fd5b5060405190808252806020026020018201604052801561073f578160200160208202803683370190505b50905060005b84518110156107e4576001600086838151811061075e57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008583815181106107ae57fe5b60200260200101518152602001908152602001600020548282815181106107d157fe5b6020908102919091010152600101610745565b509392505050565b600080831180156107fd5750600082115b610833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614f73565b6000610841856103e3611af7565b9050600061084f8285611af7565b9050600061086983610863886103e8611af7565b90611b87565b905080828161087457fe5b04979650505050505050565b606083818167ffffffffffffffff8111801561089b57600080fd5b506040519080825280602002602001820160405280156108c5578160200160208202803683370190505b50905060005b828110156109d85760035460009073ffffffffffffffffffffffffffffffffffffffff1662fdd58e308b8b8681811061090057fe5b905060200201356040518363ffffffff1660e01b8152600401610924929190614461565b60206040518083038186803b15801561093c57600080fd5b505afa158015610950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109749190614270565b90506109b887878481811061098557fe5b9050602002013582600860008d8d8881811061099d57fe5b905060200201358152602001908152602001600020546107ec565b8383815181106109c457fe5b6020908102919091010152506001016108cb565b509695505050505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b60055473ffffffffffffffffffffffffffffffffffffffff1690565b60008082806020019051810190610aaf9190613f93565b90507fffffffff0000000000000000000000000000000000000000000000000000000081167fb2d81047000000000000000000000000000000000000000000000000000000001415610ccb5760045473ffffffffffffffffffffffffffffffffffffffff163314610b4c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101679061502d565b8451600114610b87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101679061476f565b60065485600081518110610b9757fe5b602002602001015114610bd6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101679061468f565b610bde6139dd565b83806020019051810190610bf29190614048565b80519092506000915073ffffffffffffffffffffffffffffffffffffffff1615610c1d578151610c1f565b875b90506060610c508360200151846040015189600081518110610c3d57fe5b6020026020010151866060015186611bfb565b90508173ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a308560200151866040015185604051610cbb93929190614507565b60405180910390a35050506110e3565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fdb08ec97000000000000000000000000000000000000000000000000000000001415610e2b5760035473ffffffffffffffffffffffffffffffffffffffff163314610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906149b3565b610d6e613a1b565b83806020019051810190610d8291906141d1565b80519092506000915073ffffffffffffffffffffffffffffffffffffffff1615610dad578151610daf565b875b90506060610dc888888560200151866040015186611fbf565b90508173ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd8a8a85604051610cbb93929190614507565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f82da2b73000000000000000000000000000000000000000000000000000000001415610f035760035473ffffffffffffffffffffffffffffffffffffffff163314610ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906146ec565b610ece613a52565b83806020019051810190610ee29190613faf565b905080915050610efd878787846000015185602001516122c9565b506110e3565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f5c0bf259000000000000000000000000000000000000000000000000000000001415610fc257333014610f86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614af0565b610f8e613a6c565b83806020019051810190610fa29190614115565b905080915050610efd87878784600001518560200151866040015161293e565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fc8c323f90000000000000000000000000000000000000000000000000000000014156110b15760045473ffffffffffffffffffffffffffffffffffffffff16331461105d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906147f2565b6006548560008151811061106d57fe5b6020026020010151146110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101679061468f565b6110e3565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614fd0565b507fbc197c81000000000000000000000000000000000000000000000000000000009695505050505050565b606083818167ffffffffffffffff8111801561112a57600080fd5b50604051908082528060200260200182016040528015611154578160200160208202803683370190505b50905060005b828110156109d85760035460009073ffffffffffffffffffffffffffffffffffffffff1662fdd58e308b8b8681811061118f57fe5b905060200201356040518363ffffffff1660e01b81526004016111b3929190614461565b60206040518083038186803b1580156111cb57600080fd5b505afa1580156111df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112039190614270565b905061124787878481811061121457fe5b90506020020135600860008c8c8781811061122b57fe5b90506020020135815260200190815260200160002054836114d7565b83838151811061125357fe5b60209081029190910101525060010161115a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205460ff1690565b6040805160018082528183019092526000916060919060208083019080368337505060408051600180825281830190925292935060609291506020808301908036833701905050905085826000815181106112f957fe5b602002602001018181525050848160008151811061131357fe5b60200260200101818152505061132c8888848488610a98565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c8100000000000000000000000000000000000000000000000000000000146113a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614c2d565b507ff23a6e6100000000000000000000000000000000000000000000000000000000979650505050505050565b3373ffffffffffffffffffffffffffffffffffffffff861614806113fc57506113fc8533611267565b611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061517a602a913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff84166114bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b81526020018061514f602b913960400191505060405180910390fd5b6114c985858585612ea7565b610677858585855a86612faf565b600080831180156114e85750600082115b61151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614f16565b60006115366103e86115308688611af7565b90611af7565b9050600061154a6103e361153086896131a0565b90506109d88282613217565b80518251146115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806151a46035913960400191505060405180910390fd5b815160005b81811015611778576116468382815181106115cc57fe5b6020026020010151600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087858151811061162157fe5b60200260200101518152602001908152602001600020546131a090919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600160205260408120865190919087908590811061167c57fe5b602002602001015181526020019081526020016000208190555061171f8382815181106116a557fe5b6020026020010151600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008785815181106116fa57fe5b6020026020010151815260200190815260200160002054611b8790919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600160205260408120865190919087908590811061175557fe5b6020908102919091018101518252810191909152604001600020556001016115b5565b508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561182557818101518382015260200161180d565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561186457818101518382015260200161184c565b5050505090500194505050505060405180910390a45050505050565b61189f8573ffffffffffffffffffffffffffffffffffffffff1661325e565b15611aef5760008573ffffffffffffffffffffffffffffffffffffffff1663bc197c8184338a8989886040518763ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561195757818101518382015260200161193f565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561199657818101518382015260200161197e565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156119d25781810151838201526020016119ba565b50505050905090810190601f1680156119ff5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600088803b158015611a2457600080fd5b5087f1158015611a38573d6000803e3d6000fd5b50505050506040513d6020811015611a4f57600080fd5b505190507fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611aed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f8152602001806152c4603f913960400191505060405180910390fd5b505b505050505050565b600082611b0657506000610331565b82820282848281611b1357fe5b0414611b8057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f536166654d617468236d756c3a204f564552464c4f5700000000000000000000604482015290519081900360640190fd5b9392505050565b600082820183811015611b8057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f536166654d617468236164643a204f564552464c4f5700000000000000000000604482015290519081900360640190fd5b60005460609060ff16611c6f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905542831015611cd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614632565b8551848167ffffffffffffffff81118015611ceb57600080fd5b50604051908082528060200260200182016040528015611d15578160200160208202803683370190505b50925060608267ffffffffffffffff81118015611d3157600080fd5b50604051908082528060200260200182016040528015611d5b578160200160208202803683370190505b509050611d6789613295565b905060005b83811015611e645760008a8281518110611d8257fe5b6020026020010151905060008a8381518110611d9a57fe5b602002602001015190506000848481518110611db257fe5b6020026020010151905060008211611df6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614ce8565b60008381526008602052604081205490611e118483856114d7565b9050611e1d88826131a0565b9750808a8781518110611e2c57fe5b6020908102919091010152611e418282611b87565b60009586526008602052604090952094909455505060019092019150611d6c9050565b508115611efa57600480546006546040517ff242432a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9092169263f242432a92611ec79230928b9289910161441c565b600060405180830381600087803b158015611ee157600080fd5b505af1158015611ef5573d6000803e3d6000fd5b505050505b6003546040517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690632eb2c2d690611f5690309089908e908e9060040161430e565b600060405180830381600087803b158015611f7057600080fd5b505af1158015611f84573d6000803e3d6000fd5b50505050505050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905595945050505050565b60005460609060ff1661203357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055855142841015612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614875565b60008167ffffffffffffffff811180156120b057600080fd5b506040519080825280602002602001820160405280156120da578160200160208202803683370190505b50925060608267ffffffffffffffff811180156120f657600080fd5b50604051908082528060200260200182016040528015612120578160200160208202803683370190505b50905061212c89613295565b905060005b838110156122325760008a828151811061214757fe5b6020026020010151905060008a838151811061215f57fe5b60200260200101519050600084848151811061217757fe5b60200260200101519050600082116121bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614eb9565b600083815260086020526040812054906121df846121d985826131a0565b846107ec565b90506121eb8882611b87565b97506121f782826131a0565b600086815260086020526040902055895181908b908890811061221657fe5b6020908102919091010152505060019093019250612131915050565b508682101561226d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906148d2565b600480546006546040517ff242432a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9092169263f242432a92611f569230928b9289910161441c565b60005460ff1661233a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690554281101561239c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614d45565b8351600060608267ffffffffffffffff811180156123b957600080fd5b506040519080825280602002602001820160405280156123e3578160200160208202803683370190505b50905060608367ffffffffffffffff811180156123ff57600080fd5b50604051908082528060200260200182016040528015612429578160200160208202803683370190505b50905060608467ffffffffffffffff8111801561244557600080fd5b5060405190808252806020026020018201604052801561246f578160200160208202803683370190505b50905061247b89613295565b905060005b858110156127db5760008a828151811061249657fe5b6020026020010151905060008a83815181106124ae57fe5b6020026020010151905060008a84815181106124c657fe5b602002602001015111612505576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614578565b6000811161253f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614e5c565b60045474010000000000000000000000000000000000000000900460ff161561259e5760065482141561259e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614da2565b60008281526007602052604090205480156127145760008381526008602052604081205486519091908790879081106125d357fe5b602002602001015190506000806126056125f68588611af790919063ffffffff16565b61260085896131a0565b613217565b91509150818f898151811061261657fe5b60200260200101511015612656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614a93565b6126608483611b87565b6000888152600860205260409020556126798c83611b87565b9b508361269c866115308461268f576000612692565b60015b869060ff166131a0565b816126a357fe5b048b89815181106126b057fe5b602002602001018181525050818a89815181106126c957fe5b6020026020010181815250506126fb8b89815181106126e457fe5b602002602001015186611b8790919063ffffffff16565b600088815260076020526040902055506127d092505050565b60008b858151811061272257fe5b60200260200101519050633b9aca0081101561276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614a36565b60008481526008602052604090208190556127858982611b87565b6000858152600760205260409020829055885190995081908990879081106127a957fe5b602002602001018181525050808786815181106127c257fe5b602002602001018181525050505b505050600101612480565b506127f78a8a856040518060200160405280600081525061357d565b60045460065460405173ffffffffffffffffffffffffffffffffffffffff9092169163f242432a918d913091908990612854907fc8c323f9000000000000000000000000000000000000000000000000000000009060200161454b565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612883959493929190614373565b600060405180830381600087803b15801561289d57600080fd5b505af11580156128b1573d6000803e3d6000fd5b505050508973ffffffffffffffffffffffffffffffffffffffff167f403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da3168a8a856040516128ff93929190614507565b60405180910390a25050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60005460ff166129af57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055428111612a10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614b73565b8451600060608267ffffffffffffffff81118015612a2d57600080fd5b50604051908082528060200260200182016040528015612a57578160200160208202803683370190505b50905060608367ffffffffffffffff81118015612a7357600080fd5b50604051908082528060200260200182016040528015612a9d578160200160208202803683370190505b50905060608467ffffffffffffffff81118015612ab957600080fd5b50604051908082528060200260200182016040528015612ae3578160200160208202803683370190505b509050612aef8a613295565b905060005b85811015612cee5760008b8281518110612b0a57fe5b6020026020010151905060008b8381518110612b2257fe5b602002602001015190506000848481518110612b3a57fe5b6020026020010151905060006007600085815260200190815260200160002054905060008111612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610167906145d5565b6000848152600860205260408120549082612bb18684611af7565b81612bb857fe5b049050600083612bc88787611af7565b81612bcf57fe5b0490508f8881518110612bde57fe5b6020026020010151821015612c1f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614c8a565b8e8881518110612c2b57fe5b6020026020010151811015612c6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614dff565b612c7684876131a0565b600088815260076020526040902055612c8f83836131a0565b600088815260086020526040902055612ca88c83611b87565b9b50808b8981518110612cb757fe5b602002602001018181525050818a8981518110612cd057fe5b6020908102919091010152505060019095019450612af49350505050565b50612cfa308b8b6137b2565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a308d600654886040518563ffffffff1660e01b8152600401612d5d949392919061441c565b600060405180830381600087803b158015612d7757600080fd5b505af1158015612d8b573d6000803e3d6000fd5b50506003546040517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169250632eb2c2d69150612deb9030908f908f90899060040161430e565b600060405180830381600087803b158015612e0557600080fd5b505af1158015612e19573d6000803e3d6000fd5b505050508a73ffffffffffffffffffffffffffffffffffffffff167f711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd4238b8585604051612e6793929190614507565b60405180910390a25050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320858452909152902054612ee290826131a0565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600160208181526040808420888552825280842095909555928716825282528281208582529091522054612f339082611b87565b73ffffffffffffffffffffffffffffffffffffffff8085166000818152600160209081526040808320888452825291829020949094558051868152938401859052805191939288169233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62929181900390910190a450505050565b612fce8573ffffffffffffffffffffffffffffffffffffffff1661325e565b15611aef5760008573ffffffffffffffffffffffffffffffffffffffff1663f23a6e6184338a8989886040518763ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561308757818101518382015260200161306f565b50505050905090810190601f1680156130b45780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600088803b1580156130d757600080fd5b5087f11580156130eb573d6000803e3d6000fd5b50505050506040513d602081101561310257600080fd5b505190507fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611aed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180615303603a913960400191505060405180910390fd5b60008282111561321157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f536166654d617468237375623a20554e444552464c4f57000000000000000000604482015290519081900360640190fd5b50900390565b60008082848161322357fe5b06156132455761323e600184868161323757fe5b0490611b87565b6001613252565b82848161324e57fe5b0460005b915091505b9250929050565b6000813f8015801590611b8057507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470141592915050565b8051606090600181141561338957604080516001808252818301909252606091602080830190803683375050600354865192935073ffffffffffffffffffffffffffffffffffffffff169162fdd58e9150309087906000906132f357fe5b60200260200101516040518363ffffffff1660e01b8152600401613318929190614461565b60206040518083038186803b15801561333057600080fd5b505afa158015613344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133689190614270565b8160008151811061337557fe5b602090810291909101015291506104199050565b60608167ffffffffffffffff811180156133a257600080fd5b506040519080825280602002602001820160405280156133cc578160200160208202803683370190505b50905030816000815181106133dd57fe5b73ffffffffffffffffffffffffffffffffffffffff9092166020928302919091019091015260015b828110156134a95784818151811061341957fe5b602002602001015185600183038151811061343057fe5b60200260200101511061346f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016790614930565b3082828151811061347c57fe5b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152600101613405565b506003546040517f4e1273f400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690634e1273f4906135029084908890600401614487565b60006040518083038186803b15801561351a57600080fd5b505afa15801561352e573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526135749190810190613f3c565b92505050610419565b81518351146135d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806152946030913960400191505060405180910390fd5b825160005b818110156136a1576136488482815181106135f357fe5b6020026020010151600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008885815181106116fa57fe5b73ffffffffffffffffffffffffffffffffffffffff87166000908152600160205260408120875190919088908590811061367e57fe5b6020908102919091018101518252810191909152604001600020556001016135dc565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561374f578181015183820152602001613737565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561378e578181015183820152602001613776565b5050505090500194505050505060405180910390a461067760008686865a87611880565b81518151811461380d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806152096030913960400191505060405180910390fd5b60005b818110156138d55761387c83828151811061382757fe5b6020026020010151600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087858151811061162157fe5b73ffffffffffffffffffffffffffffffffffffffff8616600090815260016020526040812086519091908790859081106138b257fe5b602090810291909101810151825281019190915260400160002055600101613810565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561398357818101518382015260200161396b565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156139c25781810151838201526020016139aa565b5050505090500194505050505060405180910390a450505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600081525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081525090565b604051806040016040528060608152602001600081525090565b60405180606001604052806060815260200160608152602001600081525090565b8051610419816150fb565b60008083601f840112613aa9578081fd5b50813567ffffffffffffffff811115613ac0578182fd5b602083019150836020808302850101111561325757600080fd5b600082601f830112613aea578081fd5b8135613afd613af8826150dd565b6150b9565b818152915060208083019084810181840286018201871015613b1e57600080fd5b60005b84811015613b3d57813584529282019290820190600101613b21565b505050505092915050565b600082601f830112613b58578081fd5b8151613b66613af8826150dd565b818152915060208083019084810181840286018201871015613b8757600080fd5b60005b84811015613b3d57815184529282019290820190600101613b8a565b600082601f830112613bb6578081fd5b813567ffffffffffffffff811115613bca57fe5b613bfb60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016150b9565b9150808252836020828501011115613c1257600080fd5b8060208401602084013760009082016020015292915050565b60008060408385031215613c3d578182fd5b8235613c48816150fb565b91506020830135613c58816150fb565b809150509250929050565b600080600080600060a08688031215613c7a578081fd5b8535613c85816150fb565b94506020860135613c95816150fb565b9350604086013567ffffffffffffffff80821115613cb1578283fd5b613cbd89838a01613ada565b94506060880135915080821115613cd2578283fd5b613cde89838a01613ada565b93506080880135915080821115613cf3578283fd5b50613d0088828901613ba6565b9150509295509295909350565b600080600080600060a08688031215613d24578081fd5b8535613d2f816150fb565b94506020860135613d3f816150fb565b93506040860135925060608601359150608086013567ffffffffffffffff811115613d68578182fd5b613d0088828901613ba6565b60008060408385031215613d86578182fd5b8235613d91816150fb565b915060208301358015158114613c58578182fd5b60008060408385031215613db7578182fd5b8235613dc2816150fb565b946020939093013593505050565b60008060408385031215613de2578182fd5b823567ffffffffffffffff80821115613df9578384fd5b818501915085601f830112613e0c578384fd5b8135613e1a613af8826150dd565b80828252602080830192508086018a828387028901011115613e3a578889fd5b8896505b84871015613e65578035613e51816150fb565b845260019690960195928101928101613e3e565b509096508701359350505080821115613e7c578283fd5b50613e8985828601613ada565b9150509250929050565b60008060208385031215613ea5578182fd5b823567ffffffffffffffff811115613ebb578283fd5b613ec785828601613a98565b90969095509350505050565b60008060008060408587031215613ee8578182fd5b843567ffffffffffffffff80821115613eff578384fd5b613f0b88838901613a98565b90965094506020870135915080821115613f23578384fd5b50613f3087828801613a98565b95989497509550505050565b600060208284031215613f4d578081fd5b815167ffffffffffffffff811115613f63578182fd5b613f6f84828501613b48565b949350505050565b600060208284031215613f88578081fd5b8135611b8081615120565b600060208284031215613fa4578081fd5b8151611b8081615120565b60008060408385031215613fc1578182fd5b8251613fcc81615120565b602084015190925067ffffffffffffffff80821115613fe9578283fd5b9084019060408287031215613ffc578283fd5b60405160408101818110838211171561401157fe5b604052825182811115614022578485fd5b61402e88828601613b48565b825250602083015160208201528093505050509250929050565b6000806040838503121561405a578182fd5b825161406581615120565b602084015190925067ffffffffffffffff80821115614082578283fd5b9084019060808287031215614095578283fd5b6040516080810181811083821117156140aa57fe5b6040526140b683613a8d565b81526020830151828111156140c9578485fd5b6140d588828601613b48565b6020830152506040830151828111156140ec578485fd5b6140f888828601613b48565b604083015250606083015160608201528093505050509250929050565b60008060408385031215614127578182fd5b825161413281615120565b602084015190925067ffffffffffffffff8082111561414f578283fd5b9084019060608287031215614162578283fd5b60405160608101818110838211171561417757fe5b604052825182811115614188578485fd5b61419488828601613b48565b8252506020830151828111156141a8578485fd5b6141b488828601613b48565b602083015250604083015160408201528093505050509250929050565b60008082840360808112156141e4578283fd5b83516141ef81615120565b925060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082011215614220578182fd5b506040516060810181811067ffffffffffffffff8211171561423e57fe5b604052602084015161424f816150fb565b81526040848101516020830152606090940151938101939093525092909150565b600060208284031215614281578081fd5b5051919050565b60008060006060848603121561429c578081fd5b505081359360208301359350604090920135919050565b6000815180845260208085019450808401835b838110156142e2578151875295820195908201906001016142c6565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060a0604083015261434760a08301856142b3565b828103606084015261435981856142b3565b838103608090940193909352508152602001949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015285606085015260a06080850152845191508160a0850152825b828110156143d35785810182015185820160c0015281016143b7565b828111156143e4578360c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c0019695505050505050565b73ffffffffffffffffffffffffffffffffffffffff94851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b828110156144d657815173ffffffffffffffffffffffffffffffffffffffff16845292840192908401906001016144a4565b505050838103828501526144ea81866142b3565b9695505050505050565b600060208252611b8060208301846142b3565b60006060825261451a60608301866142b3565b828103602084015261452c81866142b3565b905082810360408401526144ea81856142b3565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b60208082526032908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f204e554c4c5f4d41585f43555252454e43590000000000000000000000000000606082015260800190565b60208082526038908201527f4e696674797377617045786368616e6765235f72656d6f76654c69717569646960408201527f74793a204e554c4c5f544f54414c5f4c49515549444954590000000000000000606082015260800190565b60208082526035908201527f4e696674797377617045786368616e6765235f63757272656e6379546f546f6b60408201527f656e3a20444541444c494e455f45584345454445440000000000000000000000606082015260800190565b6020808252603d908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f43555252454e43595f4944000000606082015260800190565b60208082526043908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f544f4b454e5f5452414e5346455260608201527f5245440000000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526045908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f43555252454e43595f4944535f4160608201527f4d4f554e54000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526042908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f544f4b454e535f4445504f53495460608201527f4544000000000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526035908201527f4e696674797377617045786368616e6765235f746f6b656e546f43757272656e60408201527f63793a20444541444c494e455f45584345454445440000000000000000000000606082015260800190565b602080825260409082018190527f4e696674797377617045786368616e6765235f746f6b656e546f43757272656e908201527f63793a20494e53554646494349454e545f43555252454e43595f414d4f554e54606082015260800190565b60208082526044908201527f4e696674797377617045786368616e6765235f676574546f6b656e526573657260408201527f7665733a20554e534f525445445f4f525f4455504c49434154455f544f4b454e60608201527f5f49445300000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526044908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f544f4b454e535f5452414e53464560608201527f5252454400000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526038908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f20494e56414c49445f43555252454e43595f414d4f554e540000000000000000606082015260800190565b6020808252603d908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f204d41585f43555252454e43595f414d4f554e545f4558434545444544000000606082015260800190565b6020808252604a908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f4e494654595f544f4b454e535f5460608201527f52414e5346455252454400000000000000000000000000000000000000000000608082015260a00190565b60208082526035908201527f4e696674797377617045786368616e6765235f72656d6f76654c69717569646960408201527f74793a20444541444c494e455f45584345454445440000000000000000000000606082015260800190565b60208082526024908201527f4e696674797377617045786368616e67653a554e535550504f525445445f4d4560408201527f54484f4400000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252603f908201527f4e696674797377617045786368616e6765236f6e45524331313535526563656960408201527f7665643a20494e56414c49445f4f4e52454345495645445f4d45535341474500606082015260800190565b602080825260409082018190527f4e696674797377617045786368616e6765235f72656d6f76654c697175696469908201527f74793a20494e53554646494349454e545f43555252454e43595f414d4f554e54606082015260800190565b60208082526036908201527f4e696674797377617045786368616e6765235f63757272656e6379546f546f6b60408201527f656e3a204e554c4c5f544f4b454e535f424f5547485400000000000000000000606082015260800190565b60208082526032908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f20444541444c494e455f45584345454445440000000000000000000000000000606082015260800190565b60208082526038908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f2043555252454e43595f504f4f4c5f464f5242494444454e0000000000000000606082015260800190565b60208082526037908201527f4e696674797377617045786368616e6765235f72656d6f76654c69717569646960408201527f74793a20494e53554646494349454e545f544f4b454e53000000000000000000606082015260800190565b60208082526033908201527f4e696674797377617045786368616e6765235f6164644c69717569646974793a60408201527f204e554c4c5f544f4b454e535f414d4f554e5400000000000000000000000000606082015260800190565b60208082526034908201527f4e696674797377617045786368616e6765235f746f6b656e546f43757272656e60408201527f63793a204e554c4c5f544f4b454e535f534f4c44000000000000000000000000606082015260800190565b6020808252602c908201527f4e696674797377617045786368616e67652367657442757950726963653a204560408201527f4d5054595f524553455256450000000000000000000000000000000000000000606082015260800190565b6020808252602d908201527f4e696674797377617045786368616e67652367657453656c6c50726963653a2060408201527f454d5054595f5245534552564500000000000000000000000000000000000000606082015260800190565b60208082526038908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f4d4554484f440000000000000000606082015260800190565b60208082526046908201527f4e696674797377617045786368616e6765236f6e45524331313535426174636860408201527f52656365697665643a20494e56414c49445f43555252454e43595f5452414e5360608201527f4645525245440000000000000000000000000000000000000000000000000000608082015260a00190565b90815260200190565b60405181810167ffffffffffffffff811182821017156150d557fe5b604052919050565b600067ffffffffffffffff8211156150f157fe5b5060209081020190565b73ffffffffffffffffffffffffffffffffffffffff8116811461511d57600080fd5b50565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461511d57600080fdfe4552433131353523736166655472616e7366657246726f6d3a20494e56414c49445f524543495049454e544552433131353523736166655472616e7366657246726f6d3a20494e56414c49445f4f50455241544f5245524331313535235f7361666542617463685472616e7366657246726f6d3a20494e56414c49445f4152524159535f4c454e47544845524331313535237361666542617463685472616e7366657246726f6d3a20494e56414c49445f524543495049454e54455243313135354d696e744275726e2362617463684275726e3a20494e56414c49445f4152524159535f4c454e475448455243313135352362616c616e63654f6642617463683a20494e56414c49445f41525241595f4c454e47544845524331313535237361666542617463685472616e7366657246726f6d3a20494e56414c49445f4f50455241544f52455243313135354d696e744275726e2362617463684d696e743a20494e56414c49445f4152524159535f4c454e47544845524331313535235f63616c6c6f6e45524331313535426174636852656365697665643a20494e56414c49445f4f4e5f524543454956455f4d45535341474545524331313535235f63616c6c6f6e4552433131353552656365697665643a20494e56414c49445f4f4e5f524543454956455f4d455353414745a2646970667358221220bbe4ddf43fc5ce83671a3cc56ec24b12af234f4b4d938334883029500c3510ed64736f6c634300070400334e6966747973776170466163746f72792363726561746545786368616e67653a2045584348414e47455f414c52454144595f43524541544544a2646970667358221220d97e8fc6acbbfb6602ce693775d41aa56688ed922175713dd082a3eb99bf462a64736f6c63430007040033",
}
NiftyswapFactoryMetaData contains all meta data concerning the NiftyswapFactory contract.
var WrapAndNiftyswapABI = WrapAndNiftyswapMetaData.ABI
WrapAndNiftyswapABI is the input ABI used to generate the binding from. Deprecated: Use WrapAndNiftyswapMetaData.ABI instead.
var WrapAndNiftyswapBin = WrapAndNiftyswapMetaData.Bin
WrapAndNiftyswapBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WrapAndNiftyswapMetaData.Bin instead.
var WrapAndNiftyswapMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_tokenWrapper\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_exchange\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_erc20\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_erc1155\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"erc1155\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"erc20\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exchange\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_niftyswapOrder\",\"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\":[],\"name\":\"tokenWrapper\",\"outputs\":[{\"internalType\":\"contractIERC20Wrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_niftyswapOrder\",\"type\":\"bytes\"}],\"name\":\"wrapAndSwap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x6101206040523480156200001257600080fd5b5060405162001a8038038062001a808339810160408190526200003591620001ec565b6001600160a01b038416158015906200005657506001600160a01b03831615155b80156200006b57506001600160a01b03821615155b80156200008057506001600160a01b03811615155b620000a85760405162461bcd60e51b81526004016200009f90620002c2565b60405180910390fd5b6001600160601b0319606085811b821660805284811b821660a05283811b821660c05282901b1660e05260405163095ea7b360e01b81526001600160a01b0383169063095ea7b3906200010490879060001990600401620002a9565b602060405180830381600087803b1580156200011f57600080fd5b505af115801562000134573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015a919062000253565b506040516318fe01c760e21b81526001600160a01b038516906363f8071c906200018990859060040162000295565b60206040518083038186803b158015620001a257600080fd5b505afa158015620001b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001dd91906200027c565b61010052506200031292505050565b6000806000806080858703121562000202578384fd5b84516200020f81620002f9565b60208601519094506200022281620002f9565b60408601519093506200023581620002f9565b60608601519092506200024881620002f9565b939692955090935050565b60006020828403121562000265578081fd5b8151801515811462000275578182fd5b9392505050565b6000602082840312156200028e578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6020808252601c908201527f494e56414c494420434f4e5354525543544f5220415247554d454e5400000000604082015260600190565b6001600160a01b03811681146200030f57600080fd5b50565b60805160601c60a05160601c60c05160601c60e05160601c610100516116c3620003bd6000398061040052806104f452806109bd52508061068452806107825280610c4952508061010252806101f352806102e952806105de5280610aa75280610b405250806103de52806108c35280610c255250806102bc52806103af52806104c552806105b1528061071c528061098e5280610a7a5280610c015280610c8552506116c36000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063c5e3dfd81161005b578063c5e3dfd8146100d5578063d2f7265a146100dd578063d56022d7146100e5578063f23a6e61146100ed5761007d565b8063785e9e8614610082578063a874d5b6146100a0578063bc197c81146100b5575b600080fd5b61008a610100565b60405161009791906112e6565b60405180910390f35b6100b36100ae3660046111bf565b610124565b005b6100c86100c3366004610eee565b6106f7565b604051610097919061147a565b61008a610bff565b61008a610c23565b61008a610c47565b6100c86100fb366004610fa5565b610c6b565b7f000000000000000000000000000000000000000000000000000000000000000081565b61012c610d08565b61013882840184611042565b805190925073ffffffffffffffffffffffffffffffffffffffff16159050806101775750805173ffffffffffffffffffffffffffffffffffffffff1630145b6101b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad9061160a565b60405180910390fd5b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906323b872dd9061022c90339030908a90600401611307565b602060405180830381600087803b15801561024657600080fd5b505af115801561025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027e919061101b565b506040517f8340f54900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690638340f54990610315907f00000000000000000000000000000000000000000000000000000000000000009030908a90600401611307565b600060405180830381600087803b15801561032f57600080fd5b505af1158015610343573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550506040517ff242432a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063f242432a9061042e9030907f0000000000000000000000000000000000000000000000000000000000000000907f0000000000000000000000000000000000000000000000000000000000000000908b908a908a9060040161140e565b600060405180830381600087803b15801561044857600080fd5b505af115801561045c573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001681556040517efdd58e00000000000000000000000000000000000000000000000000000000815290925073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016915062fdd58e9061051c9030907f000000000000000000000000000000000000000000000000000000000000000090600401611454565b60206040518083038186803b15801561053457600080fd5b505afa158015610548573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056c91906111a7565b9050801561063d576040517fd9caed1200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063d9caed129061060a907f00000000000000000000000000000000000000000000000000000000000000009089908690600401611307565b600060405180830381600087803b15801561062457600080fd5b505af1158015610638573d6000803e3d6000fd5b505050505b602082015160408084015190517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001692632eb2c2d6926106bd9230928b9290916004016113a9565b600060405180830381600087803b1580156106d757600080fd5b505af11580156106eb573d6000803e3d6000fd5b50505050505050505050565b6000805460ff168061073e57503373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016145b1561076a57507fbc197c8100000000000000000000000000000000000000000000000000000000610bf3565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146107d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad90611587565b6107e1610d46565b6107ed8385018561110c565b805190925073ffffffffffffffffffffffffffffffffffffffff161590508061082c5750805173ffffffffffffffffffffffffffffffffffffffff1630145b610862576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad906114a7565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f2eb2c2d60000000000000000000000000000000000000000000000000000000081523390632eb2c2d6906108f79030907f0000000000000000000000000000000000000000000000000000000000000000908d908d908d908d908d908d90600401611338565b600060405180830381600087803b15801561091157600080fd5b505af1158015610925573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001681556040517efdd58e00000000000000000000000000000000000000000000000000000000815290925073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016915062fdd58e906109e59030907f000000000000000000000000000000000000000000000000000000000000000090600401611454565b60206040518083038186803b1580156109fd57600080fd5b505afa158015610a11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3591906111a7565b90508015610bcd576040517fd9caed1200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063d9caed1290610ad3907f00000000000000000000000000000000000000000000000000000000000000009030908690600401611307565b600060405180830381600087803b158015610aed57600080fd5b505af1158015610b01573d6000803e3d6000fd5b50506040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016925063a9059cbb9150610b79908d908590600401611454565b602060405180830381600087803b158015610b9357600080fd5b505af1158015610ba7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcb919061101b565b505b507fbc197c81000000000000000000000000000000000000000000000000000000009150505b98975050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60003373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610cdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad9061152a565b507ff23a6e61000000000000000000000000000000000000000000000000000000009695505050505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600081525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081525090565b803573ffffffffffffffffffffffffffffffffffffffff81168114610da157600080fd5b919050565b60008083601f840112610db7578182fd5b50813567ffffffffffffffff811115610dce578182fd5b6020830191508360208083028501011115610de857600080fd5b9250929050565b600082601f830112610dff578081fd5b813567ffffffffffffffff80821115610e1457fe5b602080830260405182828201018181108582111715610e2f57fe5b604052848152945081850192508582018187018301881015610e5057600080fd5b600091505b84821015610e73578035845292820192600191909101908201610e55565b505050505092915050565b80357fffffffff0000000000000000000000000000000000000000000000000000000081168114610da157600080fd5b60008083601f840112610ebf578182fd5b50813567ffffffffffffffff811115610ed6578182fd5b602083019150836020828501011115610de857600080fd5b60008060008060008060008060a0898b031215610f09578384fd5b610f1289610d7d565b9750610f2060208a01610d7d565b9650604089013567ffffffffffffffff80821115610f3c578586fd5b610f488c838d01610da6565b909850965060608b0135915080821115610f60578586fd5b610f6c8c838d01610da6565b909650945060808b0135915080821115610f84578384fd5b50610f918b828c01610eae565b999c989b5096995094979396929594505050565b60008060008060008060a08789031215610fbd578182fd5b610fc687610d7d565b9550610fd460208801610d7d565b94506040870135935060608701359250608087013567ffffffffffffffff811115610ffd578283fd5b61100989828a01610eae565b979a9699509497509295939492505050565b60006020828403121561102c578081fd5b8151801515811461103b578182fd5b9392505050565b60008060408385031215611054578182fd5b61105d83610e7e565b9150602083013567ffffffffffffffff80821115611079578283fd5b908401906080828703121561108c578283fd5b6040516080810181811083821117156110a157fe5b6040526110ad83610d7d565b81526020830135828111156110c0578485fd5b6110cc88828601610def565b6020830152506040830135828111156110e3578485fd5b6110ef88828601610def565b604083015250606083013560608201528093505050509250929050565b600080828403608081121561111f578283fd5b61112884610e7e565b925060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082011215611159578182fd5b506040516060810181811067ffffffffffffffff8211171561117757fe5b60405261118660208501610d7d565b81526040840135602082015260608401356040820152809150509250929050565b6000602082840312156111b8578081fd5b5051919050565b600080600080606085870312156111d4578384fd5b843593506111e460208601610d7d565b9250604085013567ffffffffffffffff8111156111ff578283fd5b61120b87828801610eae565b95989497509550505050565b60008284527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115611248578081fd5b6020830280836020870137939093016020019283525090919050565b6000815180845260208085019450808401835b8381101561129357815187529582019590820190600101611277565b509495945050505050565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b600073ffffffffffffffffffffffffffffffffffffffff808b168352808a1660208401525060a0604083015261137260a08301888a611217565b8281036060840152611385818789611217565b9050828103608084015261139a81858761129e565b9b9a5050505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060a060408301526113e260a0830185611264565b82810360608401526113f48185611264565b838103608090940193909352508152602001949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015284606083015260a06080830152610bf360a08301848661129e565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b6020808252604e908201527f57726170416e644e6966747973776170236f6e4552433131353542617463685260408201527f656365697665643a204f5244455220524543495049454e54204d55535420424560608201527f205448495320434f4e5452414354000000000000000000000000000000000000608082015260a00190565b6020808252603c908201527f57726170416e644e6966747973776170236f6e4552433131353552656365697660408201527f65643a20494e56414c49445f455243313135355f524543454956454400000000606082015260800190565b60208082526041908201527f57726170416e644e6966747973776170236f6e4552433131353542617463685260408201527f656365697665643a20494e56414c49445f455243313135355f5245434549564560608201527f4400000000000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526043908201527f57726170416e644e69667479737761702377726170416e64537761703a204f5260408201527f44455220524543495049454e54204d555354204245205448495320434f4e545260608201527f4143540000000000000000000000000000000000000000000000000000000000608082015260a0019056fea2646970667358221220645aa0f4398b7df3438ff84ac19fd744e49511f572fa9e2913725af9d93f04bd64736f6c63430007040033",
}
WrapAndNiftyswapMetaData contains all meta data concerning the WrapAndNiftyswap contract.
Functions ¶
This section is empty.
Types ¶
type INiftyswapExchange ¶
type INiftyswapExchange struct { INiftyswapExchangeCaller // Read-only binding to the contract INiftyswapExchangeTransactor // Write-only binding to the contract INiftyswapExchangeFilterer // Log filterer for contract events }
INiftyswapExchange is an auto generated Go binding around an Ethereum contract.
func NewINiftyswapExchange ¶
func NewINiftyswapExchange(address common.Address, backend bind.ContractBackend) (*INiftyswapExchange, error)
NewINiftyswapExchange creates a new instance of INiftyswapExchange, bound to a specific deployed contract.
type INiftyswapExchangeCaller ¶
type INiftyswapExchangeCaller struct {
// contains filtered or unexported fields
}
INiftyswapExchangeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewINiftyswapExchangeCaller ¶
func NewINiftyswapExchangeCaller(address common.Address, caller bind.ContractCaller) (*INiftyswapExchangeCaller, error)
NewINiftyswapExchangeCaller creates a new read-only instance of INiftyswapExchange, bound to a specific deployed contract.
func (*INiftyswapExchangeCaller) GetBuyPrice ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetBuyPrice(opts *bind.CallOpts, _assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetBuyPrice is a free data retrieval call binding the contract method 0xfca16c3b.
Solidity: function getBuyPrice(uint256 _assetBoughtAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256)
func (*INiftyswapExchangeCaller) GetCurrencyInfo ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetCurrencyInfo(opts *bind.CallOpts) (common.Address, *big.Int, error)
GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.
Solidity: function getCurrencyInfo() view returns(address, uint256)
func (*INiftyswapExchangeCaller) GetCurrencyReserves ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetCurrencyReserves(opts *bind.CallOpts, _ids []*big.Int) ([]*big.Int, error)
GetCurrencyReserves is a free data retrieval call binding the contract method 0x209b96c5.
Solidity: function getCurrencyReserves(uint256[] _ids) view returns(uint256[])
func (*INiftyswapExchangeCaller) GetFactoryAddress ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetFactoryAddress(opts *bind.CallOpts) (common.Address, error)
GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.
Solidity: function getFactoryAddress() view returns(address)
func (*INiftyswapExchangeCaller) GetPriceCurrencyToToken ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetPriceCurrencyToToken(opts *bind.CallOpts, _ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
GetPriceCurrencyToToken is a free data retrieval call binding the contract method 0xbe571468.
Solidity: function getPrice_currencyToToken(uint256[] _ids, uint256[] _tokensBought) view returns(uint256[])
func (*INiftyswapExchangeCaller) GetPriceTokenToCurrency ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetPriceTokenToCurrency(opts *bind.CallOpts, _ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
GetPriceTokenToCurrency is a free data retrieval call binding the contract method 0x863ed300.
Solidity: function getPrice_tokenToCurrency(uint256[] _ids, uint256[] _tokensSold) view returns(uint256[])
func (*INiftyswapExchangeCaller) GetSellPrice ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetSellPrice(opts *bind.CallOpts, _assetSoldAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetSellPrice is a free data retrieval call binding the contract method 0x6ee8e134.
Solidity: function getSellPrice(uint256 _assetSoldAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256)
func (*INiftyswapExchangeCaller) GetTokenAddress ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetTokenAddress(opts *bind.CallOpts) (common.Address, error)
GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.
Solidity: function getTokenAddress() view returns(address)
func (*INiftyswapExchangeCaller) GetTotalSupply ¶
func (_INiftyswapExchange *INiftyswapExchangeCaller) GetTotalSupply(opts *bind.CallOpts, _ids []*big.Int) ([]*big.Int, error)
GetTotalSupply is a free data retrieval call binding the contract method 0x2bef5e38.
Solidity: function getTotalSupply(uint256[] _ids) view returns(uint256[])
type INiftyswapExchangeCallerRaw ¶
type INiftyswapExchangeCallerRaw struct {
Contract *INiftyswapExchangeCaller // Generic read-only contract binding to access the raw methods on
}
INiftyswapExchangeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*INiftyswapExchangeCallerRaw) Call ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerRaw) 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 INiftyswapExchangeCallerSession ¶
type INiftyswapExchangeCallerSession struct { Contract *INiftyswapExchangeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
INiftyswapExchangeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*INiftyswapExchangeCallerSession) GetBuyPrice ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetBuyPrice(_assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetBuyPrice is a free data retrieval call binding the contract method 0xfca16c3b.
Solidity: function getBuyPrice(uint256 _assetBoughtAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256)
func (*INiftyswapExchangeCallerSession) GetCurrencyInfo ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetCurrencyInfo() (common.Address, *big.Int, error)
GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.
Solidity: function getCurrencyInfo() view returns(address, uint256)
func (*INiftyswapExchangeCallerSession) GetCurrencyReserves ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetCurrencyReserves(_ids []*big.Int) ([]*big.Int, error)
GetCurrencyReserves is a free data retrieval call binding the contract method 0x209b96c5.
Solidity: function getCurrencyReserves(uint256[] _ids) view returns(uint256[])
func (*INiftyswapExchangeCallerSession) GetFactoryAddress ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetFactoryAddress() (common.Address, error)
GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.
Solidity: function getFactoryAddress() view returns(address)
func (*INiftyswapExchangeCallerSession) GetPriceCurrencyToToken ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetPriceCurrencyToToken(_ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
GetPriceCurrencyToToken is a free data retrieval call binding the contract method 0xbe571468.
Solidity: function getPrice_currencyToToken(uint256[] _ids, uint256[] _tokensBought) view returns(uint256[])
func (*INiftyswapExchangeCallerSession) GetPriceTokenToCurrency ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetPriceTokenToCurrency(_ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
GetPriceTokenToCurrency is a free data retrieval call binding the contract method 0x863ed300.
Solidity: function getPrice_tokenToCurrency(uint256[] _ids, uint256[] _tokensSold) view returns(uint256[])
func (*INiftyswapExchangeCallerSession) GetSellPrice ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetSellPrice(_assetSoldAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetSellPrice is a free data retrieval call binding the contract method 0x6ee8e134.
Solidity: function getSellPrice(uint256 _assetSoldAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256)
func (*INiftyswapExchangeCallerSession) GetTokenAddress ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetTokenAddress() (common.Address, error)
GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.
Solidity: function getTokenAddress() view returns(address)
func (*INiftyswapExchangeCallerSession) GetTotalSupply ¶
func (_INiftyswapExchange *INiftyswapExchangeCallerSession) GetTotalSupply(_ids []*big.Int) ([]*big.Int, error)
GetTotalSupply is a free data retrieval call binding the contract method 0x2bef5e38.
Solidity: function getTotalSupply(uint256[] _ids) view returns(uint256[])
type INiftyswapExchangeCurrencyPurchase ¶
type INiftyswapExchangeCurrencyPurchase struct { Buyer common.Address Recipient common.Address TokensSoldIds []*big.Int TokensSoldAmounts []*big.Int CurrencyBoughtAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
INiftyswapExchangeCurrencyPurchase represents a CurrencyPurchase event raised by the INiftyswapExchange contract.
type INiftyswapExchangeCurrencyPurchaseIterator ¶
type INiftyswapExchangeCurrencyPurchaseIterator struct { Event *INiftyswapExchangeCurrencyPurchase // Event containing the contract specifics and raw log // contains filtered or unexported fields }
INiftyswapExchangeCurrencyPurchaseIterator is returned from FilterCurrencyPurchase and is used to iterate over the raw logs and unpacked data for CurrencyPurchase events raised by the INiftyswapExchange contract.
func (*INiftyswapExchangeCurrencyPurchaseIterator) Close ¶
func (it *INiftyswapExchangeCurrencyPurchaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*INiftyswapExchangeCurrencyPurchaseIterator) Error ¶
func (it *INiftyswapExchangeCurrencyPurchaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*INiftyswapExchangeCurrencyPurchaseIterator) Next ¶
func (it *INiftyswapExchangeCurrencyPurchaseIterator) 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 INiftyswapExchangeFilterer ¶
type INiftyswapExchangeFilterer struct {
// contains filtered or unexported fields
}
INiftyswapExchangeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewINiftyswapExchangeFilterer ¶
func NewINiftyswapExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*INiftyswapExchangeFilterer, error)
NewINiftyswapExchangeFilterer creates a new log filterer instance of INiftyswapExchange, bound to a specific deployed contract.
func (*INiftyswapExchangeFilterer) FilterCurrencyPurchase ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) FilterCurrencyPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*INiftyswapExchangeCurrencyPurchaseIterator, error)
FilterCurrencyPurchase is a free log retrieval operation binding the contract event 0x89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd.
Solidity: event CurrencyPurchase(address indexed buyer, address indexed recipient, uint256[] tokensSoldIds, uint256[] tokensSoldAmounts, uint256[] currencyBoughtAmounts)
func (*INiftyswapExchangeFilterer) FilterLiquidityAdded ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) FilterLiquidityAdded(opts *bind.FilterOpts, provider []common.Address) (*INiftyswapExchangeLiquidityAddedIterator, error)
FilterLiquidityAdded is a free log retrieval operation binding the contract event 0x403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da316.
Solidity: event LiquidityAdded(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*INiftyswapExchangeFilterer) FilterLiquidityRemoved ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) FilterLiquidityRemoved(opts *bind.FilterOpts, provider []common.Address) (*INiftyswapExchangeLiquidityRemovedIterator, error)
FilterLiquidityRemoved is a free log retrieval operation binding the contract event 0x711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd423.
Solidity: event LiquidityRemoved(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*INiftyswapExchangeFilterer) FilterTokensPurchase ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) FilterTokensPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*INiftyswapExchangeTokensPurchaseIterator, error)
FilterTokensPurchase is a free log retrieval operation binding the contract event 0xd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a30.
Solidity: event TokensPurchase(address indexed buyer, address indexed recipient, uint256[] tokensBoughtIds, uint256[] tokensBoughtAmounts, uint256[] currencySoldAmounts)
func (*INiftyswapExchangeFilterer) ParseCurrencyPurchase ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) ParseCurrencyPurchase(log types.Log) (*INiftyswapExchangeCurrencyPurchase, error)
ParseCurrencyPurchase is a log parse operation binding the contract event 0x89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd.
Solidity: event CurrencyPurchase(address indexed buyer, address indexed recipient, uint256[] tokensSoldIds, uint256[] tokensSoldAmounts, uint256[] currencyBoughtAmounts)
func (*INiftyswapExchangeFilterer) ParseLiquidityAdded ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) ParseLiquidityAdded(log types.Log) (*INiftyswapExchangeLiquidityAdded, error)
ParseLiquidityAdded is a log parse operation binding the contract event 0x403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da316.
Solidity: event LiquidityAdded(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*INiftyswapExchangeFilterer) ParseLiquidityRemoved ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) ParseLiquidityRemoved(log types.Log) (*INiftyswapExchangeLiquidityRemoved, error)
ParseLiquidityRemoved is a log parse operation binding the contract event 0x711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd423.
Solidity: event LiquidityRemoved(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*INiftyswapExchangeFilterer) ParseTokensPurchase ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) ParseTokensPurchase(log types.Log) (*INiftyswapExchangeTokensPurchase, error)
ParseTokensPurchase is a log parse operation binding the contract event 0xd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a30.
Solidity: event TokensPurchase(address indexed buyer, address indexed recipient, uint256[] tokensBoughtIds, uint256[] tokensBoughtAmounts, uint256[] currencySoldAmounts)
func (*INiftyswapExchangeFilterer) WatchCurrencyPurchase ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) WatchCurrencyPurchase(opts *bind.WatchOpts, sink chan<- *INiftyswapExchangeCurrencyPurchase, buyer []common.Address, recipient []common.Address) (event.Subscription, error)
WatchCurrencyPurchase is a free log subscription operation binding the contract event 0x89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd.
Solidity: event CurrencyPurchase(address indexed buyer, address indexed recipient, uint256[] tokensSoldIds, uint256[] tokensSoldAmounts, uint256[] currencyBoughtAmounts)
func (*INiftyswapExchangeFilterer) WatchLiquidityAdded ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *INiftyswapExchangeLiquidityAdded, provider []common.Address) (event.Subscription, error)
WatchLiquidityAdded is a free log subscription operation binding the contract event 0x403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da316.
Solidity: event LiquidityAdded(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*INiftyswapExchangeFilterer) WatchLiquidityRemoved ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *INiftyswapExchangeLiquidityRemoved, provider []common.Address) (event.Subscription, error)
WatchLiquidityRemoved is a free log subscription operation binding the contract event 0x711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd423.
Solidity: event LiquidityRemoved(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*INiftyswapExchangeFilterer) WatchTokensPurchase ¶
func (_INiftyswapExchange *INiftyswapExchangeFilterer) WatchTokensPurchase(opts *bind.WatchOpts, sink chan<- *INiftyswapExchangeTokensPurchase, buyer []common.Address, recipient []common.Address) (event.Subscription, error)
WatchTokensPurchase is a free log subscription operation binding the contract event 0xd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a30.
Solidity: event TokensPurchase(address indexed buyer, address indexed recipient, uint256[] tokensBoughtIds, uint256[] tokensBoughtAmounts, uint256[] currencySoldAmounts)
type INiftyswapExchangeLiquidityAdded ¶
type INiftyswapExchangeLiquidityAdded struct { Provider common.Address TokenIds []*big.Int TokenAmounts []*big.Int CurrencyAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
INiftyswapExchangeLiquidityAdded represents a LiquidityAdded event raised by the INiftyswapExchange contract.
type INiftyswapExchangeLiquidityAddedIterator ¶
type INiftyswapExchangeLiquidityAddedIterator struct { Event *INiftyswapExchangeLiquidityAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
INiftyswapExchangeLiquidityAddedIterator is returned from FilterLiquidityAdded and is used to iterate over the raw logs and unpacked data for LiquidityAdded events raised by the INiftyswapExchange contract.
func (*INiftyswapExchangeLiquidityAddedIterator) Close ¶
func (it *INiftyswapExchangeLiquidityAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*INiftyswapExchangeLiquidityAddedIterator) Error ¶
func (it *INiftyswapExchangeLiquidityAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*INiftyswapExchangeLiquidityAddedIterator) Next ¶
func (it *INiftyswapExchangeLiquidityAddedIterator) 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 INiftyswapExchangeLiquidityRemoved ¶
type INiftyswapExchangeLiquidityRemoved struct { Provider common.Address TokenIds []*big.Int TokenAmounts []*big.Int CurrencyAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
INiftyswapExchangeLiquidityRemoved represents a LiquidityRemoved event raised by the INiftyswapExchange contract.
type INiftyswapExchangeLiquidityRemovedIterator ¶
type INiftyswapExchangeLiquidityRemovedIterator struct { Event *INiftyswapExchangeLiquidityRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
INiftyswapExchangeLiquidityRemovedIterator is returned from FilterLiquidityRemoved and is used to iterate over the raw logs and unpacked data for LiquidityRemoved events raised by the INiftyswapExchange contract.
func (*INiftyswapExchangeLiquidityRemovedIterator) Close ¶
func (it *INiftyswapExchangeLiquidityRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*INiftyswapExchangeLiquidityRemovedIterator) Error ¶
func (it *INiftyswapExchangeLiquidityRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*INiftyswapExchangeLiquidityRemovedIterator) Next ¶
func (it *INiftyswapExchangeLiquidityRemovedIterator) 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 INiftyswapExchangeRaw ¶
type INiftyswapExchangeRaw struct {
Contract *INiftyswapExchange // Generic contract binding to access the raw methods on
}
INiftyswapExchangeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*INiftyswapExchangeRaw) Call ¶
func (_INiftyswapExchange *INiftyswapExchangeRaw) 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 (*INiftyswapExchangeRaw) Transact ¶
func (_INiftyswapExchange *INiftyswapExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*INiftyswapExchangeRaw) Transfer ¶
func (_INiftyswapExchange *INiftyswapExchangeRaw) 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 INiftyswapExchangeSession ¶
type INiftyswapExchangeSession struct { Contract *INiftyswapExchange // 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 }
INiftyswapExchangeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*INiftyswapExchangeSession) GetBuyPrice ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetBuyPrice(_assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetBuyPrice is a free data retrieval call binding the contract method 0xfca16c3b.
Solidity: function getBuyPrice(uint256 _assetBoughtAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256)
func (*INiftyswapExchangeSession) GetCurrencyInfo ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetCurrencyInfo() (common.Address, *big.Int, error)
GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.
Solidity: function getCurrencyInfo() view returns(address, uint256)
func (*INiftyswapExchangeSession) GetCurrencyReserves ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetCurrencyReserves(_ids []*big.Int) ([]*big.Int, error)
GetCurrencyReserves is a free data retrieval call binding the contract method 0x209b96c5.
Solidity: function getCurrencyReserves(uint256[] _ids) view returns(uint256[])
func (*INiftyswapExchangeSession) GetFactoryAddress ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetFactoryAddress() (common.Address, error)
GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.
Solidity: function getFactoryAddress() view returns(address)
func (*INiftyswapExchangeSession) GetPriceCurrencyToToken ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetPriceCurrencyToToken(_ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
GetPriceCurrencyToToken is a free data retrieval call binding the contract method 0xbe571468.
Solidity: function getPrice_currencyToToken(uint256[] _ids, uint256[] _tokensBought) view returns(uint256[])
func (*INiftyswapExchangeSession) GetPriceTokenToCurrency ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetPriceTokenToCurrency(_ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
GetPriceTokenToCurrency is a free data retrieval call binding the contract method 0x863ed300.
Solidity: function getPrice_tokenToCurrency(uint256[] _ids, uint256[] _tokensSold) view returns(uint256[])
func (*INiftyswapExchangeSession) GetSellPrice ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetSellPrice(_assetSoldAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetSellPrice is a free data retrieval call binding the contract method 0x6ee8e134.
Solidity: function getSellPrice(uint256 _assetSoldAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256)
func (*INiftyswapExchangeSession) GetTokenAddress ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetTokenAddress() (common.Address, error)
GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.
Solidity: function getTokenAddress() view returns(address)
func (*INiftyswapExchangeSession) GetTotalSupply ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) GetTotalSupply(_ids []*big.Int) ([]*big.Int, error)
GetTotalSupply is a free data retrieval call binding the contract method 0x2bef5e38.
Solidity: function getTotalSupply(uint256[] _ids) view returns(uint256[])
func (*INiftyswapExchangeSession) OnERC1155BatchReceived ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*INiftyswapExchangeSession) OnERC1155Received ¶
func (_INiftyswapExchange *INiftyswapExchangeSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
type INiftyswapExchangeTokensPurchase ¶
type INiftyswapExchangeTokensPurchase struct { Buyer common.Address Recipient common.Address TokensBoughtIds []*big.Int TokensBoughtAmounts []*big.Int CurrencySoldAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
INiftyswapExchangeTokensPurchase represents a TokensPurchase event raised by the INiftyswapExchange contract.
type INiftyswapExchangeTokensPurchaseIterator ¶
type INiftyswapExchangeTokensPurchaseIterator struct { Event *INiftyswapExchangeTokensPurchase // Event containing the contract specifics and raw log // contains filtered or unexported fields }
INiftyswapExchangeTokensPurchaseIterator is returned from FilterTokensPurchase and is used to iterate over the raw logs and unpacked data for TokensPurchase events raised by the INiftyswapExchange contract.
func (*INiftyswapExchangeTokensPurchaseIterator) Close ¶
func (it *INiftyswapExchangeTokensPurchaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*INiftyswapExchangeTokensPurchaseIterator) Error ¶
func (it *INiftyswapExchangeTokensPurchaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*INiftyswapExchangeTokensPurchaseIterator) Next ¶
func (it *INiftyswapExchangeTokensPurchaseIterator) 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 INiftyswapExchangeTransactor ¶
type INiftyswapExchangeTransactor struct {
// contains filtered or unexported fields
}
INiftyswapExchangeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewINiftyswapExchangeTransactor ¶
func NewINiftyswapExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*INiftyswapExchangeTransactor, error)
NewINiftyswapExchangeTransactor creates a new write-only instance of INiftyswapExchange, bound to a specific deployed contract.
func (*INiftyswapExchangeTransactor) OnERC1155BatchReceived ¶
func (_INiftyswapExchange *INiftyswapExchangeTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*INiftyswapExchangeTransactor) OnERC1155Received ¶
func (_INiftyswapExchange *INiftyswapExchangeTransactor) OnERC1155Received(opts *bind.TransactOpts, _operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
type INiftyswapExchangeTransactorRaw ¶
type INiftyswapExchangeTransactorRaw struct {
Contract *INiftyswapExchangeTransactor // Generic write-only contract binding to access the raw methods on
}
INiftyswapExchangeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*INiftyswapExchangeTransactorRaw) Transact ¶
func (_INiftyswapExchange *INiftyswapExchangeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*INiftyswapExchangeTransactorRaw) Transfer ¶
func (_INiftyswapExchange *INiftyswapExchangeTransactorRaw) 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 INiftyswapExchangeTransactorSession ¶
type INiftyswapExchangeTransactorSession struct { Contract *INiftyswapExchangeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
INiftyswapExchangeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*INiftyswapExchangeTransactorSession) OnERC1155BatchReceived ¶
func (_INiftyswapExchange *INiftyswapExchangeTransactorSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*INiftyswapExchangeTransactorSession) OnERC1155Received ¶
func (_INiftyswapExchange *INiftyswapExchangeTransactorSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
type INiftyswapFactory ¶
type INiftyswapFactory struct { INiftyswapFactoryCaller // Read-only binding to the contract INiftyswapFactoryTransactor // Write-only binding to the contract INiftyswapFactoryFilterer // Log filterer for contract events }
INiftyswapFactory is an auto generated Go binding around an Ethereum contract.
func NewINiftyswapFactory ¶
func NewINiftyswapFactory(address common.Address, backend bind.ContractBackend) (*INiftyswapFactory, error)
NewINiftyswapFactory creates a new instance of INiftyswapFactory, bound to a specific deployed contract.
type INiftyswapFactoryCaller ¶
type INiftyswapFactoryCaller struct {
// contains filtered or unexported fields
}
INiftyswapFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewINiftyswapFactoryCaller ¶
func NewINiftyswapFactoryCaller(address common.Address, caller bind.ContractCaller) (*INiftyswapFactoryCaller, error)
NewINiftyswapFactoryCaller creates a new read-only instance of INiftyswapFactory, bound to a specific deployed contract.
func (*INiftyswapFactoryCaller) TokensToExchange ¶
func (_INiftyswapFactory *INiftyswapFactoryCaller) TokensToExchange(opts *bind.CallOpts, _token common.Address, _currency common.Address, _currencyID *big.Int) (common.Address, error)
TokensToExchange is a free data retrieval call binding the contract method 0x1427474c.
Solidity: function tokensToExchange(address _token, address _currency, uint256 _currencyID) view returns(address)
type INiftyswapFactoryCallerRaw ¶
type INiftyswapFactoryCallerRaw struct {
Contract *INiftyswapFactoryCaller // Generic read-only contract binding to access the raw methods on
}
INiftyswapFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*INiftyswapFactoryCallerRaw) Call ¶
func (_INiftyswapFactory *INiftyswapFactoryCallerRaw) 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 INiftyswapFactoryCallerSession ¶
type INiftyswapFactoryCallerSession struct { Contract *INiftyswapFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
INiftyswapFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*INiftyswapFactoryCallerSession) TokensToExchange ¶
func (_INiftyswapFactory *INiftyswapFactoryCallerSession) TokensToExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (common.Address, error)
TokensToExchange is a free data retrieval call binding the contract method 0x1427474c.
Solidity: function tokensToExchange(address _token, address _currency, uint256 _currencyID) view returns(address)
type INiftyswapFactoryFilterer ¶
type INiftyswapFactoryFilterer struct {
// contains filtered or unexported fields
}
INiftyswapFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewINiftyswapFactoryFilterer ¶
func NewINiftyswapFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*INiftyswapFactoryFilterer, error)
NewINiftyswapFactoryFilterer creates a new log filterer instance of INiftyswapFactory, bound to a specific deployed contract.
func (*INiftyswapFactoryFilterer) FilterNewExchange ¶
func (_INiftyswapFactory *INiftyswapFactoryFilterer) FilterNewExchange(opts *bind.FilterOpts, token []common.Address, currency []common.Address, currencyID []*big.Int) (*INiftyswapFactoryNewExchangeIterator, error)
FilterNewExchange is a free log retrieval operation binding the contract event 0x23658fa6d505b3e3034045b3937d4239cbdaa345bfb0c4a2d6637ade8b85457c.
Solidity: event NewExchange(address indexed token, address indexed currency, uint256 indexed currencyID, address exchange)
func (*INiftyswapFactoryFilterer) ParseNewExchange ¶
func (_INiftyswapFactory *INiftyswapFactoryFilterer) ParseNewExchange(log types.Log) (*INiftyswapFactoryNewExchange, error)
ParseNewExchange is a log parse operation binding the contract event 0x23658fa6d505b3e3034045b3937d4239cbdaa345bfb0c4a2d6637ade8b85457c.
Solidity: event NewExchange(address indexed token, address indexed currency, uint256 indexed currencyID, address exchange)
func (*INiftyswapFactoryFilterer) WatchNewExchange ¶
func (_INiftyswapFactory *INiftyswapFactoryFilterer) WatchNewExchange(opts *bind.WatchOpts, sink chan<- *INiftyswapFactoryNewExchange, token []common.Address, currency []common.Address, currencyID []*big.Int) (event.Subscription, error)
WatchNewExchange is a free log subscription operation binding the contract event 0x23658fa6d505b3e3034045b3937d4239cbdaa345bfb0c4a2d6637ade8b85457c.
Solidity: event NewExchange(address indexed token, address indexed currency, uint256 indexed currencyID, address exchange)
type INiftyswapFactoryNewExchange ¶
type INiftyswapFactoryNewExchange struct { Token common.Address Currency common.Address CurrencyID *big.Int Exchange common.Address Raw types.Log // Blockchain specific contextual infos }
INiftyswapFactoryNewExchange represents a NewExchange event raised by the INiftyswapFactory contract.
type INiftyswapFactoryNewExchangeIterator ¶
type INiftyswapFactoryNewExchangeIterator struct { Event *INiftyswapFactoryNewExchange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
INiftyswapFactoryNewExchangeIterator is returned from FilterNewExchange and is used to iterate over the raw logs and unpacked data for NewExchange events raised by the INiftyswapFactory contract.
func (*INiftyswapFactoryNewExchangeIterator) Close ¶
func (it *INiftyswapFactoryNewExchangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*INiftyswapFactoryNewExchangeIterator) Error ¶
func (it *INiftyswapFactoryNewExchangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*INiftyswapFactoryNewExchangeIterator) Next ¶
func (it *INiftyswapFactoryNewExchangeIterator) 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 INiftyswapFactoryRaw ¶
type INiftyswapFactoryRaw struct {
Contract *INiftyswapFactory // Generic contract binding to access the raw methods on
}
INiftyswapFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*INiftyswapFactoryRaw) Call ¶
func (_INiftyswapFactory *INiftyswapFactoryRaw) 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 (*INiftyswapFactoryRaw) Transact ¶
func (_INiftyswapFactory *INiftyswapFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*INiftyswapFactoryRaw) Transfer ¶
func (_INiftyswapFactory *INiftyswapFactoryRaw) 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 INiftyswapFactorySession ¶
type INiftyswapFactorySession struct { Contract *INiftyswapFactory // 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 }
INiftyswapFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*INiftyswapFactorySession) CreateExchange ¶
func (_INiftyswapFactory *INiftyswapFactorySession) CreateExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x8359289c.
Solidity: function createExchange(address _token, address _currency, uint256 _currencyID) returns()
func (*INiftyswapFactorySession) TokensToExchange ¶
func (_INiftyswapFactory *INiftyswapFactorySession) TokensToExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (common.Address, error)
TokensToExchange is a free data retrieval call binding the contract method 0x1427474c.
Solidity: function tokensToExchange(address _token, address _currency, uint256 _currencyID) view returns(address)
type INiftyswapFactoryTransactor ¶
type INiftyswapFactoryTransactor struct {
// contains filtered or unexported fields
}
INiftyswapFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewINiftyswapFactoryTransactor ¶
func NewINiftyswapFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*INiftyswapFactoryTransactor, error)
NewINiftyswapFactoryTransactor creates a new write-only instance of INiftyswapFactory, bound to a specific deployed contract.
func (*INiftyswapFactoryTransactor) CreateExchange ¶
func (_INiftyswapFactory *INiftyswapFactoryTransactor) CreateExchange(opts *bind.TransactOpts, _token common.Address, _currency common.Address, _currencyID *big.Int) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x8359289c.
Solidity: function createExchange(address _token, address _currency, uint256 _currencyID) returns()
type INiftyswapFactoryTransactorRaw ¶
type INiftyswapFactoryTransactorRaw struct {
Contract *INiftyswapFactoryTransactor // Generic write-only contract binding to access the raw methods on
}
INiftyswapFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*INiftyswapFactoryTransactorRaw) Transact ¶
func (_INiftyswapFactory *INiftyswapFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*INiftyswapFactoryTransactorRaw) Transfer ¶
func (_INiftyswapFactory *INiftyswapFactoryTransactorRaw) 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 INiftyswapFactoryTransactorSession ¶
type INiftyswapFactoryTransactorSession struct { Contract *INiftyswapFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
INiftyswapFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*INiftyswapFactoryTransactorSession) CreateExchange ¶
func (_INiftyswapFactory *INiftyswapFactoryTransactorSession) CreateExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x8359289c.
Solidity: function createExchange(address _token, address _currency, uint256 _currencyID) returns()
type IWrapAndNiftyswap ¶
type IWrapAndNiftyswap struct { IWrapAndNiftyswapCaller // Read-only binding to the contract IWrapAndNiftyswapTransactor // Write-only binding to the contract IWrapAndNiftyswapFilterer // Log filterer for contract events }
IWrapAndNiftyswap is an auto generated Go binding around an Ethereum contract.
func NewIWrapAndNiftyswap ¶
func NewIWrapAndNiftyswap(address common.Address, backend bind.ContractBackend) (*IWrapAndNiftyswap, error)
NewIWrapAndNiftyswap creates a new instance of IWrapAndNiftyswap, bound to a specific deployed contract.
type IWrapAndNiftyswapCaller ¶
type IWrapAndNiftyswapCaller struct {
// contains filtered or unexported fields
}
IWrapAndNiftyswapCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIWrapAndNiftyswapCaller ¶
func NewIWrapAndNiftyswapCaller(address common.Address, caller bind.ContractCaller) (*IWrapAndNiftyswapCaller, error)
NewIWrapAndNiftyswapCaller creates a new read-only instance of IWrapAndNiftyswap, bound to a specific deployed contract.
type IWrapAndNiftyswapCallerRaw ¶
type IWrapAndNiftyswapCallerRaw struct {
Contract *IWrapAndNiftyswapCaller // Generic read-only contract binding to access the raw methods on
}
IWrapAndNiftyswapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IWrapAndNiftyswapCallerRaw) Call ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapCallerRaw) 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 IWrapAndNiftyswapCallerSession ¶
type IWrapAndNiftyswapCallerSession struct { Contract *IWrapAndNiftyswapCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IWrapAndNiftyswapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IWrapAndNiftyswapFilterer ¶
type IWrapAndNiftyswapFilterer struct {
// contains filtered or unexported fields
}
IWrapAndNiftyswapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIWrapAndNiftyswapFilterer ¶
func NewIWrapAndNiftyswapFilterer(address common.Address, filterer bind.ContractFilterer) (*IWrapAndNiftyswapFilterer, error)
NewIWrapAndNiftyswapFilterer creates a new log filterer instance of IWrapAndNiftyswap, bound to a specific deployed contract.
type IWrapAndNiftyswapRaw ¶
type IWrapAndNiftyswapRaw struct {
Contract *IWrapAndNiftyswap // Generic contract binding to access the raw methods on
}
IWrapAndNiftyswapRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IWrapAndNiftyswapRaw) Call ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapRaw) 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 (*IWrapAndNiftyswapRaw) Transact ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IWrapAndNiftyswapRaw) Transfer ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapRaw) 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 IWrapAndNiftyswapSession ¶
type IWrapAndNiftyswapSession struct { Contract *IWrapAndNiftyswap // 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 }
IWrapAndNiftyswapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IWrapAndNiftyswapSession) OnERC1155BatchReceived ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*IWrapAndNiftyswapSession) OnERC1155Received ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
func (*IWrapAndNiftyswapSession) WrapAndSwap ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapSession) WrapAndSwap(_maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
WrapAndSwap is a paid mutator transaction binding the contract method 0xa874d5b6.
Solidity: function wrapAndSwap(uint256 _maxAmount, address _recipient, bytes _niftyswapOrder) returns()
type IWrapAndNiftyswapTransactor ¶
type IWrapAndNiftyswapTransactor struct {
// contains filtered or unexported fields
}
IWrapAndNiftyswapTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIWrapAndNiftyswapTransactor ¶
func NewIWrapAndNiftyswapTransactor(address common.Address, transactor bind.ContractTransactor) (*IWrapAndNiftyswapTransactor, error)
NewIWrapAndNiftyswapTransactor creates a new write-only instance of IWrapAndNiftyswap, bound to a specific deployed contract.
func (*IWrapAndNiftyswapTransactor) OnERC1155BatchReceived ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*IWrapAndNiftyswapTransactor) OnERC1155Received ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactor) OnERC1155Received(opts *bind.TransactOpts, _operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
func (*IWrapAndNiftyswapTransactor) WrapAndSwap ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactor) WrapAndSwap(opts *bind.TransactOpts, _maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
WrapAndSwap is a paid mutator transaction binding the contract method 0xa874d5b6.
Solidity: function wrapAndSwap(uint256 _maxAmount, address _recipient, bytes _niftyswapOrder) returns()
type IWrapAndNiftyswapTransactorRaw ¶
type IWrapAndNiftyswapTransactorRaw struct {
Contract *IWrapAndNiftyswapTransactor // Generic write-only contract binding to access the raw methods on
}
IWrapAndNiftyswapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IWrapAndNiftyswapTransactorRaw) Transact ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IWrapAndNiftyswapTransactorRaw) Transfer ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactorRaw) 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 IWrapAndNiftyswapTransactorSession ¶
type IWrapAndNiftyswapTransactorSession struct { Contract *IWrapAndNiftyswapTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IWrapAndNiftyswapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IWrapAndNiftyswapTransactorSession) OnERC1155BatchReceived ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactorSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*IWrapAndNiftyswapTransactorSession) OnERC1155Received ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactorSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
func (*IWrapAndNiftyswapTransactorSession) WrapAndSwap ¶
func (_IWrapAndNiftyswap *IWrapAndNiftyswapTransactorSession) WrapAndSwap(_maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
WrapAndSwap is a paid mutator transaction binding the contract method 0xa874d5b6.
Solidity: function wrapAndSwap(uint256 _maxAmount, address _recipient, bytes _niftyswapOrder) returns()
type NiftyswapExchange ¶
type NiftyswapExchange struct { NiftyswapExchangeCaller // Read-only binding to the contract NiftyswapExchangeTransactor // Write-only binding to the contract NiftyswapExchangeFilterer // Log filterer for contract events }
NiftyswapExchange is an auto generated Go binding around an Ethereum contract.
func DeployNiftyswapExchange ¶
func DeployNiftyswapExchange(auth *bind.TransactOpts, backend bind.ContractBackend, _tokenAddr common.Address, _currencyAddr common.Address, _currencyID *big.Int) (common.Address, *types.Transaction, *NiftyswapExchange, error)
DeployNiftyswapExchange deploys a new Ethereum contract, binding an instance of NiftyswapExchange to it.
func NewNiftyswapExchange ¶
func NewNiftyswapExchange(address common.Address, backend bind.ContractBackend) (*NiftyswapExchange, error)
NewNiftyswapExchange creates a new instance of NiftyswapExchange, bound to a specific deployed contract.
type NiftyswapExchangeApprovalForAll ¶
type NiftyswapExchangeApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
NiftyswapExchangeApprovalForAll represents a ApprovalForAll event raised by the NiftyswapExchange contract.
type NiftyswapExchangeApprovalForAllIterator ¶
type NiftyswapExchangeApprovalForAllIterator struct { Event *NiftyswapExchangeApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NiftyswapExchangeApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the NiftyswapExchange contract.
func (*NiftyswapExchangeApprovalForAllIterator) Close ¶
func (it *NiftyswapExchangeApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NiftyswapExchangeApprovalForAllIterator) Error ¶
func (it *NiftyswapExchangeApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NiftyswapExchangeApprovalForAllIterator) Next ¶
func (it *NiftyswapExchangeApprovalForAllIterator) 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 NiftyswapExchangeCaller ¶
type NiftyswapExchangeCaller struct {
// contains filtered or unexported fields
}
NiftyswapExchangeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNiftyswapExchangeCaller ¶
func NewNiftyswapExchangeCaller(address common.Address, caller bind.ContractCaller) (*NiftyswapExchangeCaller, error)
NewNiftyswapExchangeCaller creates a new read-only instance of NiftyswapExchange, bound to a specific deployed contract.
func (*NiftyswapExchangeCaller) BalanceOf ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address, _id *big.Int) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address _owner, uint256 _id) view returns(uint256)
func (*NiftyswapExchangeCaller) BalanceOfBatch ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) BalanceOfBatch(opts *bind.CallOpts, _owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] _owners, uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeCaller) GetBuyPrice ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetBuyPrice(opts *bind.CallOpts, _assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetBuyPrice is a free data retrieval call binding the contract method 0xfca16c3b.
Solidity: function getBuyPrice(uint256 _assetBoughtAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256 price)
func (*NiftyswapExchangeCaller) GetCurrencyInfo ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetCurrencyInfo(opts *bind.CallOpts) (common.Address, *big.Int, error)
GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.
Solidity: function getCurrencyInfo() view returns(address, uint256)
func (*NiftyswapExchangeCaller) GetCurrencyReserves ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetCurrencyReserves(opts *bind.CallOpts, _ids []*big.Int) ([]*big.Int, error)
GetCurrencyReserves is a free data retrieval call binding the contract method 0x209b96c5.
Solidity: function getCurrencyReserves(uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeCaller) GetFactoryAddress ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetFactoryAddress(opts *bind.CallOpts) (common.Address, error)
GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.
Solidity: function getFactoryAddress() view returns(address)
func (*NiftyswapExchangeCaller) GetPriceCurrencyToToken ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetPriceCurrencyToToken(opts *bind.CallOpts, _ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
GetPriceCurrencyToToken is a free data retrieval call binding the contract method 0xbe571468.
Solidity: function getPrice_currencyToToken(uint256[] _ids, uint256[] _tokensBought) view returns(uint256[])
func (*NiftyswapExchangeCaller) GetPriceTokenToCurrency ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetPriceTokenToCurrency(opts *bind.CallOpts, _ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
GetPriceTokenToCurrency is a free data retrieval call binding the contract method 0x863ed300.
Solidity: function getPrice_tokenToCurrency(uint256[] _ids, uint256[] _tokensSold) view returns(uint256[])
func (*NiftyswapExchangeCaller) GetSellPrice ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetSellPrice(opts *bind.CallOpts, _assetSoldAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetSellPrice is a free data retrieval call binding the contract method 0x6ee8e134.
Solidity: function getSellPrice(uint256 _assetSoldAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256 price)
func (*NiftyswapExchangeCaller) GetTokenAddress ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetTokenAddress(opts *bind.CallOpts) (common.Address, error)
GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.
Solidity: function getTokenAddress() view returns(address)
func (*NiftyswapExchangeCaller) GetTotalSupply ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) GetTotalSupply(opts *bind.CallOpts, _ids []*big.Int) ([]*big.Int, error)
GetTotalSupply is a free data retrieval call binding the contract method 0x2bef5e38.
Solidity: function getTotalSupply(uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeCaller) IsApprovedForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) IsApprovedForAll(opts *bind.CallOpts, _owner common.Address, _operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address _owner, address _operator) view returns(bool isOperator)
func (*NiftyswapExchangeCaller) SupportsInterface ¶
func (_NiftyswapExchange *NiftyswapExchangeCaller) 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) pure returns(bool)
type NiftyswapExchangeCallerRaw ¶
type NiftyswapExchangeCallerRaw struct {
Contract *NiftyswapExchangeCaller // Generic read-only contract binding to access the raw methods on
}
NiftyswapExchangeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NiftyswapExchangeCallerRaw) Call ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerRaw) 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 NiftyswapExchangeCallerSession ¶
type NiftyswapExchangeCallerSession struct { Contract *NiftyswapExchangeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NiftyswapExchangeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NiftyswapExchangeCallerSession) BalanceOf ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) BalanceOf(_owner common.Address, _id *big.Int) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address _owner, uint256 _id) view returns(uint256)
func (*NiftyswapExchangeCallerSession) BalanceOfBatch ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) BalanceOfBatch(_owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] _owners, uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeCallerSession) GetBuyPrice ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetBuyPrice(_assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetBuyPrice is a free data retrieval call binding the contract method 0xfca16c3b.
Solidity: function getBuyPrice(uint256 _assetBoughtAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256 price)
func (*NiftyswapExchangeCallerSession) GetCurrencyInfo ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetCurrencyInfo() (common.Address, *big.Int, error)
GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.
Solidity: function getCurrencyInfo() view returns(address, uint256)
func (*NiftyswapExchangeCallerSession) GetCurrencyReserves ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetCurrencyReserves(_ids []*big.Int) ([]*big.Int, error)
GetCurrencyReserves is a free data retrieval call binding the contract method 0x209b96c5.
Solidity: function getCurrencyReserves(uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeCallerSession) GetFactoryAddress ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetFactoryAddress() (common.Address, error)
GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.
Solidity: function getFactoryAddress() view returns(address)
func (*NiftyswapExchangeCallerSession) GetPriceCurrencyToToken ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetPriceCurrencyToToken(_ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
GetPriceCurrencyToToken is a free data retrieval call binding the contract method 0xbe571468.
Solidity: function getPrice_currencyToToken(uint256[] _ids, uint256[] _tokensBought) view returns(uint256[])
func (*NiftyswapExchangeCallerSession) GetPriceTokenToCurrency ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetPriceTokenToCurrency(_ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
GetPriceTokenToCurrency is a free data retrieval call binding the contract method 0x863ed300.
Solidity: function getPrice_tokenToCurrency(uint256[] _ids, uint256[] _tokensSold) view returns(uint256[])
func (*NiftyswapExchangeCallerSession) GetSellPrice ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetSellPrice(_assetSoldAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetSellPrice is a free data retrieval call binding the contract method 0x6ee8e134.
Solidity: function getSellPrice(uint256 _assetSoldAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256 price)
func (*NiftyswapExchangeCallerSession) GetTokenAddress ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetTokenAddress() (common.Address, error)
GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.
Solidity: function getTokenAddress() view returns(address)
func (*NiftyswapExchangeCallerSession) GetTotalSupply ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) GetTotalSupply(_ids []*big.Int) ([]*big.Int, error)
GetTotalSupply is a free data retrieval call binding the contract method 0x2bef5e38.
Solidity: function getTotalSupply(uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeCallerSession) IsApprovedForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address _owner, address _operator) view returns(bool isOperator)
func (*NiftyswapExchangeCallerSession) SupportsInterface ¶
func (_NiftyswapExchange *NiftyswapExchangeCallerSession) SupportsInterface(interfaceID [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceID) pure returns(bool)
type NiftyswapExchangeCurrencyPurchase ¶
type NiftyswapExchangeCurrencyPurchase struct { Buyer common.Address Recipient common.Address TokensSoldIds []*big.Int TokensSoldAmounts []*big.Int CurrencyBoughtAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
NiftyswapExchangeCurrencyPurchase represents a CurrencyPurchase event raised by the NiftyswapExchange contract.
type NiftyswapExchangeCurrencyPurchaseIterator ¶
type NiftyswapExchangeCurrencyPurchaseIterator struct { Event *NiftyswapExchangeCurrencyPurchase // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NiftyswapExchangeCurrencyPurchaseIterator is returned from FilterCurrencyPurchase and is used to iterate over the raw logs and unpacked data for CurrencyPurchase events raised by the NiftyswapExchange contract.
func (*NiftyswapExchangeCurrencyPurchaseIterator) Close ¶
func (it *NiftyswapExchangeCurrencyPurchaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NiftyswapExchangeCurrencyPurchaseIterator) Error ¶
func (it *NiftyswapExchangeCurrencyPurchaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NiftyswapExchangeCurrencyPurchaseIterator) Next ¶
func (it *NiftyswapExchangeCurrencyPurchaseIterator) 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 NiftyswapExchangeFilterer ¶
type NiftyswapExchangeFilterer struct {
// contains filtered or unexported fields
}
NiftyswapExchangeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNiftyswapExchangeFilterer ¶
func NewNiftyswapExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*NiftyswapExchangeFilterer, error)
NewNiftyswapExchangeFilterer creates a new log filterer instance of NiftyswapExchange, bound to a specific deployed contract.
func (*NiftyswapExchangeFilterer) FilterApprovalForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterApprovalForAll(opts *bind.FilterOpts, _owner []common.Address, _operator []common.Address) (*NiftyswapExchangeApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)
func (*NiftyswapExchangeFilterer) FilterCurrencyPurchase ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterCurrencyPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*NiftyswapExchangeCurrencyPurchaseIterator, error)
FilterCurrencyPurchase is a free log retrieval operation binding the contract event 0x89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd.
Solidity: event CurrencyPurchase(address indexed buyer, address indexed recipient, uint256[] tokensSoldIds, uint256[] tokensSoldAmounts, uint256[] currencyBoughtAmounts)
func (*NiftyswapExchangeFilterer) FilterLiquidityAdded ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterLiquidityAdded(opts *bind.FilterOpts, provider []common.Address) (*NiftyswapExchangeLiquidityAddedIterator, error)
FilterLiquidityAdded is a free log retrieval operation binding the contract event 0x403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da316.
Solidity: event LiquidityAdded(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*NiftyswapExchangeFilterer) FilterLiquidityRemoved ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterLiquidityRemoved(opts *bind.FilterOpts, provider []common.Address) (*NiftyswapExchangeLiquidityRemovedIterator, error)
FilterLiquidityRemoved is a free log retrieval operation binding the contract event 0x711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd423.
Solidity: event LiquidityRemoved(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*NiftyswapExchangeFilterer) FilterTokensPurchase ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterTokensPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*NiftyswapExchangeTokensPurchaseIterator, error)
FilterTokensPurchase is a free log retrieval operation binding the contract event 0xd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a30.
Solidity: event TokensPurchase(address indexed buyer, address indexed recipient, uint256[] tokensBoughtIds, uint256[] tokensBoughtAmounts, uint256[] currencySoldAmounts)
func (*NiftyswapExchangeFilterer) FilterTransferBatch ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterTransferBatch(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, _to []common.Address) (*NiftyswapExchangeTransferBatchIterator, error)
FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.
Solidity: event TransferBatch(address indexed _operator, address indexed _from, address indexed _to, uint256[] _ids, uint256[] _amounts)
func (*NiftyswapExchangeFilterer) FilterTransferSingle ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) FilterTransferSingle(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, _to []common.Address) (*NiftyswapExchangeTransferSingleIterator, error)
FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.
Solidity: event TransferSingle(address indexed _operator, address indexed _from, address indexed _to, uint256 _id, uint256 _amount)
func (*NiftyswapExchangeFilterer) ParseApprovalForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseApprovalForAll(log types.Log) (*NiftyswapExchangeApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)
func (*NiftyswapExchangeFilterer) ParseCurrencyPurchase ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseCurrencyPurchase(log types.Log) (*NiftyswapExchangeCurrencyPurchase, error)
ParseCurrencyPurchase is a log parse operation binding the contract event 0x89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd.
Solidity: event CurrencyPurchase(address indexed buyer, address indexed recipient, uint256[] tokensSoldIds, uint256[] tokensSoldAmounts, uint256[] currencyBoughtAmounts)
func (*NiftyswapExchangeFilterer) ParseLiquidityAdded ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseLiquidityAdded(log types.Log) (*NiftyswapExchangeLiquidityAdded, error)
ParseLiquidityAdded is a log parse operation binding the contract event 0x403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da316.
Solidity: event LiquidityAdded(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*NiftyswapExchangeFilterer) ParseLiquidityRemoved ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseLiquidityRemoved(log types.Log) (*NiftyswapExchangeLiquidityRemoved, error)
ParseLiquidityRemoved is a log parse operation binding the contract event 0x711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd423.
Solidity: event LiquidityRemoved(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*NiftyswapExchangeFilterer) ParseTokensPurchase ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseTokensPurchase(log types.Log) (*NiftyswapExchangeTokensPurchase, error)
ParseTokensPurchase is a log parse operation binding the contract event 0xd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a30.
Solidity: event TokensPurchase(address indexed buyer, address indexed recipient, uint256[] tokensBoughtIds, uint256[] tokensBoughtAmounts, uint256[] currencySoldAmounts)
func (*NiftyswapExchangeFilterer) ParseTransferBatch ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseTransferBatch(log types.Log) (*NiftyswapExchangeTransferBatch, error)
ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.
Solidity: event TransferBatch(address indexed _operator, address indexed _from, address indexed _to, uint256[] _ids, uint256[] _amounts)
func (*NiftyswapExchangeFilterer) ParseTransferSingle ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) ParseTransferSingle(log types.Log) (*NiftyswapExchangeTransferSingle, error)
ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.
Solidity: event TransferSingle(address indexed _operator, address indexed _from, address indexed _to, uint256 _id, uint256 _amount)
func (*NiftyswapExchangeFilterer) WatchApprovalForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeApprovalForAll, _owner []common.Address, _operator []common.Address) (event.Subscription, error)
WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)
func (*NiftyswapExchangeFilterer) WatchCurrencyPurchase ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchCurrencyPurchase(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeCurrencyPurchase, buyer []common.Address, recipient []common.Address) (event.Subscription, error)
WatchCurrencyPurchase is a free log subscription operation binding the contract event 0x89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd.
Solidity: event CurrencyPurchase(address indexed buyer, address indexed recipient, uint256[] tokensSoldIds, uint256[] tokensSoldAmounts, uint256[] currencyBoughtAmounts)
func (*NiftyswapExchangeFilterer) WatchLiquidityAdded ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeLiquidityAdded, provider []common.Address) (event.Subscription, error)
WatchLiquidityAdded is a free log subscription operation binding the contract event 0x403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da316.
Solidity: event LiquidityAdded(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*NiftyswapExchangeFilterer) WatchLiquidityRemoved ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeLiquidityRemoved, provider []common.Address) (event.Subscription, error)
WatchLiquidityRemoved is a free log subscription operation binding the contract event 0x711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd423.
Solidity: event LiquidityRemoved(address indexed provider, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] currencyAmounts)
func (*NiftyswapExchangeFilterer) WatchTokensPurchase ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchTokensPurchase(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeTokensPurchase, buyer []common.Address, recipient []common.Address) (event.Subscription, error)
WatchTokensPurchase is a free log subscription operation binding the contract event 0xd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a30.
Solidity: event TokensPurchase(address indexed buyer, address indexed recipient, uint256[] tokensBoughtIds, uint256[] tokensBoughtAmounts, uint256[] currencySoldAmounts)
func (*NiftyswapExchangeFilterer) WatchTransferBatch ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeTransferBatch, _operator []common.Address, _from []common.Address, _to []common.Address) (event.Subscription, error)
WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.
Solidity: event TransferBatch(address indexed _operator, address indexed _from, address indexed _to, uint256[] _ids, uint256[] _amounts)
func (*NiftyswapExchangeFilterer) WatchTransferSingle ¶
func (_NiftyswapExchange *NiftyswapExchangeFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *NiftyswapExchangeTransferSingle, _operator []common.Address, _from []common.Address, _to []common.Address) (event.Subscription, error)
WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.
Solidity: event TransferSingle(address indexed _operator, address indexed _from, address indexed _to, uint256 _id, uint256 _amount)
type NiftyswapExchangeLiquidityAdded ¶
type NiftyswapExchangeLiquidityAdded struct { Provider common.Address TokenIds []*big.Int TokenAmounts []*big.Int CurrencyAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
NiftyswapExchangeLiquidityAdded represents a LiquidityAdded event raised by the NiftyswapExchange contract.
type NiftyswapExchangeLiquidityAddedIterator ¶
type NiftyswapExchangeLiquidityAddedIterator struct { Event *NiftyswapExchangeLiquidityAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NiftyswapExchangeLiquidityAddedIterator is returned from FilterLiquidityAdded and is used to iterate over the raw logs and unpacked data for LiquidityAdded events raised by the NiftyswapExchange contract.
func (*NiftyswapExchangeLiquidityAddedIterator) Close ¶
func (it *NiftyswapExchangeLiquidityAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NiftyswapExchangeLiquidityAddedIterator) Error ¶
func (it *NiftyswapExchangeLiquidityAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NiftyswapExchangeLiquidityAddedIterator) Next ¶
func (it *NiftyswapExchangeLiquidityAddedIterator) 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 NiftyswapExchangeLiquidityRemoved ¶
type NiftyswapExchangeLiquidityRemoved struct { Provider common.Address TokenIds []*big.Int TokenAmounts []*big.Int CurrencyAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
NiftyswapExchangeLiquidityRemoved represents a LiquidityRemoved event raised by the NiftyswapExchange contract.
type NiftyswapExchangeLiquidityRemovedIterator ¶
type NiftyswapExchangeLiquidityRemovedIterator struct { Event *NiftyswapExchangeLiquidityRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NiftyswapExchangeLiquidityRemovedIterator is returned from FilterLiquidityRemoved and is used to iterate over the raw logs and unpacked data for LiquidityRemoved events raised by the NiftyswapExchange contract.
func (*NiftyswapExchangeLiquidityRemovedIterator) Close ¶
func (it *NiftyswapExchangeLiquidityRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NiftyswapExchangeLiquidityRemovedIterator) Error ¶
func (it *NiftyswapExchangeLiquidityRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NiftyswapExchangeLiquidityRemovedIterator) Next ¶
func (it *NiftyswapExchangeLiquidityRemovedIterator) 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 NiftyswapExchangeRaw ¶
type NiftyswapExchangeRaw struct {
Contract *NiftyswapExchange // Generic contract binding to access the raw methods on
}
NiftyswapExchangeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NiftyswapExchangeRaw) Call ¶
func (_NiftyswapExchange *NiftyswapExchangeRaw) 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 (*NiftyswapExchangeRaw) Transact ¶
func (_NiftyswapExchange *NiftyswapExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NiftyswapExchangeRaw) Transfer ¶
func (_NiftyswapExchange *NiftyswapExchangeRaw) 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 NiftyswapExchangeSession ¶
type NiftyswapExchangeSession struct { Contract *NiftyswapExchange // 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 }
NiftyswapExchangeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NiftyswapExchangeSession) BalanceOf ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) BalanceOf(_owner common.Address, _id *big.Int) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address _owner, uint256 _id) view returns(uint256)
func (*NiftyswapExchangeSession) BalanceOfBatch ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) BalanceOfBatch(_owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] _owners, uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeSession) Fallback ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()
func (*NiftyswapExchangeSession) GetBuyPrice ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetBuyPrice(_assetBoughtAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetBuyPrice is a free data retrieval call binding the contract method 0xfca16c3b.
Solidity: function getBuyPrice(uint256 _assetBoughtAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256 price)
func (*NiftyswapExchangeSession) GetCurrencyInfo ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetCurrencyInfo() (common.Address, *big.Int, error)
GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.
Solidity: function getCurrencyInfo() view returns(address, uint256)
func (*NiftyswapExchangeSession) GetCurrencyReserves ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetCurrencyReserves(_ids []*big.Int) ([]*big.Int, error)
GetCurrencyReserves is a free data retrieval call binding the contract method 0x209b96c5.
Solidity: function getCurrencyReserves(uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeSession) GetFactoryAddress ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetFactoryAddress() (common.Address, error)
GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.
Solidity: function getFactoryAddress() view returns(address)
func (*NiftyswapExchangeSession) GetPriceCurrencyToToken ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetPriceCurrencyToToken(_ids []*big.Int, _tokensBought []*big.Int) ([]*big.Int, error)
GetPriceCurrencyToToken is a free data retrieval call binding the contract method 0xbe571468.
Solidity: function getPrice_currencyToToken(uint256[] _ids, uint256[] _tokensBought) view returns(uint256[])
func (*NiftyswapExchangeSession) GetPriceTokenToCurrency ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetPriceTokenToCurrency(_ids []*big.Int, _tokensSold []*big.Int) ([]*big.Int, error)
GetPriceTokenToCurrency is a free data retrieval call binding the contract method 0x863ed300.
Solidity: function getPrice_tokenToCurrency(uint256[] _ids, uint256[] _tokensSold) view returns(uint256[])
func (*NiftyswapExchangeSession) GetSellPrice ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetSellPrice(_assetSoldAmount *big.Int, _assetSoldReserve *big.Int, _assetBoughtReserve *big.Int) (*big.Int, error)
GetSellPrice is a free data retrieval call binding the contract method 0x6ee8e134.
Solidity: function getSellPrice(uint256 _assetSoldAmount, uint256 _assetSoldReserve, uint256 _assetBoughtReserve) pure returns(uint256 price)
func (*NiftyswapExchangeSession) GetTokenAddress ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetTokenAddress() (common.Address, error)
GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.
Solidity: function getTokenAddress() view returns(address)
func (*NiftyswapExchangeSession) GetTotalSupply ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) GetTotalSupply(_ids []*big.Int) ([]*big.Int, error)
GetTotalSupply is a free data retrieval call binding the contract method 0x2bef5e38.
Solidity: function getTotalSupply(uint256[] _ids) view returns(uint256[])
func (*NiftyswapExchangeSession) IsApprovedForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address _owner, address _operator) view returns(bool isOperator)
func (*NiftyswapExchangeSession) OnERC1155BatchReceived ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*NiftyswapExchangeSession) OnERC1155Received ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
func (*NiftyswapExchangeSession) SafeBatchTransferFrom ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.
Solidity: function safeBatchTransferFrom(address _from, address _to, uint256[] _ids, uint256[] _amounts, bytes _data) returns()
func (*NiftyswapExchangeSession) SafeTransferFrom ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) SafeTransferFrom(_from common.Address, _to common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
Solidity: function safeTransferFrom(address _from, address _to, uint256 _id, uint256 _amount, bytes _data) returns()
func (*NiftyswapExchangeSession) SetApprovalForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address _operator, bool _approved) returns()
func (*NiftyswapExchangeSession) SupportsInterface ¶
func (_NiftyswapExchange *NiftyswapExchangeSession) SupportsInterface(interfaceID [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceID) pure returns(bool)
type NiftyswapExchangeTokensPurchase ¶
type NiftyswapExchangeTokensPurchase struct { Buyer common.Address Recipient common.Address TokensBoughtIds []*big.Int TokensBoughtAmounts []*big.Int CurrencySoldAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
NiftyswapExchangeTokensPurchase represents a TokensPurchase event raised by the NiftyswapExchange contract.
type NiftyswapExchangeTokensPurchaseIterator ¶
type NiftyswapExchangeTokensPurchaseIterator struct { Event *NiftyswapExchangeTokensPurchase // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NiftyswapExchangeTokensPurchaseIterator is returned from FilterTokensPurchase and is used to iterate over the raw logs and unpacked data for TokensPurchase events raised by the NiftyswapExchange contract.
func (*NiftyswapExchangeTokensPurchaseIterator) Close ¶
func (it *NiftyswapExchangeTokensPurchaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NiftyswapExchangeTokensPurchaseIterator) Error ¶
func (it *NiftyswapExchangeTokensPurchaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NiftyswapExchangeTokensPurchaseIterator) Next ¶
func (it *NiftyswapExchangeTokensPurchaseIterator) 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 NiftyswapExchangeTransactor ¶
type NiftyswapExchangeTransactor struct {
// contains filtered or unexported fields
}
NiftyswapExchangeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNiftyswapExchangeTransactor ¶
func NewNiftyswapExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*NiftyswapExchangeTransactor, error)
NewNiftyswapExchangeTransactor creates a new write-only instance of NiftyswapExchange, bound to a specific deployed contract.
func (*NiftyswapExchangeTransactor) Fallback ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()
func (*NiftyswapExchangeTransactor) OnERC1155BatchReceived ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*NiftyswapExchangeTransactor) OnERC1155Received ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactor) OnERC1155Received(opts *bind.TransactOpts, _operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
func (*NiftyswapExchangeTransactor) SafeBatchTransferFrom ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.
Solidity: function safeBatchTransferFrom(address _from, address _to, uint256[] _ids, uint256[] _amounts, bytes _data) returns()
func (*NiftyswapExchangeTransactor) SafeTransferFrom ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactor) SafeTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
Solidity: function safeTransferFrom(address _from, address _to, uint256 _id, uint256 _amount, bytes _data) returns()
func (*NiftyswapExchangeTransactor) SetApprovalForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactor) SetApprovalForAll(opts *bind.TransactOpts, _operator common.Address, _approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address _operator, bool _approved) returns()
type NiftyswapExchangeTransactorRaw ¶
type NiftyswapExchangeTransactorRaw struct {
Contract *NiftyswapExchangeTransactor // Generic write-only contract binding to access the raw methods on
}
NiftyswapExchangeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NiftyswapExchangeTransactorRaw) Transact ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NiftyswapExchangeTransactorRaw) Transfer ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactorRaw) 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 NiftyswapExchangeTransactorSession ¶
type NiftyswapExchangeTransactorSession struct { Contract *NiftyswapExchangeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NiftyswapExchangeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NiftyswapExchangeTransactorSession) Fallback ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()
func (*NiftyswapExchangeTransactorSession) OnERC1155BatchReceived ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _data) returns(bytes4)
func (*NiftyswapExchangeTransactorSession) OnERC1155Received ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) OnERC1155Received(_operator common.Address, _from common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes _data) returns(bytes4)
func (*NiftyswapExchangeTransactorSession) SafeBatchTransferFrom ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.
Solidity: function safeBatchTransferFrom(address _from, address _to, uint256[] _ids, uint256[] _amounts, bytes _data) returns()
func (*NiftyswapExchangeTransactorSession) SafeTransferFrom ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) SafeTransferFrom(_from common.Address, _to common.Address, _id *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
Solidity: function safeTransferFrom(address _from, address _to, uint256 _id, uint256 _amount, bytes _data) returns()
func (*NiftyswapExchangeTransactorSession) SetApprovalForAll ¶
func (_NiftyswapExchange *NiftyswapExchangeTransactorSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address _operator, bool _approved) returns()
type NiftyswapExchangeTransferBatch ¶
type NiftyswapExchangeTransferBatch struct { Operator common.Address From common.Address To common.Address Ids []*big.Int Amounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
NiftyswapExchangeTransferBatch represents a TransferBatch event raised by the NiftyswapExchange contract.
type NiftyswapExchangeTransferBatchIterator ¶
type NiftyswapExchangeTransferBatchIterator struct { Event *NiftyswapExchangeTransferBatch // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NiftyswapExchangeTransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the NiftyswapExchange contract.
func (*NiftyswapExchangeTransferBatchIterator) Close ¶
func (it *NiftyswapExchangeTransferBatchIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NiftyswapExchangeTransferBatchIterator) Error ¶
func (it *NiftyswapExchangeTransferBatchIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NiftyswapExchangeTransferBatchIterator) Next ¶
func (it *NiftyswapExchangeTransferBatchIterator) 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 NiftyswapExchangeTransferSingle ¶
type NiftyswapExchangeTransferSingle struct { Operator common.Address From common.Address To common.Address Id *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
NiftyswapExchangeTransferSingle represents a TransferSingle event raised by the NiftyswapExchange contract.
type NiftyswapExchangeTransferSingleIterator ¶
type NiftyswapExchangeTransferSingleIterator struct { Event *NiftyswapExchangeTransferSingle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NiftyswapExchangeTransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the NiftyswapExchange contract.
func (*NiftyswapExchangeTransferSingleIterator) Close ¶
func (it *NiftyswapExchangeTransferSingleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NiftyswapExchangeTransferSingleIterator) Error ¶
func (it *NiftyswapExchangeTransferSingleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NiftyswapExchangeTransferSingleIterator) Next ¶
func (it *NiftyswapExchangeTransferSingleIterator) 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 NiftyswapFactory ¶
type NiftyswapFactory struct { NiftyswapFactoryCaller // Read-only binding to the contract NiftyswapFactoryTransactor // Write-only binding to the contract NiftyswapFactoryFilterer // Log filterer for contract events }
NiftyswapFactory is an auto generated Go binding around an Ethereum contract.
func DeployNiftyswapFactory ¶
func DeployNiftyswapFactory(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *NiftyswapFactory, error)
DeployNiftyswapFactory deploys a new Ethereum contract, binding an instance of NiftyswapFactory to it.
func NewNiftyswapFactory ¶
func NewNiftyswapFactory(address common.Address, backend bind.ContractBackend) (*NiftyswapFactory, error)
NewNiftyswapFactory creates a new instance of NiftyswapFactory, bound to a specific deployed contract.
type NiftyswapFactoryCaller ¶
type NiftyswapFactoryCaller struct {
// contains filtered or unexported fields
}
NiftyswapFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNiftyswapFactoryCaller ¶
func NewNiftyswapFactoryCaller(address common.Address, caller bind.ContractCaller) (*NiftyswapFactoryCaller, error)
NewNiftyswapFactoryCaller creates a new read-only instance of NiftyswapFactory, bound to a specific deployed contract.
func (*NiftyswapFactoryCaller) TokensToExchange ¶
func (_NiftyswapFactory *NiftyswapFactoryCaller) TokensToExchange(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
TokensToExchange is a free data retrieval call binding the contract method 0x1427474c.
Solidity: function tokensToExchange(address , address , uint256 ) view returns(address)
type NiftyswapFactoryCallerRaw ¶
type NiftyswapFactoryCallerRaw struct {
Contract *NiftyswapFactoryCaller // Generic read-only contract binding to access the raw methods on
}
NiftyswapFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NiftyswapFactoryCallerRaw) Call ¶
func (_NiftyswapFactory *NiftyswapFactoryCallerRaw) 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 NiftyswapFactoryCallerSession ¶
type NiftyswapFactoryCallerSession struct { Contract *NiftyswapFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NiftyswapFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NiftyswapFactoryCallerSession) TokensToExchange ¶
func (_NiftyswapFactory *NiftyswapFactoryCallerSession) TokensToExchange(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
TokensToExchange is a free data retrieval call binding the contract method 0x1427474c.
Solidity: function tokensToExchange(address , address , uint256 ) view returns(address)
type NiftyswapFactoryFilterer ¶
type NiftyswapFactoryFilterer struct {
// contains filtered or unexported fields
}
NiftyswapFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNiftyswapFactoryFilterer ¶
func NewNiftyswapFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*NiftyswapFactoryFilterer, error)
NewNiftyswapFactoryFilterer creates a new log filterer instance of NiftyswapFactory, bound to a specific deployed contract.
func (*NiftyswapFactoryFilterer) FilterNewExchange ¶
func (_NiftyswapFactory *NiftyswapFactoryFilterer) FilterNewExchange(opts *bind.FilterOpts, token []common.Address, currency []common.Address, currencyID []*big.Int) (*NiftyswapFactoryNewExchangeIterator, error)
FilterNewExchange is a free log retrieval operation binding the contract event 0x23658fa6d505b3e3034045b3937d4239cbdaa345bfb0c4a2d6637ade8b85457c.
Solidity: event NewExchange(address indexed token, address indexed currency, uint256 indexed currencyID, address exchange)
func (*NiftyswapFactoryFilterer) ParseNewExchange ¶
func (_NiftyswapFactory *NiftyswapFactoryFilterer) ParseNewExchange(log types.Log) (*NiftyswapFactoryNewExchange, error)
ParseNewExchange is a log parse operation binding the contract event 0x23658fa6d505b3e3034045b3937d4239cbdaa345bfb0c4a2d6637ade8b85457c.
Solidity: event NewExchange(address indexed token, address indexed currency, uint256 indexed currencyID, address exchange)
func (*NiftyswapFactoryFilterer) WatchNewExchange ¶
func (_NiftyswapFactory *NiftyswapFactoryFilterer) WatchNewExchange(opts *bind.WatchOpts, sink chan<- *NiftyswapFactoryNewExchange, token []common.Address, currency []common.Address, currencyID []*big.Int) (event.Subscription, error)
WatchNewExchange is a free log subscription operation binding the contract event 0x23658fa6d505b3e3034045b3937d4239cbdaa345bfb0c4a2d6637ade8b85457c.
Solidity: event NewExchange(address indexed token, address indexed currency, uint256 indexed currencyID, address exchange)
type NiftyswapFactoryNewExchange ¶
type NiftyswapFactoryNewExchange struct { Token common.Address Currency common.Address CurrencyID *big.Int Exchange common.Address Raw types.Log // Blockchain specific contextual infos }
NiftyswapFactoryNewExchange represents a NewExchange event raised by the NiftyswapFactory contract.
type NiftyswapFactoryNewExchangeIterator ¶
type NiftyswapFactoryNewExchangeIterator struct { Event *NiftyswapFactoryNewExchange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NiftyswapFactoryNewExchangeIterator is returned from FilterNewExchange and is used to iterate over the raw logs and unpacked data for NewExchange events raised by the NiftyswapFactory contract.
func (*NiftyswapFactoryNewExchangeIterator) Close ¶
func (it *NiftyswapFactoryNewExchangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NiftyswapFactoryNewExchangeIterator) Error ¶
func (it *NiftyswapFactoryNewExchangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NiftyswapFactoryNewExchangeIterator) Next ¶
func (it *NiftyswapFactoryNewExchangeIterator) 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 NiftyswapFactoryRaw ¶
type NiftyswapFactoryRaw struct {
Contract *NiftyswapFactory // Generic contract binding to access the raw methods on
}
NiftyswapFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NiftyswapFactoryRaw) Call ¶
func (_NiftyswapFactory *NiftyswapFactoryRaw) 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 (*NiftyswapFactoryRaw) Transact ¶
func (_NiftyswapFactory *NiftyswapFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NiftyswapFactoryRaw) Transfer ¶
func (_NiftyswapFactory *NiftyswapFactoryRaw) 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 NiftyswapFactorySession ¶
type NiftyswapFactorySession struct { Contract *NiftyswapFactory // 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 }
NiftyswapFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NiftyswapFactorySession) CreateExchange ¶
func (_NiftyswapFactory *NiftyswapFactorySession) CreateExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x8359289c.
Solidity: function createExchange(address _token, address _currency, uint256 _currencyID) returns()
func (*NiftyswapFactorySession) TokensToExchange ¶
func (_NiftyswapFactory *NiftyswapFactorySession) TokensToExchange(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
TokensToExchange is a free data retrieval call binding the contract method 0x1427474c.
Solidity: function tokensToExchange(address , address , uint256 ) view returns(address)
type NiftyswapFactoryTransactor ¶
type NiftyswapFactoryTransactor struct {
// contains filtered or unexported fields
}
NiftyswapFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNiftyswapFactoryTransactor ¶
func NewNiftyswapFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*NiftyswapFactoryTransactor, error)
NewNiftyswapFactoryTransactor creates a new write-only instance of NiftyswapFactory, bound to a specific deployed contract.
func (*NiftyswapFactoryTransactor) CreateExchange ¶
func (_NiftyswapFactory *NiftyswapFactoryTransactor) CreateExchange(opts *bind.TransactOpts, _token common.Address, _currency common.Address, _currencyID *big.Int) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x8359289c.
Solidity: function createExchange(address _token, address _currency, uint256 _currencyID) returns()
type NiftyswapFactoryTransactorRaw ¶
type NiftyswapFactoryTransactorRaw struct {
Contract *NiftyswapFactoryTransactor // Generic write-only contract binding to access the raw methods on
}
NiftyswapFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NiftyswapFactoryTransactorRaw) Transact ¶
func (_NiftyswapFactory *NiftyswapFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NiftyswapFactoryTransactorRaw) Transfer ¶
func (_NiftyswapFactory *NiftyswapFactoryTransactorRaw) 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 NiftyswapFactoryTransactorSession ¶
type NiftyswapFactoryTransactorSession struct { Contract *NiftyswapFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NiftyswapFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NiftyswapFactoryTransactorSession) CreateExchange ¶
func (_NiftyswapFactory *NiftyswapFactoryTransactorSession) CreateExchange(_token common.Address, _currency common.Address, _currencyID *big.Int) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x8359289c.
Solidity: function createExchange(address _token, address _currency, uint256 _currencyID) returns()
type WrapAndNiftyswap ¶
type WrapAndNiftyswap struct { WrapAndNiftyswapCaller // Read-only binding to the contract WrapAndNiftyswapTransactor // Write-only binding to the contract WrapAndNiftyswapFilterer // Log filterer for contract events }
WrapAndNiftyswap is an auto generated Go binding around an Ethereum contract.
func DeployWrapAndNiftyswap ¶
func DeployWrapAndNiftyswap(auth *bind.TransactOpts, backend bind.ContractBackend, _tokenWrapper common.Address, _exchange common.Address, _erc20 common.Address, _erc1155 common.Address) (common.Address, *types.Transaction, *WrapAndNiftyswap, error)
DeployWrapAndNiftyswap deploys a new Ethereum contract, binding an instance of WrapAndNiftyswap to it.
func NewWrapAndNiftyswap ¶
func NewWrapAndNiftyswap(address common.Address, backend bind.ContractBackend) (*WrapAndNiftyswap, error)
NewWrapAndNiftyswap creates a new instance of WrapAndNiftyswap, bound to a specific deployed contract.
type WrapAndNiftyswapCaller ¶
type WrapAndNiftyswapCaller struct {
// contains filtered or unexported fields
}
WrapAndNiftyswapCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWrapAndNiftyswapCaller ¶
func NewWrapAndNiftyswapCaller(address common.Address, caller bind.ContractCaller) (*WrapAndNiftyswapCaller, error)
NewWrapAndNiftyswapCaller creates a new read-only instance of WrapAndNiftyswap, bound to a specific deployed contract.
func (*WrapAndNiftyswapCaller) Erc1155 ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapCaller) Erc1155(opts *bind.CallOpts) (common.Address, error)
Erc1155 is a free data retrieval call binding the contract method 0xd56022d7.
Solidity: function erc1155() view returns(address)
func (*WrapAndNiftyswapCaller) Erc20 ¶
Erc20 is a free data retrieval call binding the contract method 0x785e9e86.
Solidity: function erc20() view returns(address)
func (*WrapAndNiftyswapCaller) Exchange ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapCaller) Exchange(opts *bind.CallOpts) (common.Address, error)
Exchange is a free data retrieval call binding the contract method 0xd2f7265a.
Solidity: function exchange() view returns(address)
func (*WrapAndNiftyswapCaller) TokenWrapper ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapCaller) TokenWrapper(opts *bind.CallOpts) (common.Address, error)
TokenWrapper is a free data retrieval call binding the contract method 0xc5e3dfd8.
Solidity: function tokenWrapper() view returns(address)
type WrapAndNiftyswapCallerRaw ¶
type WrapAndNiftyswapCallerRaw struct {
Contract *WrapAndNiftyswapCaller // Generic read-only contract binding to access the raw methods on
}
WrapAndNiftyswapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WrapAndNiftyswapCallerRaw) Call ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapCallerRaw) 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 WrapAndNiftyswapCallerSession ¶
type WrapAndNiftyswapCallerSession struct { Contract *WrapAndNiftyswapCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WrapAndNiftyswapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WrapAndNiftyswapCallerSession) Erc1155 ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapCallerSession) Erc1155() (common.Address, error)
Erc1155 is a free data retrieval call binding the contract method 0xd56022d7.
Solidity: function erc1155() view returns(address)
func (*WrapAndNiftyswapCallerSession) Erc20 ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapCallerSession) Erc20() (common.Address, error)
Erc20 is a free data retrieval call binding the contract method 0x785e9e86.
Solidity: function erc20() view returns(address)
func (*WrapAndNiftyswapCallerSession) Exchange ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapCallerSession) Exchange() (common.Address, error)
Exchange is a free data retrieval call binding the contract method 0xd2f7265a.
Solidity: function exchange() view returns(address)
func (*WrapAndNiftyswapCallerSession) TokenWrapper ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapCallerSession) TokenWrapper() (common.Address, error)
TokenWrapper is a free data retrieval call binding the contract method 0xc5e3dfd8.
Solidity: function tokenWrapper() view returns(address)
type WrapAndNiftyswapFilterer ¶
type WrapAndNiftyswapFilterer struct {
// contains filtered or unexported fields
}
WrapAndNiftyswapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWrapAndNiftyswapFilterer ¶
func NewWrapAndNiftyswapFilterer(address common.Address, filterer bind.ContractFilterer) (*WrapAndNiftyswapFilterer, error)
NewWrapAndNiftyswapFilterer creates a new log filterer instance of WrapAndNiftyswap, bound to a specific deployed contract.
type WrapAndNiftyswapRaw ¶
type WrapAndNiftyswapRaw struct {
Contract *WrapAndNiftyswap // Generic contract binding to access the raw methods on
}
WrapAndNiftyswapRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WrapAndNiftyswapRaw) Call ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapRaw) 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 (*WrapAndNiftyswapRaw) Transact ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WrapAndNiftyswapRaw) Transfer ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapRaw) 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 WrapAndNiftyswapSession ¶
type WrapAndNiftyswapSession struct { Contract *WrapAndNiftyswap // 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 }
WrapAndNiftyswapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WrapAndNiftyswapSession) Erc1155 ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapSession) Erc1155() (common.Address, error)
Erc1155 is a free data retrieval call binding the contract method 0xd56022d7.
Solidity: function erc1155() view returns(address)
func (*WrapAndNiftyswapSession) Erc20 ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapSession) Erc20() (common.Address, error)
Erc20 is a free data retrieval call binding the contract method 0x785e9e86.
Solidity: function erc20() view returns(address)
func (*WrapAndNiftyswapSession) Exchange ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapSession) Exchange() (common.Address, error)
Exchange is a free data retrieval call binding the contract method 0xd2f7265a.
Solidity: function exchange() view returns(address)
func (*WrapAndNiftyswapSession) OnERC1155BatchReceived ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _niftyswapOrder []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _niftyswapOrder) returns(bytes4)
func (*WrapAndNiftyswapSession) OnERC1155Received ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapSession) 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 (*WrapAndNiftyswapSession) TokenWrapper ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapSession) TokenWrapper() (common.Address, error)
TokenWrapper is a free data retrieval call binding the contract method 0xc5e3dfd8.
Solidity: function tokenWrapper() view returns(address)
func (*WrapAndNiftyswapSession) WrapAndSwap ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapSession) WrapAndSwap(_maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
WrapAndSwap is a paid mutator transaction binding the contract method 0xa874d5b6.
Solidity: function wrapAndSwap(uint256 _maxAmount, address _recipient, bytes _niftyswapOrder) returns()
type WrapAndNiftyswapTransactor ¶
type WrapAndNiftyswapTransactor struct {
// contains filtered or unexported fields
}
WrapAndNiftyswapTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWrapAndNiftyswapTransactor ¶
func NewWrapAndNiftyswapTransactor(address common.Address, transactor bind.ContractTransactor) (*WrapAndNiftyswapTransactor, error)
NewWrapAndNiftyswapTransactor creates a new write-only instance of WrapAndNiftyswap, bound to a specific deployed contract.
func (*WrapAndNiftyswapTransactor) OnERC1155BatchReceived ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _niftyswapOrder []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _niftyswapOrder) returns(bytes4)
func (*WrapAndNiftyswapTransactor) OnERC1155Received ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapTransactor) 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 (*WrapAndNiftyswapTransactor) WrapAndSwap ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapTransactor) WrapAndSwap(opts *bind.TransactOpts, _maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
WrapAndSwap is a paid mutator transaction binding the contract method 0xa874d5b6.
Solidity: function wrapAndSwap(uint256 _maxAmount, address _recipient, bytes _niftyswapOrder) returns()
type WrapAndNiftyswapTransactorRaw ¶
type WrapAndNiftyswapTransactorRaw struct {
Contract *WrapAndNiftyswapTransactor // Generic write-only contract binding to access the raw methods on
}
WrapAndNiftyswapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WrapAndNiftyswapTransactorRaw) Transact ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WrapAndNiftyswapTransactorRaw) Transfer ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapTransactorRaw) 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 WrapAndNiftyswapTransactorSession ¶
type WrapAndNiftyswapTransactorSession struct { Contract *WrapAndNiftyswapTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WrapAndNiftyswapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WrapAndNiftyswapTransactorSession) OnERC1155BatchReceived ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapTransactorSession) OnERC1155BatchReceived(arg0 common.Address, _from common.Address, _ids []*big.Int, _amounts []*big.Int, _niftyswapOrder []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address _from, uint256[] _ids, uint256[] _amounts, bytes _niftyswapOrder) returns(bytes4)
func (*WrapAndNiftyswapTransactorSession) OnERC1155Received ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapTransactorSession) 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 (*WrapAndNiftyswapTransactorSession) WrapAndSwap ¶
func (_WrapAndNiftyswap *WrapAndNiftyswapTransactorSession) WrapAndSwap(_maxAmount *big.Int, _recipient common.Address, _niftyswapOrder []byte) (*types.Transaction, error)
WrapAndSwap is a paid mutator transaction binding the contract method 0xa874d5b6.
Solidity: function wrapAndSwap(uint256 _maxAmount, address _recipient, bytes _niftyswapOrder) returns()