niftyswap

package
v0.5.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var INiftyswapExchange20ABI = INiftyswapExchange20MetaData.ABI

INiftyswapExchange20ABI is the input ABI used to generate the binding from. Deprecated: Use INiftyswapExchange20MetaData.ABI instead.

View Source
var INiftyswapExchange20MetaData = &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\":\"_tokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_tokensBoughtAmounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_maxCurrency\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"}],\"name\":\"buyTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"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\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrencyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\"}]",
}

INiftyswapExchange20MetaData contains all meta data concerning the INiftyswapExchange20 contract.

View Source
var INiftyswapExchangeABI = INiftyswapExchangeMetaData.ABI

INiftyswapExchangeABI is the input ABI used to generate the binding from. Deprecated: Use INiftyswapExchangeMetaData.ABI instead.

View Source
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.

View Source
var INiftyswapFactoryABI = INiftyswapFactoryMetaData.ABI

INiftyswapFactoryABI is the input ABI used to generate the binding from. Deprecated: Use INiftyswapFactoryMetaData.ABI instead.

View Source
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.

View Source
var IWrapAndNiftyswapABI = IWrapAndNiftyswapMetaData.ABI

IWrapAndNiftyswapABI is the input ABI used to generate the binding from. Deprecated: Use IWrapAndNiftyswapMetaData.ABI instead.

View Source
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.

View Source
var NiftyswapExchange20ABI = NiftyswapExchange20MetaData.ABI

NiftyswapExchange20ABI is the input ABI used to generate the binding from. Deprecated: Use NiftyswapExchange20MetaData.ABI instead.

View Source
var NiftyswapExchange20Bin = NiftyswapExchange20MetaData.Bin

NiftyswapExchange20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use NiftyswapExchange20MetaData.Bin instead.

View Source
var NiftyswapExchange20MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currencyAddr\",\"type\":\"address\"}],\"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\":\"_tokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_tokensBoughtAmounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_maxCurrency\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"}],\"name\":\"buyTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"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\"}],\"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: "0x60e06040523480156200001157600080fd5b50604051620054c3380380620054c38339810160408190526200003491620000cc565b6000805460ff191660011790556001600160a01b038216158015906200006257506001600160a01b03811615155b6200008a5760405162461bcd60e51b8152600401620000819062000103565b60405180910390fd5b33606090811b60c0526001600160601b031992811b83166080521b1660a05262000150565b80516001600160a01b0381168114620000c757600080fd5b919050565b60008060408385031215620000df578182fd5b620000ea83620000af565b9150620000fa60208401620000af565b90509250929050565b6020808252602d908201527f4e696674797377617045786368616e6765323023636f6e7374727563746f723a60408201526c1253959053125117d253941555609a1b606082015260800190565b60805160601c60a05160601c60c05160601c6152f7620001cc60003980610c625250806106f45280610b8c52806110425280611ffe528061237452806128615280612c8e52508061048c528061094e5280610cff5280610e8d528061115352806120615280612cf15280613208528061344352506152f76000f3fe608060405234801561001057600080fd5b50600436106101505760003560e01c8063863ed300116100cd578063be57146811610081578063f23a6e6111610066578063f23a6e61146102e6578063f242432a146102f9578063fca16c3b1461030c57610150565b8063be571468146102c0578063e985e9c5146102d357610150565b8063a7220bec116100b2578063a7220bec14610285578063a9c2e36c14610298578063bc197c81146102a057610150565b8063863ed3001461025f578063a22cb4651461027257610150565b80632bef5e381161012457806346adf5ca1161010957806346adf5ca146102315780634e1273f4146102395780636ee8e1341461024c57610150565b80632bef5e38146102095780632eb2c2d61461021c57610150565b8062fdd58e1461018b57806301ffc9a7146101b457806310fe9ae8146101d4578063209b96c5146101e9575b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610182906149cc565b60405180910390fd5b61019e610199366004613e94565b61031f565b6040516101ab9190614fd7565b60405180910390f35b6101c76101c23660046140ef565b610357565b6040516101ab91906144fd565b6101dc61048a565b6040516101ab9190614398565b6101fc6101f7366004613f82565b6104ae565b6040516101ab91906144b1565b6101fc610217366004613f82565b61054f565b61022f61022a366004613d52565b6105e7565b005b6101dc6106f2565b6101fc610247366004613ebf565b610716565b61019e61025a366004614333565b610863565b6101fc61026d366004613fc2565b6108f7565b61022f610280366004613e63565b610a77565b6101fc610293366004614066565b610b10565b6101dc610c60565b6102b36102ae366004613d52565b610c84565b6040516101ab9190614508565b6101fc6102ce366004613fc2565b6110fc565b6101c76102e1366004613d1a565b611271565b6102b36102f4366004613dfc565b6112ac565b61022f610307366004613dfc565b6113dd565b61019e61031a366004614333565b6114e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602090815260408083208484529091529020545b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f36372b070000000000000000000000000000000000000000000000000000000014806103ea57507fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000145b8061043657507fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000145b8061048257507fffffffff0000000000000000000000000000000000000000000000000000000082167f4e2312e000000000000000000000000000000000000000000000000000000000145b90505b919050565b7f000000000000000000000000000000000000000000000000000000000000000090565b606081818167ffffffffffffffff811180156104c957600080fd5b506040519080825280602002602001820160405280156104f3578160200160208202803683370190505b50905060005b82811015610546576004600087878481811061051157fe5b9050602002013581526020019081526020016000205482828151811061053357fe5b60209081029190910101526001016104f9565b50949350505050565b606081818167ffffffffffffffff8111801561056a57600080fd5b50604051908082528060200260200182016040528015610594578160200160208202803683370190505b50905060005b8281101561054657600360008787848181106105b257fe5b905060200201358152602001908152602001600020548282815181106105d457fe5b602090810291909101015260010161059a565b3373ffffffffffffffffffffffffffffffffffffffff8616148061061057506106108533611271565b610665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806151bd602f913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff84166106d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806151316030913960400191505060405180910390fd5b6106dd85858585611560565b6106eb858585855a8661188a565b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000090565b60608151835114610772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615191602c913960400191505060405180910390fd5b6060835167ffffffffffffffff8111801561078c57600080fd5b506040519080825280602002602001820160405280156107b6578160200160208202803683370190505b50905060005b845181101561085b57600160008683815181106107d557fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085838151811061082557fe5b602002602001015181526020019081526020016000205482828151811061084857fe5b60209081029190910101526001016107bc565b509392505050565b600080831180156108745750600082115b6108aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614de0565b60006108b8856103e3611b01565b905060006108c68285611b01565b905060006108e0836108da886103e8611b01565b90611b91565b90508082816108eb57fe5b04979650505050505050565b606083818167ffffffffffffffff8111801561091257600080fd5b5060405190808252806020026020018201604052801561093c578160200160208202803683370190505b50905060005b82811015610a6c5760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e308b8b8681811061099457fe5b905060200201356040518363ffffffff1660e01b81526004016109b892919061441e565b60206040518083038186803b1580156109d057600080fd5b505afa1580156109e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a08919061431b565b9050610a4c878784818110610a1957fe5b9050602002013582600460008d8d88818110610a3157fe5b90506020020135815260200190815260200160002054610863565b838381518110610a5857fe5b602090810291909101015250600101610942565b509695505050505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b606042831015610b4c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614a29565b6000865111610b87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614d26565b610bb37f0000000000000000000000000000000000000000000000000000000000000000333087611c05565b600073ffffffffffffffffffffffffffffffffffffffff831615610bd75782610bd9565b335b90506060610bea8888888886611dcd565b90508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd38bc77e62e239476b3e25620d73f29a4a188e808aad79f4a81aaf44871a7a308a8a85604051610c4d939291906144c4565b60405180910390a3979650505050505050565b7f000000000000000000000000000000000000000000000000000000000000000090565b60008082806020019051810190610c9b919061410b565b90507fffffffff0000000000000000000000000000000000000000000000000000000081167fdb08ec97000000000000000000000000000000000000000000000000000000001415610e2b573373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610d56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614be9565b610d5e613b15565b83806020019051810190610d72919061427c565b80519092506000915073ffffffffffffffffffffffffffffffffffffffff1615610d9d578151610d9f565b875b90506060610db888888560200151866040015186612105565b90508173ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f89e4dbdd48f69e7920342e9ad9691b9a7150f254e6a0af177ccfd2556aab8bcd8a8a85604051610e1b939291906144c4565b60405180910390a35050506110d0565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f82da2b73000000000000000000000000000000000000000000000000000000001415610f21573373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610182906145b8565b610eec613b4c565b83806020019051810190610f009190614127565b905080915050610f1b878787846000015185602001516123d1565b506110d0565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f5c0bf259000000000000000000000000000000000000000000000000000000001415610fe057333014610fa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614949565b610fac613b66565b83806020019051810190610fc091906141c0565b905080915050610f1b878787846000015185602001518660400151612911565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fc8c323f900000000000000000000000000000000000000000000000000000000141561109e573373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614b66565b6110d0565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101829061488f565b507fbc197c81000000000000000000000000000000000000000000000000000000009695505050505050565b606083818167ffffffffffffffff8111801561111757600080fd5b50604051908082528060200260200182016040528015611141578160200160208202803683370190505b50905060005b82811015610a6c5760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e308b8b8681811061119957fe5b905060200201356040518363ffffffff1660e01b81526004016111bd92919061441e565b60206040518083038186803b1580156111d557600080fd5b505afa1580156111e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120d919061431b565b905061125187878481811061121e57fe5b90506020020135600460008c8c8781811061123557fe5b90506020020135815260200190815260200160002054836114e1565b83838151811061125d57fe5b602090810291909101015250600101611147565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205460ff1690565b60408051600180825281830190925260009160609190602080830190803683375050604080516001808252818301909252929350606092915060208083019080368337019050509050858260008151811061130357fe5b602002602001018181525050848160008151811061131d57fe5b6020026020010181815250506113368888848488610c84565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c8100000000000000000000000000000000000000000000000000000000146113b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614ae3565b507ff23a6e6100000000000000000000000000000000000000000000000000000000979650505050505050565b3373ffffffffffffffffffffffffffffffffffffffff8616148061140657506114068533611271565b61145b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806150a1602a913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff84166114c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180615076602b913960400191505060405180910390fd5b6114d385858585612de8565b6106eb858585855a86612ef0565b600080831180156114f25750600082115b611528576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610182906148ec565b60006115406103e861153a8688611b01565b90611b01565b905060006115546103e361153a86896130e1565b9050610a6c8282613158565b80518251146115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806150fc6035913960400191505060405180910390fd5b815160005b81811015611782576116508382815181106115d657fe5b6020026020010151600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087858151811061162b57fe5b60200260200101518152602001908152602001600020546130e190919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600160205260408120865190919087908590811061168657fe5b60200260200101518152602001908152602001600020819055506117298382815181106116af57fe5b6020026020010151600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087858151811061170457fe5b6020026020010151815260200190815260200160002054611b9190919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600160205260408120865190919087908590811061175f57fe5b6020908102919091018101518252810191909152604001600020556001016115bf565b508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561182f578181015183820152602001611817565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561186e578181015183820152602001611856565b5050505090500194505050505060405180910390a45050505050565b6118a98573ffffffffffffffffffffffffffffffffffffffff1661319f565b15611af95760008573ffffffffffffffffffffffffffffffffffffffff1663bc197c8184338a8989886040518763ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015611961578181015183820152602001611949565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156119a0578181015183820152602001611988565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156119dc5781810151838201526020016119c4565b50505050905090810190601f168015611a095780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600088803b158015611a2e57600080fd5b5087f1158015611a42573d6000803e3d6000fd5b50505050506040513d6020811015611a5957600080fd5b505190507fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f81526020018061521c603f913960400191505060405180910390fd5b505b505050505050565b600082611b1057506000610351565b82820282848281611b1d57fe5b0414611b8a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f536166654d617468236d756c3a204f564552464c4f5700000000000000000000604482015290519081900360640190fd5b9392505050565b600082820183811015611b8a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f536166654d617468236164643a204f564552464c4f5700000000000000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b60208310611ce357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611ca6565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611d45576040519150601f19603f3d011682016040523d82523d6000602084013e611d4a565b606091505b5091509150818015611d78575080511580611d785750808060200190516020811015611d7557600080fd5b50515b611af9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806150cb6031913960400191505060405180910390fd5b60005460609060ff16611e4157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905542831015611ea3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614f1d565b8551848167ffffffffffffffff81118015611ebd57600080fd5b50604051908082528060200260200182016040528015611ee7578160200160208202803683370190505b5092506060611ef5896131d6565b905060005b83811015611ff25760008a8281518110611f1057fe5b6020026020010151905060008a8381518110611f2857fe5b602002602001015190506000848481518110611f4057fe5b6020026020010151905060008211611f84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614752565b60008381526004602052604081205490611f9f8483856114e1565b9050611fab88826130e1565b9750808a8781518110611fba57fe5b6020908102919091010152611fcf8282611b91565b60009586526004602052604090952094909455505060019092019150611efa9050565b508115612024576120247f000000000000000000000000000000000000000000000000000000000000000086846134f5565b6040517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632eb2c2d69061209c90309089908e908e906004016143b9565b600060405180830381600087803b1580156120b657600080fd5b505af11580156120ca573d6000803e3d6000fd5b50505050505050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905595945050505050565b60005460609060ff1661217957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690558551428410156121dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614832565b60008167ffffffffffffffff811180156121f657600080fd5b50604051908082528060200260200182016040528015612220578160200160208202803683370190505b509250606061222e896131d6565b905060005b838110156123345760008a828151811061224957fe5b6020026020010151905060008a838151811061226157fe5b60200260200101519050600084848151811061227957fe5b60200260200101519050600082116122bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614cc9565b600083815260046020526040812054906122e1846122db85826130e1565b84610863565b90506122ed8882611b91565b97506122f982826130e1565b600086815260046020526040902055895181908b908890811061231857fe5b6020908102919091010152505060019093019250612233915050565b508682101561236f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614535565b61239a7f000000000000000000000000000000000000000000000000000000000000000086846134f5565b505050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905595945050505050565b60005460ff1661244257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055428110156124a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614a86565b8351600060608267ffffffffffffffff811180156124c157600080fd5b506040519080825280602002602001820160405280156124eb578160200160208202803683370190505b50905060608367ffffffffffffffff8111801561250757600080fd5b50604051908082528060200260200182016040528015612531578160200160208202803683370190505b509050606061253f896131d6565b905060005b858110156128405760008a828151811061255a57fe5b6020026020010151905060008a838151811061257257fe5b6020026020010151905060008a848151811061258a57fe5b6020026020010151116125c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614ec0565b60008111612603576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614c6c565b600082815260036020526040902054801561277957600083815260046020526040812054865190919087908790811061263857fe5b6020026020010151905060008061266a61265b8588611b0190919063ffffffff16565b61266585896130e1565b613158565b91509150818f898151811061267b57fe5b602002602001015110156126bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614d83565b6126c58483611b91565b6000888152600460205260409020556126de8c83611b91565b9b50836127018661153a846126f45760006126f7565b60015b869060ff166130e1565b8161270857fe5b048b898151811061271557fe5b602002602001018181525050818a898151811061272e57fe5b6020026020010181815250506127608b898151811061274957fe5b602002602001015186611b9190919063ffffffff16565b6000888152600360205260409020555061283592505050565b60008b858151811061278757fe5b60200260200101519050633b9aca008110156127cf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610182906146f5565b60008481526004602052604090208190556127ea8982611b91565b60008581526003602052604090208290558851909950819089908790811061280e57fe5b6020026020010181815250508087868151811061282757fe5b602002602001018181525050505b505050600101612544565b5061285c8a8a85604051806020016040528060008152506136b5565b6128887f00000000000000000000000000000000000000000000000000000000000000008b3087611c05565b8973ffffffffffffffffffffffffffffffffffffffff167f403f9dc4582dae52d3eeb4a22d37540ffb13c32d964c92ec5ac0d3d5628da3168a8a856040516128d2939291906144c4565b60405180910390a25050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60005460ff1661298257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690554281116129e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614698565b8451600060608267ffffffffffffffff81118015612a0057600080fd5b50604051908082528060200260200182016040528015612a2a578160200160208202803683370190505b50905060608367ffffffffffffffff81118015612a4657600080fd5b50604051908082528060200260200182016040528015612a70578160200160208202803683370190505b5090506060612a7e8a6131d6565b905060005b85811015612c7d5760008b8281518110612a9957fe5b6020026020010151905060008b8381518110612ab157fe5b602002602001015190506000848481518110612ac957fe5b6020026020010151905060006003600085815260200190815260200160002054905060008111612b25576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101829061463b565b6000848152600460205260408120549082612b408684611b01565b81612b4757fe5b049050600083612b578787611b01565b81612b5e57fe5b0490508f8881518110612b6d57fe5b6020026020010151821015612bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610182906147af565b8e8881518110612bba57fe5b6020026020010151811015612bfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614f7a565b612c0584876130e1565b600088815260036020526040902055612c1e83836130e1565b600088815260046020526040902055612c378c83611b91565b9b50808b8981518110612c4657fe5b602002602001018181525050818a8981518110612c5f57fe5b6020908102919091010152505060019095019450612a839350505050565b50612c89308b8b6138ea565b612cb47f00000000000000000000000000000000000000000000000000000000000000008c866134f5565b6040517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632eb2c2d690612d2c9030908f908f9089906004016143b9565b600060405180830381600087803b158015612d4657600080fd5b505af1158015612d5a573d6000803e3d6000fd5b505050508a73ffffffffffffffffffffffffffffffffffffffff167f711e9bcb94b4cf7bc99c1cb938edc75ac7e85a136838e90abf6ee1f5adebd4238b8585604051612da8939291906144c4565b60405180910390a25050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320858452909152902054612e2390826130e1565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600160208181526040808420888552825280842095909555928716825282528281208582529091522054612e749082611b91565b73ffffffffffffffffffffffffffffffffffffffff8085166000818152600160209081526040808320888452825291829020949094558051868152938401859052805191939288169233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62929181900390910190a450505050565b612f0f8573ffffffffffffffffffffffffffffffffffffffff1661319f565b15611af95760008573ffffffffffffffffffffffffffffffffffffffff1663f23a6e6184338a8989886040518763ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612fc8578181015183820152602001612fb0565b50505050905090810190601f168015612ff55780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600088803b15801561301857600080fd5b5087f115801561302c573d6000803e3d6000fd5b50505050506040513d602081101561304357600080fd5b505190507fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a81526020018061525b603a913960400191505060405180910390fd5b60008282111561315257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f536166654d617468237375623a20554e444552464c4f57000000000000000000604482015290519081900360640190fd5b50900390565b60008082848161316457fe5b06156131865761317f600184868161317857fe5b0490611b91565b6001613193565b82848161318f57fe5b0460005b915091505b9250929050565b6000813f8015801590611b8a57507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470141592915050565b805160609060018114156132e557604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e308660008151811061324f57fe5b60200260200101516040518363ffffffff1660e01b815260040161327492919061441e565b60206040518083038186803b15801561328c57600080fd5b505afa1580156132a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132c4919061431b565b816000815181106132d157fe5b602090810291909101015291506104859050565b60608167ffffffffffffffff811180156132fe57600080fd5b50604051908082528060200260200182016040528015613328578160200160208202803683370190505b509050308160008151811061333957fe5b73ffffffffffffffffffffffffffffffffffffffff9092166020928302919091019091015260015b828110156134055784818151811061337557fe5b602002602001015185600183038151811061338c57fe5b6020026020010151106133cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018290614e3d565b308282815181106133d857fe5b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152600101613361565b506040517f4e1273f400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634e1273f49061347a9084908890600401614444565b60006040518083038186803b15801561349257600080fd5b505afa1580156134a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526134ec919081019061402b565b92505050610485565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b602083106135cb57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161358e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461362d576040519150601f19603f3d011682016040523d82523d6000602084013e613632565b606091505b5091509150818015613660575080511580613660575080806020019051602081101561365d57600080fd5b50515b6106eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180615295602d913960400191505060405180910390fd5b815183511461370f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806151ec6030913960400191505060405180910390fd5b825160005b818110156137d95761378084828151811061372b57fe5b6020026020010151600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600088858151811061170457fe5b73ffffffffffffffffffffffffffffffffffffffff8716600090815260016020526040812087519091908890859081106137b657fe5b602090810291909101810151825281019190915260400160002055600101613714565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561388757818101518382015260200161386f565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156138c65781810151838201526020016138ae565b5050505090500194505050505060405180910390a46106eb60008686865a8761188a565b815181518114613945576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806151616030913960400191505060405180910390fd5b60005b81811015613a0d576139b483828151811061395f57fe5b6020026020010151600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087858151811061162b57fe5b73ffffffffffffffffffffffffffffffffffffffff8616600090815260016020526040812086519091908790859081106139ea57fe5b602090810291909101810151825281019190915260400160002055600101613948565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015613abb578181015183820152602001613aa3565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015613afa578181015183820152602001613ae2565b5050505090500194505050505060405180910390a450505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081525090565b604051806040016040528060608152602001600081525090565b60405180606001604052806060815260200160608152602001600081525090565b60008083601f840112613b98578081fd5b50813567ffffffffffffffff811115613baf578182fd5b602083019150836020808302850101111561319857600080fd5b600082601f830112613bd9578081fd5b8135613bec613be782615004565b614fe0565b818152915060208083019084810181840286018201871015613c0d57600080fd5b60005b84811015613c2c57813584529282019290820190600101613c10565b505050505092915050565b600082601f830112613c47578081fd5b8151613c55613be782615004565b818152915060208083019084810181840286018201871015613c7657600080fd5b60005b84811015613c2c57815184529282019290820190600101613c79565b600082601f830112613ca5578081fd5b813567ffffffffffffffff811115613cb957fe5b613cea60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614fe0565b9150808252836020828501011115613d0157600080fd5b8060208401602084013760009082016020015292915050565b60008060408385031215613d2c578182fd5b8235613d3781615022565b91506020830135613d4781615022565b809150509250929050565b600080600080600060a08688031215613d69578081fd5b8535613d7481615022565b94506020860135613d8481615022565b9350604086013567ffffffffffffffff80821115613da0578283fd5b613dac89838a01613bc9565b94506060880135915080821115613dc1578283fd5b613dcd89838a01613bc9565b93506080880135915080821115613de2578283fd5b50613def88828901613c95565b9150509295509295909350565b600080600080600060a08688031215613e13578081fd5b8535613e1e81615022565b94506020860135613e2e81615022565b93506040860135925060608601359150608086013567ffffffffffffffff811115613e57578182fd5b613def88828901613c95565b60008060408385031215613e75578182fd5b8235613e8081615022565b915060208301358015158114613d47578182fd5b60008060408385031215613ea6578182fd5b8235613eb181615022565b946020939093013593505050565b60008060408385031215613ed1578182fd5b823567ffffffffffffffff80821115613ee8578384fd5b818501915085601f830112613efb578384fd5b8135613f09613be782615004565b80828252602080830192508086018a828387028901011115613f29578889fd5b8896505b84871015613f54578035613f4081615022565b845260019690960195928101928101613f2d565b509096508701359350505080821115613f6b578283fd5b50613f7885828601613bc9565b9150509250929050565b60008060208385031215613f94578182fd5b823567ffffffffffffffff811115613faa578283fd5b613fb685828601613b87565b90969095509350505050565b60008060008060408587031215613fd7578182fd5b843567ffffffffffffffff80821115613fee578384fd5b613ffa88838901613b87565b90965094506020870135915080821115614012578384fd5b5061401f87828801613b87565b95989497509550505050565b60006020828403121561403c578081fd5b815167ffffffffffffffff811115614052578182fd5b61405e84828501613c37565b949350505050565b600080600080600060a0868803121561407d578283fd5b853567ffffffffffffffff80821115614094578485fd5b6140a089838a01613bc9565b965060208801359150808211156140b5578485fd5b506140c288828901613bc9565b945050604086013592506060860135915060808601356140e181615022565b809150509295509295909350565b600060208284031215614100578081fd5b8135611b8a81615047565b60006020828403121561411c578081fd5b8151611b8a81615047565b60008060408385031215614139578182fd5b825161414481615047565b602084015190925067ffffffffffffffff80821115614161578283fd5b9084019060408287031215614174578283fd5b60405160408101818110838211171561418957fe5b60405282518281111561419a578485fd5b6141a688828601613c37565b825250602083015160208201528093505050509250929050565b600080604083850312156141d2578182fd5b82516141dd81615047565b602084015190925067ffffffffffffffff808211156141fa578283fd5b908401906060828703121561420d578283fd5b60405160608101818110838211171561422257fe5b604052825182811115614233578485fd5b61423f88828601613c37565b825250602083015182811115614253578485fd5b61425f88828601613c37565b602083015250604083015160408201528093505050509250929050565b600080828403608081121561428f578283fd5b835161429a81615047565b925060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0820112156142cb578182fd5b506040516060810181811067ffffffffffffffff821117156142e957fe5b60405260208401516142fa81615022565b81526040848101516020830152606090940151938101939093525092909150565b60006020828403121561432c578081fd5b5051919050565b600080600060608486031215614347578081fd5b505081359360208301359350604090920135919050565b6000815180845260208085019450808401835b8381101561438d57815187529582019590820190600101614371565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060a060408301526143f260a083018561435e565b8281036060840152614404818561435e565b838103608090940193909352508152602001949350505050565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b8281101561449357815173ffffffffffffffffffffffffffffffffffffffff1684529284019290840190600101614461565b505050838103828501526144a7818661435e565b9695505050505050565b600060208252611b8a602083018461435e565b6000606082526144d7606083018661435e565b82810360208401526144e9818661435e565b905082810360408401526144a7818561435e565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b60208082526042908201527f4e696674797377617045786368616e67653230235f746f6b656e546f4375727260408201527f656e63793a20494e53554646494349454e545f43555252454e43595f414d4f5560608201527f4e54000000000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526045908201527f4e696674797377617045786368616e67653230236f6e4552433131353542617460408201527f636852656365697665643a20494e56414c49445f544f4b454e5f5452414e534660608201527f4552524544000000000000000000000000000000000000000000000000000000608082015260a00190565b6020808252603a908201527f4e696674797377617045786368616e67653230235f72656d6f76654c6971756960408201527f646974793a204e554c4c5f544f54414c5f4c4951554944495459000000000000606082015260800190565b60208082526037908201527f4e696674797377617045786368616e67653230235f72656d6f76654c6971756960408201527f646974793a20444541444c494e455f4558434545444544000000000000000000606082015260800190565b6020808252603a908201527f4e696674797377617045786368616e67653230235f6164644c6971756964697460408201527f793a20494e56414c49445f43555252454e43595f414d4f554e54000000000000606082015260800190565b60208082526038908201527f4e696674797377617045786368616e67653230235f63757272656e6379546f5460408201527f6f6b656e3a204e554c4c5f544f4b454e535f424f554748540000000000000000606082015260800190565b60208082526042908201527f4e696674797377617045786368616e67653230235f72656d6f76654c6971756960408201527f646974793a20494e53554646494349454e545f43555252454e43595f414d4f5560608201527f4e54000000000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526037908201527f4e696674797377617045786368616e67653230235f746f6b656e546f4375727260408201527f656e63793a20444541444c494e455f4558434545444544000000000000000000606082015260800190565b6020808252603a908201527f4e696674797377617045786368616e67653230236f6e4552433131353542617460408201527f636852656365697665643a20494e56414c49445f4d4554484f44000000000000606082015260800190565b6020808252602e908201527f4e696674797377617045786368616e676532302367657442757950726963653a60408201527f20454d5054595f52455345525645000000000000000000000000000000000000606082015260800190565b6020808252604c908201527f4e696674797377617045786368616e67653230236f6e4552433131353542617460408201527f636852656365697665643a20494e56414c49445f4e494654595f544f4b454e5360608201527f5f5452414e534645525245440000000000000000000000000000000000000000608082015260a00190565b60208082526024908201527f4e696674797377617045786368616e67653a554e535550504f525445445f4d4560408201527f54484f4400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526030908201527f4e696674797377617045786368616e6765323023627579546f6b656e733a204460408201527f4541444c494e455f455843454544454400000000000000000000000000000000606082015260800190565b60208082526034908201527f4e696674797377617045786368616e67653230235f6164644c6971756964697460408201527f793a20444541444c494e455f4558434545444544000000000000000000000000606082015260800190565b60208082526041908201527f4e696674797377617045786368616e67653230236f6e4552433131353552656360408201527f65697665643a20494e56414c49445f4f4e52454345495645445f4d455353414760608201527f4500000000000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526044908201527f4e696674797377617045786368616e67653230236f6e4552433131353542617460408201527f636852656365697665643a20494e56414c49445f544f4b454e535f4445504f5360608201527f4954454400000000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526046908201527f4e696674797377617045786368616e67653230236f6e4552433131353542617460408201527f636852656365697665643a20494e56414c49445f544f4b454e535f5452414e5360608201527f4645525245440000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526035908201527f4e696674797377617045786368616e67653230235f6164644c6971756964697460408201527f793a204e554c4c5f544f4b454e535f414d4f554e540000000000000000000000606082015260800190565b60208082526036908201527f4e696674797377617045786368616e67653230235f746f6b656e546f4375727260408201527f656e63793a204e554c4c5f544f4b454e535f534f4c4400000000000000000000606082015260800190565b6020808252603a908201527f4e696674797377617045786368616e6765323023627579546f6b656e733a204960408201527f4e56414c49445f43555252454e43595f4944535f414d4f554e54000000000000606082015260800190565b6020808252603f908201527f4e696674797377617045786368616e67653230235f6164644c6971756964697460408201527f793a204d41585f43555252454e43595f414d4f554e545f455843454544454400606082015260800190565b6020808252602f908201527f4e696674797377617045786368616e676532302367657453656c6c507269636560408201527f3a20454d5054595f524553455256450000000000000000000000000000000000606082015260800190565b60208082526046908201527f4e696674797377617045786368616e67653230235f676574546f6b656e52657360408201527f65727665733a20554e534f525445445f4f525f4455504c49434154455f544f4b60608201527f454e5f4944530000000000000000000000000000000000000000000000000000608082015260a00190565b60208082526034908201527f4e696674797377617045786368616e67653230235f6164644c6971756964697460408201527f793a204e554c4c5f4d41585f43555252454e4359000000000000000000000000606082015260800190565b60208082526037908201527f4e696674797377617045786368616e67653230235f63757272656e6379546f5460408201527f6f6b656e3a20444541444c494e455f4558434545444544000000000000000000606082015260800190565b60208082526039908201527f4e696674797377617045786368616e67653230235f72656d6f76654c6971756960408201527f646974793a20494e53554646494349454e545f544f4b454e5300000000000000606082015260800190565b90815260200190565b60405181810167ffffffffffffffff81118282101715614ffc57fe5b604052919050565b600067ffffffffffffffff82111561501857fe5b5060209081020190565b73ffffffffffffffffffffffffffffffffffffffff8116811461504457600080fd5b50565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461504457600080fdfe4552433131353523736166655472616e7366657246726f6d3a20494e56414c49445f524543495049454e544552433131353523736166655472616e7366657246726f6d3a20494e56414c49445f4f50455241544f525472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c656445524331313535235f7361666542617463685472616e7366657246726f6d3a20494e56414c49445f4152524159535f4c454e47544845524331313535237361666542617463685472616e7366657246726f6d3a20494e56414c49445f524543495049454e54455243313135354d696e744275726e2362617463684275726e3a20494e56414c49445f4152524159535f4c454e475448455243313135352362616c616e63654f6642617463683a20494e56414c49445f41525241595f4c454e47544845524331313535237361666542617463685472616e7366657246726f6d3a20494e56414c49445f4f50455241544f52455243313135354d696e744275726e2362617463684d696e743a20494e56414c49445f4152524159535f4c454e47544845524331313535235f63616c6c6f6e45524331313535426174636852656365697665643a20494e56414c49445f4f4e5f524543454956455f4d45535341474545524331313535235f63616c6c6f6e4552433131353552656365697665643a20494e56414c49445f4f4e5f524543454956455f4d4553534147455472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564a2646970667358221220e1566e2140bd31c1bfdc7a3c35916ba077a550c086e27f6987fe6901131a417d64736f6c63430007040033",
}

NiftyswapExchange20MetaData contains all meta data concerning the NiftyswapExchange20 contract.

View Source
var NiftyswapExchangeABI = NiftyswapExchangeMetaData.ABI

NiftyswapExchangeABI is the input ABI used to generate the binding from. Deprecated: Use NiftyswapExchangeMetaData.ABI instead.

View Source
var NiftyswapExchangeBin = NiftyswapExchangeMetaData.Bin

NiftyswapExchangeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use NiftyswapExchangeMetaData.Bin instead.

View Source
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.

View Source
var NiftyswapFactoryABI = NiftyswapFactoryMetaData.ABI

NiftyswapFactoryABI is the input ABI used to generate the binding from. Deprecated: Use NiftyswapFactoryMetaData.ABI instead.

View Source
var NiftyswapFactoryBin = NiftyswapFactoryMetaData.Bin

NiftyswapFactoryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use NiftyswapFactoryMetaData.Bin instead.

View Source
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.

View Source
var WrapAndNiftyswapABI = WrapAndNiftyswapMetaData.ABI

WrapAndNiftyswapABI is the input ABI used to generate the binding from. Deprecated: Use WrapAndNiftyswapMetaData.ABI instead.

View Source
var WrapAndNiftyswapBin = WrapAndNiftyswapMetaData.Bin

WrapAndNiftyswapBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WrapAndNiftyswapMetaData.Bin instead.

View Source
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 INiftyswapExchange20 added in v0.5.5

type INiftyswapExchange20 struct {
	INiftyswapExchange20Caller     // Read-only binding to the contract
	INiftyswapExchange20Transactor // Write-only binding to the contract
	INiftyswapExchange20Filterer   // Log filterer for contract events
}

INiftyswapExchange20 is an auto generated Go binding around an Ethereum contract.

func NewINiftyswapExchange20 added in v0.5.5

func NewINiftyswapExchange20(address common.Address, backend bind.ContractBackend) (*INiftyswapExchange20, error)

NewINiftyswapExchange20 creates a new instance of INiftyswapExchange20, bound to a specific deployed contract.

type INiftyswapExchange20Caller added in v0.5.5

type INiftyswapExchange20Caller struct {
	// contains filtered or unexported fields
}

INiftyswapExchange20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewINiftyswapExchange20Caller added in v0.5.5

func NewINiftyswapExchange20Caller(address common.Address, caller bind.ContractCaller) (*INiftyswapExchange20Caller, error)

NewINiftyswapExchange20Caller creates a new read-only instance of INiftyswapExchange20, bound to a specific deployed contract.

func (*INiftyswapExchange20Caller) GetBuyPrice added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) 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 (*INiftyswapExchange20Caller) GetCurrencyInfo added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) GetCurrencyInfo(opts *bind.CallOpts) (common.Address, error)

GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.

Solidity: function getCurrencyInfo() view returns(address)

func (*INiftyswapExchange20Caller) GetCurrencyReserves added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) 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 (*INiftyswapExchange20Caller) GetFactoryAddress added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) 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 (*INiftyswapExchange20Caller) GetPriceCurrencyToToken added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) 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 (*INiftyswapExchange20Caller) GetPriceTokenToCurrency added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) 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 (*INiftyswapExchange20Caller) GetSellPrice added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) 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 (*INiftyswapExchange20Caller) GetTokenAddress added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) 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 (*INiftyswapExchange20Caller) GetTotalSupply added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Caller) 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 INiftyswapExchange20CallerRaw added in v0.5.5

type INiftyswapExchange20CallerRaw struct {
	Contract *INiftyswapExchange20Caller // Generic read-only contract binding to access the raw methods on
}

INiftyswapExchange20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*INiftyswapExchange20CallerRaw) Call added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerRaw) 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 INiftyswapExchange20CallerSession added in v0.5.5

type INiftyswapExchange20CallerSession struct {
	Contract *INiftyswapExchange20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts               // Call options to use throughout this session
}

INiftyswapExchange20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*INiftyswapExchange20CallerSession) GetBuyPrice added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) 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 (*INiftyswapExchange20CallerSession) GetCurrencyInfo added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) GetCurrencyInfo() (common.Address, error)

GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.

Solidity: function getCurrencyInfo() view returns(address)

func (*INiftyswapExchange20CallerSession) GetCurrencyReserves added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) 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 (*INiftyswapExchange20CallerSession) GetFactoryAddress added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) GetFactoryAddress() (common.Address, error)

GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.

Solidity: function getFactoryAddress() view returns(address)

func (*INiftyswapExchange20CallerSession) GetPriceCurrencyToToken added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) 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 (*INiftyswapExchange20CallerSession) GetPriceTokenToCurrency added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) 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 (*INiftyswapExchange20CallerSession) GetSellPrice added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) 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 (*INiftyswapExchange20CallerSession) GetTokenAddress added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) GetTokenAddress() (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*INiftyswapExchange20CallerSession) GetTotalSupply added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20CallerSession) 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 INiftyswapExchange20CurrencyPurchase added in v0.5.5

type INiftyswapExchange20CurrencyPurchase struct {
	Buyer                 common.Address
	Recipient             common.Address
	TokensSoldIds         []*big.Int
	TokensSoldAmounts     []*big.Int
	CurrencyBoughtAmounts []*big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

INiftyswapExchange20CurrencyPurchase represents a CurrencyPurchase event raised by the INiftyswapExchange20 contract.

type INiftyswapExchange20CurrencyPurchaseIterator added in v0.5.5

type INiftyswapExchange20CurrencyPurchaseIterator struct {
	Event *INiftyswapExchange20CurrencyPurchase // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

INiftyswapExchange20CurrencyPurchaseIterator is returned from FilterCurrencyPurchase and is used to iterate over the raw logs and unpacked data for CurrencyPurchase events raised by the INiftyswapExchange20 contract.

func (*INiftyswapExchange20CurrencyPurchaseIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapExchange20CurrencyPurchaseIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapExchange20CurrencyPurchaseIterator) Next added in v0.5.5

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 INiftyswapExchange20Filterer added in v0.5.5

type INiftyswapExchange20Filterer struct {
	// contains filtered or unexported fields
}

INiftyswapExchange20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewINiftyswapExchange20Filterer added in v0.5.5

func NewINiftyswapExchange20Filterer(address common.Address, filterer bind.ContractFilterer) (*INiftyswapExchange20Filterer, error)

NewINiftyswapExchange20Filterer creates a new log filterer instance of INiftyswapExchange20, bound to a specific deployed contract.

func (*INiftyswapExchange20Filterer) FilterCurrencyPurchase added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) FilterCurrencyPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*INiftyswapExchange20CurrencyPurchaseIterator, 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 (*INiftyswapExchange20Filterer) FilterLiquidityAdded added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) FilterLiquidityAdded(opts *bind.FilterOpts, provider []common.Address) (*INiftyswapExchange20LiquidityAddedIterator, 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 (*INiftyswapExchange20Filterer) FilterLiquidityRemoved added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) FilterLiquidityRemoved(opts *bind.FilterOpts, provider []common.Address) (*INiftyswapExchange20LiquidityRemovedIterator, 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 (*INiftyswapExchange20Filterer) FilterTokensPurchase added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) FilterTokensPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*INiftyswapExchange20TokensPurchaseIterator, 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 (*INiftyswapExchange20Filterer) ParseCurrencyPurchase added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) ParseCurrencyPurchase(log types.Log) (*INiftyswapExchange20CurrencyPurchase, 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 (*INiftyswapExchange20Filterer) ParseLiquidityAdded added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) ParseLiquidityAdded(log types.Log) (*INiftyswapExchange20LiquidityAdded, 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 (*INiftyswapExchange20Filterer) ParseLiquidityRemoved added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) ParseLiquidityRemoved(log types.Log) (*INiftyswapExchange20LiquidityRemoved, 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 (*INiftyswapExchange20Filterer) ParseTokensPurchase added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) ParseTokensPurchase(log types.Log) (*INiftyswapExchange20TokensPurchase, 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 (*INiftyswapExchange20Filterer) WatchCurrencyPurchase added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) WatchCurrencyPurchase(opts *bind.WatchOpts, sink chan<- *INiftyswapExchange20CurrencyPurchase, 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 (*INiftyswapExchange20Filterer) WatchLiquidityAdded added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *INiftyswapExchange20LiquidityAdded, 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 (*INiftyswapExchange20Filterer) WatchLiquidityRemoved added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *INiftyswapExchange20LiquidityRemoved, 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 (*INiftyswapExchange20Filterer) WatchTokensPurchase added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Filterer) WatchTokensPurchase(opts *bind.WatchOpts, sink chan<- *INiftyswapExchange20TokensPurchase, 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 INiftyswapExchange20LiquidityAdded added in v0.5.5

type INiftyswapExchange20LiquidityAdded struct {
	Provider        common.Address
	TokenIds        []*big.Int
	TokenAmounts    []*big.Int
	CurrencyAmounts []*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

INiftyswapExchange20LiquidityAdded represents a LiquidityAdded event raised by the INiftyswapExchange20 contract.

type INiftyswapExchange20LiquidityAddedIterator added in v0.5.5

type INiftyswapExchange20LiquidityAddedIterator struct {
	Event *INiftyswapExchange20LiquidityAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

INiftyswapExchange20LiquidityAddedIterator is returned from FilterLiquidityAdded and is used to iterate over the raw logs and unpacked data for LiquidityAdded events raised by the INiftyswapExchange20 contract.

func (*INiftyswapExchange20LiquidityAddedIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapExchange20LiquidityAddedIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapExchange20LiquidityAddedIterator) Next added in v0.5.5

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 INiftyswapExchange20LiquidityRemoved added in v0.5.5

type INiftyswapExchange20LiquidityRemoved struct {
	Provider        common.Address
	TokenIds        []*big.Int
	TokenAmounts    []*big.Int
	CurrencyAmounts []*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

INiftyswapExchange20LiquidityRemoved represents a LiquidityRemoved event raised by the INiftyswapExchange20 contract.

type INiftyswapExchange20LiquidityRemovedIterator added in v0.5.5

type INiftyswapExchange20LiquidityRemovedIterator struct {
	Event *INiftyswapExchange20LiquidityRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

INiftyswapExchange20LiquidityRemovedIterator is returned from FilterLiquidityRemoved and is used to iterate over the raw logs and unpacked data for LiquidityRemoved events raised by the INiftyswapExchange20 contract.

func (*INiftyswapExchange20LiquidityRemovedIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapExchange20LiquidityRemovedIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapExchange20LiquidityRemovedIterator) Next added in v0.5.5

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 INiftyswapExchange20Raw added in v0.5.5

type INiftyswapExchange20Raw struct {
	Contract *INiftyswapExchange20 // Generic contract binding to access the raw methods on
}

INiftyswapExchange20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*INiftyswapExchange20Raw) Call added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Raw) 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 (*INiftyswapExchange20Raw) Transact added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*INiftyswapExchange20Raw) Transfer added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Raw) 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 INiftyswapExchange20Session added in v0.5.5

type INiftyswapExchange20Session struct {
	Contract     *INiftyswapExchange20 // 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
}

INiftyswapExchange20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*INiftyswapExchange20Session) BuyTokens added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) BuyTokens(_tokenIds []*big.Int, _tokensBoughtAmounts []*big.Int, _maxCurrency *big.Int, _deadline *big.Int, _recipient common.Address) (*types.Transaction, error)

BuyTokens is a paid mutator transaction binding the contract method 0xa7220bec.

Solidity: function buyTokens(uint256[] _tokenIds, uint256[] _tokensBoughtAmounts, uint256 _maxCurrency, uint256 _deadline, address _recipient) returns(uint256[])

func (*INiftyswapExchange20Session) GetBuyPrice added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) 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 (*INiftyswapExchange20Session) GetCurrencyInfo added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) GetCurrencyInfo() (common.Address, error)

GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.

Solidity: function getCurrencyInfo() view returns(address)

func (*INiftyswapExchange20Session) GetCurrencyReserves added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) 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 (*INiftyswapExchange20Session) GetFactoryAddress added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) GetFactoryAddress() (common.Address, error)

GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.

Solidity: function getFactoryAddress() view returns(address)

func (*INiftyswapExchange20Session) GetPriceCurrencyToToken added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) 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 (*INiftyswapExchange20Session) GetPriceTokenToCurrency added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) 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 (*INiftyswapExchange20Session) GetSellPrice added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) 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 (*INiftyswapExchange20Session) GetTokenAddress added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) GetTokenAddress() (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*INiftyswapExchange20Session) GetTotalSupply added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) 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 (*INiftyswapExchange20Session) OnERC1155BatchReceived added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) 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 (*INiftyswapExchange20Session) OnERC1155Received added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Session) 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 INiftyswapExchange20TokensPurchase added in v0.5.5

type INiftyswapExchange20TokensPurchase struct {
	Buyer               common.Address
	Recipient           common.Address
	TokensBoughtIds     []*big.Int
	TokensBoughtAmounts []*big.Int
	CurrencySoldAmounts []*big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

INiftyswapExchange20TokensPurchase represents a TokensPurchase event raised by the INiftyswapExchange20 contract.

type INiftyswapExchange20TokensPurchaseIterator added in v0.5.5

type INiftyswapExchange20TokensPurchaseIterator struct {
	Event *INiftyswapExchange20TokensPurchase // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

INiftyswapExchange20TokensPurchaseIterator is returned from FilterTokensPurchase and is used to iterate over the raw logs and unpacked data for TokensPurchase events raised by the INiftyswapExchange20 contract.

func (*INiftyswapExchange20TokensPurchaseIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapExchange20TokensPurchaseIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapExchange20TokensPurchaseIterator) Next added in v0.5.5

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 INiftyswapExchange20Transactor added in v0.5.5

type INiftyswapExchange20Transactor struct {
	// contains filtered or unexported fields
}

INiftyswapExchange20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewINiftyswapExchange20Transactor added in v0.5.5

func NewINiftyswapExchange20Transactor(address common.Address, transactor bind.ContractTransactor) (*INiftyswapExchange20Transactor, error)

NewINiftyswapExchange20Transactor creates a new write-only instance of INiftyswapExchange20, bound to a specific deployed contract.

func (*INiftyswapExchange20Transactor) BuyTokens added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Transactor) BuyTokens(opts *bind.TransactOpts, _tokenIds []*big.Int, _tokensBoughtAmounts []*big.Int, _maxCurrency *big.Int, _deadline *big.Int, _recipient common.Address) (*types.Transaction, error)

BuyTokens is a paid mutator transaction binding the contract method 0xa7220bec.

Solidity: function buyTokens(uint256[] _tokenIds, uint256[] _tokensBoughtAmounts, uint256 _maxCurrency, uint256 _deadline, address _recipient) returns(uint256[])

func (*INiftyswapExchange20Transactor) OnERC1155BatchReceived added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Transactor) 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 (*INiftyswapExchange20Transactor) OnERC1155Received added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20Transactor) 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 INiftyswapExchange20TransactorRaw added in v0.5.5

type INiftyswapExchange20TransactorRaw struct {
	Contract *INiftyswapExchange20Transactor // Generic write-only contract binding to access the raw methods on
}

INiftyswapExchange20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*INiftyswapExchange20TransactorRaw) Transact added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*INiftyswapExchange20TransactorRaw) Transfer added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20TransactorRaw) 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 INiftyswapExchange20TransactorSession added in v0.5.5

type INiftyswapExchange20TransactorSession struct {
	Contract     *INiftyswapExchange20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts               // Transaction auth options to use throughout this session
}

INiftyswapExchange20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*INiftyswapExchange20TransactorSession) BuyTokens added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20TransactorSession) BuyTokens(_tokenIds []*big.Int, _tokensBoughtAmounts []*big.Int, _maxCurrency *big.Int, _deadline *big.Int, _recipient common.Address) (*types.Transaction, error)

BuyTokens is a paid mutator transaction binding the contract method 0xa7220bec.

Solidity: function buyTokens(uint256[] _tokenIds, uint256[] _tokensBoughtAmounts, uint256 _maxCurrency, uint256 _deadline, address _recipient) returns(uint256[])

func (*INiftyswapExchange20TransactorSession) OnERC1155BatchReceived added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20TransactorSession) 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 (*INiftyswapExchange20TransactorSession) OnERC1155Received added in v0.5.5

func (_INiftyswapExchange20 *INiftyswapExchange20TransactorSession) 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 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

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapExchangeCurrencyPurchaseIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapExchangeCurrencyPurchaseIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapExchangeLiquidityAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapExchangeLiquidityAddedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapExchangeLiquidityRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapExchangeLiquidityRemovedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapExchangeTokensPurchaseIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapExchangeTokensPurchaseIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*INiftyswapFactoryNewExchangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INiftyswapFactoryNewExchangeIterator) Next

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 NiftyswapExchange20 added in v0.5.5

type NiftyswapExchange20 struct {
	NiftyswapExchange20Caller     // Read-only binding to the contract
	NiftyswapExchange20Transactor // Write-only binding to the contract
	NiftyswapExchange20Filterer   // Log filterer for contract events
}

NiftyswapExchange20 is an auto generated Go binding around an Ethereum contract.

func DeployNiftyswapExchange20 added in v0.5.5

func DeployNiftyswapExchange20(auth *bind.TransactOpts, backend bind.ContractBackend, _tokenAddr common.Address, _currencyAddr common.Address) (common.Address, *types.Transaction, *NiftyswapExchange20, error)

DeployNiftyswapExchange20 deploys a new Ethereum contract, binding an instance of NiftyswapExchange20 to it.

func NewNiftyswapExchange20 added in v0.5.5

func NewNiftyswapExchange20(address common.Address, backend bind.ContractBackend) (*NiftyswapExchange20, error)

NewNiftyswapExchange20 creates a new instance of NiftyswapExchange20, bound to a specific deployed contract.

type NiftyswapExchange20ApprovalForAll added in v0.5.5

type NiftyswapExchange20ApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

NiftyswapExchange20ApprovalForAll represents a ApprovalForAll event raised by the NiftyswapExchange20 contract.

type NiftyswapExchange20ApprovalForAllIterator added in v0.5.5

type NiftyswapExchange20ApprovalForAllIterator struct {
	Event *NiftyswapExchange20ApprovalForAll // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NiftyswapExchange20ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the NiftyswapExchange20 contract.

func (*NiftyswapExchange20ApprovalForAllIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchange20ApprovalForAllIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchange20ApprovalForAllIterator) Next added in v0.5.5

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 NiftyswapExchange20Caller added in v0.5.5

type NiftyswapExchange20Caller struct {
	// contains filtered or unexported fields
}

NiftyswapExchange20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewNiftyswapExchange20Caller added in v0.5.5

func NewNiftyswapExchange20Caller(address common.Address, caller bind.ContractCaller) (*NiftyswapExchange20Caller, error)

NewNiftyswapExchange20Caller creates a new read-only instance of NiftyswapExchange20, bound to a specific deployed contract.

func (*NiftyswapExchange20Caller) BalanceOf added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) BalanceOfBatch added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) GetBuyPrice added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) GetCurrencyInfo added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) GetCurrencyInfo(opts *bind.CallOpts) (common.Address, error)

GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.

Solidity: function getCurrencyInfo() view returns(address)

func (*NiftyswapExchange20Caller) GetCurrencyReserves added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) GetFactoryAddress added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) GetPriceCurrencyToToken added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) GetPriceTokenToCurrency added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) GetSellPrice added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) GetTokenAddress added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) GetTotalSupply added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) IsApprovedForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 (*NiftyswapExchange20Caller) SupportsInterface added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Caller) 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 NiftyswapExchange20CallerRaw added in v0.5.5

type NiftyswapExchange20CallerRaw struct {
	Contract *NiftyswapExchange20Caller // Generic read-only contract binding to access the raw methods on
}

NiftyswapExchange20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*NiftyswapExchange20CallerRaw) Call added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerRaw) 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 NiftyswapExchange20CallerSession added in v0.5.5

type NiftyswapExchange20CallerSession struct {
	Contract *NiftyswapExchange20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts              // Call options to use throughout this session
}

NiftyswapExchange20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*NiftyswapExchange20CallerSession) BalanceOf added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) BalanceOfBatch added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) GetBuyPrice added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) GetCurrencyInfo added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) GetCurrencyInfo() (common.Address, error)

GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.

Solidity: function getCurrencyInfo() view returns(address)

func (*NiftyswapExchange20CallerSession) GetCurrencyReserves added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) GetFactoryAddress added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) GetFactoryAddress() (common.Address, error)

GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.

Solidity: function getFactoryAddress() view returns(address)

func (*NiftyswapExchange20CallerSession) GetPriceCurrencyToToken added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) GetPriceTokenToCurrency added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) GetSellPrice added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) GetTokenAddress added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) GetTokenAddress() (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*NiftyswapExchange20CallerSession) GetTotalSupply added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) IsApprovedForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 (*NiftyswapExchange20CallerSession) SupportsInterface added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20CallerSession) 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 NiftyswapExchange20CurrencyPurchase added in v0.5.5

type NiftyswapExchange20CurrencyPurchase struct {
	Buyer                 common.Address
	Recipient             common.Address
	TokensSoldIds         []*big.Int
	TokensSoldAmounts     []*big.Int
	CurrencyBoughtAmounts []*big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

NiftyswapExchange20CurrencyPurchase represents a CurrencyPurchase event raised by the NiftyswapExchange20 contract.

type NiftyswapExchange20CurrencyPurchaseIterator added in v0.5.5

type NiftyswapExchange20CurrencyPurchaseIterator struct {
	Event *NiftyswapExchange20CurrencyPurchase // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NiftyswapExchange20CurrencyPurchaseIterator is returned from FilterCurrencyPurchase and is used to iterate over the raw logs and unpacked data for CurrencyPurchase events raised by the NiftyswapExchange20 contract.

func (*NiftyswapExchange20CurrencyPurchaseIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchange20CurrencyPurchaseIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchange20CurrencyPurchaseIterator) Next added in v0.5.5

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 NiftyswapExchange20Filterer added in v0.5.5

type NiftyswapExchange20Filterer struct {
	// contains filtered or unexported fields
}

NiftyswapExchange20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewNiftyswapExchange20Filterer added in v0.5.5

func NewNiftyswapExchange20Filterer(address common.Address, filterer bind.ContractFilterer) (*NiftyswapExchange20Filterer, error)

NewNiftyswapExchange20Filterer creates a new log filterer instance of NiftyswapExchange20, bound to a specific deployed contract.

func (*NiftyswapExchange20Filterer) FilterApprovalForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) FilterApprovalForAll(opts *bind.FilterOpts, _owner []common.Address, _operator []common.Address) (*NiftyswapExchange20ApprovalForAllIterator, 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 (*NiftyswapExchange20Filterer) FilterCurrencyPurchase added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) FilterCurrencyPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*NiftyswapExchange20CurrencyPurchaseIterator, 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 (*NiftyswapExchange20Filterer) FilterLiquidityAdded added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) FilterLiquidityAdded(opts *bind.FilterOpts, provider []common.Address) (*NiftyswapExchange20LiquidityAddedIterator, 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 (*NiftyswapExchange20Filterer) FilterLiquidityRemoved added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) FilterLiquidityRemoved(opts *bind.FilterOpts, provider []common.Address) (*NiftyswapExchange20LiquidityRemovedIterator, 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 (*NiftyswapExchange20Filterer) FilterTokensPurchase added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) FilterTokensPurchase(opts *bind.FilterOpts, buyer []common.Address, recipient []common.Address) (*NiftyswapExchange20TokensPurchaseIterator, 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 (*NiftyswapExchange20Filterer) FilterTransferBatch added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) FilterTransferBatch(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, _to []common.Address) (*NiftyswapExchange20TransferBatchIterator, 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 (*NiftyswapExchange20Filterer) FilterTransferSingle added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) FilterTransferSingle(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, _to []common.Address) (*NiftyswapExchange20TransferSingleIterator, 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 (*NiftyswapExchange20Filterer) ParseApprovalForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) ParseApprovalForAll(log types.Log) (*NiftyswapExchange20ApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)

func (*NiftyswapExchange20Filterer) ParseCurrencyPurchase added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) ParseCurrencyPurchase(log types.Log) (*NiftyswapExchange20CurrencyPurchase, 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 (*NiftyswapExchange20Filterer) ParseLiquidityAdded added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) ParseLiquidityAdded(log types.Log) (*NiftyswapExchange20LiquidityAdded, 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 (*NiftyswapExchange20Filterer) ParseLiquidityRemoved added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) ParseLiquidityRemoved(log types.Log) (*NiftyswapExchange20LiquidityRemoved, 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 (*NiftyswapExchange20Filterer) ParseTokensPurchase added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) ParseTokensPurchase(log types.Log) (*NiftyswapExchange20TokensPurchase, 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 (*NiftyswapExchange20Filterer) ParseTransferBatch added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) ParseTransferBatch(log types.Log) (*NiftyswapExchange20TransferBatch, 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 (*NiftyswapExchange20Filterer) ParseTransferSingle added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) ParseTransferSingle(log types.Log) (*NiftyswapExchange20TransferSingle, 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 (*NiftyswapExchange20Filterer) WatchApprovalForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NiftyswapExchange20ApprovalForAll, _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 (*NiftyswapExchange20Filterer) WatchCurrencyPurchase added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) WatchCurrencyPurchase(opts *bind.WatchOpts, sink chan<- *NiftyswapExchange20CurrencyPurchase, 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 (*NiftyswapExchange20Filterer) WatchLiquidityAdded added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *NiftyswapExchange20LiquidityAdded, 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 (*NiftyswapExchange20Filterer) WatchLiquidityRemoved added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *NiftyswapExchange20LiquidityRemoved, 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 (*NiftyswapExchange20Filterer) WatchTokensPurchase added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) WatchTokensPurchase(opts *bind.WatchOpts, sink chan<- *NiftyswapExchange20TokensPurchase, 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 (*NiftyswapExchange20Filterer) WatchTransferBatch added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *NiftyswapExchange20TransferBatch, _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 (*NiftyswapExchange20Filterer) WatchTransferSingle added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *NiftyswapExchange20TransferSingle, _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 NiftyswapExchange20LiquidityAdded added in v0.5.5

type NiftyswapExchange20LiquidityAdded struct {
	Provider        common.Address
	TokenIds        []*big.Int
	TokenAmounts    []*big.Int
	CurrencyAmounts []*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

NiftyswapExchange20LiquidityAdded represents a LiquidityAdded event raised by the NiftyswapExchange20 contract.

type NiftyswapExchange20LiquidityAddedIterator added in v0.5.5

type NiftyswapExchange20LiquidityAddedIterator struct {
	Event *NiftyswapExchange20LiquidityAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NiftyswapExchange20LiquidityAddedIterator is returned from FilterLiquidityAdded and is used to iterate over the raw logs and unpacked data for LiquidityAdded events raised by the NiftyswapExchange20 contract.

func (*NiftyswapExchange20LiquidityAddedIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchange20LiquidityAddedIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchange20LiquidityAddedIterator) Next added in v0.5.5

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 NiftyswapExchange20LiquidityRemoved added in v0.5.5

type NiftyswapExchange20LiquidityRemoved struct {
	Provider        common.Address
	TokenIds        []*big.Int
	TokenAmounts    []*big.Int
	CurrencyAmounts []*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

NiftyswapExchange20LiquidityRemoved represents a LiquidityRemoved event raised by the NiftyswapExchange20 contract.

type NiftyswapExchange20LiquidityRemovedIterator added in v0.5.5

type NiftyswapExchange20LiquidityRemovedIterator struct {
	Event *NiftyswapExchange20LiquidityRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NiftyswapExchange20LiquidityRemovedIterator is returned from FilterLiquidityRemoved and is used to iterate over the raw logs and unpacked data for LiquidityRemoved events raised by the NiftyswapExchange20 contract.

func (*NiftyswapExchange20LiquidityRemovedIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchange20LiquidityRemovedIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchange20LiquidityRemovedIterator) Next added in v0.5.5

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 NiftyswapExchange20Raw added in v0.5.5

type NiftyswapExchange20Raw struct {
	Contract *NiftyswapExchange20 // Generic contract binding to access the raw methods on
}

NiftyswapExchange20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*NiftyswapExchange20Raw) Call added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Raw) 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 (*NiftyswapExchange20Raw) Transact added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*NiftyswapExchange20Raw) Transfer added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Raw) 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 NiftyswapExchange20Session added in v0.5.5

type NiftyswapExchange20Session struct {
	Contract     *NiftyswapExchange20 // 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
}

NiftyswapExchange20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*NiftyswapExchange20Session) BalanceOf added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) BalanceOfBatch added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) BuyTokens added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) BuyTokens(_tokenIds []*big.Int, _tokensBoughtAmounts []*big.Int, _maxCurrency *big.Int, _deadline *big.Int, _recipient common.Address) (*types.Transaction, error)

BuyTokens is a paid mutator transaction binding the contract method 0xa7220bec.

Solidity: function buyTokens(uint256[] _tokenIds, uint256[] _tokensBoughtAmounts, uint256 _maxCurrency, uint256 _deadline, address _recipient) returns(uint256[])

func (*NiftyswapExchange20Session) Fallback added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*NiftyswapExchange20Session) GetBuyPrice added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) GetCurrencyInfo added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) GetCurrencyInfo() (common.Address, error)

GetCurrencyInfo is a free data retrieval call binding the contract method 0x46adf5ca.

Solidity: function getCurrencyInfo() view returns(address)

func (*NiftyswapExchange20Session) GetCurrencyReserves added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) GetFactoryAddress added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) GetFactoryAddress() (common.Address, error)

GetFactoryAddress is a free data retrieval call binding the contract method 0xa9c2e36c.

Solidity: function getFactoryAddress() view returns(address)

func (*NiftyswapExchange20Session) GetPriceCurrencyToToken added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) GetPriceTokenToCurrency added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) GetSellPrice added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) GetTokenAddress added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) GetTokenAddress() (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*NiftyswapExchange20Session) GetTotalSupply added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) IsApprovedForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) OnERC1155BatchReceived added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) OnERC1155Received added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) SafeBatchTransferFrom added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) SafeTransferFrom added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) SetApprovalForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 (*NiftyswapExchange20Session) SupportsInterface added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Session) 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 NiftyswapExchange20TokensPurchase added in v0.5.5

type NiftyswapExchange20TokensPurchase struct {
	Buyer               common.Address
	Recipient           common.Address
	TokensBoughtIds     []*big.Int
	TokensBoughtAmounts []*big.Int
	CurrencySoldAmounts []*big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

NiftyswapExchange20TokensPurchase represents a TokensPurchase event raised by the NiftyswapExchange20 contract.

type NiftyswapExchange20TokensPurchaseIterator added in v0.5.5

type NiftyswapExchange20TokensPurchaseIterator struct {
	Event *NiftyswapExchange20TokensPurchase // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NiftyswapExchange20TokensPurchaseIterator is returned from FilterTokensPurchase and is used to iterate over the raw logs and unpacked data for TokensPurchase events raised by the NiftyswapExchange20 contract.

func (*NiftyswapExchange20TokensPurchaseIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchange20TokensPurchaseIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchange20TokensPurchaseIterator) Next added in v0.5.5

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 NiftyswapExchange20Transactor added in v0.5.5

type NiftyswapExchange20Transactor struct {
	// contains filtered or unexported fields
}

NiftyswapExchange20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewNiftyswapExchange20Transactor added in v0.5.5

func NewNiftyswapExchange20Transactor(address common.Address, transactor bind.ContractTransactor) (*NiftyswapExchange20Transactor, error)

NewNiftyswapExchange20Transactor creates a new write-only instance of NiftyswapExchange20, bound to a specific deployed contract.

func (*NiftyswapExchange20Transactor) BuyTokens added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Transactor) BuyTokens(opts *bind.TransactOpts, _tokenIds []*big.Int, _tokensBoughtAmounts []*big.Int, _maxCurrency *big.Int, _deadline *big.Int, _recipient common.Address) (*types.Transaction, error)

BuyTokens is a paid mutator transaction binding the contract method 0xa7220bec.

Solidity: function buyTokens(uint256[] _tokenIds, uint256[] _tokensBoughtAmounts, uint256 _maxCurrency, uint256 _deadline, address _recipient) returns(uint256[])

func (*NiftyswapExchange20Transactor) Fallback added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*NiftyswapExchange20Transactor) OnERC1155BatchReceived added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Transactor) 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 (*NiftyswapExchange20Transactor) OnERC1155Received added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Transactor) 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 (*NiftyswapExchange20Transactor) SafeBatchTransferFrom added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Transactor) 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 (*NiftyswapExchange20Transactor) SafeTransferFrom added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Transactor) 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 (*NiftyswapExchange20Transactor) SetApprovalForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20Transactor) 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 NiftyswapExchange20TransactorRaw added in v0.5.5

type NiftyswapExchange20TransactorRaw struct {
	Contract *NiftyswapExchange20Transactor // Generic write-only contract binding to access the raw methods on
}

NiftyswapExchange20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*NiftyswapExchange20TransactorRaw) Transact added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*NiftyswapExchange20TransactorRaw) Transfer added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorRaw) 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 NiftyswapExchange20TransactorSession added in v0.5.5

type NiftyswapExchange20TransactorSession struct {
	Contract     *NiftyswapExchange20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts              // Transaction auth options to use throughout this session
}

NiftyswapExchange20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*NiftyswapExchange20TransactorSession) BuyTokens added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorSession) BuyTokens(_tokenIds []*big.Int, _tokensBoughtAmounts []*big.Int, _maxCurrency *big.Int, _deadline *big.Int, _recipient common.Address) (*types.Transaction, error)

BuyTokens is a paid mutator transaction binding the contract method 0xa7220bec.

Solidity: function buyTokens(uint256[] _tokenIds, uint256[] _tokensBoughtAmounts, uint256 _maxCurrency, uint256 _deadline, address _recipient) returns(uint256[])

func (*NiftyswapExchange20TransactorSession) Fallback added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*NiftyswapExchange20TransactorSession) OnERC1155BatchReceived added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorSession) 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 (*NiftyswapExchange20TransactorSession) OnERC1155Received added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorSession) 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 (*NiftyswapExchange20TransactorSession) SafeBatchTransferFrom added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorSession) 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 (*NiftyswapExchange20TransactorSession) SafeTransferFrom added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorSession) 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 (*NiftyswapExchange20TransactorSession) SetApprovalForAll added in v0.5.5

func (_NiftyswapExchange20 *NiftyswapExchange20TransactorSession) 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 NiftyswapExchange20TransferBatch added in v0.5.5

type NiftyswapExchange20TransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Amounts  []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

NiftyswapExchange20TransferBatch represents a TransferBatch event raised by the NiftyswapExchange20 contract.

type NiftyswapExchange20TransferBatchIterator added in v0.5.5

type NiftyswapExchange20TransferBatchIterator struct {
	Event *NiftyswapExchange20TransferBatch // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NiftyswapExchange20TransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the NiftyswapExchange20 contract.

func (*NiftyswapExchange20TransferBatchIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchange20TransferBatchIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchange20TransferBatchIterator) Next added in v0.5.5

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 NiftyswapExchange20TransferSingle added in v0.5.5

type NiftyswapExchange20TransferSingle struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Id       *big.Int
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

NiftyswapExchange20TransferSingle represents a TransferSingle event raised by the NiftyswapExchange20 contract.

type NiftyswapExchange20TransferSingleIterator added in v0.5.5

type NiftyswapExchange20TransferSingleIterator struct {
	Event *NiftyswapExchange20TransferSingle // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NiftyswapExchange20TransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the NiftyswapExchange20 contract.

func (*NiftyswapExchange20TransferSingleIterator) Close added in v0.5.5

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchange20TransferSingleIterator) Error added in v0.5.5

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchange20TransferSingleIterator) Next added in v0.5.5

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 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

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchangeApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchangeApprovalForAllIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchangeCurrencyPurchaseIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchangeCurrencyPurchaseIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchangeLiquidityAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchangeLiquidityAddedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchangeLiquidityRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchangeLiquidityRemovedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchangeTokensPurchaseIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchangeTokensPurchaseIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchangeTransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchangeTransferBatchIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapExchangeTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapExchangeTransferSingleIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*NiftyswapFactoryNewExchangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NiftyswapFactoryNewExchangeIterator) Next

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

func (_WrapAndNiftyswap *WrapAndNiftyswapCaller) Erc20(opts *bind.CallOpts) (common.Address, error)

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL