contracts

package
v0.0.0-...-13b53a3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AjnaPoolABI = AjnaPoolMetaData.ABI

AjnaPoolABI is the input ABI used to generate the binding from. Deprecated: Use AjnaPoolMetaData.ABI instead.

View Source
var AjnaPoolFactoryABI = AjnaPoolFactoryMetaData.ABI

AjnaPoolFactoryABI is the input ABI used to generate the binding from. Deprecated: Use AjnaPoolFactoryMetaData.ABI instead.

View Source
var AjnaPoolFactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ajna_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"CreateFail\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DecimalsNotCompliant\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeployQuoteCollateralSameToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeployWithZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"}],\"name\":\"PoolAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolInterestRateInvalid\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"subsetHash_\",\"type\":\"bytes32\"}],\"name\":\"PoolCreated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ERC20_NON_SUBSET_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_RATE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_RATE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ajna\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateral_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"quote_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"interestRate_\",\"type\":\"uint256\"}],\"name\":\"deployPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"deployedPools\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deployedPoolsList\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeployedPoolsList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumberOfDeployedPools\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"contractERC20Pool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

AjnaPoolFactoryMetaData contains all meta data concerning the AjnaPoolFactory contract.

View Source
var AjnaPoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AddAboveAuctionPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AddAboveAuctionPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountLTMinDebt\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AuctionActive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AuctionActive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AuctionNotClearable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AuctionNotCleared\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AuctionNotCleared\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AuctionNotTakeable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AuctionPriceGtBucketPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BorrowerNotSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BorrowerOk\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BorrowerUnderCollateralized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BucketBankruptcyBlock\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BucketIndexOutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotMergeToHigherPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DustAmountNotExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FlashloanCallbackFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FlashloanIncorrectBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FlashloanUnavailableForToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientCollateral\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientLP\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientLiquidity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAllowancesInput\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidIndex\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LUPBelowHTP\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LimitIndexExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MoveToSameIndex\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoAllowance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoAuction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoDebt\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoReserves\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoReservesAuction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PRBMathSD59x18__DivInputTooSmall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"rAbs\",\"type\":\"uint256\"}],\"name\":\"PRBMathSD59x18__DivOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"x\",\"type\":\"int256\"}],\"name\":\"PRBMathSD59x18__Exp2InputTooBig\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"x\",\"type\":\"int256\"}],\"name\":\"PRBMathSD59x18__FromIntOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"x\",\"type\":\"int256\"}],\"name\":\"PRBMathSD59x18__FromIntUnderflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"x\",\"type\":\"int256\"}],\"name\":\"PRBMathSD59x18__LogInputTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PRBMathSD59x18__MulInputTooSmall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"rAbs\",\"type\":\"uint256\"}],\"name\":\"PRBMathSD59x18__MulOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"x\",\"type\":\"int256\"}],\"name\":\"PRBMathSD59x18__SqrtNegativeInput\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"x\",\"type\":\"int256\"}],\"name\":\"PRBMathSD59x18__SqrtOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"prod1\",\"type\":\"uint256\"}],\"name\":\"PRBMath__MulDivFixedPointOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"prod1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"PRBMath__MulDivOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PriceBelowLUP\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RemoveDepositLockedByAuctionDebt\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RemoveDepositLockedByAuctionDebt\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReserveAuctionTooSoon\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransactionExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransactionExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferToSameOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferorNotApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroDebtToCollateral\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpAwarded\",\"type\":\"uint256\"}],\"name\":\"AddCollateral\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"lender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpAwarded\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lup\",\"type\":\"uint256\"}],\"name\":\"AddQuoteToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"lender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"transferors\",\"type\":\"address[]\"}],\"name\":\"ApproveLPTransferors\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"AuctionNFTSettle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"}],\"name\":\"AuctionSettle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"kicker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reciever\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BondWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpForfeited\",\"type\":\"uint256\"}],\"name\":\"BucketBankruptcy\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bondChange\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isReward\",\"type\":\"bool\"}],\"name\":\"BucketTake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"kicker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpAwardedTaker\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpAwardedKicker\",\"type\":\"uint256\"}],\"name\":\"BucketTakeLPAwarded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"indexes\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"DecreaseLPAllowance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountBorrowed\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralPledged\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lup\",\"type\":\"uint256\"}],\"name\":\"DrawDebt\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Flashloan\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"indexes\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"IncreaseLPAllowance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"InterestUpdateFailure\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"debt\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bond\",\"type\":\"uint256\"}],\"name\":\"Kick\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"claimableReservesRemaining\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"auctionPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentBurnEpoch\",\"type\":\"uint256\"}],\"name\":\"KickReserveAuction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"}],\"name\":\"LoanStamped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"lender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpRedeemedFrom\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpAwardedTo\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lup\",\"type\":\"uint256\"}],\"name\":\"MoveQuoteToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpRedeemed\",\"type\":\"uint256\"}],\"name\":\"RemoveCollateral\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"lender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpRedeemed\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lup\",\"type\":\"uint256\"}],\"name\":\"RemoveQuoteToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"quoteRepaid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralPulled\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lup\",\"type\":\"uint256\"}],\"name\":\"RepayDebt\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"claimableReservesRemaining\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"auctionPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentBurnEpoch\",\"type\":\"uint256\"}],\"name\":\"ReserveAuction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newRate\",\"type\":\"uint256\"}],\"name\":\"ResetInterestRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"indexes\",\"type\":\"uint256[]\"}],\"name\":\"RevokeLPAllowance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"lender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"transferors\",\"type\":\"address[]\"}],\"name\":\"RevokeLPTransferors\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"settledDebt\",\"type\":\"uint256\"}],\"name\":\"Settle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bondChange\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isReward\",\"type\":\"bool\"}],\"name\":\"Take\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"indexes\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lp\",\"type\":\"uint256\"}],\"name\":\"TransferLP\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newRate\",\"type\":\"uint256\"}],\"name\":\"UpdateInterestRate\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToAdd_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry_\",\"type\":\"uint256\"}],\"name\":\"addCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bucketLP_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry_\",\"type\":\"uint256\"}],\"name\":\"addQuoteToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bucketLP_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"addedAmount_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"transferors_\",\"type\":\"address[]\"}],\"name\":\"approveLPTransferors\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"approvedTransferors\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrower_\",\"type\":\"address\"}],\"name\":\"auctionInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"kicker_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bondFactor_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bondSize_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"kickTime_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"referencePrice_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"neutralPrice_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"debtToCollateral_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"head_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"next_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prev_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrower_\",\"type\":\"address\"}],\"name\":\"borrowerInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bucketIndex_\",\"type\":\"uint256\"}],\"name\":\"bucketCollateralDust\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"bucketExchangeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"exchangeRate_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"bucketInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrowerAddress_\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"depositTake_\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"bucketTake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"burnEventEpoch_\",\"type\":\"uint256\"}],\"name\":\"burnInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collateralAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collateralScale\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentBurnEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"debtInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"indexes_\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts_\",\"type\":\"uint256[]\"}],\"name\":\"decreaseLPAllowance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"debt_\",\"type\":\"uint256\"}],\"name\":\"depositIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"depositScale\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"depositUpToIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositUtilization\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrowerAddress_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountToBorrow_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limitIndex_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralToPledge_\",\"type\":\"uint256\"}],\"name\":\"drawDebt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emasInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"flashFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC3156FlashBorrower\",\"name\":\"receiver_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data_\",\"type\":\"bytes\"}],\"name\":\"flashLoan\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"indexes_\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts_\",\"type\":\"uint256[]\"}],\"name\":\"increaseLPAllowance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inflatorInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"rate_\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"interestRateInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrower_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"npLimitIndex_\",\"type\":\"uint256\"}],\"name\":\"kick\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kickReserveAuction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kicker_\",\"type\":\"address\"}],\"name\":\"kickerInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"lender_\",\"type\":\"address\"}],\"name\":\"lenderInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"lpBalance_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"depositTime_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"npLimitIndex_\",\"type\":\"uint256\"}],\"name\":\"lenderKick\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"loanId_\",\"type\":\"uint256\"}],\"name\":\"loanInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"loansInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"lpAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"allowance_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token_\",\"type\":\"address\"}],\"name\":\"maxFlashLoan\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxLoan_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fromIndex_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toIndex_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry_\",\"type\":\"uint256\"}],\"name\":\"moveQuoteToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fromBucketLP_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toBucketLP_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"movedAmount_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pledgedCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolType\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quoteTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quoteTokenScale\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"removeCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"removedAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"redeemedLP_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"removeQuoteToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"removedAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"redeemedLP_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrowerAddress_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxQuoteTokenAmountToRepay_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmountToPull_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"collateralReceiver_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"limitIndex_\",\"type\":\"uint256\"}],\"name\":\"repayDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountRepaid_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reservesInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender_\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"indexes_\",\"type\":\"uint256[]\"}],\"name\":\"revokeLPAllowance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"transferors_\",\"type\":\"address[]\"}],\"name\":\"revokeLPTransferors\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrowerAddress_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxDepth_\",\"type\":\"uint256\"}],\"name\":\"settle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"collateralSettled_\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isBorrowerSettled_\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stampLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrowerAddress_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxAmount_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"callee_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data_\",\"type\":\"bytes\"}],\"name\":\"take\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"collateralTaken_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmount_\",\"type\":\"uint256\"}],\"name\":\"takeReserves\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAuctionsInPool\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalT0Debt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalT0DebtInAuction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newOwner_\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"indexes_\",\"type\":\"uint256[]\"}],\"name\":\"transferLP\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxAmount_\",\"type\":\"uint256\"}],\"name\":\"withdrawBonds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"withdrawnAmount_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AjnaPoolMetaData contains all meta data concerning the AjnaPool contract.

View Source
var ContextABI = ContextMetaData.ABI

ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.

View Source
var ContextMetaData = &bind.MetaData{
	ABI: "[]",
}

ContextMetaData contains all meta data concerning the Context contract.

View Source
var ERC20ABI = ERC20MetaData.ABI

ERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MetaData.ABI instead.

View Source
var ERC20Bin = ERC20MetaData.Bin

ERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC20MetaData.Bin instead.

View Source
var ERC20FuncSigs = ERC20MetaData.Sigs

Deprecated: Use ERC20MetaData.Sigs instead. ERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var ERC20MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"dd62ed3e": "allowance(address,address)",
		"095ea7b3": "approve(address,uint256)",
		"70a08231": "balanceOf(address)",
		"313ce567": "decimals()",
		"a457c2d7": "decreaseAllowance(address,uint256)",
		"39509351": "increaseAllowance(address,uint256)",
		"06fdde03": "name()",
		"95d89b41": "symbol()",
		"18160ddd": "totalSupply()",
		"a9059cbb": "transfer(address,uint256)",
		"23b872dd": "transferFrom(address,address,uint256)",
	},
	Bin: "0x60806040523480156200001157600080fd5b5060405162000bbd38038062000bbd8339810160408190526200003491620001b9565b81516200004990600390602085019062000068565b5080516200005f90600490602084019062000068565b50505062000273565b828054620000769062000220565b90600052602060002090601f0160209004810192826200009a5760008555620000e5565b82601f10620000b557805160ff1916838001178555620000e5565b82800160010185558215620000e5579182015b82811115620000e5578251825591602001919060010190620000c8565b50620000f3929150620000f7565b5090565b5b80821115620000f35760008155600101620000f8565b600082601f8301126200011f578081fd5b81516001600160401b03808211156200013c576200013c6200025d565b6040516020601f8401601f19168201810183811183821017156200016457620001646200025d565b60405283825285840181018710156200017b578485fd5b8492505b838310156200019e57858301810151828401820152918201916200017f565b83831115620001af57848185840101525b5095945050505050565b60008060408385031215620001cc578182fd5b82516001600160401b0380821115620001e3578384fd5b620001f1868387016200010e565b9350602085015191508082111562000207578283fd5b5062000216858286016200010e565b9150509250929050565b6002810460018216806200023557607f821691505b602082108114156200025757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61093a80620002836000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012957806370a082311461013c57806395d89b411461014f578063a457c2d714610157578063a9059cbb1461016a578063dd62ed3e1461017d576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ec57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b6610190565b6040516100c3919061066b565b60405180910390f35b6100df6100da366004610637565b610222565b6040516100c39190610660565b6100f4610244565b6040516100c3919061088e565b6100df61010f3660046105fc565b61024a565b61011c610278565b6040516100c39190610897565b6100df610137366004610637565b61027d565b6100f461014a3660046105a9565b6102a9565b6100b66102c8565b6100df610165366004610637565b6102d7565b6100df610178366004610637565b610328565b6100f461018b3660046105ca565b610340565b60606003805461019f906108c9565b80601f01602080910402602001604051908101604052809291908181526020018280546101cb906108c9565b80156102185780601f106101ed57610100808354040283529160200191610218565b820191906000526020600020905b8154815290600101906020018083116101fb57829003601f168201915b5050505050905090565b60008061022d61036b565b905061023a81858561036f565b5060019392505050565b60025490565b60008061025561036b565b9050610262858285610423565b61026d85858561046d565b506001949350505050565b601290565b60008061028861036b565b905061023a81858561029a8589610340565b6102a491906108a5565b61036f565b6001600160a01b0381166000908152602081905260409020545b919050565b60606004805461019f906108c9565b6000806102e261036b565b905060006102f08286610340565b90508381101561031b5760405162461bcd60e51b815260040161031290610849565b60405180910390fd5b61026d828686840361036f565b60008061033361036b565b905061023a81858561046d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166103955760405162461bcd60e51b815260040161031290610805565b6001600160a01b0382166103bb5760405162461bcd60e51b815260040161031290610701565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061041690859061088e565b60405180910390a3505050565b600061042f8484610340565b90506000198114610467578181101561045a5760405162461bcd60e51b815260040161031290610743565b610467848484840361036f565b50505050565b6001600160a01b0383166104935760405162461bcd60e51b8152600401610312906107c0565b6001600160a01b0382166104b95760405162461bcd60e51b8152600401610312906106be565b6104c483838361058d565b6001600160a01b038316600090815260208190526040902054818110156104fd5760405162461bcd60e51b81526004016103129061077a565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906105349084906108a5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161057e919061088e565b60405180910390a36104678484845b505050565b80356001600160a01b03811681146102c357600080fd5b6000602082840312156105ba578081fd5b6105c382610592565b9392505050565b600080604083850312156105dc578081fd5b6105e583610592565b91506105f360208401610592565b90509250929050565b600080600060608486031215610610578081fd5b61061984610592565b925061062760208501610592565b9150604084013590509250925092565b60008060408385031215610649578182fd5b61065283610592565b946020939093013593505050565b901515815260200190565b6000602080835283518082850152825b818110156106975785810183015185820160400152820161067b565b818111156106a85783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b60ff91909116815260200190565b600082198211156108c457634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806108dd57607f821691505b602082108114156108fe57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220e3d9a54ef80bca2cae66846255749e4a1621e039e9a4f5db9f688d26d0d92b0064736f6c63430008000033",
}

ERC20MetaData contains all meta data concerning the ERC20 contract.

View Source
var Erc20AltABI = Erc20AltMetaData.ABI

Erc20AltABI is the input ABI used to generate the binding from. Deprecated: Use Erc20AltMetaData.ABI instead.

View Source
var Erc20AltMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"stop\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"guy\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint128\"}],\"name\":\"push\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"name_\",\"type\":\"bytes32\"}],\"name\":\"setName\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"wad\",\"type\":\"uint128\"}],\"name\":\"mint\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"stopped\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"authority_\",\"type\":\"address\"}],\"name\":\"setAuthority\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint128\"}],\"name\":\"pull\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"wad\",\"type\":\"uint128\"}],\"name\":\"burn\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"start\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"authority\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"guy\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"symbol_\",\"type\":\"bytes32\"}],\"payable\":false,\"type\":\"constructor\"},{\"anonymous\":true,\"inputs\":[{\"indexed\":true,\"name\":\"sig\",\"type\":\"bytes4\"},{\"indexed\":true,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"foo\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"bar\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"fax\",\"type\":\"bytes\"}],\"name\":\"LogNote\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"authority\",\"type\":\"address\"}],\"name\":\"LogSetAuthority\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"LogSetOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]",
}

Erc20AltMetaData contains all meta data concerning the Erc20Alt contract.

View Source
var IERC20ABI = IERC20MetaData.ABI

IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.

View Source
var IERC20FuncSigs = IERC20MetaData.Sigs

Deprecated: Use IERC20MetaData.Sigs instead. IERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC20MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"dd62ed3e": "allowance(address,address)",
		"095ea7b3": "approve(address,uint256)",
		"70a08231": "balanceOf(address)",
		"18160ddd": "totalSupply()",
		"a9059cbb": "transfer(address,uint256)",
		"23b872dd": "transferFrom(address,address,uint256)",
	},
}

IERC20MetaData contains all meta data concerning the IERC20 contract.

View Source
var IERC20MetadataABI = IERC20MetadataMetaData.ABI

IERC20MetadataABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetadataMetaData.ABI instead.

View Source
var IERC20MetadataFuncSigs = IERC20MetadataMetaData.Sigs

Deprecated: Use IERC20MetadataMetaData.Sigs instead. IERC20MetadataFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC20MetadataMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"dd62ed3e": "allowance(address,address)",
		"095ea7b3": "approve(address,uint256)",
		"70a08231": "balanceOf(address)",
		"313ce567": "decimals()",
		"06fdde03": "name()",
		"95d89b41": "symbol()",
		"18160ddd": "totalSupply()",
		"a9059cbb": "transfer(address,uint256)",
		"23b872dd": "transferFrom(address,address,uint256)",
	},
}

IERC20MetadataMetaData contains all meta data concerning the IERC20Metadata contract.

View Source
var Multicall3ABI = Multicall3MetaData.ABI

Multicall3ABI is the input ABI used to generate the binding from. Deprecated: Use Multicall3MetaData.ABI instead.

View Source
var Multicall3Bin = Multicall3MetaData.Bin

Multicall3Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use Multicall3MetaData.Bin instead.

View Source
var Multicall3FuncSigs = Multicall3MetaData.Sigs

Deprecated: Use Multicall3MetaData.Sigs instead. Multicall3FuncSigs maps the 4-byte function signature to its string representation.

View Source
var Multicall3MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"aggregate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"returnData\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Call3[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"aggregate3\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Call3Value[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"aggregate3Value\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"blockAndAggregate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBasefee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"basefee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getBlockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"chainid\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentBlockCoinbase\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"coinbase\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentBlockDifficulty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"difficulty\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentBlockGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"gaslimit\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentBlockTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getEthBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastBlockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"requireSuccess\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"tryAggregate\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"requireSuccess\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"tryBlockAndAggregate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"252dba42": "aggregate((address,bytes)[])",
		"82ad56cb": "aggregate3((address,bool,bytes)[])",
		"174dea71": "aggregate3Value((address,bool,uint256,bytes)[])",
		"c3077fa9": "blockAndAggregate((address,bytes)[])",
		"3e64a696": "getBasefee()",
		"ee82ac5e": "getBlockHash(uint256)",
		"42cbb15c": "getBlockNumber()",
		"3408e470": "getChainId()",
		"a8b0574e": "getCurrentBlockCoinbase()",
		"72425d9d": "getCurrentBlockDifficulty()",
		"86d516e8": "getCurrentBlockGasLimit()",
		"0f28c97d": "getCurrentBlockTimestamp()",
		"4d2301cc": "getEthBalance(address)",
		"27e86d6e": "getLastBlockHash()",
		"bce38bd7": "tryAggregate(bool,(address,bytes)[])",
		"399542e9": "tryBlockAndAggregate(bool,(address,bytes)[])",
	},
	Bin: "0x608060405234801561001057600080fd5b50610cd6806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e1461022f578063bce38bd71461024a578063c3077fa91461025d578063ee82ac5e1461027057600080fd5b80634d2301cc146101ce57806372425d9d146101f657806382ad56cb1461020957806386d516e81461021c57600080fd5b80633408e470116100c65780633408e47014610173578063399542e9146101865780633e64a696146101a857806342cbb15c146101bb57600080fd5b80630f28c97d146100f8578063174dea711461011a578063252dba421461013a57806327e86d6e1461015b575b600080fd5b34801561010457600080fd5b50425b6040519081526020015b60405180910390f35b61012d61012836600461098c565b61028f565b6040516101119190610a89565b61014d61014836600461098c565b61047d565b604051610111929190610aa3565b34801561016757600080fd5b50436000190140610107565b34801561017f57600080fd5b5046610107565b610199610194366004610b0d565b6105f1565b60405161011193929190610b67565b3480156101b457600080fd5b5048610107565b3480156101c757600080fd5b5043610107565b3480156101da57600080fd5b506101076101e9366004610b8f565b6001600160a01b03163190565b34801561020257600080fd5b5044610107565b61012d61021736600461098c565b61060c565b34801561022857600080fd5b5045610107565b34801561023b57600080fd5b50604051418152602001610111565b61012d610258366004610b0d565b61078e565b61019961026b36600461098c565b610921565b34801561027c57600080fd5b5061010761028b366004610bb8565b4090565b60606000828067ffffffffffffffff8111156102ad576102ad610bd1565b6040519080825280602002602001820160405280156102f357816020015b6040805180820190915260008152606060208201528152602001906001900390816102cb5790505b5092503660005b8281101561041f57600085828151811061031657610316610be7565b6020026020010151905087878381811061033257610332610be7565b90506020028101906103449190610bfd565b60408101359586019590935061035d6020850185610b8f565b6001600160a01b0316816103746060870187610c1d565b604051610382929190610c64565b60006040518083038185875af1925050503d80600081146103bf576040519150601f19603f3d011682016040523d82523d6000602084013e6103c4565b606091505b5060208085019190915290151580845290850135176104155762461bcd60e51b6000526020600452601760245276135d5b1d1a58d85b1b0cce8818d85b1b0819985a5b1959604a1b60445260846000fd5b50506001016102fa565b508234146104745760405162461bcd60e51b815260206004820152601a60248201527f4d756c746963616c6c333a2076616c7565206d69736d6174636800000000000060448201526064015b60405180910390fd5b50505092915050565b436060828067ffffffffffffffff81111561049a5761049a610bd1565b6040519080825280602002602001820160405280156104cd57816020015b60608152602001906001900390816104b85790505b5091503660005b828110156105e75760008787838181106104f0576104f0610be7565b90506020028101906105029190610c74565b92506105116020840184610b8f565b6001600160a01b03166105276020850185610c1d565b604051610535929190610c64565b6000604051808303816000865af19150503d8060008114610572576040519150601f19603f3d011682016040523d82523d6000602084013e610577565b606091505b5086848151811061058a5761058a610be7565b60209081029190910101529050806105de5760405162461bcd60e51b8152602060048201526017602482015276135d5b1d1a58d85b1b0cce8818d85b1b0819985a5b1959604a1b604482015260640161046b565b506001016104d4565b5050509250929050565b438040606061060186868661078e565b905093509350939050565b6060818067ffffffffffffffff81111561062857610628610bd1565b60405190808252806020026020018201604052801561066e57816020015b6040805180820190915260008152606060208201528152602001906001900390816106465790505b5091503660005b8281101561047457600084828151811061069157610691610be7565b602002602001015190508686838181106106ad576106ad610be7565b90506020028101906106bf9190610c8a565b92506106ce6020840184610b8f565b6001600160a01b03166106e46040850185610c1d565b6040516106f2929190610c64565b6000604051808303816000865af19150503d806000811461072f576040519150601f19603f3d011682016040523d82523d6000602084013e610734565b606091505b5060208084019190915290151580835290840135176107855762461bcd60e51b6000526020600452601760245276135d5b1d1a58d85b1b0cce8818d85b1b0819985a5b1959604a1b60445260646000fd5b50600101610675565b6060818067ffffffffffffffff8111156107aa576107aa610bd1565b6040519080825280602002602001820160405280156107f057816020015b6040805180820190915260008152606060208201528152602001906001900390816107c85790505b5091503660005b8281101561091757600084828151811061081357610813610be7565b6020026020010151905086868381811061082f5761082f610be7565b90506020028101906108419190610c74565b92506108506020840184610b8f565b6001600160a01b03166108666020850185610c1d565b604051610874929190610c64565b6000604051808303816000865af19150503d80600081146108b1576040519150601f19603f3d011682016040523d82523d6000602084013e6108b6565b606091505b50602083015215158152871561090e57805161090e5760405162461bcd60e51b8152602060048201526017602482015276135d5b1d1a58d85b1b0cce8818d85b1b0819985a5b1959604a1b604482015260640161046b565b506001016107f7565b5050509392505050565b6000806060610932600186866105f1565b919790965090945092505050565b60008083601f84011261095257600080fd5b50813567ffffffffffffffff81111561096a57600080fd5b6020830191508360208260051b850101111561098557600080fd5b9250929050565b6000806020838503121561099f57600080fd5b823567ffffffffffffffff8111156109b657600080fd5b6109c285828601610940565b90969095509350505050565b6000815180845260005b818110156109f4576020818501810151868301820152016109d8565b81811115610a06576000602083870101525b50601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610a7c57858303601f1901895281518051151584528401516040858501819052610a68818601836109ce565b9a86019a9450505090830190600101610a38565b5090979650505050505050565b602081526000610a9c6020830184610a1b565b9392505050565b600060408201848352602060408185015281855180845260608601915060608160051b870101935082870160005b82811015610aff57605f19888703018452610aed8683516109ce565b95509284019290840190600101610ad1565b509398975050505050505050565b600080600060408486031215610b2257600080fd5b83358015158114610b3257600080fd5b9250602084013567ffffffffffffffff811115610b4e57600080fd5b610b5a86828701610940565b9497909650939450505050565b838152826020820152606060408201526000610b866060830184610a1b565b95945050505050565b600060208284031215610ba157600080fd5b81356001600160a01b0381168114610a9c57600080fd5b600060208284031215610bca57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008235607e19833603018112610c1357600080fd5b9190910192915050565b6000808335601e19843603018112610c3457600080fd5b83018035915067ffffffffffffffff821115610c4f57600080fd5b60200191503681900382131561098557600080fd5b8183823760009101908152919050565b60008235603e19833603018112610c1357600080fd5b60008235605e19833603018112610c1357600080fdfea2646970667358221220d331b84779e98b9fbc2b3f28761a8a36ac5712166c518299c4acf53ce0a192c564736f6c634300080c0033",
}

Multicall3MetaData contains all meta data concerning the Multicall3 contract.

View Source
var SushiV2FactoryABI = SushiV2FactoryMetaData.ABI

SushiV2FactoryABI is the input ABI used to generate the binding from. Deprecated: Use SushiV2FactoryMetaData.ABI instead.

View Source
var SushiV2FactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPairs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allPairsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"createPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeTo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeToSetter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"migrator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pairCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeTo\",\"type\":\"address\"}],\"name\":\"setFeeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"name\":\"setFeeToSetter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_migrator\",\"type\":\"address\"}],\"name\":\"setMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SushiV2FactoryMetaData contains all meta data concerning the SushiV2Factory contract.

View Source
var UniV2FactoryABI = UniV2FactoryMetaData.ABI

UniV2FactoryABI is the input ABI used to generate the binding from. Deprecated: Use UniV2FactoryMetaData.ABI instead.

View Source
var UniV2FactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPairs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"allPairsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"createPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"feeTo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"feeToSetter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeTo\",\"type\":\"address\"}],\"name\":\"setFeeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"name\":\"setFeeToSetter\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

UniV2FactoryMetaData contains all meta data concerning the UniV2Factory contract.

View Source
var UniV3FactoryABI = UniV3FactoryMetaData.ABI

UniV3FactoryABI is the input ABI used to generate the binding from. Deprecated: Use UniV3FactoryMetaData.ABI instead.

View Source
var UniV3FactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"FeeAmountEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"PoolCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"createPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"enableFeeAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"feeAmountTickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"parameters\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

UniV3FactoryMetaData contains all meta data concerning the UniV3Factory contract.

View Source
var VeloSugarV2ABI = VeloSugarV2MetaData.ABI

VeloSugarV2ABI is the input ABI used to generate the binding from. Deprecated: Use VeloSugarV2MetaData.ABI instead.

View Source
var VeloSugarV2MetaData = &bind.MetaData{
	ABI: "[{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_voter\",\"type\":\"address\"},{\"name\":\"_registry\",\"type\":\"address\"},{\"name\":\"_v1_voter\",\"type\":\"address\"},{\"name\":\"_convertor\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"toMigrate\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"lp\",\"type\":\"address\"},{\"name\":\"symbol\",\"type\":\"string\"},{\"name\":\"decimals\",\"type\":\"uint8\"},{\"name\":\"stable\",\"type\":\"bool\"},{\"name\":\"total_supply\",\"type\":\"uint256\"},{\"name\":\"token0\",\"type\":\"address\"},{\"name\":\"reserve0\",\"type\":\"uint256\"},{\"name\":\"claimable0\",\"type\":\"uint256\"},{\"name\":\"token1\",\"type\":\"address\"},{\"name\":\"reserve1\",\"type\":\"uint256\"},{\"name\":\"claimable1\",\"type\":\"uint256\"},{\"name\":\"gauge\",\"type\":\"address\"},{\"name\":\"gauge_total_supply\",\"type\":\"uint256\"},{\"name\":\"gauge_alive\",\"type\":\"bool\"},{\"name\":\"fee\",\"type\":\"address\"},{\"name\":\"bribe\",\"type\":\"address\"},{\"name\":\"factory\",\"type\":\"address\"},{\"name\":\"emissions\",\"type\":\"uint256\"},{\"name\":\"emissions_token\",\"type\":\"address\"},{\"name\":\"account_balance\",\"type\":\"uint256\"},{\"name\":\"account_earned\",\"type\":\"uint256\"},{\"name\":\"account_staked\",\"type\":\"uint256\"},{\"name\":\"pool_fee\",\"type\":\"uint256\"},{\"name\":\"token0_fees\",\"type\":\"uint256\"},{\"name\":\"token1_fees\",\"type\":\"uint256\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"forSwaps\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"lp\",\"type\":\"address\"},{\"name\":\"stable\",\"type\":\"bool\"},{\"name\":\"token0\",\"type\":\"address\"},{\"name\":\"token1\",\"type\":\"address\"},{\"name\":\"factory\",\"type\":\"address\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"tokens\",\"inputs\":[{\"name\":\"_limit\",\"type\":\"uint256\"},{\"name\":\"_offset\",\"type\":\"uint256\"},{\"name\":\"_account\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"token_address\",\"type\":\"address\"},{\"name\":\"symbol\",\"type\":\"string\"},{\"name\":\"decimals\",\"type\":\"uint8\"},{\"name\":\"account_balance\",\"type\":\"uint256\"},{\"name\":\"listed\",\"type\":\"bool\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"all\",\"inputs\":[{\"name\":\"_limit\",\"type\":\"uint256\"},{\"name\":\"_offset\",\"type\":\"uint256\"},{\"name\":\"_account\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"lp\",\"type\":\"address\"},{\"name\":\"symbol\",\"type\":\"string\"},{\"name\":\"decimals\",\"type\":\"uint8\"},{\"name\":\"stable\",\"type\":\"bool\"},{\"name\":\"total_supply\",\"type\":\"uint256\"},{\"name\":\"token0\",\"type\":\"address\"},{\"name\":\"reserve0\",\"type\":\"uint256\"},{\"name\":\"claimable0\",\"type\":\"uint256\"},{\"name\":\"token1\",\"type\":\"address\"},{\"name\":\"reserve1\",\"type\":\"uint256\"},{\"name\":\"claimable1\",\"type\":\"uint256\"},{\"name\":\"gauge\",\"type\":\"address\"},{\"name\":\"gauge_total_supply\",\"type\":\"uint256\"},{\"name\":\"gauge_alive\",\"type\":\"bool\"},{\"name\":\"fee\",\"type\":\"address\"},{\"name\":\"bribe\",\"type\":\"address\"},{\"name\":\"factory\",\"type\":\"address\"},{\"name\":\"emissions\",\"type\":\"uint256\"},{\"name\":\"emissions_token\",\"type\":\"address\"},{\"name\":\"account_balance\",\"type\":\"uint256\"},{\"name\":\"account_earned\",\"type\":\"uint256\"},{\"name\":\"account_staked\",\"type\":\"uint256\"},{\"name\":\"pool_fee\",\"type\":\"uint256\"},{\"name\":\"token0_fees\",\"type\":\"uint256\"},{\"name\":\"token1_fees\",\"type\":\"uint256\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"byIndex\",\"inputs\":[{\"name\":\"_index\",\"type\":\"uint256\"},{\"name\":\"_account\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"components\":[{\"name\":\"lp\",\"type\":\"address\"},{\"name\":\"symbol\",\"type\":\"string\"},{\"name\":\"decimals\",\"type\":\"uint8\"},{\"name\":\"stable\",\"type\":\"bool\"},{\"name\":\"total_supply\",\"type\":\"uint256\"},{\"name\":\"token0\",\"type\":\"address\"},{\"name\":\"reserve0\",\"type\":\"uint256\"},{\"name\":\"claimable0\",\"type\":\"uint256\"},{\"name\":\"token1\",\"type\":\"address\"},{\"name\":\"reserve1\",\"type\":\"uint256\"},{\"name\":\"claimable1\",\"type\":\"uint256\"},{\"name\":\"gauge\",\"type\":\"address\"},{\"name\":\"gauge_total_supply\",\"type\":\"uint256\"},{\"name\":\"gauge_alive\",\"type\":\"bool\"},{\"name\":\"fee\",\"type\":\"address\"},{\"name\":\"bribe\",\"type\":\"address\"},{\"name\":\"factory\",\"type\":\"address\"},{\"name\":\"emissions\",\"type\":\"uint256\"},{\"name\":\"emissions_token\",\"type\":\"address\"},{\"name\":\"account_balance\",\"type\":\"uint256\"},{\"name\":\"account_earned\",\"type\":\"uint256\"},{\"name\":\"account_staked\",\"type\":\"uint256\"},{\"name\":\"pool_fee\",\"type\":\"uint256\"},{\"name\":\"token0_fees\",\"type\":\"uint256\"},{\"name\":\"token1_fees\",\"type\":\"uint256\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"epochsLatest\",\"inputs\":[{\"name\":\"_limit\",\"type\":\"uint256\"},{\"name\":\"_offset\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"ts\",\"type\":\"uint256\"},{\"name\":\"lp\",\"type\":\"address\"},{\"name\":\"votes\",\"type\":\"uint256\"},{\"name\":\"emissions\",\"type\":\"uint256\"},{\"name\":\"bribes\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}]},{\"name\":\"fees\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}]}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"epochsByAddress\",\"inputs\":[{\"name\":\"_limit\",\"type\":\"uint256\"},{\"name\":\"_offset\",\"type\":\"uint256\"},{\"name\":\"_address\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"ts\",\"type\":\"uint256\"},{\"name\":\"lp\",\"type\":\"address\"},{\"name\":\"votes\",\"type\":\"uint256\"},{\"name\":\"emissions\",\"type\":\"uint256\"},{\"name\":\"bribes\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}]},{\"name\":\"fees\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}]}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"rewards\",\"inputs\":[{\"name\":\"_limit\",\"type\":\"uint256\"},{\"name\":\"_offset\",\"type\":\"uint256\"},{\"name\":\"_venft_id\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"venft_id\",\"type\":\"uint256\"},{\"name\":\"lp\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"fee\",\"type\":\"address\"},{\"name\":\"bribe\",\"type\":\"address\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"rewardsByAddress\",\"inputs\":[{\"name\":\"_venft_id\",\"type\":\"uint256\"},{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"venft_id\",\"type\":\"uint256\"},{\"name\":\"lp\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"fee\",\"type\":\"address\"},{\"name\":\"bribe\",\"type\":\"address\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"registry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"voter\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"convertor\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"v1_voter\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"v1_factory\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"v1_token\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]}]",
}

VeloSugarV2MetaData contains all meta data concerning the VeloSugarV2 contract.

Functions

This section is empty.

Types

type AjnaPool

type AjnaPool struct {
	AjnaPoolCaller     // Read-only binding to the contract
	AjnaPoolTransactor // Write-only binding to the contract
	AjnaPoolFilterer   // Log filterer for contract events
}

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

func NewAjnaPool

func NewAjnaPool(address common.Address, backend bind.ContractBackend) (*AjnaPool, error)

NewAjnaPool creates a new instance of AjnaPool, bound to a specific deployed contract.

type AjnaPoolAddCollateral

type AjnaPoolAddCollateral struct {
	Actor     common.Address
	Index     *big.Int
	Amount    *big.Int
	LpAwarded *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

AjnaPoolAddCollateral represents a AddCollateral event raised by the AjnaPool contract.

type AjnaPoolAddCollateralIterator

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

AjnaPoolAddCollateralIterator is returned from FilterAddCollateral and is used to iterate over the raw logs and unpacked data for AddCollateral events raised by the AjnaPool contract.

func (*AjnaPoolAddCollateralIterator) Close

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

func (*AjnaPoolAddCollateralIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolAddCollateralIterator) 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 AjnaPoolAddQuoteToken

type AjnaPoolAddQuoteToken struct {
	Lender    common.Address
	Index     *big.Int
	Amount    *big.Int
	LpAwarded *big.Int
	Lup       *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

AjnaPoolAddQuoteToken represents a AddQuoteToken event raised by the AjnaPool contract.

type AjnaPoolAddQuoteTokenIterator

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

AjnaPoolAddQuoteTokenIterator is returned from FilterAddQuoteToken and is used to iterate over the raw logs and unpacked data for AddQuoteToken events raised by the AjnaPool contract.

func (*AjnaPoolAddQuoteTokenIterator) Close

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

func (*AjnaPoolAddQuoteTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolAddQuoteTokenIterator) 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 AjnaPoolApproveLPTransferors

type AjnaPoolApproveLPTransferors struct {
	Lender      common.Address
	Transferors []common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

AjnaPoolApproveLPTransferors represents a ApproveLPTransferors event raised by the AjnaPool contract.

type AjnaPoolApproveLPTransferorsIterator

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

AjnaPoolApproveLPTransferorsIterator is returned from FilterApproveLPTransferors and is used to iterate over the raw logs and unpacked data for ApproveLPTransferors events raised by the AjnaPool contract.

func (*AjnaPoolApproveLPTransferorsIterator) Close

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

func (*AjnaPoolApproveLPTransferorsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolApproveLPTransferorsIterator) 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 AjnaPoolAuctionNFTSettle

type AjnaPoolAuctionNFTSettle struct {
	Borrower   common.Address
	Collateral *big.Int
	Lp         *big.Int
	Index      *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AjnaPoolAuctionNFTSettle represents a AuctionNFTSettle event raised by the AjnaPool contract.

type AjnaPoolAuctionNFTSettleIterator

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

AjnaPoolAuctionNFTSettleIterator is returned from FilterAuctionNFTSettle and is used to iterate over the raw logs and unpacked data for AuctionNFTSettle events raised by the AjnaPool contract.

func (*AjnaPoolAuctionNFTSettleIterator) Close

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

func (*AjnaPoolAuctionNFTSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolAuctionNFTSettleIterator) 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 AjnaPoolAuctionSettle

type AjnaPoolAuctionSettle struct {
	Borrower   common.Address
	Collateral *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AjnaPoolAuctionSettle represents a AuctionSettle event raised by the AjnaPool contract.

type AjnaPoolAuctionSettleIterator

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

AjnaPoolAuctionSettleIterator is returned from FilterAuctionSettle and is used to iterate over the raw logs and unpacked data for AuctionSettle events raised by the AjnaPool contract.

func (*AjnaPoolAuctionSettleIterator) Close

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

func (*AjnaPoolAuctionSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolAuctionSettleIterator) 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 AjnaPoolBondWithdrawn

type AjnaPoolBondWithdrawn struct {
	Kicker   common.Address
	Reciever common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

AjnaPoolBondWithdrawn represents a BondWithdrawn event raised by the AjnaPool contract.

type AjnaPoolBondWithdrawnIterator

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

AjnaPoolBondWithdrawnIterator is returned from FilterBondWithdrawn and is used to iterate over the raw logs and unpacked data for BondWithdrawn events raised by the AjnaPool contract.

func (*AjnaPoolBondWithdrawnIterator) Close

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

func (*AjnaPoolBondWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolBondWithdrawnIterator) 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 AjnaPoolBucketBankruptcy

type AjnaPoolBucketBankruptcy struct {
	Index       *big.Int
	LpForfeited *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

AjnaPoolBucketBankruptcy represents a BucketBankruptcy event raised by the AjnaPool contract.

type AjnaPoolBucketBankruptcyIterator

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

AjnaPoolBucketBankruptcyIterator is returned from FilterBucketBankruptcy and is used to iterate over the raw logs and unpacked data for BucketBankruptcy events raised by the AjnaPool contract.

func (*AjnaPoolBucketBankruptcyIterator) Close

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

func (*AjnaPoolBucketBankruptcyIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolBucketBankruptcyIterator) 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 AjnaPoolBucketTake

type AjnaPoolBucketTake struct {
	Borrower   common.Address
	Index      *big.Int
	Amount     *big.Int
	Collateral *big.Int
	BondChange *big.Int
	IsReward   bool
	Raw        types.Log // Blockchain specific contextual infos
}

AjnaPoolBucketTake represents a BucketTake event raised by the AjnaPool contract.

type AjnaPoolBucketTakeIterator

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

AjnaPoolBucketTakeIterator is returned from FilterBucketTake and is used to iterate over the raw logs and unpacked data for BucketTake events raised by the AjnaPool contract.

func (*AjnaPoolBucketTakeIterator) Close

func (it *AjnaPoolBucketTakeIterator) Close() error

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

func (*AjnaPoolBucketTakeIterator) Error

func (it *AjnaPoolBucketTakeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolBucketTakeIterator) Next

func (it *AjnaPoolBucketTakeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolBucketTakeLPAwarded

type AjnaPoolBucketTakeLPAwarded struct {
	Taker           common.Address
	Kicker          common.Address
	LpAwardedTaker  *big.Int
	LpAwardedKicker *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

AjnaPoolBucketTakeLPAwarded represents a BucketTakeLPAwarded event raised by the AjnaPool contract.

type AjnaPoolBucketTakeLPAwardedIterator

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

AjnaPoolBucketTakeLPAwardedIterator is returned from FilterBucketTakeLPAwarded and is used to iterate over the raw logs and unpacked data for BucketTakeLPAwarded events raised by the AjnaPool contract.

func (*AjnaPoolBucketTakeLPAwardedIterator) Close

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

func (*AjnaPoolBucketTakeLPAwardedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolBucketTakeLPAwardedIterator) 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 AjnaPoolCaller

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

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

func NewAjnaPoolCaller

func NewAjnaPoolCaller(address common.Address, caller bind.ContractCaller) (*AjnaPoolCaller, error)

NewAjnaPoolCaller creates a new read-only instance of AjnaPool, bound to a specific deployed contract.

func (*AjnaPoolCaller) ApprovedTransferors

func (_AjnaPool *AjnaPoolCaller) ApprovedTransferors(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)

ApprovedTransferors is a free data retrieval call binding the contract method 0xd9606e08.

Solidity: function approvedTransferors(address , address ) view returns(bool)

func (*AjnaPoolCaller) AuctionInfo

func (_AjnaPool *AjnaPoolCaller) AuctionInfo(opts *bind.CallOpts, borrower_ common.Address) (struct {
	Kicker           common.Address
	BondFactor       *big.Int
	BondSize         *big.Int
	KickTime         *big.Int
	ReferencePrice   *big.Int
	NeutralPrice     *big.Int
	DebtToCollateral *big.Int
	Head             common.Address
	Next             common.Address
	Prev             common.Address
}, error)

AuctionInfo is a free data retrieval call binding the contract method 0x0448e51a.

Solidity: function auctionInfo(address borrower_) view returns(address kicker_, uint256 bondFactor_, uint256 bondSize_, uint256 kickTime_, uint256 referencePrice_, uint256 neutralPrice_, uint256 debtToCollateral_, address head_, address next_, address prev_)

func (*AjnaPoolCaller) BorrowerInfo

func (_AjnaPool *AjnaPoolCaller) BorrowerInfo(opts *bind.CallOpts, borrower_ common.Address) (*big.Int, *big.Int, *big.Int, error)

BorrowerInfo is a free data retrieval call binding the contract method 0xca103d15.

Solidity: function borrowerInfo(address borrower_) view returns(uint256, uint256, uint256)

func (*AjnaPoolCaller) BucketCollateralDust

func (_AjnaPool *AjnaPoolCaller) BucketCollateralDust(opts *bind.CallOpts, bucketIndex_ *big.Int) (*big.Int, error)

BucketCollateralDust is a free data retrieval call binding the contract method 0x540c1433.

Solidity: function bucketCollateralDust(uint256 bucketIndex_) pure returns(uint256)

func (*AjnaPoolCaller) BucketExchangeRate

func (_AjnaPool *AjnaPoolCaller) BucketExchangeRate(opts *bind.CallOpts, index_ *big.Int) (*big.Int, error)

BucketExchangeRate is a free data retrieval call binding the contract method 0x16f8a463.

Solidity: function bucketExchangeRate(uint256 index_) view returns(uint256 exchangeRate_)

func (*AjnaPoolCaller) BucketInfo

func (_AjnaPool *AjnaPoolCaller) BucketInfo(opts *bind.CallOpts, index_ *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, error)

BucketInfo is a free data retrieval call binding the contract method 0xa83de3ec.

Solidity: function bucketInfo(uint256 index_) view returns(uint256, uint256, uint256, uint256, uint256)

func (*AjnaPoolCaller) BurnInfo

func (_AjnaPool *AjnaPoolCaller) BurnInfo(opts *bind.CallOpts, burnEventEpoch_ *big.Int) (*big.Int, *big.Int, *big.Int, error)

BurnInfo is a free data retrieval call binding the contract method 0x2c7b2e06.

Solidity: function burnInfo(uint256 burnEventEpoch_) view returns(uint256, uint256, uint256)

func (*AjnaPoolCaller) CollateralAddress

func (_AjnaPool *AjnaPoolCaller) CollateralAddress(opts *bind.CallOpts) (common.Address, error)

CollateralAddress is a free data retrieval call binding the contract method 0x48d399e7.

Solidity: function collateralAddress() pure returns(address)

func (*AjnaPoolCaller) CollateralScale

func (_AjnaPool *AjnaPoolCaller) CollateralScale(opts *bind.CallOpts) (*big.Int, error)

CollateralScale is a free data retrieval call binding the contract method 0xec0bdcfc.

Solidity: function collateralScale() pure returns(uint256)

func (*AjnaPoolCaller) CurrentBurnEpoch

func (_AjnaPool *AjnaPoolCaller) CurrentBurnEpoch(opts *bind.CallOpts) (*big.Int, error)

CurrentBurnEpoch is a free data retrieval call binding the contract method 0x4ab1fc36.

Solidity: function currentBurnEpoch() view returns(uint256)

func (*AjnaPoolCaller) DebtInfo

func (_AjnaPool *AjnaPoolCaller) DebtInfo(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, error)

DebtInfo is a free data retrieval call binding the contract method 0x4d966198.

Solidity: function debtInfo() view returns(uint256, uint256, uint256, uint256)

func (*AjnaPoolCaller) DepositIndex

func (_AjnaPool *AjnaPoolCaller) DepositIndex(opts *bind.CallOpts, debt_ *big.Int) (*big.Int, error)

DepositIndex is a free data retrieval call binding the contract method 0x329d1a8b.

Solidity: function depositIndex(uint256 debt_) view returns(uint256)

func (*AjnaPoolCaller) DepositScale

func (_AjnaPool *AjnaPoolCaller) DepositScale(opts *bind.CallOpts, index_ *big.Int) (*big.Int, error)

DepositScale is a free data retrieval call binding the contract method 0x3ab96ec5.

Solidity: function depositScale(uint256 index_) view returns(uint256)

func (*AjnaPoolCaller) DepositSize

func (_AjnaPool *AjnaPoolCaller) DepositSize(opts *bind.CallOpts) (*big.Int, error)

DepositSize is a free data retrieval call binding the contract method 0x3fa8fdbb.

Solidity: function depositSize() view returns(uint256)

func (*AjnaPoolCaller) DepositUpToIndex

func (_AjnaPool *AjnaPoolCaller) DepositUpToIndex(opts *bind.CallOpts, index_ *big.Int) (*big.Int, error)

DepositUpToIndex is a free data retrieval call binding the contract method 0xda7951a9.

Solidity: function depositUpToIndex(uint256 index_) view returns(uint256)

func (*AjnaPoolCaller) DepositUtilization

func (_AjnaPool *AjnaPoolCaller) DepositUtilization(opts *bind.CallOpts) (*big.Int, error)

DepositUtilization is a free data retrieval call binding the contract method 0x3a0c8f07.

Solidity: function depositUtilization() view returns(uint256)

func (*AjnaPoolCaller) EmasInfo

func (_AjnaPool *AjnaPoolCaller) EmasInfo(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, error)

EmasInfo is a free data retrieval call binding the contract method 0xe512c061.

Solidity: function emasInfo() view returns(uint256, uint256, uint256, uint256)

func (*AjnaPoolCaller) FlashFee

func (_AjnaPool *AjnaPoolCaller) FlashFee(opts *bind.CallOpts, token_ common.Address, arg1 *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xd9d98ce4.

Solidity: function flashFee(address token_, uint256 ) view returns(uint256)

func (*AjnaPoolCaller) InflatorInfo

func (_AjnaPool *AjnaPoolCaller) InflatorInfo(opts *bind.CallOpts) (*big.Int, *big.Int, error)

InflatorInfo is a free data retrieval call binding the contract method 0x063d829f.

Solidity: function inflatorInfo() view returns(uint256, uint256)

func (*AjnaPoolCaller) InterestRateInfo

func (_AjnaPool *AjnaPoolCaller) InterestRateInfo(opts *bind.CallOpts) (*big.Int, *big.Int, error)

InterestRateInfo is a free data retrieval call binding the contract method 0x00cdcefb.

Solidity: function interestRateInfo() view returns(uint256, uint256)

func (*AjnaPoolCaller) KickerInfo

func (_AjnaPool *AjnaPoolCaller) KickerInfo(opts *bind.CallOpts, kicker_ common.Address) (*big.Int, *big.Int, error)

KickerInfo is a free data retrieval call binding the contract method 0x7323f853.

Solidity: function kickerInfo(address kicker_) view returns(uint256, uint256)

func (*AjnaPoolCaller) LenderInfo

func (_AjnaPool *AjnaPoolCaller) LenderInfo(opts *bind.CallOpts, index_ *big.Int, lender_ common.Address) (struct {
	LpBalance   *big.Int
	DepositTime *big.Int
}, error)

LenderInfo is a free data retrieval call binding the contract method 0xa749f1a6.

Solidity: function lenderInfo(uint256 index_, address lender_) view returns(uint256 lpBalance_, uint256 depositTime_)

func (*AjnaPoolCaller) LoanInfo

func (_AjnaPool *AjnaPoolCaller) LoanInfo(opts *bind.CallOpts, loanId_ *big.Int) (common.Address, *big.Int, error)

LoanInfo is a free data retrieval call binding the contract method 0x8349d6be.

Solidity: function loanInfo(uint256 loanId_) view returns(address, uint256)

func (*AjnaPoolCaller) LoansInfo

func (_AjnaPool *AjnaPoolCaller) LoansInfo(opts *bind.CallOpts) (common.Address, *big.Int, *big.Int, error)

LoansInfo is a free data retrieval call binding the contract method 0x3884cd88.

Solidity: function loansInfo() view returns(address, uint256, uint256)

func (*AjnaPoolCaller) LpAllowance

func (_AjnaPool *AjnaPoolCaller) LpAllowance(opts *bind.CallOpts, index_ *big.Int, spender_ common.Address, owner_ common.Address) (*big.Int, error)

LpAllowance is a free data retrieval call binding the contract method 0x483cd187.

Solidity: function lpAllowance(uint256 index_, address spender_, address owner_) view returns(uint256 allowance_)

func (*AjnaPoolCaller) MaxFlashLoan

func (_AjnaPool *AjnaPoolCaller) MaxFlashLoan(opts *bind.CallOpts, token_ common.Address) (*big.Int, error)

MaxFlashLoan is a free data retrieval call binding the contract method 0x613255ab.

Solidity: function maxFlashLoan(address token_) view returns(uint256 maxLoan_)

func (*AjnaPoolCaller) PledgedCollateral

func (_AjnaPool *AjnaPoolCaller) PledgedCollateral(opts *bind.CallOpts) (*big.Int, error)

PledgedCollateral is a free data retrieval call binding the contract method 0x307ee3b5.

Solidity: function pledgedCollateral() view returns(uint256)

func (*AjnaPoolCaller) PoolType

func (_AjnaPool *AjnaPoolCaller) PoolType(opts *bind.CallOpts) (uint8, error)

PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.

Solidity: function poolType() pure returns(uint8)

func (*AjnaPoolCaller) QuoteTokenAddress

func (_AjnaPool *AjnaPoolCaller) QuoteTokenAddress(opts *bind.CallOpts) (common.Address, error)

QuoteTokenAddress is a free data retrieval call binding the contract method 0xbad34620.

Solidity: function quoteTokenAddress() pure returns(address)

func (*AjnaPoolCaller) QuoteTokenScale

func (_AjnaPool *AjnaPoolCaller) QuoteTokenScale(opts *bind.CallOpts) (*big.Int, error)

QuoteTokenScale is a free data retrieval call binding the contract method 0x7b3f8655.

Solidity: function quoteTokenScale() pure returns(uint256)

func (*AjnaPoolCaller) ReservesInfo

func (_AjnaPool *AjnaPoolCaller) ReservesInfo(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, error)

ReservesInfo is a free data retrieval call binding the contract method 0x5a3b4477.

Solidity: function reservesInfo() view returns(uint256, uint256, uint256, uint256, uint256)

func (*AjnaPoolCaller) TotalAuctionsInPool

func (_AjnaPool *AjnaPoolCaller) TotalAuctionsInPool(opts *bind.CallOpts) (*big.Int, error)

TotalAuctionsInPool is a free data retrieval call binding the contract method 0xbcb630d7.

Solidity: function totalAuctionsInPool() view returns(uint256)

func (*AjnaPoolCaller) TotalT0Debt

func (_AjnaPool *AjnaPoolCaller) TotalT0Debt(opts *bind.CallOpts) (*big.Int, error)

TotalT0Debt is a free data retrieval call binding the contract method 0x5d3637e7.

Solidity: function totalT0Debt() view returns(uint256)

func (*AjnaPoolCaller) TotalT0DebtInAuction

func (_AjnaPool *AjnaPoolCaller) TotalT0DebtInAuction(opts *bind.CallOpts) (*big.Int, error)

TotalT0DebtInAuction is a free data retrieval call binding the contract method 0x870c764a.

Solidity: function totalT0DebtInAuction() view returns(uint256)

type AjnaPoolCallerRaw

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

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

func (*AjnaPoolCallerRaw) Call

func (_AjnaPool *AjnaPoolCallerRaw) 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 AjnaPoolCallerSession

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

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

func (*AjnaPoolCallerSession) ApprovedTransferors

func (_AjnaPool *AjnaPoolCallerSession) ApprovedTransferors(arg0 common.Address, arg1 common.Address) (bool, error)

ApprovedTransferors is a free data retrieval call binding the contract method 0xd9606e08.

Solidity: function approvedTransferors(address , address ) view returns(bool)

func (*AjnaPoolCallerSession) AuctionInfo

func (_AjnaPool *AjnaPoolCallerSession) AuctionInfo(borrower_ common.Address) (struct {
	Kicker           common.Address
	BondFactor       *big.Int
	BondSize         *big.Int
	KickTime         *big.Int
	ReferencePrice   *big.Int
	NeutralPrice     *big.Int
	DebtToCollateral *big.Int
	Head             common.Address
	Next             common.Address
	Prev             common.Address
}, error)

AuctionInfo is a free data retrieval call binding the contract method 0x0448e51a.

Solidity: function auctionInfo(address borrower_) view returns(address kicker_, uint256 bondFactor_, uint256 bondSize_, uint256 kickTime_, uint256 referencePrice_, uint256 neutralPrice_, uint256 debtToCollateral_, address head_, address next_, address prev_)

func (*AjnaPoolCallerSession) BorrowerInfo

func (_AjnaPool *AjnaPoolCallerSession) BorrowerInfo(borrower_ common.Address) (*big.Int, *big.Int, *big.Int, error)

BorrowerInfo is a free data retrieval call binding the contract method 0xca103d15.

Solidity: function borrowerInfo(address borrower_) view returns(uint256, uint256, uint256)

func (*AjnaPoolCallerSession) BucketCollateralDust

func (_AjnaPool *AjnaPoolCallerSession) BucketCollateralDust(bucketIndex_ *big.Int) (*big.Int, error)

BucketCollateralDust is a free data retrieval call binding the contract method 0x540c1433.

Solidity: function bucketCollateralDust(uint256 bucketIndex_) pure returns(uint256)

func (*AjnaPoolCallerSession) BucketExchangeRate

func (_AjnaPool *AjnaPoolCallerSession) BucketExchangeRate(index_ *big.Int) (*big.Int, error)

BucketExchangeRate is a free data retrieval call binding the contract method 0x16f8a463.

Solidity: function bucketExchangeRate(uint256 index_) view returns(uint256 exchangeRate_)

func (*AjnaPoolCallerSession) BucketInfo

func (_AjnaPool *AjnaPoolCallerSession) BucketInfo(index_ *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, error)

BucketInfo is a free data retrieval call binding the contract method 0xa83de3ec.

Solidity: function bucketInfo(uint256 index_) view returns(uint256, uint256, uint256, uint256, uint256)

func (*AjnaPoolCallerSession) BurnInfo

func (_AjnaPool *AjnaPoolCallerSession) BurnInfo(burnEventEpoch_ *big.Int) (*big.Int, *big.Int, *big.Int, error)

BurnInfo is a free data retrieval call binding the contract method 0x2c7b2e06.

Solidity: function burnInfo(uint256 burnEventEpoch_) view returns(uint256, uint256, uint256)

func (*AjnaPoolCallerSession) CollateralAddress

func (_AjnaPool *AjnaPoolCallerSession) CollateralAddress() (common.Address, error)

CollateralAddress is a free data retrieval call binding the contract method 0x48d399e7.

Solidity: function collateralAddress() pure returns(address)

func (*AjnaPoolCallerSession) CollateralScale

func (_AjnaPool *AjnaPoolCallerSession) CollateralScale() (*big.Int, error)

CollateralScale is a free data retrieval call binding the contract method 0xec0bdcfc.

Solidity: function collateralScale() pure returns(uint256)

func (*AjnaPoolCallerSession) CurrentBurnEpoch

func (_AjnaPool *AjnaPoolCallerSession) CurrentBurnEpoch() (*big.Int, error)

CurrentBurnEpoch is a free data retrieval call binding the contract method 0x4ab1fc36.

Solidity: function currentBurnEpoch() view returns(uint256)

func (*AjnaPoolCallerSession) DebtInfo

func (_AjnaPool *AjnaPoolCallerSession) DebtInfo() (*big.Int, *big.Int, *big.Int, *big.Int, error)

DebtInfo is a free data retrieval call binding the contract method 0x4d966198.

Solidity: function debtInfo() view returns(uint256, uint256, uint256, uint256)

func (*AjnaPoolCallerSession) DepositIndex

func (_AjnaPool *AjnaPoolCallerSession) DepositIndex(debt_ *big.Int) (*big.Int, error)

DepositIndex is a free data retrieval call binding the contract method 0x329d1a8b.

Solidity: function depositIndex(uint256 debt_) view returns(uint256)

func (*AjnaPoolCallerSession) DepositScale

func (_AjnaPool *AjnaPoolCallerSession) DepositScale(index_ *big.Int) (*big.Int, error)

DepositScale is a free data retrieval call binding the contract method 0x3ab96ec5.

Solidity: function depositScale(uint256 index_) view returns(uint256)

func (*AjnaPoolCallerSession) DepositSize

func (_AjnaPool *AjnaPoolCallerSession) DepositSize() (*big.Int, error)

DepositSize is a free data retrieval call binding the contract method 0x3fa8fdbb.

Solidity: function depositSize() view returns(uint256)

func (*AjnaPoolCallerSession) DepositUpToIndex

func (_AjnaPool *AjnaPoolCallerSession) DepositUpToIndex(index_ *big.Int) (*big.Int, error)

DepositUpToIndex is a free data retrieval call binding the contract method 0xda7951a9.

Solidity: function depositUpToIndex(uint256 index_) view returns(uint256)

func (*AjnaPoolCallerSession) DepositUtilization

func (_AjnaPool *AjnaPoolCallerSession) DepositUtilization() (*big.Int, error)

DepositUtilization is a free data retrieval call binding the contract method 0x3a0c8f07.

Solidity: function depositUtilization() view returns(uint256)

func (*AjnaPoolCallerSession) EmasInfo

func (_AjnaPool *AjnaPoolCallerSession) EmasInfo() (*big.Int, *big.Int, *big.Int, *big.Int, error)

EmasInfo is a free data retrieval call binding the contract method 0xe512c061.

Solidity: function emasInfo() view returns(uint256, uint256, uint256, uint256)

func (*AjnaPoolCallerSession) FlashFee

func (_AjnaPool *AjnaPoolCallerSession) FlashFee(token_ common.Address, arg1 *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xd9d98ce4.

Solidity: function flashFee(address token_, uint256 ) view returns(uint256)

func (*AjnaPoolCallerSession) InflatorInfo

func (_AjnaPool *AjnaPoolCallerSession) InflatorInfo() (*big.Int, *big.Int, error)

InflatorInfo is a free data retrieval call binding the contract method 0x063d829f.

Solidity: function inflatorInfo() view returns(uint256, uint256)

func (*AjnaPoolCallerSession) InterestRateInfo

func (_AjnaPool *AjnaPoolCallerSession) InterestRateInfo() (*big.Int, *big.Int, error)

InterestRateInfo is a free data retrieval call binding the contract method 0x00cdcefb.

Solidity: function interestRateInfo() view returns(uint256, uint256)

func (*AjnaPoolCallerSession) KickerInfo

func (_AjnaPool *AjnaPoolCallerSession) KickerInfo(kicker_ common.Address) (*big.Int, *big.Int, error)

KickerInfo is a free data retrieval call binding the contract method 0x7323f853.

Solidity: function kickerInfo(address kicker_) view returns(uint256, uint256)

func (*AjnaPoolCallerSession) LenderInfo

func (_AjnaPool *AjnaPoolCallerSession) LenderInfo(index_ *big.Int, lender_ common.Address) (struct {
	LpBalance   *big.Int
	DepositTime *big.Int
}, error)

LenderInfo is a free data retrieval call binding the contract method 0xa749f1a6.

Solidity: function lenderInfo(uint256 index_, address lender_) view returns(uint256 lpBalance_, uint256 depositTime_)

func (*AjnaPoolCallerSession) LoanInfo

func (_AjnaPool *AjnaPoolCallerSession) LoanInfo(loanId_ *big.Int) (common.Address, *big.Int, error)

LoanInfo is a free data retrieval call binding the contract method 0x8349d6be.

Solidity: function loanInfo(uint256 loanId_) view returns(address, uint256)

func (*AjnaPoolCallerSession) LoansInfo

func (_AjnaPool *AjnaPoolCallerSession) LoansInfo() (common.Address, *big.Int, *big.Int, error)

LoansInfo is a free data retrieval call binding the contract method 0x3884cd88.

Solidity: function loansInfo() view returns(address, uint256, uint256)

func (*AjnaPoolCallerSession) LpAllowance

func (_AjnaPool *AjnaPoolCallerSession) LpAllowance(index_ *big.Int, spender_ common.Address, owner_ common.Address) (*big.Int, error)

LpAllowance is a free data retrieval call binding the contract method 0x483cd187.

Solidity: function lpAllowance(uint256 index_, address spender_, address owner_) view returns(uint256 allowance_)

func (*AjnaPoolCallerSession) MaxFlashLoan

func (_AjnaPool *AjnaPoolCallerSession) MaxFlashLoan(token_ common.Address) (*big.Int, error)

MaxFlashLoan is a free data retrieval call binding the contract method 0x613255ab.

Solidity: function maxFlashLoan(address token_) view returns(uint256 maxLoan_)

func (*AjnaPoolCallerSession) PledgedCollateral

func (_AjnaPool *AjnaPoolCallerSession) PledgedCollateral() (*big.Int, error)

PledgedCollateral is a free data retrieval call binding the contract method 0x307ee3b5.

Solidity: function pledgedCollateral() view returns(uint256)

func (*AjnaPoolCallerSession) PoolType

func (_AjnaPool *AjnaPoolCallerSession) PoolType() (uint8, error)

PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.

Solidity: function poolType() pure returns(uint8)

func (*AjnaPoolCallerSession) QuoteTokenAddress

func (_AjnaPool *AjnaPoolCallerSession) QuoteTokenAddress() (common.Address, error)

QuoteTokenAddress is a free data retrieval call binding the contract method 0xbad34620.

Solidity: function quoteTokenAddress() pure returns(address)

func (*AjnaPoolCallerSession) QuoteTokenScale

func (_AjnaPool *AjnaPoolCallerSession) QuoteTokenScale() (*big.Int, error)

QuoteTokenScale is a free data retrieval call binding the contract method 0x7b3f8655.

Solidity: function quoteTokenScale() pure returns(uint256)

func (*AjnaPoolCallerSession) ReservesInfo

func (_AjnaPool *AjnaPoolCallerSession) ReservesInfo() (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, error)

ReservesInfo is a free data retrieval call binding the contract method 0x5a3b4477.

Solidity: function reservesInfo() view returns(uint256, uint256, uint256, uint256, uint256)

func (*AjnaPoolCallerSession) TotalAuctionsInPool

func (_AjnaPool *AjnaPoolCallerSession) TotalAuctionsInPool() (*big.Int, error)

TotalAuctionsInPool is a free data retrieval call binding the contract method 0xbcb630d7.

Solidity: function totalAuctionsInPool() view returns(uint256)

func (*AjnaPoolCallerSession) TotalT0Debt

func (_AjnaPool *AjnaPoolCallerSession) TotalT0Debt() (*big.Int, error)

TotalT0Debt is a free data retrieval call binding the contract method 0x5d3637e7.

Solidity: function totalT0Debt() view returns(uint256)

func (*AjnaPoolCallerSession) TotalT0DebtInAuction

func (_AjnaPool *AjnaPoolCallerSession) TotalT0DebtInAuction() (*big.Int, error)

TotalT0DebtInAuction is a free data retrieval call binding the contract method 0x870c764a.

Solidity: function totalT0DebtInAuction() view returns(uint256)

type AjnaPoolDecreaseLPAllowance

type AjnaPoolDecreaseLPAllowance struct {
	Owner   common.Address
	Spender common.Address
	Indexes []*big.Int
	Amounts []*big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

AjnaPoolDecreaseLPAllowance represents a DecreaseLPAllowance event raised by the AjnaPool contract.

type AjnaPoolDecreaseLPAllowanceIterator

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

AjnaPoolDecreaseLPAllowanceIterator is returned from FilterDecreaseLPAllowance and is used to iterate over the raw logs and unpacked data for DecreaseLPAllowance events raised by the AjnaPool contract.

func (*AjnaPoolDecreaseLPAllowanceIterator) Close

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

func (*AjnaPoolDecreaseLPAllowanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolDecreaseLPAllowanceIterator) 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 AjnaPoolDrawDebt

type AjnaPoolDrawDebt struct {
	Borrower          common.Address
	AmountBorrowed    *big.Int
	CollateralPledged *big.Int
	Lup               *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

AjnaPoolDrawDebt represents a DrawDebt event raised by the AjnaPool contract.

type AjnaPoolDrawDebtIterator

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

AjnaPoolDrawDebtIterator is returned from FilterDrawDebt and is used to iterate over the raw logs and unpacked data for DrawDebt events raised by the AjnaPool contract.

func (*AjnaPoolDrawDebtIterator) Close

func (it *AjnaPoolDrawDebtIterator) Close() error

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

func (*AjnaPoolDrawDebtIterator) Error

func (it *AjnaPoolDrawDebtIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolDrawDebtIterator) Next

func (it *AjnaPoolDrawDebtIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolFactory

type AjnaPoolFactory struct {
	AjnaPoolFactoryCaller     // Read-only binding to the contract
	AjnaPoolFactoryTransactor // Write-only binding to the contract
	AjnaPoolFactoryFilterer   // Log filterer for contract events
}

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

func NewAjnaPoolFactory

func NewAjnaPoolFactory(address common.Address, backend bind.ContractBackend) (*AjnaPoolFactory, error)

NewAjnaPoolFactory creates a new instance of AjnaPoolFactory, bound to a specific deployed contract.

type AjnaPoolFactoryCaller

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

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

func NewAjnaPoolFactoryCaller

func NewAjnaPoolFactoryCaller(address common.Address, caller bind.ContractCaller) (*AjnaPoolFactoryCaller, error)

NewAjnaPoolFactoryCaller creates a new read-only instance of AjnaPoolFactory, bound to a specific deployed contract.

func (*AjnaPoolFactoryCaller) Ajna

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) Ajna(opts *bind.CallOpts) (common.Address, error)

Ajna is a free data retrieval call binding the contract method 0xbb6da0dd.

Solidity: function ajna() view returns(address)

func (*AjnaPoolFactoryCaller) DeployedPools

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) DeployedPools(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address, arg2 common.Address) (common.Address, error)

DeployedPools is a free data retrieval call binding the contract method 0x7f165b0b.

Solidity: function deployedPools(bytes32 , address , address ) view returns(address)

func (*AjnaPoolFactoryCaller) DeployedPoolsList

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) DeployedPoolsList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

DeployedPoolsList is a free data retrieval call binding the contract method 0xa387245c.

Solidity: function deployedPoolsList(uint256 ) view returns(address)

func (*AjnaPoolFactoryCaller) ERC20NONSUBSETHASH

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) ERC20NONSUBSETHASH(opts *bind.CallOpts) ([32]byte, error)

ERC20NONSUBSETHASH is a free data retrieval call binding the contract method 0xc38dc7fc.

Solidity: function ERC20_NON_SUBSET_HASH() view returns(bytes32)

func (*AjnaPoolFactoryCaller) GetDeployedPoolsList

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) GetDeployedPoolsList(opts *bind.CallOpts) ([]common.Address, error)

GetDeployedPoolsList is a free data retrieval call binding the contract method 0x2b6983af.

Solidity: function getDeployedPoolsList() view returns(address[])

func (*AjnaPoolFactoryCaller) GetNumberOfDeployedPools

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) GetNumberOfDeployedPools(opts *bind.CallOpts) (*big.Int, error)

GetNumberOfDeployedPools is a free data retrieval call binding the contract method 0xb3d4cfa4.

Solidity: function getNumberOfDeployedPools() view returns(uint256)

func (*AjnaPoolFactoryCaller) Implementation

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*AjnaPoolFactoryCaller) MAXRATE

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) MAXRATE(opts *bind.CallOpts) (*big.Int, error)

MAXRATE is a free data retrieval call binding the contract method 0xc24dbebd.

Solidity: function MAX_RATE() view returns(uint256)

func (*AjnaPoolFactoryCaller) MINRATE

func (_AjnaPoolFactory *AjnaPoolFactoryCaller) MINRATE(opts *bind.CallOpts) (*big.Int, error)

MINRATE is a free data retrieval call binding the contract method 0xd819bfef.

Solidity: function MIN_RATE() view returns(uint256)

type AjnaPoolFactoryCallerRaw

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

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

func (*AjnaPoolFactoryCallerRaw) Call

func (_AjnaPoolFactory *AjnaPoolFactoryCallerRaw) 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 AjnaPoolFactoryCallerSession

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

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

func (*AjnaPoolFactoryCallerSession) Ajna

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) Ajna() (common.Address, error)

Ajna is a free data retrieval call binding the contract method 0xbb6da0dd.

Solidity: function ajna() view returns(address)

func (*AjnaPoolFactoryCallerSession) DeployedPools

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) DeployedPools(arg0 [32]byte, arg1 common.Address, arg2 common.Address) (common.Address, error)

DeployedPools is a free data retrieval call binding the contract method 0x7f165b0b.

Solidity: function deployedPools(bytes32 , address , address ) view returns(address)

func (*AjnaPoolFactoryCallerSession) DeployedPoolsList

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) DeployedPoolsList(arg0 *big.Int) (common.Address, error)

DeployedPoolsList is a free data retrieval call binding the contract method 0xa387245c.

Solidity: function deployedPoolsList(uint256 ) view returns(address)

func (*AjnaPoolFactoryCallerSession) ERC20NONSUBSETHASH

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) ERC20NONSUBSETHASH() ([32]byte, error)

ERC20NONSUBSETHASH is a free data retrieval call binding the contract method 0xc38dc7fc.

Solidity: function ERC20_NON_SUBSET_HASH() view returns(bytes32)

func (*AjnaPoolFactoryCallerSession) GetDeployedPoolsList

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) GetDeployedPoolsList() ([]common.Address, error)

GetDeployedPoolsList is a free data retrieval call binding the contract method 0x2b6983af.

Solidity: function getDeployedPoolsList() view returns(address[])

func (*AjnaPoolFactoryCallerSession) GetNumberOfDeployedPools

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) GetNumberOfDeployedPools() (*big.Int, error)

GetNumberOfDeployedPools is a free data retrieval call binding the contract method 0xb3d4cfa4.

Solidity: function getNumberOfDeployedPools() view returns(uint256)

func (*AjnaPoolFactoryCallerSession) Implementation

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*AjnaPoolFactoryCallerSession) MAXRATE

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) MAXRATE() (*big.Int, error)

MAXRATE is a free data retrieval call binding the contract method 0xc24dbebd.

Solidity: function MAX_RATE() view returns(uint256)

func (*AjnaPoolFactoryCallerSession) MINRATE

func (_AjnaPoolFactory *AjnaPoolFactoryCallerSession) MINRATE() (*big.Int, error)

MINRATE is a free data retrieval call binding the contract method 0xd819bfef.

Solidity: function MIN_RATE() view returns(uint256)

type AjnaPoolFactoryFilterer

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

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

func NewAjnaPoolFactoryFilterer

func NewAjnaPoolFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*AjnaPoolFactoryFilterer, error)

NewAjnaPoolFactoryFilterer creates a new log filterer instance of AjnaPoolFactory, bound to a specific deployed contract.

func (*AjnaPoolFactoryFilterer) FilterPoolCreated

func (_AjnaPoolFactory *AjnaPoolFactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts) (*AjnaPoolFactoryPoolCreatedIterator, error)

FilterPoolCreated is a free log retrieval operation binding the contract event 0xee1fe091a5213b321c2662b35c0b7cd0d35d10dbcab52b3c9b8768983c67bce3.

Solidity: event PoolCreated(address pool_, bytes32 subsetHash_)

func (*AjnaPoolFactoryFilterer) ParsePoolCreated

func (_AjnaPoolFactory *AjnaPoolFactoryFilterer) ParsePoolCreated(log types.Log) (*AjnaPoolFactoryPoolCreated, error)

ParsePoolCreated is a log parse operation binding the contract event 0xee1fe091a5213b321c2662b35c0b7cd0d35d10dbcab52b3c9b8768983c67bce3.

Solidity: event PoolCreated(address pool_, bytes32 subsetHash_)

func (*AjnaPoolFactoryFilterer) WatchPoolCreated

func (_AjnaPoolFactory *AjnaPoolFactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *AjnaPoolFactoryPoolCreated) (event.Subscription, error)

WatchPoolCreated is a free log subscription operation binding the contract event 0xee1fe091a5213b321c2662b35c0b7cd0d35d10dbcab52b3c9b8768983c67bce3.

Solidity: event PoolCreated(address pool_, bytes32 subsetHash_)

type AjnaPoolFactoryPoolCreated

type AjnaPoolFactoryPoolCreated struct {
	Pool       common.Address
	SubsetHash [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

AjnaPoolFactoryPoolCreated represents a PoolCreated event raised by the AjnaPoolFactory contract.

type AjnaPoolFactoryPoolCreatedIterator

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

AjnaPoolFactoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the AjnaPoolFactory contract.

func (*AjnaPoolFactoryPoolCreatedIterator) Close

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

func (*AjnaPoolFactoryPoolCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolFactoryPoolCreatedIterator) 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 AjnaPoolFactoryRaw

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

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

func (*AjnaPoolFactoryRaw) Call

func (_AjnaPoolFactory *AjnaPoolFactoryRaw) 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 (*AjnaPoolFactoryRaw) Transact

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

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

func (*AjnaPoolFactoryRaw) Transfer

func (_AjnaPoolFactory *AjnaPoolFactoryRaw) 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 AjnaPoolFactorySession

type AjnaPoolFactorySession struct {
	Contract     *AjnaPoolFactory  // 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
}

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

func (*AjnaPoolFactorySession) Ajna

func (_AjnaPoolFactory *AjnaPoolFactorySession) Ajna() (common.Address, error)

Ajna is a free data retrieval call binding the contract method 0xbb6da0dd.

Solidity: function ajna() view returns(address)

func (*AjnaPoolFactorySession) DeployPool

func (_AjnaPoolFactory *AjnaPoolFactorySession) DeployPool(collateral_ common.Address, quote_ common.Address, interestRate_ *big.Int) (*types.Transaction, error)

DeployPool is a paid mutator transaction binding the contract method 0xa3232bf3.

Solidity: function deployPool(address collateral_, address quote_, uint256 interestRate_) returns(address pool_)

func (*AjnaPoolFactorySession) DeployedPools

func (_AjnaPoolFactory *AjnaPoolFactorySession) DeployedPools(arg0 [32]byte, arg1 common.Address, arg2 common.Address) (common.Address, error)

DeployedPools is a free data retrieval call binding the contract method 0x7f165b0b.

Solidity: function deployedPools(bytes32 , address , address ) view returns(address)

func (*AjnaPoolFactorySession) DeployedPoolsList

func (_AjnaPoolFactory *AjnaPoolFactorySession) DeployedPoolsList(arg0 *big.Int) (common.Address, error)

DeployedPoolsList is a free data retrieval call binding the contract method 0xa387245c.

Solidity: function deployedPoolsList(uint256 ) view returns(address)

func (*AjnaPoolFactorySession) ERC20NONSUBSETHASH

func (_AjnaPoolFactory *AjnaPoolFactorySession) ERC20NONSUBSETHASH() ([32]byte, error)

ERC20NONSUBSETHASH is a free data retrieval call binding the contract method 0xc38dc7fc.

Solidity: function ERC20_NON_SUBSET_HASH() view returns(bytes32)

func (*AjnaPoolFactorySession) GetDeployedPoolsList

func (_AjnaPoolFactory *AjnaPoolFactorySession) GetDeployedPoolsList() ([]common.Address, error)

GetDeployedPoolsList is a free data retrieval call binding the contract method 0x2b6983af.

Solidity: function getDeployedPoolsList() view returns(address[])

func (*AjnaPoolFactorySession) GetNumberOfDeployedPools

func (_AjnaPoolFactory *AjnaPoolFactorySession) GetNumberOfDeployedPools() (*big.Int, error)

GetNumberOfDeployedPools is a free data retrieval call binding the contract method 0xb3d4cfa4.

Solidity: function getNumberOfDeployedPools() view returns(uint256)

func (*AjnaPoolFactorySession) Implementation

func (_AjnaPoolFactory *AjnaPoolFactorySession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*AjnaPoolFactorySession) MAXRATE

func (_AjnaPoolFactory *AjnaPoolFactorySession) MAXRATE() (*big.Int, error)

MAXRATE is a free data retrieval call binding the contract method 0xc24dbebd.

Solidity: function MAX_RATE() view returns(uint256)

func (*AjnaPoolFactorySession) MINRATE

func (_AjnaPoolFactory *AjnaPoolFactorySession) MINRATE() (*big.Int, error)

MINRATE is a free data retrieval call binding the contract method 0xd819bfef.

Solidity: function MIN_RATE() view returns(uint256)

type AjnaPoolFactoryTransactor

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

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

func NewAjnaPoolFactoryTransactor

func NewAjnaPoolFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*AjnaPoolFactoryTransactor, error)

NewAjnaPoolFactoryTransactor creates a new write-only instance of AjnaPoolFactory, bound to a specific deployed contract.

func (*AjnaPoolFactoryTransactor) DeployPool

func (_AjnaPoolFactory *AjnaPoolFactoryTransactor) DeployPool(opts *bind.TransactOpts, collateral_ common.Address, quote_ common.Address, interestRate_ *big.Int) (*types.Transaction, error)

DeployPool is a paid mutator transaction binding the contract method 0xa3232bf3.

Solidity: function deployPool(address collateral_, address quote_, uint256 interestRate_) returns(address pool_)

type AjnaPoolFactoryTransactorRaw

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

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

func (*AjnaPoolFactoryTransactorRaw) Transact

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

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

func (*AjnaPoolFactoryTransactorRaw) Transfer

func (_AjnaPoolFactory *AjnaPoolFactoryTransactorRaw) 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 AjnaPoolFactoryTransactorSession

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

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

func (*AjnaPoolFactoryTransactorSession) DeployPool

func (_AjnaPoolFactory *AjnaPoolFactoryTransactorSession) DeployPool(collateral_ common.Address, quote_ common.Address, interestRate_ *big.Int) (*types.Transaction, error)

DeployPool is a paid mutator transaction binding the contract method 0xa3232bf3.

Solidity: function deployPool(address collateral_, address quote_, uint256 interestRate_) returns(address pool_)

type AjnaPoolFilterer

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

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

func NewAjnaPoolFilterer

func NewAjnaPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*AjnaPoolFilterer, error)

NewAjnaPoolFilterer creates a new log filterer instance of AjnaPool, bound to a specific deployed contract.

func (*AjnaPoolFilterer) FilterAddCollateral

func (_AjnaPool *AjnaPoolFilterer) FilterAddCollateral(opts *bind.FilterOpts, actor []common.Address, index []*big.Int) (*AjnaPoolAddCollateralIterator, error)

FilterAddCollateral is a free log retrieval operation binding the contract event 0xa9387d09ded47dbc173eb751964c0c7b7e0a1165939b958fafc8109337597f94.

Solidity: event AddCollateral(address indexed actor, uint256 indexed index, uint256 amount, uint256 lpAwarded)

func (*AjnaPoolFilterer) FilterAddQuoteToken

func (_AjnaPool *AjnaPoolFilterer) FilterAddQuoteToken(opts *bind.FilterOpts, lender []common.Address, index []*big.Int) (*AjnaPoolAddQuoteTokenIterator, error)

FilterAddQuoteToken is a free log retrieval operation binding the contract event 0x8b24a9808cf05d3d8e48ac09e4f649054994a88cfa657b3f4bf340b62137df1e.

Solidity: event AddQuoteToken(address indexed lender, uint256 indexed index, uint256 amount, uint256 lpAwarded, uint256 lup)

func (*AjnaPoolFilterer) FilterApproveLPTransferors

func (_AjnaPool *AjnaPoolFilterer) FilterApproveLPTransferors(opts *bind.FilterOpts, lender []common.Address) (*AjnaPoolApproveLPTransferorsIterator, error)

FilterApproveLPTransferors is a free log retrieval operation binding the contract event 0x6dceda33b951e30872202c47c5e3b449112437927dbc475dfaedd3a22889aa54.

Solidity: event ApproveLPTransferors(address indexed lender, address[] transferors)

func (*AjnaPoolFilterer) FilterAuctionNFTSettle

func (_AjnaPool *AjnaPoolFilterer) FilterAuctionNFTSettle(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolAuctionNFTSettleIterator, error)

FilterAuctionNFTSettle is a free log retrieval operation binding the contract event 0xddd6b496b84171d179d9874158b1cbbe422dd482e5523f1b09cb69ebef287841.

Solidity: event AuctionNFTSettle(address indexed borrower, uint256 collateral, uint256 lp, uint256 index)

func (*AjnaPoolFilterer) FilterAuctionSettle

func (_AjnaPool *AjnaPoolFilterer) FilterAuctionSettle(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolAuctionSettleIterator, error)

FilterAuctionSettle is a free log retrieval operation binding the contract event 0x91a9dcdd01df8b934f14307641e884e0ea6e414bf05fe8daf8c74a28f69b55ee.

Solidity: event AuctionSettle(address indexed borrower, uint256 collateral)

func (*AjnaPoolFilterer) FilterBondWithdrawn

func (_AjnaPool *AjnaPoolFilterer) FilterBondWithdrawn(opts *bind.FilterOpts, kicker []common.Address, reciever []common.Address) (*AjnaPoolBondWithdrawnIterator, error)

FilterBondWithdrawn is a free log retrieval operation binding the contract event 0x1b6622b92ce16ed648b5b93fe47df1cd4c763fdcafe3281bc1dfd5ff7998a94d.

Solidity: event BondWithdrawn(address indexed kicker, address indexed reciever, uint256 amount)

func (*AjnaPoolFilterer) FilterBucketBankruptcy

func (_AjnaPool *AjnaPoolFilterer) FilterBucketBankruptcy(opts *bind.FilterOpts, index []*big.Int) (*AjnaPoolBucketBankruptcyIterator, error)

FilterBucketBankruptcy is a free log retrieval operation binding the contract event 0x30ee43613aaa48d222b158aab1123c5a29d452f8b1a849e5f815dd355923ba85.

Solidity: event BucketBankruptcy(uint256 indexed index, uint256 lpForfeited)

func (*AjnaPoolFilterer) FilterBucketTake

func (_AjnaPool *AjnaPoolFilterer) FilterBucketTake(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolBucketTakeIterator, error)

FilterBucketTake is a free log retrieval operation binding the contract event 0xcb6905a59200cc485bfe6d2168392e96a0f204daf9e3937dff19180cb0d796a4.

Solidity: event BucketTake(address indexed borrower, uint256 index, uint256 amount, uint256 collateral, uint256 bondChange, bool isReward)

func (*AjnaPoolFilterer) FilterBucketTakeLPAwarded

func (_AjnaPool *AjnaPoolFilterer) FilterBucketTakeLPAwarded(opts *bind.FilterOpts, taker []common.Address, kicker []common.Address) (*AjnaPoolBucketTakeLPAwardedIterator, error)

FilterBucketTakeLPAwarded is a free log retrieval operation binding the contract event 0xd43d7a2b808648e0814e6795ea3a9b723df6eae4046a7e279a036458f38bc644.

Solidity: event BucketTakeLPAwarded(address indexed taker, address indexed kicker, uint256 lpAwardedTaker, uint256 lpAwardedKicker)

func (*AjnaPoolFilterer) FilterDecreaseLPAllowance

func (_AjnaPool *AjnaPoolFilterer) FilterDecreaseLPAllowance(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AjnaPoolDecreaseLPAllowanceIterator, error)

FilterDecreaseLPAllowance is a free log retrieval operation binding the contract event 0x4a7a52e2fe7e10addaa7f875ecf9ec17563ec12be96c885457061cfc04e05660.

Solidity: event DecreaseLPAllowance(address indexed owner, address indexed spender, uint256[] indexes, uint256[] amounts)

func (*AjnaPoolFilterer) FilterDrawDebt

func (_AjnaPool *AjnaPoolFilterer) FilterDrawDebt(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolDrawDebtIterator, error)

FilterDrawDebt is a free log retrieval operation binding the contract event 0x49a2aab2f4f7ca5c6ba6d413b46a0a09d91d10188fd94b8e23c3225362d12b50.

Solidity: event DrawDebt(address indexed borrower, uint256 amountBorrowed, uint256 collateralPledged, uint256 lup)

func (*AjnaPoolFilterer) FilterFlashloan

func (_AjnaPool *AjnaPoolFilterer) FilterFlashloan(opts *bind.FilterOpts, receiver []common.Address, token []common.Address) (*AjnaPoolFlashloanIterator, error)

FilterFlashloan is a free log retrieval operation binding the contract event 0x6b15284fe89dbd5c436c2e0b06b1bf72e3a0a8e96d1b4a2abd61dfae2d7849a6.

Solidity: event Flashloan(address indexed receiver, address indexed token, uint256 amount)

func (*AjnaPoolFilterer) FilterIncreaseLPAllowance

func (_AjnaPool *AjnaPoolFilterer) FilterIncreaseLPAllowance(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AjnaPoolIncreaseLPAllowanceIterator, error)

FilterIncreaseLPAllowance is a free log retrieval operation binding the contract event 0xa9f6ab83637f87ef702b94c10d09430c40cd3d4642d14fc2a07408bde931545f.

Solidity: event IncreaseLPAllowance(address indexed owner, address indexed spender, uint256[] indexes, uint256[] amounts)

func (*AjnaPoolFilterer) FilterInterestUpdateFailure

func (_AjnaPool *AjnaPoolFilterer) FilterInterestUpdateFailure(opts *bind.FilterOpts) (*AjnaPoolInterestUpdateFailureIterator, error)

FilterInterestUpdateFailure is a free log retrieval operation binding the contract event 0x84da056cd0ff5380ec35a74f131057a96626a24305fa137c235bdbe1b414a396.

Solidity: event InterestUpdateFailure()

func (*AjnaPoolFilterer) FilterKick

func (_AjnaPool *AjnaPoolFilterer) FilterKick(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolKickIterator, error)

FilterKick is a free log retrieval operation binding the contract event 0x9f9a32e7f0271518f9b1895d0b1f2f4f73ed305e48b0a3782932094f9d00d948.

Solidity: event Kick(address indexed borrower, uint256 debt, uint256 collateral, uint256 bond)

func (*AjnaPoolFilterer) FilterKickReserveAuction

func (_AjnaPool *AjnaPoolFilterer) FilterKickReserveAuction(opts *bind.FilterOpts) (*AjnaPoolKickReserveAuctionIterator, error)

FilterKickReserveAuction is a free log retrieval operation binding the contract event 0x3dacf6b19b0a84358a76a3338466cd428d1d4e80e53ccfe91b15d9b8021df960.

Solidity: event KickReserveAuction(uint256 claimableReservesRemaining, uint256 auctionPrice, uint256 currentBurnEpoch)

func (*AjnaPoolFilterer) FilterLoanStamped

func (_AjnaPool *AjnaPoolFilterer) FilterLoanStamped(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolLoanStampedIterator, error)

FilterLoanStamped is a free log retrieval operation binding the contract event 0x8d6660b4a409414ebe386e9dd200a5c4e75591f0fc98e1272d7ba207d06d4c34.

Solidity: event LoanStamped(address indexed borrower)

func (*AjnaPoolFilterer) FilterMoveQuoteToken

func (_AjnaPool *AjnaPoolFilterer) FilterMoveQuoteToken(opts *bind.FilterOpts, lender []common.Address, from []*big.Int, to []*big.Int) (*AjnaPoolMoveQuoteTokenIterator, error)

FilterMoveQuoteToken is a free log retrieval operation binding the contract event 0x9d7ab6bb30c003ae7d5b583911db0ada7a9e51b0b4ac7ac1bb5e6896e82e4dbe.

Solidity: event MoveQuoteToken(address indexed lender, uint256 indexed from, uint256 indexed to, uint256 amount, uint256 lpRedeemedFrom, uint256 lpAwardedTo, uint256 lup)

func (*AjnaPoolFilterer) FilterRemoveCollateral

func (_AjnaPool *AjnaPoolFilterer) FilterRemoveCollateral(opts *bind.FilterOpts, claimer []common.Address, index []*big.Int) (*AjnaPoolRemoveCollateralIterator, error)

FilterRemoveCollateral is a free log retrieval operation binding the contract event 0x90895bc82397742e0cea4685e72279103862a03bee6bbe1d71265c7aeb111527.

Solidity: event RemoveCollateral(address indexed claimer, uint256 indexed index, uint256 amount, uint256 lpRedeemed)

func (*AjnaPoolFilterer) FilterRemoveQuoteToken

func (_AjnaPool *AjnaPoolFilterer) FilterRemoveQuoteToken(opts *bind.FilterOpts, lender []common.Address, index []*big.Int) (*AjnaPoolRemoveQuoteTokenIterator, error)

FilterRemoveQuoteToken is a free log retrieval operation binding the contract event 0x0130a7b525bd6b1e72def1ee0b77f3467028a0e958e30174a0c95eb3860fc221.

Solidity: event RemoveQuoteToken(address indexed lender, uint256 indexed index, uint256 amount, uint256 lpRedeemed, uint256 lup)

func (*AjnaPoolFilterer) FilterRepayDebt

func (_AjnaPool *AjnaPoolFilterer) FilterRepayDebt(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolRepayDebtIterator, error)

FilterRepayDebt is a free log retrieval operation binding the contract event 0xef9d6dc34b1e6893b8746b03ac07fd084909654a5cedab240265a8d1bd584dc2.

Solidity: event RepayDebt(address indexed borrower, uint256 quoteRepaid, uint256 collateralPulled, uint256 lup)

func (*AjnaPoolFilterer) FilterReserveAuction

func (_AjnaPool *AjnaPoolFilterer) FilterReserveAuction(opts *bind.FilterOpts) (*AjnaPoolReserveAuctionIterator, error)

FilterReserveAuction is a free log retrieval operation binding the contract event 0x2115712930a0e5047c8904a9cc557d2b1ba5a21876e04f59249843ce1a74d699.

Solidity: event ReserveAuction(uint256 claimableReservesRemaining, uint256 auctionPrice, uint256 currentBurnEpoch)

func (*AjnaPoolFilterer) FilterResetInterestRate

func (_AjnaPool *AjnaPoolFilterer) FilterResetInterestRate(opts *bind.FilterOpts) (*AjnaPoolResetInterestRateIterator, error)

FilterResetInterestRate is a free log retrieval operation binding the contract event 0x20ae1d4a2e8d297f3820670c20fc79531e31643d4b201892680e7df3c4ab1599.

Solidity: event ResetInterestRate(uint256 oldRate, uint256 newRate)

func (*AjnaPoolFilterer) FilterRevokeLPAllowance

func (_AjnaPool *AjnaPoolFilterer) FilterRevokeLPAllowance(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AjnaPoolRevokeLPAllowanceIterator, error)

FilterRevokeLPAllowance is a free log retrieval operation binding the contract event 0xdf7f78d931b4e040d4598563bab17506dba0aed1a0515c51fd7dbc2a2382afdf.

Solidity: event RevokeLPAllowance(address indexed owner, address indexed spender, uint256[] indexes)

func (*AjnaPoolFilterer) FilterRevokeLPTransferors

func (_AjnaPool *AjnaPoolFilterer) FilterRevokeLPTransferors(opts *bind.FilterOpts, lender []common.Address) (*AjnaPoolRevokeLPTransferorsIterator, error)

FilterRevokeLPTransferors is a free log retrieval operation binding the contract event 0xde63bcd4c57b5d710a16396f80a2797846720923ff52198e806544ccbb720b2b.

Solidity: event RevokeLPTransferors(address indexed lender, address[] transferors)

func (*AjnaPoolFilterer) FilterSettle

func (_AjnaPool *AjnaPoolFilterer) FilterSettle(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolSettleIterator, error)

FilterSettle is a free log retrieval operation binding the contract event 0xa3788eedc10ef3ec6982384227c562c6666cf2b6af4f6a583b6d5d0f2ba0d204.

Solidity: event Settle(address indexed borrower, uint256 settledDebt)

func (*AjnaPoolFilterer) FilterTake

func (_AjnaPool *AjnaPoolFilterer) FilterTake(opts *bind.FilterOpts, borrower []common.Address) (*AjnaPoolTakeIterator, error)

FilterTake is a free log retrieval operation binding the contract event 0x4591b2dfbebff121b3ccd19ae2407e59a9cefd959b35e12d82752cb5bc6eb757.

Solidity: event Take(address indexed borrower, uint256 amount, uint256 collateral, uint256 bondChange, bool isReward)

func (*AjnaPoolFilterer) FilterTransferLP

func (_AjnaPool *AjnaPoolFilterer) FilterTransferLP(opts *bind.FilterOpts) (*AjnaPoolTransferLPIterator, error)

FilterTransferLP is a free log retrieval operation binding the contract event 0x98b14a8359f3da2f702dde7a51271b67ea43d27b8712e860408b8bf8dd0eb682.

Solidity: event TransferLP(address owner, address newOwner, uint256[] indexes, uint256 lp)

func (*AjnaPoolFilterer) FilterUpdateInterestRate

func (_AjnaPool *AjnaPoolFilterer) FilterUpdateInterestRate(opts *bind.FilterOpts) (*AjnaPoolUpdateInterestRateIterator, error)

FilterUpdateInterestRate is a free log retrieval operation binding the contract event 0x2463616ef8e6f9bddf00e4964b853ad9050f87cd3c73985d2ee6b6c8a8336991.

Solidity: event UpdateInterestRate(uint256 oldRate, uint256 newRate)

func (*AjnaPoolFilterer) ParseAddCollateral

func (_AjnaPool *AjnaPoolFilterer) ParseAddCollateral(log types.Log) (*AjnaPoolAddCollateral, error)

ParseAddCollateral is a log parse operation binding the contract event 0xa9387d09ded47dbc173eb751964c0c7b7e0a1165939b958fafc8109337597f94.

Solidity: event AddCollateral(address indexed actor, uint256 indexed index, uint256 amount, uint256 lpAwarded)

func (*AjnaPoolFilterer) ParseAddQuoteToken

func (_AjnaPool *AjnaPoolFilterer) ParseAddQuoteToken(log types.Log) (*AjnaPoolAddQuoteToken, error)

ParseAddQuoteToken is a log parse operation binding the contract event 0x8b24a9808cf05d3d8e48ac09e4f649054994a88cfa657b3f4bf340b62137df1e.

Solidity: event AddQuoteToken(address indexed lender, uint256 indexed index, uint256 amount, uint256 lpAwarded, uint256 lup)

func (*AjnaPoolFilterer) ParseApproveLPTransferors

func (_AjnaPool *AjnaPoolFilterer) ParseApproveLPTransferors(log types.Log) (*AjnaPoolApproveLPTransferors, error)

ParseApproveLPTransferors is a log parse operation binding the contract event 0x6dceda33b951e30872202c47c5e3b449112437927dbc475dfaedd3a22889aa54.

Solidity: event ApproveLPTransferors(address indexed lender, address[] transferors)

func (*AjnaPoolFilterer) ParseAuctionNFTSettle

func (_AjnaPool *AjnaPoolFilterer) ParseAuctionNFTSettle(log types.Log) (*AjnaPoolAuctionNFTSettle, error)

ParseAuctionNFTSettle is a log parse operation binding the contract event 0xddd6b496b84171d179d9874158b1cbbe422dd482e5523f1b09cb69ebef287841.

Solidity: event AuctionNFTSettle(address indexed borrower, uint256 collateral, uint256 lp, uint256 index)

func (*AjnaPoolFilterer) ParseAuctionSettle

func (_AjnaPool *AjnaPoolFilterer) ParseAuctionSettle(log types.Log) (*AjnaPoolAuctionSettle, error)

ParseAuctionSettle is a log parse operation binding the contract event 0x91a9dcdd01df8b934f14307641e884e0ea6e414bf05fe8daf8c74a28f69b55ee.

Solidity: event AuctionSettle(address indexed borrower, uint256 collateral)

func (*AjnaPoolFilterer) ParseBondWithdrawn

func (_AjnaPool *AjnaPoolFilterer) ParseBondWithdrawn(log types.Log) (*AjnaPoolBondWithdrawn, error)

ParseBondWithdrawn is a log parse operation binding the contract event 0x1b6622b92ce16ed648b5b93fe47df1cd4c763fdcafe3281bc1dfd5ff7998a94d.

Solidity: event BondWithdrawn(address indexed kicker, address indexed reciever, uint256 amount)

func (*AjnaPoolFilterer) ParseBucketBankruptcy

func (_AjnaPool *AjnaPoolFilterer) ParseBucketBankruptcy(log types.Log) (*AjnaPoolBucketBankruptcy, error)

ParseBucketBankruptcy is a log parse operation binding the contract event 0x30ee43613aaa48d222b158aab1123c5a29d452f8b1a849e5f815dd355923ba85.

Solidity: event BucketBankruptcy(uint256 indexed index, uint256 lpForfeited)

func (*AjnaPoolFilterer) ParseBucketTake

func (_AjnaPool *AjnaPoolFilterer) ParseBucketTake(log types.Log) (*AjnaPoolBucketTake, error)

ParseBucketTake is a log parse operation binding the contract event 0xcb6905a59200cc485bfe6d2168392e96a0f204daf9e3937dff19180cb0d796a4.

Solidity: event BucketTake(address indexed borrower, uint256 index, uint256 amount, uint256 collateral, uint256 bondChange, bool isReward)

func (*AjnaPoolFilterer) ParseBucketTakeLPAwarded

func (_AjnaPool *AjnaPoolFilterer) ParseBucketTakeLPAwarded(log types.Log) (*AjnaPoolBucketTakeLPAwarded, error)

ParseBucketTakeLPAwarded is a log parse operation binding the contract event 0xd43d7a2b808648e0814e6795ea3a9b723df6eae4046a7e279a036458f38bc644.

Solidity: event BucketTakeLPAwarded(address indexed taker, address indexed kicker, uint256 lpAwardedTaker, uint256 lpAwardedKicker)

func (*AjnaPoolFilterer) ParseDecreaseLPAllowance

func (_AjnaPool *AjnaPoolFilterer) ParseDecreaseLPAllowance(log types.Log) (*AjnaPoolDecreaseLPAllowance, error)

ParseDecreaseLPAllowance is a log parse operation binding the contract event 0x4a7a52e2fe7e10addaa7f875ecf9ec17563ec12be96c885457061cfc04e05660.

Solidity: event DecreaseLPAllowance(address indexed owner, address indexed spender, uint256[] indexes, uint256[] amounts)

func (*AjnaPoolFilterer) ParseDrawDebt

func (_AjnaPool *AjnaPoolFilterer) ParseDrawDebt(log types.Log) (*AjnaPoolDrawDebt, error)

ParseDrawDebt is a log parse operation binding the contract event 0x49a2aab2f4f7ca5c6ba6d413b46a0a09d91d10188fd94b8e23c3225362d12b50.

Solidity: event DrawDebt(address indexed borrower, uint256 amountBorrowed, uint256 collateralPledged, uint256 lup)

func (*AjnaPoolFilterer) ParseFlashloan

func (_AjnaPool *AjnaPoolFilterer) ParseFlashloan(log types.Log) (*AjnaPoolFlashloan, error)

ParseFlashloan is a log parse operation binding the contract event 0x6b15284fe89dbd5c436c2e0b06b1bf72e3a0a8e96d1b4a2abd61dfae2d7849a6.

Solidity: event Flashloan(address indexed receiver, address indexed token, uint256 amount)

func (*AjnaPoolFilterer) ParseIncreaseLPAllowance

func (_AjnaPool *AjnaPoolFilterer) ParseIncreaseLPAllowance(log types.Log) (*AjnaPoolIncreaseLPAllowance, error)

ParseIncreaseLPAllowance is a log parse operation binding the contract event 0xa9f6ab83637f87ef702b94c10d09430c40cd3d4642d14fc2a07408bde931545f.

Solidity: event IncreaseLPAllowance(address indexed owner, address indexed spender, uint256[] indexes, uint256[] amounts)

func (*AjnaPoolFilterer) ParseInterestUpdateFailure

func (_AjnaPool *AjnaPoolFilterer) ParseInterestUpdateFailure(log types.Log) (*AjnaPoolInterestUpdateFailure, error)

ParseInterestUpdateFailure is a log parse operation binding the contract event 0x84da056cd0ff5380ec35a74f131057a96626a24305fa137c235bdbe1b414a396.

Solidity: event InterestUpdateFailure()

func (*AjnaPoolFilterer) ParseKick

func (_AjnaPool *AjnaPoolFilterer) ParseKick(log types.Log) (*AjnaPoolKick, error)

ParseKick is a log parse operation binding the contract event 0x9f9a32e7f0271518f9b1895d0b1f2f4f73ed305e48b0a3782932094f9d00d948.

Solidity: event Kick(address indexed borrower, uint256 debt, uint256 collateral, uint256 bond)

func (*AjnaPoolFilterer) ParseKickReserveAuction

func (_AjnaPool *AjnaPoolFilterer) ParseKickReserveAuction(log types.Log) (*AjnaPoolKickReserveAuction, error)

ParseKickReserveAuction is a log parse operation binding the contract event 0x3dacf6b19b0a84358a76a3338466cd428d1d4e80e53ccfe91b15d9b8021df960.

Solidity: event KickReserveAuction(uint256 claimableReservesRemaining, uint256 auctionPrice, uint256 currentBurnEpoch)

func (*AjnaPoolFilterer) ParseLoanStamped

func (_AjnaPool *AjnaPoolFilterer) ParseLoanStamped(log types.Log) (*AjnaPoolLoanStamped, error)

ParseLoanStamped is a log parse operation binding the contract event 0x8d6660b4a409414ebe386e9dd200a5c4e75591f0fc98e1272d7ba207d06d4c34.

Solidity: event LoanStamped(address indexed borrower)

func (*AjnaPoolFilterer) ParseMoveQuoteToken

func (_AjnaPool *AjnaPoolFilterer) ParseMoveQuoteToken(log types.Log) (*AjnaPoolMoveQuoteToken, error)

ParseMoveQuoteToken is a log parse operation binding the contract event 0x9d7ab6bb30c003ae7d5b583911db0ada7a9e51b0b4ac7ac1bb5e6896e82e4dbe.

Solidity: event MoveQuoteToken(address indexed lender, uint256 indexed from, uint256 indexed to, uint256 amount, uint256 lpRedeemedFrom, uint256 lpAwardedTo, uint256 lup)

func (*AjnaPoolFilterer) ParseRemoveCollateral

func (_AjnaPool *AjnaPoolFilterer) ParseRemoveCollateral(log types.Log) (*AjnaPoolRemoveCollateral, error)

ParseRemoveCollateral is a log parse operation binding the contract event 0x90895bc82397742e0cea4685e72279103862a03bee6bbe1d71265c7aeb111527.

Solidity: event RemoveCollateral(address indexed claimer, uint256 indexed index, uint256 amount, uint256 lpRedeemed)

func (*AjnaPoolFilterer) ParseRemoveQuoteToken

func (_AjnaPool *AjnaPoolFilterer) ParseRemoveQuoteToken(log types.Log) (*AjnaPoolRemoveQuoteToken, error)

ParseRemoveQuoteToken is a log parse operation binding the contract event 0x0130a7b525bd6b1e72def1ee0b77f3467028a0e958e30174a0c95eb3860fc221.

Solidity: event RemoveQuoteToken(address indexed lender, uint256 indexed index, uint256 amount, uint256 lpRedeemed, uint256 lup)

func (*AjnaPoolFilterer) ParseRepayDebt

func (_AjnaPool *AjnaPoolFilterer) ParseRepayDebt(log types.Log) (*AjnaPoolRepayDebt, error)

ParseRepayDebt is a log parse operation binding the contract event 0xef9d6dc34b1e6893b8746b03ac07fd084909654a5cedab240265a8d1bd584dc2.

Solidity: event RepayDebt(address indexed borrower, uint256 quoteRepaid, uint256 collateralPulled, uint256 lup)

func (*AjnaPoolFilterer) ParseReserveAuction

func (_AjnaPool *AjnaPoolFilterer) ParseReserveAuction(log types.Log) (*AjnaPoolReserveAuction, error)

ParseReserveAuction is a log parse operation binding the contract event 0x2115712930a0e5047c8904a9cc557d2b1ba5a21876e04f59249843ce1a74d699.

Solidity: event ReserveAuction(uint256 claimableReservesRemaining, uint256 auctionPrice, uint256 currentBurnEpoch)

func (*AjnaPoolFilterer) ParseResetInterestRate

func (_AjnaPool *AjnaPoolFilterer) ParseResetInterestRate(log types.Log) (*AjnaPoolResetInterestRate, error)

ParseResetInterestRate is a log parse operation binding the contract event 0x20ae1d4a2e8d297f3820670c20fc79531e31643d4b201892680e7df3c4ab1599.

Solidity: event ResetInterestRate(uint256 oldRate, uint256 newRate)

func (*AjnaPoolFilterer) ParseRevokeLPAllowance

func (_AjnaPool *AjnaPoolFilterer) ParseRevokeLPAllowance(log types.Log) (*AjnaPoolRevokeLPAllowance, error)

ParseRevokeLPAllowance is a log parse operation binding the contract event 0xdf7f78d931b4e040d4598563bab17506dba0aed1a0515c51fd7dbc2a2382afdf.

Solidity: event RevokeLPAllowance(address indexed owner, address indexed spender, uint256[] indexes)

func (*AjnaPoolFilterer) ParseRevokeLPTransferors

func (_AjnaPool *AjnaPoolFilterer) ParseRevokeLPTransferors(log types.Log) (*AjnaPoolRevokeLPTransferors, error)

ParseRevokeLPTransferors is a log parse operation binding the contract event 0xde63bcd4c57b5d710a16396f80a2797846720923ff52198e806544ccbb720b2b.

Solidity: event RevokeLPTransferors(address indexed lender, address[] transferors)

func (*AjnaPoolFilterer) ParseSettle

func (_AjnaPool *AjnaPoolFilterer) ParseSettle(log types.Log) (*AjnaPoolSettle, error)

ParseSettle is a log parse operation binding the contract event 0xa3788eedc10ef3ec6982384227c562c6666cf2b6af4f6a583b6d5d0f2ba0d204.

Solidity: event Settle(address indexed borrower, uint256 settledDebt)

func (*AjnaPoolFilterer) ParseTake

func (_AjnaPool *AjnaPoolFilterer) ParseTake(log types.Log) (*AjnaPoolTake, error)

ParseTake is a log parse operation binding the contract event 0x4591b2dfbebff121b3ccd19ae2407e59a9cefd959b35e12d82752cb5bc6eb757.

Solidity: event Take(address indexed borrower, uint256 amount, uint256 collateral, uint256 bondChange, bool isReward)

func (*AjnaPoolFilterer) ParseTransferLP

func (_AjnaPool *AjnaPoolFilterer) ParseTransferLP(log types.Log) (*AjnaPoolTransferLP, error)

ParseTransferLP is a log parse operation binding the contract event 0x98b14a8359f3da2f702dde7a51271b67ea43d27b8712e860408b8bf8dd0eb682.

Solidity: event TransferLP(address owner, address newOwner, uint256[] indexes, uint256 lp)

func (*AjnaPoolFilterer) ParseUpdateInterestRate

func (_AjnaPool *AjnaPoolFilterer) ParseUpdateInterestRate(log types.Log) (*AjnaPoolUpdateInterestRate, error)

ParseUpdateInterestRate is a log parse operation binding the contract event 0x2463616ef8e6f9bddf00e4964b853ad9050f87cd3c73985d2ee6b6c8a8336991.

Solidity: event UpdateInterestRate(uint256 oldRate, uint256 newRate)

func (*AjnaPoolFilterer) WatchAddCollateral

func (_AjnaPool *AjnaPoolFilterer) WatchAddCollateral(opts *bind.WatchOpts, sink chan<- *AjnaPoolAddCollateral, actor []common.Address, index []*big.Int) (event.Subscription, error)

WatchAddCollateral is a free log subscription operation binding the contract event 0xa9387d09ded47dbc173eb751964c0c7b7e0a1165939b958fafc8109337597f94.

Solidity: event AddCollateral(address indexed actor, uint256 indexed index, uint256 amount, uint256 lpAwarded)

func (*AjnaPoolFilterer) WatchAddQuoteToken

func (_AjnaPool *AjnaPoolFilterer) WatchAddQuoteToken(opts *bind.WatchOpts, sink chan<- *AjnaPoolAddQuoteToken, lender []common.Address, index []*big.Int) (event.Subscription, error)

WatchAddQuoteToken is a free log subscription operation binding the contract event 0x8b24a9808cf05d3d8e48ac09e4f649054994a88cfa657b3f4bf340b62137df1e.

Solidity: event AddQuoteToken(address indexed lender, uint256 indexed index, uint256 amount, uint256 lpAwarded, uint256 lup)

func (*AjnaPoolFilterer) WatchApproveLPTransferors

func (_AjnaPool *AjnaPoolFilterer) WatchApproveLPTransferors(opts *bind.WatchOpts, sink chan<- *AjnaPoolApproveLPTransferors, lender []common.Address) (event.Subscription, error)

WatchApproveLPTransferors is a free log subscription operation binding the contract event 0x6dceda33b951e30872202c47c5e3b449112437927dbc475dfaedd3a22889aa54.

Solidity: event ApproveLPTransferors(address indexed lender, address[] transferors)

func (*AjnaPoolFilterer) WatchAuctionNFTSettle

func (_AjnaPool *AjnaPoolFilterer) WatchAuctionNFTSettle(opts *bind.WatchOpts, sink chan<- *AjnaPoolAuctionNFTSettle, borrower []common.Address) (event.Subscription, error)

WatchAuctionNFTSettle is a free log subscription operation binding the contract event 0xddd6b496b84171d179d9874158b1cbbe422dd482e5523f1b09cb69ebef287841.

Solidity: event AuctionNFTSettle(address indexed borrower, uint256 collateral, uint256 lp, uint256 index)

func (*AjnaPoolFilterer) WatchAuctionSettle

func (_AjnaPool *AjnaPoolFilterer) WatchAuctionSettle(opts *bind.WatchOpts, sink chan<- *AjnaPoolAuctionSettle, borrower []common.Address) (event.Subscription, error)

WatchAuctionSettle is a free log subscription operation binding the contract event 0x91a9dcdd01df8b934f14307641e884e0ea6e414bf05fe8daf8c74a28f69b55ee.

Solidity: event AuctionSettle(address indexed borrower, uint256 collateral)

func (*AjnaPoolFilterer) WatchBondWithdrawn

func (_AjnaPool *AjnaPoolFilterer) WatchBondWithdrawn(opts *bind.WatchOpts, sink chan<- *AjnaPoolBondWithdrawn, kicker []common.Address, reciever []common.Address) (event.Subscription, error)

WatchBondWithdrawn is a free log subscription operation binding the contract event 0x1b6622b92ce16ed648b5b93fe47df1cd4c763fdcafe3281bc1dfd5ff7998a94d.

Solidity: event BondWithdrawn(address indexed kicker, address indexed reciever, uint256 amount)

func (*AjnaPoolFilterer) WatchBucketBankruptcy

func (_AjnaPool *AjnaPoolFilterer) WatchBucketBankruptcy(opts *bind.WatchOpts, sink chan<- *AjnaPoolBucketBankruptcy, index []*big.Int) (event.Subscription, error)

WatchBucketBankruptcy is a free log subscription operation binding the contract event 0x30ee43613aaa48d222b158aab1123c5a29d452f8b1a849e5f815dd355923ba85.

Solidity: event BucketBankruptcy(uint256 indexed index, uint256 lpForfeited)

func (*AjnaPoolFilterer) WatchBucketTake

func (_AjnaPool *AjnaPoolFilterer) WatchBucketTake(opts *bind.WatchOpts, sink chan<- *AjnaPoolBucketTake, borrower []common.Address) (event.Subscription, error)

WatchBucketTake is a free log subscription operation binding the contract event 0xcb6905a59200cc485bfe6d2168392e96a0f204daf9e3937dff19180cb0d796a4.

Solidity: event BucketTake(address indexed borrower, uint256 index, uint256 amount, uint256 collateral, uint256 bondChange, bool isReward)

func (*AjnaPoolFilterer) WatchBucketTakeLPAwarded

func (_AjnaPool *AjnaPoolFilterer) WatchBucketTakeLPAwarded(opts *bind.WatchOpts, sink chan<- *AjnaPoolBucketTakeLPAwarded, taker []common.Address, kicker []common.Address) (event.Subscription, error)

WatchBucketTakeLPAwarded is a free log subscription operation binding the contract event 0xd43d7a2b808648e0814e6795ea3a9b723df6eae4046a7e279a036458f38bc644.

Solidity: event BucketTakeLPAwarded(address indexed taker, address indexed kicker, uint256 lpAwardedTaker, uint256 lpAwardedKicker)

func (*AjnaPoolFilterer) WatchDecreaseLPAllowance

func (_AjnaPool *AjnaPoolFilterer) WatchDecreaseLPAllowance(opts *bind.WatchOpts, sink chan<- *AjnaPoolDecreaseLPAllowance, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchDecreaseLPAllowance is a free log subscription operation binding the contract event 0x4a7a52e2fe7e10addaa7f875ecf9ec17563ec12be96c885457061cfc04e05660.

Solidity: event DecreaseLPAllowance(address indexed owner, address indexed spender, uint256[] indexes, uint256[] amounts)

func (*AjnaPoolFilterer) WatchDrawDebt

func (_AjnaPool *AjnaPoolFilterer) WatchDrawDebt(opts *bind.WatchOpts, sink chan<- *AjnaPoolDrawDebt, borrower []common.Address) (event.Subscription, error)

WatchDrawDebt is a free log subscription operation binding the contract event 0x49a2aab2f4f7ca5c6ba6d413b46a0a09d91d10188fd94b8e23c3225362d12b50.

Solidity: event DrawDebt(address indexed borrower, uint256 amountBorrowed, uint256 collateralPledged, uint256 lup)

func (*AjnaPoolFilterer) WatchFlashloan

func (_AjnaPool *AjnaPoolFilterer) WatchFlashloan(opts *bind.WatchOpts, sink chan<- *AjnaPoolFlashloan, receiver []common.Address, token []common.Address) (event.Subscription, error)

WatchFlashloan is a free log subscription operation binding the contract event 0x6b15284fe89dbd5c436c2e0b06b1bf72e3a0a8e96d1b4a2abd61dfae2d7849a6.

Solidity: event Flashloan(address indexed receiver, address indexed token, uint256 amount)

func (*AjnaPoolFilterer) WatchIncreaseLPAllowance

func (_AjnaPool *AjnaPoolFilterer) WatchIncreaseLPAllowance(opts *bind.WatchOpts, sink chan<- *AjnaPoolIncreaseLPAllowance, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchIncreaseLPAllowance is a free log subscription operation binding the contract event 0xa9f6ab83637f87ef702b94c10d09430c40cd3d4642d14fc2a07408bde931545f.

Solidity: event IncreaseLPAllowance(address indexed owner, address indexed spender, uint256[] indexes, uint256[] amounts)

func (*AjnaPoolFilterer) WatchInterestUpdateFailure

func (_AjnaPool *AjnaPoolFilterer) WatchInterestUpdateFailure(opts *bind.WatchOpts, sink chan<- *AjnaPoolInterestUpdateFailure) (event.Subscription, error)

WatchInterestUpdateFailure is a free log subscription operation binding the contract event 0x84da056cd0ff5380ec35a74f131057a96626a24305fa137c235bdbe1b414a396.

Solidity: event InterestUpdateFailure()

func (*AjnaPoolFilterer) WatchKick

func (_AjnaPool *AjnaPoolFilterer) WatchKick(opts *bind.WatchOpts, sink chan<- *AjnaPoolKick, borrower []common.Address) (event.Subscription, error)

WatchKick is a free log subscription operation binding the contract event 0x9f9a32e7f0271518f9b1895d0b1f2f4f73ed305e48b0a3782932094f9d00d948.

Solidity: event Kick(address indexed borrower, uint256 debt, uint256 collateral, uint256 bond)

func (*AjnaPoolFilterer) WatchKickReserveAuction

func (_AjnaPool *AjnaPoolFilterer) WatchKickReserveAuction(opts *bind.WatchOpts, sink chan<- *AjnaPoolKickReserveAuction) (event.Subscription, error)

WatchKickReserveAuction is a free log subscription operation binding the contract event 0x3dacf6b19b0a84358a76a3338466cd428d1d4e80e53ccfe91b15d9b8021df960.

Solidity: event KickReserveAuction(uint256 claimableReservesRemaining, uint256 auctionPrice, uint256 currentBurnEpoch)

func (*AjnaPoolFilterer) WatchLoanStamped

func (_AjnaPool *AjnaPoolFilterer) WatchLoanStamped(opts *bind.WatchOpts, sink chan<- *AjnaPoolLoanStamped, borrower []common.Address) (event.Subscription, error)

WatchLoanStamped is a free log subscription operation binding the contract event 0x8d6660b4a409414ebe386e9dd200a5c4e75591f0fc98e1272d7ba207d06d4c34.

Solidity: event LoanStamped(address indexed borrower)

func (*AjnaPoolFilterer) WatchMoveQuoteToken

func (_AjnaPool *AjnaPoolFilterer) WatchMoveQuoteToken(opts *bind.WatchOpts, sink chan<- *AjnaPoolMoveQuoteToken, lender []common.Address, from []*big.Int, to []*big.Int) (event.Subscription, error)

WatchMoveQuoteToken is a free log subscription operation binding the contract event 0x9d7ab6bb30c003ae7d5b583911db0ada7a9e51b0b4ac7ac1bb5e6896e82e4dbe.

Solidity: event MoveQuoteToken(address indexed lender, uint256 indexed from, uint256 indexed to, uint256 amount, uint256 lpRedeemedFrom, uint256 lpAwardedTo, uint256 lup)

func (*AjnaPoolFilterer) WatchRemoveCollateral

func (_AjnaPool *AjnaPoolFilterer) WatchRemoveCollateral(opts *bind.WatchOpts, sink chan<- *AjnaPoolRemoveCollateral, claimer []common.Address, index []*big.Int) (event.Subscription, error)

WatchRemoveCollateral is a free log subscription operation binding the contract event 0x90895bc82397742e0cea4685e72279103862a03bee6bbe1d71265c7aeb111527.

Solidity: event RemoveCollateral(address indexed claimer, uint256 indexed index, uint256 amount, uint256 lpRedeemed)

func (*AjnaPoolFilterer) WatchRemoveQuoteToken

func (_AjnaPool *AjnaPoolFilterer) WatchRemoveQuoteToken(opts *bind.WatchOpts, sink chan<- *AjnaPoolRemoveQuoteToken, lender []common.Address, index []*big.Int) (event.Subscription, error)

WatchRemoveQuoteToken is a free log subscription operation binding the contract event 0x0130a7b525bd6b1e72def1ee0b77f3467028a0e958e30174a0c95eb3860fc221.

Solidity: event RemoveQuoteToken(address indexed lender, uint256 indexed index, uint256 amount, uint256 lpRedeemed, uint256 lup)

func (*AjnaPoolFilterer) WatchRepayDebt

func (_AjnaPool *AjnaPoolFilterer) WatchRepayDebt(opts *bind.WatchOpts, sink chan<- *AjnaPoolRepayDebt, borrower []common.Address) (event.Subscription, error)

WatchRepayDebt is a free log subscription operation binding the contract event 0xef9d6dc34b1e6893b8746b03ac07fd084909654a5cedab240265a8d1bd584dc2.

Solidity: event RepayDebt(address indexed borrower, uint256 quoteRepaid, uint256 collateralPulled, uint256 lup)

func (*AjnaPoolFilterer) WatchReserveAuction

func (_AjnaPool *AjnaPoolFilterer) WatchReserveAuction(opts *bind.WatchOpts, sink chan<- *AjnaPoolReserveAuction) (event.Subscription, error)

WatchReserveAuction is a free log subscription operation binding the contract event 0x2115712930a0e5047c8904a9cc557d2b1ba5a21876e04f59249843ce1a74d699.

Solidity: event ReserveAuction(uint256 claimableReservesRemaining, uint256 auctionPrice, uint256 currentBurnEpoch)

func (*AjnaPoolFilterer) WatchResetInterestRate

func (_AjnaPool *AjnaPoolFilterer) WatchResetInterestRate(opts *bind.WatchOpts, sink chan<- *AjnaPoolResetInterestRate) (event.Subscription, error)

WatchResetInterestRate is a free log subscription operation binding the contract event 0x20ae1d4a2e8d297f3820670c20fc79531e31643d4b201892680e7df3c4ab1599.

Solidity: event ResetInterestRate(uint256 oldRate, uint256 newRate)

func (*AjnaPoolFilterer) WatchRevokeLPAllowance

func (_AjnaPool *AjnaPoolFilterer) WatchRevokeLPAllowance(opts *bind.WatchOpts, sink chan<- *AjnaPoolRevokeLPAllowance, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchRevokeLPAllowance is a free log subscription operation binding the contract event 0xdf7f78d931b4e040d4598563bab17506dba0aed1a0515c51fd7dbc2a2382afdf.

Solidity: event RevokeLPAllowance(address indexed owner, address indexed spender, uint256[] indexes)

func (*AjnaPoolFilterer) WatchRevokeLPTransferors

func (_AjnaPool *AjnaPoolFilterer) WatchRevokeLPTransferors(opts *bind.WatchOpts, sink chan<- *AjnaPoolRevokeLPTransferors, lender []common.Address) (event.Subscription, error)

WatchRevokeLPTransferors is a free log subscription operation binding the contract event 0xde63bcd4c57b5d710a16396f80a2797846720923ff52198e806544ccbb720b2b.

Solidity: event RevokeLPTransferors(address indexed lender, address[] transferors)

func (*AjnaPoolFilterer) WatchSettle

func (_AjnaPool *AjnaPoolFilterer) WatchSettle(opts *bind.WatchOpts, sink chan<- *AjnaPoolSettle, borrower []common.Address) (event.Subscription, error)

WatchSettle is a free log subscription operation binding the contract event 0xa3788eedc10ef3ec6982384227c562c6666cf2b6af4f6a583b6d5d0f2ba0d204.

Solidity: event Settle(address indexed borrower, uint256 settledDebt)

func (*AjnaPoolFilterer) WatchTake

func (_AjnaPool *AjnaPoolFilterer) WatchTake(opts *bind.WatchOpts, sink chan<- *AjnaPoolTake, borrower []common.Address) (event.Subscription, error)

WatchTake is a free log subscription operation binding the contract event 0x4591b2dfbebff121b3ccd19ae2407e59a9cefd959b35e12d82752cb5bc6eb757.

Solidity: event Take(address indexed borrower, uint256 amount, uint256 collateral, uint256 bondChange, bool isReward)

func (*AjnaPoolFilterer) WatchTransferLP

func (_AjnaPool *AjnaPoolFilterer) WatchTransferLP(opts *bind.WatchOpts, sink chan<- *AjnaPoolTransferLP) (event.Subscription, error)

WatchTransferLP is a free log subscription operation binding the contract event 0x98b14a8359f3da2f702dde7a51271b67ea43d27b8712e860408b8bf8dd0eb682.

Solidity: event TransferLP(address owner, address newOwner, uint256[] indexes, uint256 lp)

func (*AjnaPoolFilterer) WatchUpdateInterestRate

func (_AjnaPool *AjnaPoolFilterer) WatchUpdateInterestRate(opts *bind.WatchOpts, sink chan<- *AjnaPoolUpdateInterestRate) (event.Subscription, error)

WatchUpdateInterestRate is a free log subscription operation binding the contract event 0x2463616ef8e6f9bddf00e4964b853ad9050f87cd3c73985d2ee6b6c8a8336991.

Solidity: event UpdateInterestRate(uint256 oldRate, uint256 newRate)

type AjnaPoolFlashloan

type AjnaPoolFlashloan struct {
	Receiver common.Address
	Token    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

AjnaPoolFlashloan represents a Flashloan event raised by the AjnaPool contract.

type AjnaPoolFlashloanIterator

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

AjnaPoolFlashloanIterator is returned from FilterFlashloan and is used to iterate over the raw logs and unpacked data for Flashloan events raised by the AjnaPool contract.

func (*AjnaPoolFlashloanIterator) Close

func (it *AjnaPoolFlashloanIterator) Close() error

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

func (*AjnaPoolFlashloanIterator) Error

func (it *AjnaPoolFlashloanIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolFlashloanIterator) Next

func (it *AjnaPoolFlashloanIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolIncreaseLPAllowance

type AjnaPoolIncreaseLPAllowance struct {
	Owner   common.Address
	Spender common.Address
	Indexes []*big.Int
	Amounts []*big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

AjnaPoolIncreaseLPAllowance represents a IncreaseLPAllowance event raised by the AjnaPool contract.

type AjnaPoolIncreaseLPAllowanceIterator

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

AjnaPoolIncreaseLPAllowanceIterator is returned from FilterIncreaseLPAllowance and is used to iterate over the raw logs and unpacked data for IncreaseLPAllowance events raised by the AjnaPool contract.

func (*AjnaPoolIncreaseLPAllowanceIterator) Close

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

func (*AjnaPoolIncreaseLPAllowanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolIncreaseLPAllowanceIterator) 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 AjnaPoolInterestUpdateFailure

type AjnaPoolInterestUpdateFailure struct {
	Raw types.Log // Blockchain specific contextual infos
}

AjnaPoolInterestUpdateFailure represents a InterestUpdateFailure event raised by the AjnaPool contract.

type AjnaPoolInterestUpdateFailureIterator

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

AjnaPoolInterestUpdateFailureIterator is returned from FilterInterestUpdateFailure and is used to iterate over the raw logs and unpacked data for InterestUpdateFailure events raised by the AjnaPool contract.

func (*AjnaPoolInterestUpdateFailureIterator) Close

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

func (*AjnaPoolInterestUpdateFailureIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolInterestUpdateFailureIterator) 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 AjnaPoolKick

type AjnaPoolKick struct {
	Borrower   common.Address
	Debt       *big.Int
	Collateral *big.Int
	Bond       *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AjnaPoolKick represents a Kick event raised by the AjnaPool contract.

type AjnaPoolKickIterator

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

AjnaPoolKickIterator is returned from FilterKick and is used to iterate over the raw logs and unpacked data for Kick events raised by the AjnaPool contract.

func (*AjnaPoolKickIterator) Close

func (it *AjnaPoolKickIterator) Close() error

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

func (*AjnaPoolKickIterator) Error

func (it *AjnaPoolKickIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolKickIterator) Next

func (it *AjnaPoolKickIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolKickReserveAuction

type AjnaPoolKickReserveAuction struct {
	ClaimableReservesRemaining *big.Int
	AuctionPrice               *big.Int
	CurrentBurnEpoch           *big.Int
	Raw                        types.Log // Blockchain specific contextual infos
}

AjnaPoolKickReserveAuction represents a KickReserveAuction event raised by the AjnaPool contract.

type AjnaPoolKickReserveAuctionIterator

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

AjnaPoolKickReserveAuctionIterator is returned from FilterKickReserveAuction and is used to iterate over the raw logs and unpacked data for KickReserveAuction events raised by the AjnaPool contract.

func (*AjnaPoolKickReserveAuctionIterator) Close

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

func (*AjnaPoolKickReserveAuctionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolKickReserveAuctionIterator) 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 AjnaPoolLoanStamped

type AjnaPoolLoanStamped struct {
	Borrower common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

AjnaPoolLoanStamped represents a LoanStamped event raised by the AjnaPool contract.

type AjnaPoolLoanStampedIterator

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

AjnaPoolLoanStampedIterator is returned from FilterLoanStamped and is used to iterate over the raw logs and unpacked data for LoanStamped events raised by the AjnaPool contract.

func (*AjnaPoolLoanStampedIterator) Close

func (it *AjnaPoolLoanStampedIterator) Close() error

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

func (*AjnaPoolLoanStampedIterator) Error

func (it *AjnaPoolLoanStampedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolLoanStampedIterator) Next

func (it *AjnaPoolLoanStampedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolMoveQuoteToken

type AjnaPoolMoveQuoteToken struct {
	Lender         common.Address
	From           *big.Int
	To             *big.Int
	Amount         *big.Int
	LpRedeemedFrom *big.Int
	LpAwardedTo    *big.Int
	Lup            *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

AjnaPoolMoveQuoteToken represents a MoveQuoteToken event raised by the AjnaPool contract.

type AjnaPoolMoveQuoteTokenIterator

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

AjnaPoolMoveQuoteTokenIterator is returned from FilterMoveQuoteToken and is used to iterate over the raw logs and unpacked data for MoveQuoteToken events raised by the AjnaPool contract.

func (*AjnaPoolMoveQuoteTokenIterator) Close

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

func (*AjnaPoolMoveQuoteTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolMoveQuoteTokenIterator) 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 AjnaPoolRaw

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

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

func (*AjnaPoolRaw) Call

func (_AjnaPool *AjnaPoolRaw) 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 (*AjnaPoolRaw) Transact

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

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

func (*AjnaPoolRaw) Transfer

func (_AjnaPool *AjnaPoolRaw) 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 AjnaPoolRemoveCollateral

type AjnaPoolRemoveCollateral struct {
	Claimer    common.Address
	Index      *big.Int
	Amount     *big.Int
	LpRedeemed *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AjnaPoolRemoveCollateral represents a RemoveCollateral event raised by the AjnaPool contract.

type AjnaPoolRemoveCollateralIterator

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

AjnaPoolRemoveCollateralIterator is returned from FilterRemoveCollateral and is used to iterate over the raw logs and unpacked data for RemoveCollateral events raised by the AjnaPool contract.

func (*AjnaPoolRemoveCollateralIterator) Close

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

func (*AjnaPoolRemoveCollateralIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolRemoveCollateralIterator) 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 AjnaPoolRemoveQuoteToken

type AjnaPoolRemoveQuoteToken struct {
	Lender     common.Address
	Index      *big.Int
	Amount     *big.Int
	LpRedeemed *big.Int
	Lup        *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AjnaPoolRemoveQuoteToken represents a RemoveQuoteToken event raised by the AjnaPool contract.

type AjnaPoolRemoveQuoteTokenIterator

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

AjnaPoolRemoveQuoteTokenIterator is returned from FilterRemoveQuoteToken and is used to iterate over the raw logs and unpacked data for RemoveQuoteToken events raised by the AjnaPool contract.

func (*AjnaPoolRemoveQuoteTokenIterator) Close

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

func (*AjnaPoolRemoveQuoteTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolRemoveQuoteTokenIterator) 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 AjnaPoolRepayDebt

type AjnaPoolRepayDebt struct {
	Borrower         common.Address
	QuoteRepaid      *big.Int
	CollateralPulled *big.Int
	Lup              *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

AjnaPoolRepayDebt represents a RepayDebt event raised by the AjnaPool contract.

type AjnaPoolRepayDebtIterator

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

AjnaPoolRepayDebtIterator is returned from FilterRepayDebt and is used to iterate over the raw logs and unpacked data for RepayDebt events raised by the AjnaPool contract.

func (*AjnaPoolRepayDebtIterator) Close

func (it *AjnaPoolRepayDebtIterator) Close() error

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

func (*AjnaPoolRepayDebtIterator) Error

func (it *AjnaPoolRepayDebtIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolRepayDebtIterator) Next

func (it *AjnaPoolRepayDebtIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolReserveAuction

type AjnaPoolReserveAuction struct {
	ClaimableReservesRemaining *big.Int
	AuctionPrice               *big.Int
	CurrentBurnEpoch           *big.Int
	Raw                        types.Log // Blockchain specific contextual infos
}

AjnaPoolReserveAuction represents a ReserveAuction event raised by the AjnaPool contract.

type AjnaPoolReserveAuctionIterator

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

AjnaPoolReserveAuctionIterator is returned from FilterReserveAuction and is used to iterate over the raw logs and unpacked data for ReserveAuction events raised by the AjnaPool contract.

func (*AjnaPoolReserveAuctionIterator) Close

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

func (*AjnaPoolReserveAuctionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolReserveAuctionIterator) 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 AjnaPoolResetInterestRate

type AjnaPoolResetInterestRate struct {
	OldRate *big.Int
	NewRate *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

AjnaPoolResetInterestRate represents a ResetInterestRate event raised by the AjnaPool contract.

type AjnaPoolResetInterestRateIterator

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

AjnaPoolResetInterestRateIterator is returned from FilterResetInterestRate and is used to iterate over the raw logs and unpacked data for ResetInterestRate events raised by the AjnaPool contract.

func (*AjnaPoolResetInterestRateIterator) Close

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

func (*AjnaPoolResetInterestRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolResetInterestRateIterator) 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 AjnaPoolRevokeLPAllowance

type AjnaPoolRevokeLPAllowance struct {
	Owner   common.Address
	Spender common.Address
	Indexes []*big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

AjnaPoolRevokeLPAllowance represents a RevokeLPAllowance event raised by the AjnaPool contract.

type AjnaPoolRevokeLPAllowanceIterator

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

AjnaPoolRevokeLPAllowanceIterator is returned from FilterRevokeLPAllowance and is used to iterate over the raw logs and unpacked data for RevokeLPAllowance events raised by the AjnaPool contract.

func (*AjnaPoolRevokeLPAllowanceIterator) Close

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

func (*AjnaPoolRevokeLPAllowanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolRevokeLPAllowanceIterator) 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 AjnaPoolRevokeLPTransferors

type AjnaPoolRevokeLPTransferors struct {
	Lender      common.Address
	Transferors []common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

AjnaPoolRevokeLPTransferors represents a RevokeLPTransferors event raised by the AjnaPool contract.

type AjnaPoolRevokeLPTransferorsIterator

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

AjnaPoolRevokeLPTransferorsIterator is returned from FilterRevokeLPTransferors and is used to iterate over the raw logs and unpacked data for RevokeLPTransferors events raised by the AjnaPool contract.

func (*AjnaPoolRevokeLPTransferorsIterator) Close

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

func (*AjnaPoolRevokeLPTransferorsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolRevokeLPTransferorsIterator) 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 AjnaPoolSession

type AjnaPoolSession struct {
	Contract     *AjnaPool         // 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
}

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

func (*AjnaPoolSession) AddCollateral

func (_AjnaPool *AjnaPoolSession) AddCollateral(amountToAdd_ *big.Int, index_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

AddCollateral is a paid mutator transaction binding the contract method 0xc861c6e6.

Solidity: function addCollateral(uint256 amountToAdd_, uint256 index_, uint256 expiry_) returns(uint256 bucketLP_)

func (*AjnaPoolSession) AddQuoteToken

func (_AjnaPool *AjnaPoolSession) AddQuoteToken(amount_ *big.Int, index_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

AddQuoteToken is a paid mutator transaction binding the contract method 0xf78b0cce.

Solidity: function addQuoteToken(uint256 amount_, uint256 index_, uint256 expiry_) returns(uint256 bucketLP_, uint256 addedAmount_)

func (*AjnaPoolSession) ApproveLPTransferors

func (_AjnaPool *AjnaPoolSession) ApproveLPTransferors(transferors_ []common.Address) (*types.Transaction, error)

ApproveLPTransferors is a paid mutator transaction binding the contract method 0x7f8baa37.

Solidity: function approveLPTransferors(address[] transferors_) returns()

func (*AjnaPoolSession) ApprovedTransferors

func (_AjnaPool *AjnaPoolSession) ApprovedTransferors(arg0 common.Address, arg1 common.Address) (bool, error)

ApprovedTransferors is a free data retrieval call binding the contract method 0xd9606e08.

Solidity: function approvedTransferors(address , address ) view returns(bool)

func (*AjnaPoolSession) AuctionInfo

func (_AjnaPool *AjnaPoolSession) AuctionInfo(borrower_ common.Address) (struct {
	Kicker           common.Address
	BondFactor       *big.Int
	BondSize         *big.Int
	KickTime         *big.Int
	ReferencePrice   *big.Int
	NeutralPrice     *big.Int
	DebtToCollateral *big.Int
	Head             common.Address
	Next             common.Address
	Prev             common.Address
}, error)

AuctionInfo is a free data retrieval call binding the contract method 0x0448e51a.

Solidity: function auctionInfo(address borrower_) view returns(address kicker_, uint256 bondFactor_, uint256 bondSize_, uint256 kickTime_, uint256 referencePrice_, uint256 neutralPrice_, uint256 debtToCollateral_, address head_, address next_, address prev_)

func (*AjnaPoolSession) BorrowerInfo

func (_AjnaPool *AjnaPoolSession) BorrowerInfo(borrower_ common.Address) (*big.Int, *big.Int, *big.Int, error)

BorrowerInfo is a free data retrieval call binding the contract method 0xca103d15.

Solidity: function borrowerInfo(address borrower_) view returns(uint256, uint256, uint256)

func (*AjnaPoolSession) BucketCollateralDust

func (_AjnaPool *AjnaPoolSession) BucketCollateralDust(bucketIndex_ *big.Int) (*big.Int, error)

BucketCollateralDust is a free data retrieval call binding the contract method 0x540c1433.

Solidity: function bucketCollateralDust(uint256 bucketIndex_) pure returns(uint256)

func (*AjnaPoolSession) BucketExchangeRate

func (_AjnaPool *AjnaPoolSession) BucketExchangeRate(index_ *big.Int) (*big.Int, error)

BucketExchangeRate is a free data retrieval call binding the contract method 0x16f8a463.

Solidity: function bucketExchangeRate(uint256 index_) view returns(uint256 exchangeRate_)

func (*AjnaPoolSession) BucketInfo

func (_AjnaPool *AjnaPoolSession) BucketInfo(index_ *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, error)

BucketInfo is a free data retrieval call binding the contract method 0xa83de3ec.

Solidity: function bucketInfo(uint256 index_) view returns(uint256, uint256, uint256, uint256, uint256)

func (*AjnaPoolSession) BucketTake

func (_AjnaPool *AjnaPoolSession) BucketTake(borrowerAddress_ common.Address, depositTake_ bool, index_ *big.Int) (*types.Transaction, error)

BucketTake is a paid mutator transaction binding the contract method 0x0729f62c.

Solidity: function bucketTake(address borrowerAddress_, bool depositTake_, uint256 index_) returns()

func (*AjnaPoolSession) BurnInfo

func (_AjnaPool *AjnaPoolSession) BurnInfo(burnEventEpoch_ *big.Int) (*big.Int, *big.Int, *big.Int, error)

BurnInfo is a free data retrieval call binding the contract method 0x2c7b2e06.

Solidity: function burnInfo(uint256 burnEventEpoch_) view returns(uint256, uint256, uint256)

func (*AjnaPoolSession) CollateralAddress

func (_AjnaPool *AjnaPoolSession) CollateralAddress() (common.Address, error)

CollateralAddress is a free data retrieval call binding the contract method 0x48d399e7.

Solidity: function collateralAddress() pure returns(address)

func (*AjnaPoolSession) CollateralScale

func (_AjnaPool *AjnaPoolSession) CollateralScale() (*big.Int, error)

CollateralScale is a free data retrieval call binding the contract method 0xec0bdcfc.

Solidity: function collateralScale() pure returns(uint256)

func (*AjnaPoolSession) CurrentBurnEpoch

func (_AjnaPool *AjnaPoolSession) CurrentBurnEpoch() (*big.Int, error)

CurrentBurnEpoch is a free data retrieval call binding the contract method 0x4ab1fc36.

Solidity: function currentBurnEpoch() view returns(uint256)

func (*AjnaPoolSession) DebtInfo

func (_AjnaPool *AjnaPoolSession) DebtInfo() (*big.Int, *big.Int, *big.Int, *big.Int, error)

DebtInfo is a free data retrieval call binding the contract method 0x4d966198.

Solidity: function debtInfo() view returns(uint256, uint256, uint256, uint256)

func (*AjnaPoolSession) DecreaseLPAllowance

func (_AjnaPool *AjnaPoolSession) DecreaseLPAllowance(spender_ common.Address, indexes_ []*big.Int, amounts_ []*big.Int) (*types.Transaction, error)

DecreaseLPAllowance is a paid mutator transaction binding the contract method 0x987165ed.

Solidity: function decreaseLPAllowance(address spender_, uint256[] indexes_, uint256[] amounts_) returns()

func (*AjnaPoolSession) DepositIndex

func (_AjnaPool *AjnaPoolSession) DepositIndex(debt_ *big.Int) (*big.Int, error)

DepositIndex is a free data retrieval call binding the contract method 0x329d1a8b.

Solidity: function depositIndex(uint256 debt_) view returns(uint256)

func (*AjnaPoolSession) DepositScale

func (_AjnaPool *AjnaPoolSession) DepositScale(index_ *big.Int) (*big.Int, error)

DepositScale is a free data retrieval call binding the contract method 0x3ab96ec5.

Solidity: function depositScale(uint256 index_) view returns(uint256)

func (*AjnaPoolSession) DepositSize

func (_AjnaPool *AjnaPoolSession) DepositSize() (*big.Int, error)

DepositSize is a free data retrieval call binding the contract method 0x3fa8fdbb.

Solidity: function depositSize() view returns(uint256)

func (*AjnaPoolSession) DepositUpToIndex

func (_AjnaPool *AjnaPoolSession) DepositUpToIndex(index_ *big.Int) (*big.Int, error)

DepositUpToIndex is a free data retrieval call binding the contract method 0xda7951a9.

Solidity: function depositUpToIndex(uint256 index_) view returns(uint256)

func (*AjnaPoolSession) DepositUtilization

func (_AjnaPool *AjnaPoolSession) DepositUtilization() (*big.Int, error)

DepositUtilization is a free data retrieval call binding the contract method 0x3a0c8f07.

Solidity: function depositUtilization() view returns(uint256)

func (*AjnaPoolSession) DrawDebt

func (_AjnaPool *AjnaPoolSession) DrawDebt(borrowerAddress_ common.Address, amountToBorrow_ *big.Int, limitIndex_ *big.Int, collateralToPledge_ *big.Int) (*types.Transaction, error)

DrawDebt is a paid mutator transaction binding the contract method 0xcfa8ff03.

Solidity: function drawDebt(address borrowerAddress_, uint256 amountToBorrow_, uint256 limitIndex_, uint256 collateralToPledge_) returns()

func (*AjnaPoolSession) EmasInfo

func (_AjnaPool *AjnaPoolSession) EmasInfo() (*big.Int, *big.Int, *big.Int, *big.Int, error)

EmasInfo is a free data retrieval call binding the contract method 0xe512c061.

Solidity: function emasInfo() view returns(uint256, uint256, uint256, uint256)

func (*AjnaPoolSession) FlashFee

func (_AjnaPool *AjnaPoolSession) FlashFee(token_ common.Address, arg1 *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xd9d98ce4.

Solidity: function flashFee(address token_, uint256 ) view returns(uint256)

func (*AjnaPoolSession) FlashLoan

func (_AjnaPool *AjnaPoolSession) FlashLoan(receiver_ common.Address, token_ common.Address, amount_ *big.Int, data_ []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver_, address token_, uint256 amount_, bytes data_) returns(bool)

func (*AjnaPoolSession) IncreaseLPAllowance

func (_AjnaPool *AjnaPoolSession) IncreaseLPAllowance(spender_ common.Address, indexes_ []*big.Int, amounts_ []*big.Int) (*types.Transaction, error)

IncreaseLPAllowance is a paid mutator transaction binding the contract method 0xa918058d.

Solidity: function increaseLPAllowance(address spender_, uint256[] indexes_, uint256[] amounts_) returns()

func (*AjnaPoolSession) InflatorInfo

func (_AjnaPool *AjnaPoolSession) InflatorInfo() (*big.Int, *big.Int, error)

InflatorInfo is a free data retrieval call binding the contract method 0x063d829f.

Solidity: function inflatorInfo() view returns(uint256, uint256)

func (*AjnaPoolSession) Initialize

func (_AjnaPool *AjnaPoolSession) Initialize(rate_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xfe4b84df.

Solidity: function initialize(uint256 rate_) returns()

func (*AjnaPoolSession) InterestRateInfo

func (_AjnaPool *AjnaPoolSession) InterestRateInfo() (*big.Int, *big.Int, error)

InterestRateInfo is a free data retrieval call binding the contract method 0x00cdcefb.

Solidity: function interestRateInfo() view returns(uint256, uint256)

func (*AjnaPoolSession) Kick

func (_AjnaPool *AjnaPoolSession) Kick(borrower_ common.Address, npLimitIndex_ *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x0203d8fb.

Solidity: function kick(address borrower_, uint256 npLimitIndex_) returns()

func (*AjnaPoolSession) KickReserveAuction

func (_AjnaPool *AjnaPoolSession) KickReserveAuction() (*types.Transaction, error)

KickReserveAuction is a paid mutator transaction binding the contract method 0x5a422b92.

Solidity: function kickReserveAuction() returns()

func (*AjnaPoolSession) KickerInfo

func (_AjnaPool *AjnaPoolSession) KickerInfo(kicker_ common.Address) (*big.Int, *big.Int, error)

KickerInfo is a free data retrieval call binding the contract method 0x7323f853.

Solidity: function kickerInfo(address kicker_) view returns(uint256, uint256)

func (*AjnaPoolSession) LenderInfo

func (_AjnaPool *AjnaPoolSession) LenderInfo(index_ *big.Int, lender_ common.Address) (struct {
	LpBalance   *big.Int
	DepositTime *big.Int
}, error)

LenderInfo is a free data retrieval call binding the contract method 0xa749f1a6.

Solidity: function lenderInfo(uint256 index_, address lender_) view returns(uint256 lpBalance_, uint256 depositTime_)

func (*AjnaPoolSession) LenderKick

func (_AjnaPool *AjnaPoolSession) LenderKick(index_ *big.Int, npLimitIndex_ *big.Int) (*types.Transaction, error)

LenderKick is a paid mutator transaction binding the contract method 0xeca48706.

Solidity: function lenderKick(uint256 index_, uint256 npLimitIndex_) returns()

func (*AjnaPoolSession) LoanInfo

func (_AjnaPool *AjnaPoolSession) LoanInfo(loanId_ *big.Int) (common.Address, *big.Int, error)

LoanInfo is a free data retrieval call binding the contract method 0x8349d6be.

Solidity: function loanInfo(uint256 loanId_) view returns(address, uint256)

func (*AjnaPoolSession) LoansInfo

func (_AjnaPool *AjnaPoolSession) LoansInfo() (common.Address, *big.Int, *big.Int, error)

LoansInfo is a free data retrieval call binding the contract method 0x3884cd88.

Solidity: function loansInfo() view returns(address, uint256, uint256)

func (*AjnaPoolSession) LpAllowance

func (_AjnaPool *AjnaPoolSession) LpAllowance(index_ *big.Int, spender_ common.Address, owner_ common.Address) (*big.Int, error)

LpAllowance is a free data retrieval call binding the contract method 0x483cd187.

Solidity: function lpAllowance(uint256 index_, address spender_, address owner_) view returns(uint256 allowance_)

func (*AjnaPoolSession) MaxFlashLoan

func (_AjnaPool *AjnaPoolSession) MaxFlashLoan(token_ common.Address) (*big.Int, error)

MaxFlashLoan is a free data retrieval call binding the contract method 0x613255ab.

Solidity: function maxFlashLoan(address token_) view returns(uint256 maxLoan_)

func (*AjnaPoolSession) MoveQuoteToken

func (_AjnaPool *AjnaPoolSession) MoveQuoteToken(maxAmount_ *big.Int, fromIndex_ *big.Int, toIndex_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

MoveQuoteToken is a paid mutator transaction binding the contract method 0x332c0e43.

Solidity: function moveQuoteToken(uint256 maxAmount_, uint256 fromIndex_, uint256 toIndex_, uint256 expiry_) returns(uint256 fromBucketLP_, uint256 toBucketLP_, uint256 movedAmount_)

func (*AjnaPoolSession) Multicall

func (_AjnaPool *AjnaPoolSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*AjnaPoolSession) PledgedCollateral

func (_AjnaPool *AjnaPoolSession) PledgedCollateral() (*big.Int, error)

PledgedCollateral is a free data retrieval call binding the contract method 0x307ee3b5.

Solidity: function pledgedCollateral() view returns(uint256)

func (*AjnaPoolSession) PoolType

func (_AjnaPool *AjnaPoolSession) PoolType() (uint8, error)

PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.

Solidity: function poolType() pure returns(uint8)

func (*AjnaPoolSession) QuoteTokenAddress

func (_AjnaPool *AjnaPoolSession) QuoteTokenAddress() (common.Address, error)

QuoteTokenAddress is a free data retrieval call binding the contract method 0xbad34620.

Solidity: function quoteTokenAddress() pure returns(address)

func (*AjnaPoolSession) QuoteTokenScale

func (_AjnaPool *AjnaPoolSession) QuoteTokenScale() (*big.Int, error)

QuoteTokenScale is a free data retrieval call binding the contract method 0x7b3f8655.

Solidity: function quoteTokenScale() pure returns(uint256)

func (*AjnaPoolSession) RemoveCollateral

func (_AjnaPool *AjnaPoolSession) RemoveCollateral(maxAmount_ *big.Int, index_ *big.Int) (*types.Transaction, error)

RemoveCollateral is a paid mutator transaction binding the contract method 0x6a9b1891.

Solidity: function removeCollateral(uint256 maxAmount_, uint256 index_) returns(uint256 removedAmount_, uint256 redeemedLP_)

func (*AjnaPoolSession) RemoveQuoteToken

func (_AjnaPool *AjnaPoolSession) RemoveQuoteToken(maxAmount_ *big.Int, index_ *big.Int) (*types.Transaction, error)

RemoveQuoteToken is a paid mutator transaction binding the contract method 0xb1f07247.

Solidity: function removeQuoteToken(uint256 maxAmount_, uint256 index_) returns(uint256 removedAmount_, uint256 redeemedLP_)

func (*AjnaPoolSession) RepayDebt

func (_AjnaPool *AjnaPoolSession) RepayDebt(borrowerAddress_ common.Address, maxQuoteTokenAmountToRepay_ *big.Int, collateralAmountToPull_ *big.Int, collateralReceiver_ common.Address, limitIndex_ *big.Int) (*types.Transaction, error)

RepayDebt is a paid mutator transaction binding the contract method 0xa9ff9f77.

Solidity: function repayDebt(address borrowerAddress_, uint256 maxQuoteTokenAmountToRepay_, uint256 collateralAmountToPull_, address collateralReceiver_, uint256 limitIndex_) returns(uint256 amountRepaid_)

func (*AjnaPoolSession) ReservesInfo

func (_AjnaPool *AjnaPoolSession) ReservesInfo() (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, error)

ReservesInfo is a free data retrieval call binding the contract method 0x5a3b4477.

Solidity: function reservesInfo() view returns(uint256, uint256, uint256, uint256, uint256)

func (*AjnaPoolSession) RevokeLPAllowance

func (_AjnaPool *AjnaPoolSession) RevokeLPAllowance(spender_ common.Address, indexes_ []*big.Int) (*types.Transaction, error)

RevokeLPAllowance is a paid mutator transaction binding the contract method 0x06e47f26.

Solidity: function revokeLPAllowance(address spender_, uint256[] indexes_) returns()

func (*AjnaPoolSession) RevokeLPTransferors

func (_AjnaPool *AjnaPoolSession) RevokeLPTransferors(transferors_ []common.Address) (*types.Transaction, error)

RevokeLPTransferors is a paid mutator transaction binding the contract method 0xd39d813f.

Solidity: function revokeLPTransferors(address[] transferors_) returns()

func (*AjnaPoolSession) Settle

func (_AjnaPool *AjnaPoolSession) Settle(borrowerAddress_ common.Address, maxDepth_ *big.Int) (*types.Transaction, error)

Settle is a paid mutator transaction binding the contract method 0x15afd409.

Solidity: function settle(address borrowerAddress_, uint256 maxDepth_) returns(uint256 collateralSettled_, bool isBorrowerSettled_)

func (*AjnaPoolSession) StampLoan

func (_AjnaPool *AjnaPoolSession) StampLoan() (*types.Transaction, error)

StampLoan is a paid mutator transaction binding the contract method 0xce4396d7.

Solidity: function stampLoan() returns()

func (*AjnaPoolSession) Take

func (_AjnaPool *AjnaPoolSession) Take(borrowerAddress_ common.Address, maxAmount_ *big.Int, callee_ common.Address, data_ []byte) (*types.Transaction, error)

Take is a paid mutator transaction binding the contract method 0x66ae5880.

Solidity: function take(address borrowerAddress_, uint256 maxAmount_, address callee_, bytes data_) returns(uint256 collateralTaken_)

func (*AjnaPoolSession) TakeReserves

func (_AjnaPool *AjnaPoolSession) TakeReserves(maxAmount_ *big.Int) (*types.Transaction, error)

TakeReserves is a paid mutator transaction binding the contract method 0x42302a9a.

Solidity: function takeReserves(uint256 maxAmount_) returns(uint256 amount_)

func (*AjnaPoolSession) TotalAuctionsInPool

func (_AjnaPool *AjnaPoolSession) TotalAuctionsInPool() (*big.Int, error)

TotalAuctionsInPool is a free data retrieval call binding the contract method 0xbcb630d7.

Solidity: function totalAuctionsInPool() view returns(uint256)

func (*AjnaPoolSession) TotalT0Debt

func (_AjnaPool *AjnaPoolSession) TotalT0Debt() (*big.Int, error)

TotalT0Debt is a free data retrieval call binding the contract method 0x5d3637e7.

Solidity: function totalT0Debt() view returns(uint256)

func (*AjnaPoolSession) TotalT0DebtInAuction

func (_AjnaPool *AjnaPoolSession) TotalT0DebtInAuction() (*big.Int, error)

TotalT0DebtInAuction is a free data retrieval call binding the contract method 0x870c764a.

Solidity: function totalT0DebtInAuction() view returns(uint256)

func (*AjnaPoolSession) TransferLP

func (_AjnaPool *AjnaPoolSession) TransferLP(owner_ common.Address, newOwner_ common.Address, indexes_ []*big.Int) (*types.Transaction, error)

TransferLP is a paid mutator transaction binding the contract method 0x4efe8af7.

Solidity: function transferLP(address owner_, address newOwner_, uint256[] indexes_) returns()

func (*AjnaPoolSession) UpdateInterest

func (_AjnaPool *AjnaPoolSession) UpdateInterest() (*types.Transaction, error)

UpdateInterest is a paid mutator transaction binding the contract method 0xd1482791.

Solidity: function updateInterest() returns()

func (*AjnaPoolSession) WithdrawBonds

func (_AjnaPool *AjnaPoolSession) WithdrawBonds(recipient_ common.Address, maxAmount_ *big.Int) (*types.Transaction, error)

WithdrawBonds is a paid mutator transaction binding the contract method 0xd53e2b1b.

Solidity: function withdrawBonds(address recipient_, uint256 maxAmount_) returns(uint256 withdrawnAmount_)

type AjnaPoolSettle

type AjnaPoolSettle struct {
	Borrower    common.Address
	SettledDebt *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

AjnaPoolSettle represents a Settle event raised by the AjnaPool contract.

type AjnaPoolSettleIterator

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

AjnaPoolSettleIterator is returned from FilterSettle and is used to iterate over the raw logs and unpacked data for Settle events raised by the AjnaPool contract.

func (*AjnaPoolSettleIterator) Close

func (it *AjnaPoolSettleIterator) Close() error

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

func (*AjnaPoolSettleIterator) Error

func (it *AjnaPoolSettleIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolSettleIterator) Next

func (it *AjnaPoolSettleIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolTake

type AjnaPoolTake struct {
	Borrower   common.Address
	Amount     *big.Int
	Collateral *big.Int
	BondChange *big.Int
	IsReward   bool
	Raw        types.Log // Blockchain specific contextual infos
}

AjnaPoolTake represents a Take event raised by the AjnaPool contract.

type AjnaPoolTakeIterator

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

AjnaPoolTakeIterator is returned from FilterTake and is used to iterate over the raw logs and unpacked data for Take events raised by the AjnaPool contract.

func (*AjnaPoolTakeIterator) Close

func (it *AjnaPoolTakeIterator) Close() error

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

func (*AjnaPoolTakeIterator) Error

func (it *AjnaPoolTakeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolTakeIterator) Next

func (it *AjnaPoolTakeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolTransactor

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

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

func NewAjnaPoolTransactor

func NewAjnaPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*AjnaPoolTransactor, error)

NewAjnaPoolTransactor creates a new write-only instance of AjnaPool, bound to a specific deployed contract.

func (*AjnaPoolTransactor) AddCollateral

func (_AjnaPool *AjnaPoolTransactor) AddCollateral(opts *bind.TransactOpts, amountToAdd_ *big.Int, index_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

AddCollateral is a paid mutator transaction binding the contract method 0xc861c6e6.

Solidity: function addCollateral(uint256 amountToAdd_, uint256 index_, uint256 expiry_) returns(uint256 bucketLP_)

func (*AjnaPoolTransactor) AddQuoteToken

func (_AjnaPool *AjnaPoolTransactor) AddQuoteToken(opts *bind.TransactOpts, amount_ *big.Int, index_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

AddQuoteToken is a paid mutator transaction binding the contract method 0xf78b0cce.

Solidity: function addQuoteToken(uint256 amount_, uint256 index_, uint256 expiry_) returns(uint256 bucketLP_, uint256 addedAmount_)

func (*AjnaPoolTransactor) ApproveLPTransferors

func (_AjnaPool *AjnaPoolTransactor) ApproveLPTransferors(opts *bind.TransactOpts, transferors_ []common.Address) (*types.Transaction, error)

ApproveLPTransferors is a paid mutator transaction binding the contract method 0x7f8baa37.

Solidity: function approveLPTransferors(address[] transferors_) returns()

func (*AjnaPoolTransactor) BucketTake

func (_AjnaPool *AjnaPoolTransactor) BucketTake(opts *bind.TransactOpts, borrowerAddress_ common.Address, depositTake_ bool, index_ *big.Int) (*types.Transaction, error)

BucketTake is a paid mutator transaction binding the contract method 0x0729f62c.

Solidity: function bucketTake(address borrowerAddress_, bool depositTake_, uint256 index_) returns()

func (*AjnaPoolTransactor) DecreaseLPAllowance

func (_AjnaPool *AjnaPoolTransactor) DecreaseLPAllowance(opts *bind.TransactOpts, spender_ common.Address, indexes_ []*big.Int, amounts_ []*big.Int) (*types.Transaction, error)

DecreaseLPAllowance is a paid mutator transaction binding the contract method 0x987165ed.

Solidity: function decreaseLPAllowance(address spender_, uint256[] indexes_, uint256[] amounts_) returns()

func (*AjnaPoolTransactor) DrawDebt

func (_AjnaPool *AjnaPoolTransactor) DrawDebt(opts *bind.TransactOpts, borrowerAddress_ common.Address, amountToBorrow_ *big.Int, limitIndex_ *big.Int, collateralToPledge_ *big.Int) (*types.Transaction, error)

DrawDebt is a paid mutator transaction binding the contract method 0xcfa8ff03.

Solidity: function drawDebt(address borrowerAddress_, uint256 amountToBorrow_, uint256 limitIndex_, uint256 collateralToPledge_) returns()

func (*AjnaPoolTransactor) FlashLoan

func (_AjnaPool *AjnaPoolTransactor) FlashLoan(opts *bind.TransactOpts, receiver_ common.Address, token_ common.Address, amount_ *big.Int, data_ []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver_, address token_, uint256 amount_, bytes data_) returns(bool)

func (*AjnaPoolTransactor) IncreaseLPAllowance

func (_AjnaPool *AjnaPoolTransactor) IncreaseLPAllowance(opts *bind.TransactOpts, spender_ common.Address, indexes_ []*big.Int, amounts_ []*big.Int) (*types.Transaction, error)

IncreaseLPAllowance is a paid mutator transaction binding the contract method 0xa918058d.

Solidity: function increaseLPAllowance(address spender_, uint256[] indexes_, uint256[] amounts_) returns()

func (*AjnaPoolTransactor) Initialize

func (_AjnaPool *AjnaPoolTransactor) Initialize(opts *bind.TransactOpts, rate_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xfe4b84df.

Solidity: function initialize(uint256 rate_) returns()

func (*AjnaPoolTransactor) Kick

func (_AjnaPool *AjnaPoolTransactor) Kick(opts *bind.TransactOpts, borrower_ common.Address, npLimitIndex_ *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x0203d8fb.

Solidity: function kick(address borrower_, uint256 npLimitIndex_) returns()

func (*AjnaPoolTransactor) KickReserveAuction

func (_AjnaPool *AjnaPoolTransactor) KickReserveAuction(opts *bind.TransactOpts) (*types.Transaction, error)

KickReserveAuction is a paid mutator transaction binding the contract method 0x5a422b92.

Solidity: function kickReserveAuction() returns()

func (*AjnaPoolTransactor) LenderKick

func (_AjnaPool *AjnaPoolTransactor) LenderKick(opts *bind.TransactOpts, index_ *big.Int, npLimitIndex_ *big.Int) (*types.Transaction, error)

LenderKick is a paid mutator transaction binding the contract method 0xeca48706.

Solidity: function lenderKick(uint256 index_, uint256 npLimitIndex_) returns()

func (*AjnaPoolTransactor) MoveQuoteToken

func (_AjnaPool *AjnaPoolTransactor) MoveQuoteToken(opts *bind.TransactOpts, maxAmount_ *big.Int, fromIndex_ *big.Int, toIndex_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

MoveQuoteToken is a paid mutator transaction binding the contract method 0x332c0e43.

Solidity: function moveQuoteToken(uint256 maxAmount_, uint256 fromIndex_, uint256 toIndex_, uint256 expiry_) returns(uint256 fromBucketLP_, uint256 toBucketLP_, uint256 movedAmount_)

func (*AjnaPoolTransactor) Multicall

func (_AjnaPool *AjnaPoolTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*AjnaPoolTransactor) RemoveCollateral

func (_AjnaPool *AjnaPoolTransactor) RemoveCollateral(opts *bind.TransactOpts, maxAmount_ *big.Int, index_ *big.Int) (*types.Transaction, error)

RemoveCollateral is a paid mutator transaction binding the contract method 0x6a9b1891.

Solidity: function removeCollateral(uint256 maxAmount_, uint256 index_) returns(uint256 removedAmount_, uint256 redeemedLP_)

func (*AjnaPoolTransactor) RemoveQuoteToken

func (_AjnaPool *AjnaPoolTransactor) RemoveQuoteToken(opts *bind.TransactOpts, maxAmount_ *big.Int, index_ *big.Int) (*types.Transaction, error)

RemoveQuoteToken is a paid mutator transaction binding the contract method 0xb1f07247.

Solidity: function removeQuoteToken(uint256 maxAmount_, uint256 index_) returns(uint256 removedAmount_, uint256 redeemedLP_)

func (*AjnaPoolTransactor) RepayDebt

func (_AjnaPool *AjnaPoolTransactor) RepayDebt(opts *bind.TransactOpts, borrowerAddress_ common.Address, maxQuoteTokenAmountToRepay_ *big.Int, collateralAmountToPull_ *big.Int, collateralReceiver_ common.Address, limitIndex_ *big.Int) (*types.Transaction, error)

RepayDebt is a paid mutator transaction binding the contract method 0xa9ff9f77.

Solidity: function repayDebt(address borrowerAddress_, uint256 maxQuoteTokenAmountToRepay_, uint256 collateralAmountToPull_, address collateralReceiver_, uint256 limitIndex_) returns(uint256 amountRepaid_)

func (*AjnaPoolTransactor) RevokeLPAllowance

func (_AjnaPool *AjnaPoolTransactor) RevokeLPAllowance(opts *bind.TransactOpts, spender_ common.Address, indexes_ []*big.Int) (*types.Transaction, error)

RevokeLPAllowance is a paid mutator transaction binding the contract method 0x06e47f26.

Solidity: function revokeLPAllowance(address spender_, uint256[] indexes_) returns()

func (*AjnaPoolTransactor) RevokeLPTransferors

func (_AjnaPool *AjnaPoolTransactor) RevokeLPTransferors(opts *bind.TransactOpts, transferors_ []common.Address) (*types.Transaction, error)

RevokeLPTransferors is a paid mutator transaction binding the contract method 0xd39d813f.

Solidity: function revokeLPTransferors(address[] transferors_) returns()

func (*AjnaPoolTransactor) Settle

func (_AjnaPool *AjnaPoolTransactor) Settle(opts *bind.TransactOpts, borrowerAddress_ common.Address, maxDepth_ *big.Int) (*types.Transaction, error)

Settle is a paid mutator transaction binding the contract method 0x15afd409.

Solidity: function settle(address borrowerAddress_, uint256 maxDepth_) returns(uint256 collateralSettled_, bool isBorrowerSettled_)

func (*AjnaPoolTransactor) StampLoan

func (_AjnaPool *AjnaPoolTransactor) StampLoan(opts *bind.TransactOpts) (*types.Transaction, error)

StampLoan is a paid mutator transaction binding the contract method 0xce4396d7.

Solidity: function stampLoan() returns()

func (*AjnaPoolTransactor) Take

func (_AjnaPool *AjnaPoolTransactor) Take(opts *bind.TransactOpts, borrowerAddress_ common.Address, maxAmount_ *big.Int, callee_ common.Address, data_ []byte) (*types.Transaction, error)

Take is a paid mutator transaction binding the contract method 0x66ae5880.

Solidity: function take(address borrowerAddress_, uint256 maxAmount_, address callee_, bytes data_) returns(uint256 collateralTaken_)

func (*AjnaPoolTransactor) TakeReserves

func (_AjnaPool *AjnaPoolTransactor) TakeReserves(opts *bind.TransactOpts, maxAmount_ *big.Int) (*types.Transaction, error)

TakeReserves is a paid mutator transaction binding the contract method 0x42302a9a.

Solidity: function takeReserves(uint256 maxAmount_) returns(uint256 amount_)

func (*AjnaPoolTransactor) TransferLP

func (_AjnaPool *AjnaPoolTransactor) TransferLP(opts *bind.TransactOpts, owner_ common.Address, newOwner_ common.Address, indexes_ []*big.Int) (*types.Transaction, error)

TransferLP is a paid mutator transaction binding the contract method 0x4efe8af7.

Solidity: function transferLP(address owner_, address newOwner_, uint256[] indexes_) returns()

func (*AjnaPoolTransactor) UpdateInterest

func (_AjnaPool *AjnaPoolTransactor) UpdateInterest(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateInterest is a paid mutator transaction binding the contract method 0xd1482791.

Solidity: function updateInterest() returns()

func (*AjnaPoolTransactor) WithdrawBonds

func (_AjnaPool *AjnaPoolTransactor) WithdrawBonds(opts *bind.TransactOpts, recipient_ common.Address, maxAmount_ *big.Int) (*types.Transaction, error)

WithdrawBonds is a paid mutator transaction binding the contract method 0xd53e2b1b.

Solidity: function withdrawBonds(address recipient_, uint256 maxAmount_) returns(uint256 withdrawnAmount_)

type AjnaPoolTransactorRaw

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

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

func (*AjnaPoolTransactorRaw) Transact

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

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

func (*AjnaPoolTransactorRaw) Transfer

func (_AjnaPool *AjnaPoolTransactorRaw) 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 AjnaPoolTransactorSession

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

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

func (*AjnaPoolTransactorSession) AddCollateral

func (_AjnaPool *AjnaPoolTransactorSession) AddCollateral(amountToAdd_ *big.Int, index_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

AddCollateral is a paid mutator transaction binding the contract method 0xc861c6e6.

Solidity: function addCollateral(uint256 amountToAdd_, uint256 index_, uint256 expiry_) returns(uint256 bucketLP_)

func (*AjnaPoolTransactorSession) AddQuoteToken

func (_AjnaPool *AjnaPoolTransactorSession) AddQuoteToken(amount_ *big.Int, index_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

AddQuoteToken is a paid mutator transaction binding the contract method 0xf78b0cce.

Solidity: function addQuoteToken(uint256 amount_, uint256 index_, uint256 expiry_) returns(uint256 bucketLP_, uint256 addedAmount_)

func (*AjnaPoolTransactorSession) ApproveLPTransferors

func (_AjnaPool *AjnaPoolTransactorSession) ApproveLPTransferors(transferors_ []common.Address) (*types.Transaction, error)

ApproveLPTransferors is a paid mutator transaction binding the contract method 0x7f8baa37.

Solidity: function approveLPTransferors(address[] transferors_) returns()

func (*AjnaPoolTransactorSession) BucketTake

func (_AjnaPool *AjnaPoolTransactorSession) BucketTake(borrowerAddress_ common.Address, depositTake_ bool, index_ *big.Int) (*types.Transaction, error)

BucketTake is a paid mutator transaction binding the contract method 0x0729f62c.

Solidity: function bucketTake(address borrowerAddress_, bool depositTake_, uint256 index_) returns()

func (*AjnaPoolTransactorSession) DecreaseLPAllowance

func (_AjnaPool *AjnaPoolTransactorSession) DecreaseLPAllowance(spender_ common.Address, indexes_ []*big.Int, amounts_ []*big.Int) (*types.Transaction, error)

DecreaseLPAllowance is a paid mutator transaction binding the contract method 0x987165ed.

Solidity: function decreaseLPAllowance(address spender_, uint256[] indexes_, uint256[] amounts_) returns()

func (*AjnaPoolTransactorSession) DrawDebt

func (_AjnaPool *AjnaPoolTransactorSession) DrawDebt(borrowerAddress_ common.Address, amountToBorrow_ *big.Int, limitIndex_ *big.Int, collateralToPledge_ *big.Int) (*types.Transaction, error)

DrawDebt is a paid mutator transaction binding the contract method 0xcfa8ff03.

Solidity: function drawDebt(address borrowerAddress_, uint256 amountToBorrow_, uint256 limitIndex_, uint256 collateralToPledge_) returns()

func (*AjnaPoolTransactorSession) FlashLoan

func (_AjnaPool *AjnaPoolTransactorSession) FlashLoan(receiver_ common.Address, token_ common.Address, amount_ *big.Int, data_ []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver_, address token_, uint256 amount_, bytes data_) returns(bool)

func (*AjnaPoolTransactorSession) IncreaseLPAllowance

func (_AjnaPool *AjnaPoolTransactorSession) IncreaseLPAllowance(spender_ common.Address, indexes_ []*big.Int, amounts_ []*big.Int) (*types.Transaction, error)

IncreaseLPAllowance is a paid mutator transaction binding the contract method 0xa918058d.

Solidity: function increaseLPAllowance(address spender_, uint256[] indexes_, uint256[] amounts_) returns()

func (*AjnaPoolTransactorSession) Initialize

func (_AjnaPool *AjnaPoolTransactorSession) Initialize(rate_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xfe4b84df.

Solidity: function initialize(uint256 rate_) returns()

func (*AjnaPoolTransactorSession) Kick

func (_AjnaPool *AjnaPoolTransactorSession) Kick(borrower_ common.Address, npLimitIndex_ *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x0203d8fb.

Solidity: function kick(address borrower_, uint256 npLimitIndex_) returns()

func (*AjnaPoolTransactorSession) KickReserveAuction

func (_AjnaPool *AjnaPoolTransactorSession) KickReserveAuction() (*types.Transaction, error)

KickReserveAuction is a paid mutator transaction binding the contract method 0x5a422b92.

Solidity: function kickReserveAuction() returns()

func (*AjnaPoolTransactorSession) LenderKick

func (_AjnaPool *AjnaPoolTransactorSession) LenderKick(index_ *big.Int, npLimitIndex_ *big.Int) (*types.Transaction, error)

LenderKick is a paid mutator transaction binding the contract method 0xeca48706.

Solidity: function lenderKick(uint256 index_, uint256 npLimitIndex_) returns()

func (*AjnaPoolTransactorSession) MoveQuoteToken

func (_AjnaPool *AjnaPoolTransactorSession) MoveQuoteToken(maxAmount_ *big.Int, fromIndex_ *big.Int, toIndex_ *big.Int, expiry_ *big.Int) (*types.Transaction, error)

MoveQuoteToken is a paid mutator transaction binding the contract method 0x332c0e43.

Solidity: function moveQuoteToken(uint256 maxAmount_, uint256 fromIndex_, uint256 toIndex_, uint256 expiry_) returns(uint256 fromBucketLP_, uint256 toBucketLP_, uint256 movedAmount_)

func (*AjnaPoolTransactorSession) Multicall

func (_AjnaPool *AjnaPoolTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*AjnaPoolTransactorSession) RemoveCollateral

func (_AjnaPool *AjnaPoolTransactorSession) RemoveCollateral(maxAmount_ *big.Int, index_ *big.Int) (*types.Transaction, error)

RemoveCollateral is a paid mutator transaction binding the contract method 0x6a9b1891.

Solidity: function removeCollateral(uint256 maxAmount_, uint256 index_) returns(uint256 removedAmount_, uint256 redeemedLP_)

func (*AjnaPoolTransactorSession) RemoveQuoteToken

func (_AjnaPool *AjnaPoolTransactorSession) RemoveQuoteToken(maxAmount_ *big.Int, index_ *big.Int) (*types.Transaction, error)

RemoveQuoteToken is a paid mutator transaction binding the contract method 0xb1f07247.

Solidity: function removeQuoteToken(uint256 maxAmount_, uint256 index_) returns(uint256 removedAmount_, uint256 redeemedLP_)

func (*AjnaPoolTransactorSession) RepayDebt

func (_AjnaPool *AjnaPoolTransactorSession) RepayDebt(borrowerAddress_ common.Address, maxQuoteTokenAmountToRepay_ *big.Int, collateralAmountToPull_ *big.Int, collateralReceiver_ common.Address, limitIndex_ *big.Int) (*types.Transaction, error)

RepayDebt is a paid mutator transaction binding the contract method 0xa9ff9f77.

Solidity: function repayDebt(address borrowerAddress_, uint256 maxQuoteTokenAmountToRepay_, uint256 collateralAmountToPull_, address collateralReceiver_, uint256 limitIndex_) returns(uint256 amountRepaid_)

func (*AjnaPoolTransactorSession) RevokeLPAllowance

func (_AjnaPool *AjnaPoolTransactorSession) RevokeLPAllowance(spender_ common.Address, indexes_ []*big.Int) (*types.Transaction, error)

RevokeLPAllowance is a paid mutator transaction binding the contract method 0x06e47f26.

Solidity: function revokeLPAllowance(address spender_, uint256[] indexes_) returns()

func (*AjnaPoolTransactorSession) RevokeLPTransferors

func (_AjnaPool *AjnaPoolTransactorSession) RevokeLPTransferors(transferors_ []common.Address) (*types.Transaction, error)

RevokeLPTransferors is a paid mutator transaction binding the contract method 0xd39d813f.

Solidity: function revokeLPTransferors(address[] transferors_) returns()

func (*AjnaPoolTransactorSession) Settle

func (_AjnaPool *AjnaPoolTransactorSession) Settle(borrowerAddress_ common.Address, maxDepth_ *big.Int) (*types.Transaction, error)

Settle is a paid mutator transaction binding the contract method 0x15afd409.

Solidity: function settle(address borrowerAddress_, uint256 maxDepth_) returns(uint256 collateralSettled_, bool isBorrowerSettled_)

func (*AjnaPoolTransactorSession) StampLoan

func (_AjnaPool *AjnaPoolTransactorSession) StampLoan() (*types.Transaction, error)

StampLoan is a paid mutator transaction binding the contract method 0xce4396d7.

Solidity: function stampLoan() returns()

func (*AjnaPoolTransactorSession) Take

func (_AjnaPool *AjnaPoolTransactorSession) Take(borrowerAddress_ common.Address, maxAmount_ *big.Int, callee_ common.Address, data_ []byte) (*types.Transaction, error)

Take is a paid mutator transaction binding the contract method 0x66ae5880.

Solidity: function take(address borrowerAddress_, uint256 maxAmount_, address callee_, bytes data_) returns(uint256 collateralTaken_)

func (*AjnaPoolTransactorSession) TakeReserves

func (_AjnaPool *AjnaPoolTransactorSession) TakeReserves(maxAmount_ *big.Int) (*types.Transaction, error)

TakeReserves is a paid mutator transaction binding the contract method 0x42302a9a.

Solidity: function takeReserves(uint256 maxAmount_) returns(uint256 amount_)

func (*AjnaPoolTransactorSession) TransferLP

func (_AjnaPool *AjnaPoolTransactorSession) TransferLP(owner_ common.Address, newOwner_ common.Address, indexes_ []*big.Int) (*types.Transaction, error)

TransferLP is a paid mutator transaction binding the contract method 0x4efe8af7.

Solidity: function transferLP(address owner_, address newOwner_, uint256[] indexes_) returns()

func (*AjnaPoolTransactorSession) UpdateInterest

func (_AjnaPool *AjnaPoolTransactorSession) UpdateInterest() (*types.Transaction, error)

UpdateInterest is a paid mutator transaction binding the contract method 0xd1482791.

Solidity: function updateInterest() returns()

func (*AjnaPoolTransactorSession) WithdrawBonds

func (_AjnaPool *AjnaPoolTransactorSession) WithdrawBonds(recipient_ common.Address, maxAmount_ *big.Int) (*types.Transaction, error)

WithdrawBonds is a paid mutator transaction binding the contract method 0xd53e2b1b.

Solidity: function withdrawBonds(address recipient_, uint256 maxAmount_) returns(uint256 withdrawnAmount_)

type AjnaPoolTransferLP

type AjnaPoolTransferLP struct {
	Owner    common.Address
	NewOwner common.Address
	Indexes  []*big.Int
	Lp       *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

AjnaPoolTransferLP represents a TransferLP event raised by the AjnaPool contract.

type AjnaPoolTransferLPIterator

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

AjnaPoolTransferLPIterator is returned from FilterTransferLP and is used to iterate over the raw logs and unpacked data for TransferLP events raised by the AjnaPool contract.

func (*AjnaPoolTransferLPIterator) Close

func (it *AjnaPoolTransferLPIterator) Close() error

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

func (*AjnaPoolTransferLPIterator) Error

func (it *AjnaPoolTransferLPIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolTransferLPIterator) Next

func (it *AjnaPoolTransferLPIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AjnaPoolUpdateInterestRate

type AjnaPoolUpdateInterestRate struct {
	OldRate *big.Int
	NewRate *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

AjnaPoolUpdateInterestRate represents a UpdateInterestRate event raised by the AjnaPool contract.

type AjnaPoolUpdateInterestRateIterator

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

AjnaPoolUpdateInterestRateIterator is returned from FilterUpdateInterestRate and is used to iterate over the raw logs and unpacked data for UpdateInterestRate events raised by the AjnaPool contract.

func (*AjnaPoolUpdateInterestRateIterator) Close

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

func (*AjnaPoolUpdateInterestRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AjnaPoolUpdateInterestRateIterator) 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 Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

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

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

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

func NewContextCaller

func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

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

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ContextCallerSession

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

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

type ContextFilterer

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

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

func NewContextFilterer

func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

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

func (*ContextRaw) Call

func (_Context *ContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ContextRaw) Transact

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

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ContextSession

type ContextSession struct {
	Contract     *Context          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

type ContextTransactor

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

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

func NewContextTransactor

func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

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

func (*ContextTransactorRaw) Transact

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

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ContextTransactorSession

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

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

type ERC20

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

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

func DeployERC20

func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend, name_ string, symbol_ string) (common.Address, *types.Transaction, *ERC20, error)

DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval

type ERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

func (it *ERC20ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20Caller

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

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

func NewERC20Caller

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*ERC20Caller) BalanceOf

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*ERC20Caller) Decimals

func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20Caller) Name

func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC20Caller) Symbol

func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*ERC20CallerSession) Decimals

func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20CallerSession) Name

func (_ERC20 *ERC20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC20CallerSession) Symbol

func (_ERC20 *ERC20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ERC20Filterer

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

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

func NewERC20Filterer

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*ERC20Filterer) ParseApproval

func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) ParseTransfer

func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type ERC20Raw

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

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

func (*ERC20Raw) Call

func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ERC20Raw) Transact

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

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ERC20Session

type ERC20Session struct {
	Contract     *ERC20            // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*ERC20Session) Decimals

func (_ERC20 *ERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20Session) DecreaseAllowance

func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20Session) IncreaseAllowance

func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20Session) Name

func (_ERC20 *ERC20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC20Session) Symbol

func (_ERC20 *ERC20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type ERC20Transactor

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

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

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*ERC20Transactor) DecreaseAllowance

func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20Transactor) IncreaseAllowance

func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*ERC20Transactor) TransferFrom

func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ERC20TransactorSession

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

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

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*ERC20TransactorSession) DecreaseAllowance

func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20TransactorSession) IncreaseAllowance

func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type ERC20Transfer

type ERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

func (it *ERC20TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Erc20Alt

type Erc20Alt struct {
	Erc20AltCaller     // Read-only binding to the contract
	Erc20AltTransactor // Write-only binding to the contract
	Erc20AltFilterer   // Log filterer for contract events
}

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

func NewErc20Alt

func NewErc20Alt(address common.Address, backend bind.ContractBackend) (*Erc20Alt, error)

NewErc20Alt creates a new instance of Erc20Alt, bound to a specific deployed contract.

type Erc20AltApproval

type Erc20AltApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

Erc20AltApproval represents a Approval event raised by the Erc20Alt contract.

type Erc20AltApprovalIterator

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

Erc20AltApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Erc20Alt contract.

func (*Erc20AltApprovalIterator) Close

func (it *Erc20AltApprovalIterator) Close() error

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

func (*Erc20AltApprovalIterator) Error

func (it *Erc20AltApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20AltApprovalIterator) Next

func (it *Erc20AltApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Erc20AltCaller

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

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

func NewErc20AltCaller

func NewErc20AltCaller(address common.Address, caller bind.ContractCaller) (*Erc20AltCaller, error)

NewErc20AltCaller creates a new read-only instance of Erc20Alt, bound to a specific deployed contract.

func (*Erc20AltCaller) Allowance

func (_Erc20Alt *Erc20AltCaller) Allowance(opts *bind.CallOpts, src common.Address, guy common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address src, address guy) returns(uint256)

func (*Erc20AltCaller) Authority

func (_Erc20Alt *Erc20AltCaller) Authority(opts *bind.CallOpts) (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() returns(address)

func (*Erc20AltCaller) BalanceOf

func (_Erc20Alt *Erc20AltCaller) BalanceOf(opts *bind.CallOpts, src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address src) returns(uint256)

func (*Erc20AltCaller) Decimals

func (_Erc20Alt *Erc20AltCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256)

func (*Erc20AltCaller) Name

func (_Erc20Alt *Erc20AltCaller) Name(opts *bind.CallOpts) ([32]byte, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(bytes32)

func (*Erc20AltCaller) Owner

func (_Erc20Alt *Erc20AltCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() returns(address)

func (*Erc20AltCaller) Stopped

func (_Erc20Alt *Erc20AltCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() returns(bool)

func (*Erc20AltCaller) Symbol

func (_Erc20Alt *Erc20AltCaller) Symbol(opts *bind.CallOpts) ([32]byte, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(bytes32)

func (*Erc20AltCaller) TotalSupply

func (_Erc20Alt *Erc20AltCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256)

type Erc20AltCallerRaw

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

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

func (*Erc20AltCallerRaw) Call

func (_Erc20Alt *Erc20AltCallerRaw) 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 Erc20AltCallerSession

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

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

func (*Erc20AltCallerSession) Allowance

func (_Erc20Alt *Erc20AltCallerSession) Allowance(src common.Address, guy common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address src, address guy) returns(uint256)

func (*Erc20AltCallerSession) Authority

func (_Erc20Alt *Erc20AltCallerSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() returns(address)

func (*Erc20AltCallerSession) BalanceOf

func (_Erc20Alt *Erc20AltCallerSession) BalanceOf(src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address src) returns(uint256)

func (*Erc20AltCallerSession) Decimals

func (_Erc20Alt *Erc20AltCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256)

func (*Erc20AltCallerSession) Name

func (_Erc20Alt *Erc20AltCallerSession) Name() ([32]byte, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(bytes32)

func (*Erc20AltCallerSession) Owner

func (_Erc20Alt *Erc20AltCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() returns(address)

func (*Erc20AltCallerSession) Stopped

func (_Erc20Alt *Erc20AltCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() returns(bool)

func (*Erc20AltCallerSession) Symbol

func (_Erc20Alt *Erc20AltCallerSession) Symbol() ([32]byte, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(bytes32)

func (*Erc20AltCallerSession) TotalSupply

func (_Erc20Alt *Erc20AltCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256)

type Erc20AltFilterer

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

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

func NewErc20AltFilterer

func NewErc20AltFilterer(address common.Address, filterer bind.ContractFilterer) (*Erc20AltFilterer, error)

NewErc20AltFilterer creates a new log filterer instance of Erc20Alt, bound to a specific deployed contract.

func (*Erc20AltFilterer) FilterApproval

func (_Erc20Alt *Erc20AltFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Erc20AltApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Erc20AltFilterer) FilterLogSetAuthority

func (_Erc20Alt *Erc20AltFilterer) FilterLogSetAuthority(opts *bind.FilterOpts, authority []common.Address) (*Erc20AltLogSetAuthorityIterator, error)

FilterLogSetAuthority is a free log retrieval operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*Erc20AltFilterer) FilterLogSetOwner

func (_Erc20Alt *Erc20AltFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*Erc20AltLogSetOwnerIterator, error)

FilterLogSetOwner is a free log retrieval operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*Erc20AltFilterer) FilterTransfer

func (_Erc20Alt *Erc20AltFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Erc20AltTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*Erc20AltFilterer) ParseApproval

func (_Erc20Alt *Erc20AltFilterer) ParseApproval(log types.Log) (*Erc20AltApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Erc20AltFilterer) ParseLogSetAuthority

func (_Erc20Alt *Erc20AltFilterer) ParseLogSetAuthority(log types.Log) (*Erc20AltLogSetAuthority, error)

ParseLogSetAuthority is a log parse operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*Erc20AltFilterer) ParseLogSetOwner

func (_Erc20Alt *Erc20AltFilterer) ParseLogSetOwner(log types.Log) (*Erc20AltLogSetOwner, error)

ParseLogSetOwner is a log parse operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*Erc20AltFilterer) ParseTransfer

func (_Erc20Alt *Erc20AltFilterer) ParseTransfer(log types.Log) (*Erc20AltTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*Erc20AltFilterer) WatchApproval

func (_Erc20Alt *Erc20AltFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc20AltApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Erc20AltFilterer) WatchLogSetAuthority

func (_Erc20Alt *Erc20AltFilterer) WatchLogSetAuthority(opts *bind.WatchOpts, sink chan<- *Erc20AltLogSetAuthority, authority []common.Address) (event.Subscription, error)

WatchLogSetAuthority is a free log subscription operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*Erc20AltFilterer) WatchLogSetOwner

func (_Erc20Alt *Erc20AltFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *Erc20AltLogSetOwner, owner []common.Address) (event.Subscription, error)

WatchLogSetOwner is a free log subscription operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*Erc20AltFilterer) WatchTransfer

func (_Erc20Alt *Erc20AltFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc20AltTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type Erc20AltLogSetAuthority

type Erc20AltLogSetAuthority struct {
	Authority common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

Erc20AltLogSetAuthority represents a LogSetAuthority event raised by the Erc20Alt contract.

type Erc20AltLogSetAuthorityIterator

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

Erc20AltLogSetAuthorityIterator is returned from FilterLogSetAuthority and is used to iterate over the raw logs and unpacked data for LogSetAuthority events raised by the Erc20Alt contract.

func (*Erc20AltLogSetAuthorityIterator) Close

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

func (*Erc20AltLogSetAuthorityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20AltLogSetAuthorityIterator) 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 Erc20AltLogSetOwner

type Erc20AltLogSetOwner struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

Erc20AltLogSetOwner represents a LogSetOwner event raised by the Erc20Alt contract.

type Erc20AltLogSetOwnerIterator

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

Erc20AltLogSetOwnerIterator is returned from FilterLogSetOwner and is used to iterate over the raw logs and unpacked data for LogSetOwner events raised by the Erc20Alt contract.

func (*Erc20AltLogSetOwnerIterator) Close

func (it *Erc20AltLogSetOwnerIterator) Close() error

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

func (*Erc20AltLogSetOwnerIterator) Error

func (it *Erc20AltLogSetOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20AltLogSetOwnerIterator) Next

func (it *Erc20AltLogSetOwnerIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Erc20AltRaw

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

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

func (*Erc20AltRaw) Call

func (_Erc20Alt *Erc20AltRaw) 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 (*Erc20AltRaw) Transact

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

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

func (*Erc20AltRaw) Transfer

func (_Erc20Alt *Erc20AltRaw) 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 Erc20AltSession

type Erc20AltSession struct {
	Contract     *Erc20Alt         // 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
}

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

func (*Erc20AltSession) Allowance

func (_Erc20Alt *Erc20AltSession) Allowance(src common.Address, guy common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address src, address guy) returns(uint256)

func (*Erc20AltSession) Approve

func (_Erc20Alt *Erc20AltSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*Erc20AltSession) Authority

func (_Erc20Alt *Erc20AltSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() returns(address)

func (*Erc20AltSession) BalanceOf

func (_Erc20Alt *Erc20AltSession) BalanceOf(src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address src) returns(uint256)

func (*Erc20AltSession) Burn

func (_Erc20Alt *Erc20AltSession) Burn(wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x90bc1693.

Solidity: function burn(uint128 wad) returns()

func (*Erc20AltSession) Decimals

func (_Erc20Alt *Erc20AltSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256)

func (*Erc20AltSession) Mint

func (_Erc20Alt *Erc20AltSession) Mint(wad *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x69d3e20e.

Solidity: function mint(uint128 wad) returns()

func (*Erc20AltSession) Name

func (_Erc20Alt *Erc20AltSession) Name() ([32]byte, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(bytes32)

func (*Erc20AltSession) Owner

func (_Erc20Alt *Erc20AltSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() returns(address)

func (*Erc20AltSession) Pull

func (_Erc20Alt *Erc20AltSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0x8402181f.

Solidity: function pull(address src, uint128 wad) returns(bool)

func (*Erc20AltSession) Push

func (_Erc20Alt *Erc20AltSession) Push(dst common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0x3452f51d.

Solidity: function push(address dst, uint128 wad) returns(bool)

func (*Erc20AltSession) SetAuthority

func (_Erc20Alt *Erc20AltSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*Erc20AltSession) SetName

func (_Erc20Alt *Erc20AltSession) SetName(name_ [32]byte) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x5ac801fe.

Solidity: function setName(bytes32 name_) returns()

func (*Erc20AltSession) SetOwner

func (_Erc20Alt *Erc20AltSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

func (*Erc20AltSession) Start

func (_Erc20Alt *Erc20AltSession) Start() (*types.Transaction, error)

Start is a paid mutator transaction binding the contract method 0xbe9a6555.

Solidity: function start() returns()

func (*Erc20AltSession) Stop

func (_Erc20Alt *Erc20AltSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*Erc20AltSession) Stopped

func (_Erc20Alt *Erc20AltSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() returns(bool)

func (*Erc20AltSession) Symbol

func (_Erc20Alt *Erc20AltSession) Symbol() ([32]byte, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(bytes32)

func (*Erc20AltSession) TotalSupply

func (_Erc20Alt *Erc20AltSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256)

func (*Erc20AltSession) Transfer

func (_Erc20Alt *Erc20AltSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*Erc20AltSession) TransferFrom

func (_Erc20Alt *Erc20AltSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type Erc20AltTransactor

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

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

func NewErc20AltTransactor

func NewErc20AltTransactor(address common.Address, transactor bind.ContractTransactor) (*Erc20AltTransactor, error)

NewErc20AltTransactor creates a new write-only instance of Erc20Alt, bound to a specific deployed contract.

func (*Erc20AltTransactor) Approve

func (_Erc20Alt *Erc20AltTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*Erc20AltTransactor) Burn

func (_Erc20Alt *Erc20AltTransactor) Burn(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x90bc1693.

Solidity: function burn(uint128 wad) returns()

func (*Erc20AltTransactor) Mint

func (_Erc20Alt *Erc20AltTransactor) Mint(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x69d3e20e.

Solidity: function mint(uint128 wad) returns()

func (*Erc20AltTransactor) Pull

func (_Erc20Alt *Erc20AltTransactor) Pull(opts *bind.TransactOpts, src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0x8402181f.

Solidity: function pull(address src, uint128 wad) returns(bool)

func (*Erc20AltTransactor) Push

func (_Erc20Alt *Erc20AltTransactor) Push(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0x3452f51d.

Solidity: function push(address dst, uint128 wad) returns(bool)

func (*Erc20AltTransactor) SetAuthority

func (_Erc20Alt *Erc20AltTransactor) SetAuthority(opts *bind.TransactOpts, authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*Erc20AltTransactor) SetName

func (_Erc20Alt *Erc20AltTransactor) SetName(opts *bind.TransactOpts, name_ [32]byte) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x5ac801fe.

Solidity: function setName(bytes32 name_) returns()

func (*Erc20AltTransactor) SetOwner

func (_Erc20Alt *Erc20AltTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

func (*Erc20AltTransactor) Start

func (_Erc20Alt *Erc20AltTransactor) Start(opts *bind.TransactOpts) (*types.Transaction, error)

Start is a paid mutator transaction binding the contract method 0xbe9a6555.

Solidity: function start() returns()

func (*Erc20AltTransactor) Stop

func (_Erc20Alt *Erc20AltTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*Erc20AltTransactor) Transfer

func (_Erc20Alt *Erc20AltTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*Erc20AltTransactor) TransferFrom

func (_Erc20Alt *Erc20AltTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type Erc20AltTransactorRaw

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

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

func (*Erc20AltTransactorRaw) Transact

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

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

func (*Erc20AltTransactorRaw) Transfer

func (_Erc20Alt *Erc20AltTransactorRaw) 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 Erc20AltTransactorSession

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

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

func (*Erc20AltTransactorSession) Approve

func (_Erc20Alt *Erc20AltTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*Erc20AltTransactorSession) Burn

func (_Erc20Alt *Erc20AltTransactorSession) Burn(wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x90bc1693.

Solidity: function burn(uint128 wad) returns()

func (*Erc20AltTransactorSession) Mint

func (_Erc20Alt *Erc20AltTransactorSession) Mint(wad *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x69d3e20e.

Solidity: function mint(uint128 wad) returns()

func (*Erc20AltTransactorSession) Pull

func (_Erc20Alt *Erc20AltTransactorSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0x8402181f.

Solidity: function pull(address src, uint128 wad) returns(bool)

func (*Erc20AltTransactorSession) Push

func (_Erc20Alt *Erc20AltTransactorSession) Push(dst common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0x3452f51d.

Solidity: function push(address dst, uint128 wad) returns(bool)

func (*Erc20AltTransactorSession) SetAuthority

func (_Erc20Alt *Erc20AltTransactorSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*Erc20AltTransactorSession) SetName

func (_Erc20Alt *Erc20AltTransactorSession) SetName(name_ [32]byte) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x5ac801fe.

Solidity: function setName(bytes32 name_) returns()

func (*Erc20AltTransactorSession) SetOwner

func (_Erc20Alt *Erc20AltTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

func (*Erc20AltTransactorSession) Start

func (_Erc20Alt *Erc20AltTransactorSession) Start() (*types.Transaction, error)

Start is a paid mutator transaction binding the contract method 0xbe9a6555.

Solidity: function start() returns()

func (*Erc20AltTransactorSession) Stop

func (_Erc20Alt *Erc20AltTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*Erc20AltTransactorSession) Transfer

func (_Erc20Alt *Erc20AltTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*Erc20AltTransactorSession) TransferFrom

func (_Erc20Alt *Erc20AltTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type Erc20AltTransfer

type Erc20AltTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

Erc20AltTransfer represents a Transfer event raised by the Erc20Alt contract.

type Erc20AltTransferIterator

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

Erc20AltTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Erc20Alt contract.

func (*Erc20AltTransferIterator) Close

func (it *Erc20AltTransferIterator) Close() error

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

func (*Erc20AltTransferIterator) Error

func (it *Erc20AltTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20AltTransferIterator) Next

func (it *Erc20AltTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IERC20

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

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

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval

type IERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

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

IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

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

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

func (it *IERC20ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IERC20Caller

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

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

func NewIERC20Caller

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance

func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Caller) BalanceOf

func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20CallerRaw

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

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

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IERC20CallerSession

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

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

func (*IERC20CallerSession) Allowance

func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20CallerSession) BalanceOf

func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20CallerSession) TotalSupply

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

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

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

func NewIERC20Filterer

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) FilterTransfer

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) ParseApproval

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) ParseTransfer

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) WatchApproval

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) WatchTransfer

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IERC20Metadata

type IERC20Metadata struct {
	IERC20MetadataCaller     // Read-only binding to the contract
	IERC20MetadataTransactor // Write-only binding to the contract
	IERC20MetadataFilterer   // Log filterer for contract events
}

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

func NewIERC20Metadata

func NewIERC20Metadata(address common.Address, backend bind.ContractBackend) (*IERC20Metadata, error)

NewIERC20Metadata creates a new instance of IERC20Metadata, bound to a specific deployed contract.

type IERC20MetadataApproval

type IERC20MetadataApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IERC20MetadataApproval represents a Approval event raised by the IERC20Metadata contract.

type IERC20MetadataApprovalIterator

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

IERC20MetadataApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20Metadata contract.

func (*IERC20MetadataApprovalIterator) Close

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

func (*IERC20MetadataApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20MetadataApprovalIterator) 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 IERC20MetadataCaller

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

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

func NewIERC20MetadataCaller

func NewIERC20MetadataCaller(address common.Address, caller bind.ContractCaller) (*IERC20MetadataCaller, error)

NewIERC20MetadataCaller creates a new read-only instance of IERC20Metadata, bound to a specific deployed contract.

func (*IERC20MetadataCaller) Allowance

func (_IERC20Metadata *IERC20MetadataCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20MetadataCaller) BalanceOf

func (_IERC20Metadata *IERC20MetadataCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20MetadataCaller) Decimals

func (_IERC20Metadata *IERC20MetadataCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*IERC20MetadataCaller) Name

func (_IERC20Metadata *IERC20MetadataCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*IERC20MetadataCaller) Symbol

func (_IERC20Metadata *IERC20MetadataCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*IERC20MetadataCaller) TotalSupply

func (_IERC20Metadata *IERC20MetadataCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20MetadataCallerRaw

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

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

func (*IERC20MetadataCallerRaw) Call

func (_IERC20Metadata *IERC20MetadataCallerRaw) 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 IERC20MetadataCallerSession

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

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

func (*IERC20MetadataCallerSession) Allowance

func (_IERC20Metadata *IERC20MetadataCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20MetadataCallerSession) BalanceOf

func (_IERC20Metadata *IERC20MetadataCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20MetadataCallerSession) Decimals

func (_IERC20Metadata *IERC20MetadataCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*IERC20MetadataCallerSession) Name

func (_IERC20Metadata *IERC20MetadataCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*IERC20MetadataCallerSession) Symbol

func (_IERC20Metadata *IERC20MetadataCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*IERC20MetadataCallerSession) TotalSupply

func (_IERC20Metadata *IERC20MetadataCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20MetadataFilterer

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

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

func NewIERC20MetadataFilterer

func NewIERC20MetadataFilterer(address common.Address, filterer bind.ContractFilterer) (*IERC20MetadataFilterer, error)

NewIERC20MetadataFilterer creates a new log filterer instance of IERC20Metadata, bound to a specific deployed contract.

func (*IERC20MetadataFilterer) FilterApproval

func (_IERC20Metadata *IERC20MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20MetadataApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20MetadataFilterer) FilterTransfer

func (_IERC20Metadata *IERC20MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20MetadataTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20MetadataFilterer) ParseApproval

func (_IERC20Metadata *IERC20MetadataFilterer) ParseApproval(log types.Log) (*IERC20MetadataApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20MetadataFilterer) ParseTransfer

func (_IERC20Metadata *IERC20MetadataFilterer) ParseTransfer(log types.Log) (*IERC20MetadataTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20MetadataFilterer) WatchApproval

func (_IERC20Metadata *IERC20MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20MetadataApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20MetadataFilterer) WatchTransfer

func (_IERC20Metadata *IERC20MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20MetadataTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IERC20MetadataRaw

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

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

func (*IERC20MetadataRaw) Call

func (_IERC20Metadata *IERC20MetadataRaw) 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 (*IERC20MetadataRaw) Transact

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

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

func (*IERC20MetadataRaw) Transfer

func (_IERC20Metadata *IERC20MetadataRaw) 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 IERC20MetadataSession

type IERC20MetadataSession struct {
	Contract     *IERC20Metadata   // 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
}

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

func (*IERC20MetadataSession) Allowance

func (_IERC20Metadata *IERC20MetadataSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20MetadataSession) Approve

func (_IERC20Metadata *IERC20MetadataSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20MetadataSession) BalanceOf

func (_IERC20Metadata *IERC20MetadataSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20MetadataSession) Decimals

func (_IERC20Metadata *IERC20MetadataSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*IERC20MetadataSession) Name

func (_IERC20Metadata *IERC20MetadataSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*IERC20MetadataSession) Symbol

func (_IERC20Metadata *IERC20MetadataSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*IERC20MetadataSession) TotalSupply

func (_IERC20Metadata *IERC20MetadataSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IERC20MetadataSession) Transfer

func (_IERC20Metadata *IERC20MetadataSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20MetadataSession) TransferFrom

func (_IERC20Metadata *IERC20MetadataSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20MetadataTransactor

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

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

func NewIERC20MetadataTransactor

func NewIERC20MetadataTransactor(address common.Address, transactor bind.ContractTransactor) (*IERC20MetadataTransactor, error)

NewIERC20MetadataTransactor creates a new write-only instance of IERC20Metadata, bound to a specific deployed contract.

func (*IERC20MetadataTransactor) Approve

func (_IERC20Metadata *IERC20MetadataTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20MetadataTransactor) Transfer

func (_IERC20Metadata *IERC20MetadataTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20MetadataTransactor) TransferFrom

func (_IERC20Metadata *IERC20MetadataTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20MetadataTransactorRaw

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

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

func (*IERC20MetadataTransactorRaw) Transact

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

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

func (*IERC20MetadataTransactorRaw) Transfer

func (_IERC20Metadata *IERC20MetadataTransactorRaw) 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 IERC20MetadataTransactorSession

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

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

func (*IERC20MetadataTransactorSession) Approve

func (_IERC20Metadata *IERC20MetadataTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20MetadataTransactorSession) Transfer

func (_IERC20Metadata *IERC20MetadataTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20MetadataTransactorSession) TransferFrom

func (_IERC20Metadata *IERC20MetadataTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20MetadataTransfer

type IERC20MetadataTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IERC20MetadataTransfer represents a Transfer event raised by the IERC20Metadata contract.

type IERC20MetadataTransferIterator

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

IERC20MetadataTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20Metadata contract.

func (*IERC20MetadataTransferIterator) Close

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

func (*IERC20MetadataTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20MetadataTransferIterator) 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 IERC20Raw

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

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

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IERC20Raw) Transact

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

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

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IERC20Session

type IERC20Session struct {
	Contract     *IERC20           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

func (*IERC20Session) Allowance

func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Session) Approve

func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Session) BalanceOf

func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20Session) TotalSupply

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

func (_IERC20 *IERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20Transactor

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

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

func NewIERC20Transactor

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Transactor) Transfer

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20Transactor) TransferFrom

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20TransactorRaw

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

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

func (*IERC20TransactorRaw) Transact

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

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

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IERC20TransactorSession

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

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

func (*IERC20TransactorSession) Approve

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20TransactorSession) Transfer

func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20Transfer

type IERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

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

IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

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

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

func (it *IERC20TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Multicall3

type Multicall3 struct {
	Multicall3Caller     // Read-only binding to the contract
	Multicall3Transactor // Write-only binding to the contract
	Multicall3Filterer   // Log filterer for contract events
}

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

func DeployMulticall3

func DeployMulticall3(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Multicall3, error)

DeployMulticall3 deploys a new Ethereum contract, binding an instance of Multicall3 to it.

func NewMulticall3

func NewMulticall3(address common.Address, backend bind.ContractBackend) (*Multicall3, error)

NewMulticall3 creates a new instance of Multicall3, bound to a specific deployed contract.

type Multicall3Call

type Multicall3Call struct {
	Target   common.Address
	CallData []byte
}

Multicall3Call is an auto generated low-level Go binding around an user-defined struct.

type Multicall3Call3

type Multicall3Call3 struct {
	Target       common.Address
	AllowFailure bool
	CallData     []byte
}

Multicall3Call3 is an auto generated low-level Go binding around an user-defined struct.

type Multicall3Call3Value

type Multicall3Call3Value struct {
	Target       common.Address
	AllowFailure bool
	Value        *big.Int
	CallData     []byte
}

Multicall3Call3Value is an auto generated low-level Go binding around an user-defined struct.

type Multicall3Caller

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

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

func NewMulticall3Caller

func NewMulticall3Caller(address common.Address, caller bind.ContractCaller) (*Multicall3Caller, error)

NewMulticall3Caller creates a new read-only instance of Multicall3, bound to a specific deployed contract.

func (*Multicall3Caller) GetBasefee

func (_Multicall3 *Multicall3Caller) GetBasefee(opts *bind.CallOpts) (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.

Solidity: function getBasefee() view returns(uint256 basefee)

func (*Multicall3Caller) GetBlockHash

func (_Multicall3 *Multicall3Caller) GetBlockHash(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 blockNumber) view returns(bytes32 blockHash)

func (*Multicall3Caller) GetBlockNumber

func (_Multicall3 *Multicall3Caller) GetBlockNumber(opts *bind.CallOpts) (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256 blockNumber)

func (*Multicall3Caller) GetChainId

func (_Multicall3 *Multicall3Caller) GetChainId(opts *bind.CallOpts) (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainid)

func (*Multicall3Caller) GetCurrentBlockCoinbase

func (_Multicall3 *Multicall3Caller) GetCurrentBlockCoinbase(opts *bind.CallOpts) (common.Address, error)

GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.

Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)

func (*Multicall3Caller) GetCurrentBlockDifficulty

func (_Multicall3 *Multicall3Caller) GetCurrentBlockDifficulty(opts *bind.CallOpts) (*big.Int, error)

GetCurrentBlockDifficulty is a free data retrieval call binding the contract method 0x72425d9d.

Solidity: function getCurrentBlockDifficulty() view returns(uint256 difficulty)

func (*Multicall3Caller) GetCurrentBlockGasLimit

func (_Multicall3 *Multicall3Caller) GetCurrentBlockGasLimit(opts *bind.CallOpts) (*big.Int, error)

GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.

Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)

func (*Multicall3Caller) GetCurrentBlockTimestamp

func (_Multicall3 *Multicall3Caller) GetCurrentBlockTimestamp(opts *bind.CallOpts) (*big.Int, error)

GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.

Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)

func (*Multicall3Caller) GetEthBalance

func (_Multicall3 *Multicall3Caller) GetEthBalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

GetEthBalance is a free data retrieval call binding the contract method 0x4d2301cc.

Solidity: function getEthBalance(address addr) view returns(uint256 balance)

func (*Multicall3Caller) GetLastBlockHash

func (_Multicall3 *Multicall3Caller) GetLastBlockHash(opts *bind.CallOpts) ([32]byte, error)

GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.

Solidity: function getLastBlockHash() view returns(bytes32 blockHash)

type Multicall3CallerRaw

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

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

func (*Multicall3CallerRaw) Call

func (_Multicall3 *Multicall3CallerRaw) 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 Multicall3CallerSession

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

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

func (*Multicall3CallerSession) GetBasefee

func (_Multicall3 *Multicall3CallerSession) GetBasefee() (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.

Solidity: function getBasefee() view returns(uint256 basefee)

func (*Multicall3CallerSession) GetBlockHash

func (_Multicall3 *Multicall3CallerSession) GetBlockHash(blockNumber *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 blockNumber) view returns(bytes32 blockHash)

func (*Multicall3CallerSession) GetBlockNumber

func (_Multicall3 *Multicall3CallerSession) GetBlockNumber() (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256 blockNumber)

func (*Multicall3CallerSession) GetChainId

func (_Multicall3 *Multicall3CallerSession) GetChainId() (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainid)

func (*Multicall3CallerSession) GetCurrentBlockCoinbase

func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockCoinbase() (common.Address, error)

GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.

Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)

func (*Multicall3CallerSession) GetCurrentBlockDifficulty

func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockDifficulty() (*big.Int, error)

GetCurrentBlockDifficulty is a free data retrieval call binding the contract method 0x72425d9d.

Solidity: function getCurrentBlockDifficulty() view returns(uint256 difficulty)

func (*Multicall3CallerSession) GetCurrentBlockGasLimit

func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockGasLimit() (*big.Int, error)

GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.

Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)

func (*Multicall3CallerSession) GetCurrentBlockTimestamp

func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockTimestamp() (*big.Int, error)

GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.

Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)

func (*Multicall3CallerSession) GetEthBalance

func (_Multicall3 *Multicall3CallerSession) GetEthBalance(addr common.Address) (*big.Int, error)

GetEthBalance is a free data retrieval call binding the contract method 0x4d2301cc.

Solidity: function getEthBalance(address addr) view returns(uint256 balance)

func (*Multicall3CallerSession) GetLastBlockHash

func (_Multicall3 *Multicall3CallerSession) GetLastBlockHash() ([32]byte, error)

GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.

Solidity: function getLastBlockHash() view returns(bytes32 blockHash)

type Multicall3Filterer

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

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

func NewMulticall3Filterer

func NewMulticall3Filterer(address common.Address, filterer bind.ContractFilterer) (*Multicall3Filterer, error)

NewMulticall3Filterer creates a new log filterer instance of Multicall3, bound to a specific deployed contract.

type Multicall3Raw

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

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

func (*Multicall3Raw) Call

func (_Multicall3 *Multicall3Raw) 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 (*Multicall3Raw) Transact

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

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

func (*Multicall3Raw) Transfer

func (_Multicall3 *Multicall3Raw) 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 Multicall3Result

type Multicall3Result struct {
	Success    bool
	ReturnData []byte
}

Multicall3Result is an auto generated low-level Go binding around an user-defined struct.

type Multicall3Session

type Multicall3Session struct {
	Contract     *Multicall3       // 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
}

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

func (*Multicall3Session) Aggregate

func (_Multicall3 *Multicall3Session) Aggregate(calls []Multicall3Call) (*types.Transaction, error)

Aggregate is a paid mutator transaction binding the contract method 0x252dba42.

Solidity: function aggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes[] returnData)

func (*Multicall3Session) Aggregate3

func (_Multicall3 *Multicall3Session) Aggregate3(calls []Multicall3Call3) (*types.Transaction, error)

Aggregate3 is a paid mutator transaction binding the contract method 0x82ad56cb.

Solidity: function aggregate3((address,bool,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3Session) Aggregate3Value

func (_Multicall3 *Multicall3Session) Aggregate3Value(calls []Multicall3Call3Value) (*types.Transaction, error)

Aggregate3Value is a paid mutator transaction binding the contract method 0x174dea71.

Solidity: function aggregate3Value((address,bool,uint256,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3Session) BlockAndAggregate

func (_Multicall3 *Multicall3Session) BlockAndAggregate(calls []Multicall3Call) (*types.Transaction, error)

BlockAndAggregate is a paid mutator transaction binding the contract method 0xc3077fa9.

Solidity: function blockAndAggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)

func (*Multicall3Session) GetBasefee

func (_Multicall3 *Multicall3Session) GetBasefee() (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.

Solidity: function getBasefee() view returns(uint256 basefee)

func (*Multicall3Session) GetBlockHash

func (_Multicall3 *Multicall3Session) GetBlockHash(blockNumber *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 blockNumber) view returns(bytes32 blockHash)

func (*Multicall3Session) GetBlockNumber

func (_Multicall3 *Multicall3Session) GetBlockNumber() (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256 blockNumber)

func (*Multicall3Session) GetChainId

func (_Multicall3 *Multicall3Session) GetChainId() (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainid)

func (*Multicall3Session) GetCurrentBlockCoinbase

func (_Multicall3 *Multicall3Session) GetCurrentBlockCoinbase() (common.Address, error)

GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.

Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)

func (*Multicall3Session) GetCurrentBlockDifficulty

func (_Multicall3 *Multicall3Session) GetCurrentBlockDifficulty() (*big.Int, error)

GetCurrentBlockDifficulty is a free data retrieval call binding the contract method 0x72425d9d.

Solidity: function getCurrentBlockDifficulty() view returns(uint256 difficulty)

func (*Multicall3Session) GetCurrentBlockGasLimit

func (_Multicall3 *Multicall3Session) GetCurrentBlockGasLimit() (*big.Int, error)

GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.

Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)

func (*Multicall3Session) GetCurrentBlockTimestamp

func (_Multicall3 *Multicall3Session) GetCurrentBlockTimestamp() (*big.Int, error)

GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.

Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)

func (*Multicall3Session) GetEthBalance

func (_Multicall3 *Multicall3Session) GetEthBalance(addr common.Address) (*big.Int, error)

GetEthBalance is a free data retrieval call binding the contract method 0x4d2301cc.

Solidity: function getEthBalance(address addr) view returns(uint256 balance)

func (*Multicall3Session) GetLastBlockHash

func (_Multicall3 *Multicall3Session) GetLastBlockHash() ([32]byte, error)

GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.

Solidity: function getLastBlockHash() view returns(bytes32 blockHash)

func (*Multicall3Session) TryAggregate

func (_Multicall3 *Multicall3Session) TryAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)

TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.

Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3Session) TryBlockAndAggregate

func (_Multicall3 *Multicall3Session) TryBlockAndAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)

TryBlockAndAggregate is a paid mutator transaction binding the contract method 0x399542e9.

Solidity: function tryBlockAndAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)

type Multicall3Transactor

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

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

func NewMulticall3Transactor

func NewMulticall3Transactor(address common.Address, transactor bind.ContractTransactor) (*Multicall3Transactor, error)

NewMulticall3Transactor creates a new write-only instance of Multicall3, bound to a specific deployed contract.

func (*Multicall3Transactor) Aggregate

func (_Multicall3 *Multicall3Transactor) Aggregate(opts *bind.TransactOpts, calls []Multicall3Call) (*types.Transaction, error)

Aggregate is a paid mutator transaction binding the contract method 0x252dba42.

Solidity: function aggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes[] returnData)

func (*Multicall3Transactor) Aggregate3

func (_Multicall3 *Multicall3Transactor) Aggregate3(opts *bind.TransactOpts, calls []Multicall3Call3) (*types.Transaction, error)

Aggregate3 is a paid mutator transaction binding the contract method 0x82ad56cb.

Solidity: function aggregate3((address,bool,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3Transactor) Aggregate3Value

func (_Multicall3 *Multicall3Transactor) Aggregate3Value(opts *bind.TransactOpts, calls []Multicall3Call3Value) (*types.Transaction, error)

Aggregate3Value is a paid mutator transaction binding the contract method 0x174dea71.

Solidity: function aggregate3Value((address,bool,uint256,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3Transactor) BlockAndAggregate

func (_Multicall3 *Multicall3Transactor) BlockAndAggregate(opts *bind.TransactOpts, calls []Multicall3Call) (*types.Transaction, error)

BlockAndAggregate is a paid mutator transaction binding the contract method 0xc3077fa9.

Solidity: function blockAndAggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)

func (*Multicall3Transactor) TryAggregate

func (_Multicall3 *Multicall3Transactor) TryAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)

TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.

Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3Transactor) TryBlockAndAggregate

func (_Multicall3 *Multicall3Transactor) TryBlockAndAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)

TryBlockAndAggregate is a paid mutator transaction binding the contract method 0x399542e9.

Solidity: function tryBlockAndAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)

type Multicall3TransactorRaw

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

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

func (*Multicall3TransactorRaw) Transact

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

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

func (*Multicall3TransactorRaw) Transfer

func (_Multicall3 *Multicall3TransactorRaw) 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 Multicall3TransactorSession

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

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

func (*Multicall3TransactorSession) Aggregate

func (_Multicall3 *Multicall3TransactorSession) Aggregate(calls []Multicall3Call) (*types.Transaction, error)

Aggregate is a paid mutator transaction binding the contract method 0x252dba42.

Solidity: function aggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes[] returnData)

func (*Multicall3TransactorSession) Aggregate3

func (_Multicall3 *Multicall3TransactorSession) Aggregate3(calls []Multicall3Call3) (*types.Transaction, error)

Aggregate3 is a paid mutator transaction binding the contract method 0x82ad56cb.

Solidity: function aggregate3((address,bool,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3TransactorSession) Aggregate3Value

func (_Multicall3 *Multicall3TransactorSession) Aggregate3Value(calls []Multicall3Call3Value) (*types.Transaction, error)

Aggregate3Value is a paid mutator transaction binding the contract method 0x174dea71.

Solidity: function aggregate3Value((address,bool,uint256,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3TransactorSession) BlockAndAggregate

func (_Multicall3 *Multicall3TransactorSession) BlockAndAggregate(calls []Multicall3Call) (*types.Transaction, error)

BlockAndAggregate is a paid mutator transaction binding the contract method 0xc3077fa9.

Solidity: function blockAndAggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)

func (*Multicall3TransactorSession) TryAggregate

func (_Multicall3 *Multicall3TransactorSession) TryAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)

TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.

Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*Multicall3TransactorSession) TryBlockAndAggregate

func (_Multicall3 *Multicall3TransactorSession) TryBlockAndAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)

TryBlockAndAggregate is a paid mutator transaction binding the contract method 0x399542e9.

Solidity: function tryBlockAndAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)

type Struct0

type Struct0 struct {
	Lp               common.Address
	Symbol           string
	Decimals         uint8
	Stable           bool
	TotalSupply      *big.Int
	Token0           common.Address
	Reserve0         *big.Int
	Claimable0       *big.Int
	Token1           common.Address
	Reserve1         *big.Int
	Claimable1       *big.Int
	Gauge            common.Address
	GaugeTotalSupply *big.Int
	GaugeAlive       bool
	Fee              common.Address
	Bribe            common.Address
	Factory          common.Address
	Emissions        *big.Int
	EmissionsToken   common.Address
	AccountBalance   *big.Int
	AccountEarned    *big.Int
	AccountStaked    *big.Int
	PoolFee          *big.Int
	Token0Fees       *big.Int
	Token1Fees       *big.Int
}

Struct0 is an auto generated low-level Go binding around an user-defined struct.

type Struct1

type Struct1 struct {
	Lp      common.Address
	Stable  bool
	Token0  common.Address
	Token1  common.Address
	Factory common.Address
}

Struct1 is an auto generated low-level Go binding around an user-defined struct.

type Struct2

type Struct2 struct {
	TokenAddress   common.Address
	Symbol         string
	Decimals       uint8
	AccountBalance *big.Int
	Listed         bool
}

Struct2 is an auto generated low-level Go binding around an user-defined struct.

type Struct3

type Struct3 struct {
	Token  common.Address
	Amount *big.Int
}

Struct3 is an auto generated low-level Go binding around an user-defined struct.

type Struct4

type Struct4 struct {
	Ts        *big.Int
	Lp        common.Address
	Votes     *big.Int
	Emissions *big.Int
	Bribes    []Struct3
	Fees      []Struct3
}

Struct4 is an auto generated low-level Go binding around an user-defined struct.

type Struct5

type Struct5 struct {
	VenftId *big.Int
	Lp      common.Address
	Amount  *big.Int
	Token   common.Address
	Fee     common.Address
	Bribe   common.Address
}

Struct5 is an auto generated low-level Go binding around an user-defined struct.

type SushiV2Factory

type SushiV2Factory struct {
	SushiV2FactoryCaller     // Read-only binding to the contract
	SushiV2FactoryTransactor // Write-only binding to the contract
	SushiV2FactoryFilterer   // Log filterer for contract events
}

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

func NewSushiV2Factory

func NewSushiV2Factory(address common.Address, backend bind.ContractBackend) (*SushiV2Factory, error)

NewSushiV2Factory creates a new instance of SushiV2Factory, bound to a specific deployed contract.

type SushiV2FactoryCaller

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

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

func NewSushiV2FactoryCaller

func NewSushiV2FactoryCaller(address common.Address, caller bind.ContractCaller) (*SushiV2FactoryCaller, error)

NewSushiV2FactoryCaller creates a new read-only instance of SushiV2Factory, bound to a specific deployed contract.

func (*SushiV2FactoryCaller) AllPairs

func (_SushiV2Factory *SushiV2FactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*SushiV2FactoryCaller) AllPairsLength

func (_SushiV2Factory *SushiV2FactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*SushiV2FactoryCaller) FeeTo

func (_SushiV2Factory *SushiV2FactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*SushiV2FactoryCaller) FeeToSetter

func (_SushiV2Factory *SushiV2FactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*SushiV2FactoryCaller) GetPair

func (_SushiV2Factory *SushiV2FactoryCaller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*SushiV2FactoryCaller) Migrator

func (_SushiV2Factory *SushiV2FactoryCaller) Migrator(opts *bind.CallOpts) (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiV2FactoryCaller) PairCodeHash

func (_SushiV2Factory *SushiV2FactoryCaller) PairCodeHash(opts *bind.CallOpts) ([32]byte, error)

PairCodeHash is a free data retrieval call binding the contract method 0x9aab9248.

Solidity: function pairCodeHash() pure returns(bytes32)

type SushiV2FactoryCallerRaw

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

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

func (*SushiV2FactoryCallerRaw) Call

func (_SushiV2Factory *SushiV2FactoryCallerRaw) 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 SushiV2FactoryCallerSession

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

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

func (*SushiV2FactoryCallerSession) AllPairs

func (_SushiV2Factory *SushiV2FactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*SushiV2FactoryCallerSession) AllPairsLength

func (_SushiV2Factory *SushiV2FactoryCallerSession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*SushiV2FactoryCallerSession) FeeTo

func (_SushiV2Factory *SushiV2FactoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*SushiV2FactoryCallerSession) FeeToSetter

func (_SushiV2Factory *SushiV2FactoryCallerSession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*SushiV2FactoryCallerSession) GetPair

func (_SushiV2Factory *SushiV2FactoryCallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*SushiV2FactoryCallerSession) Migrator

func (_SushiV2Factory *SushiV2FactoryCallerSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiV2FactoryCallerSession) PairCodeHash

func (_SushiV2Factory *SushiV2FactoryCallerSession) PairCodeHash() ([32]byte, error)

PairCodeHash is a free data retrieval call binding the contract method 0x9aab9248.

Solidity: function pairCodeHash() pure returns(bytes32)

type SushiV2FactoryFilterer

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

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

func NewSushiV2FactoryFilterer

func NewSushiV2FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*SushiV2FactoryFilterer, error)

NewSushiV2FactoryFilterer creates a new log filterer instance of SushiV2Factory, bound to a specific deployed contract.

func (*SushiV2FactoryFilterer) FilterPairCreated

func (_SushiV2Factory *SushiV2FactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*SushiV2FactoryPairCreatedIterator, error)

FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*SushiV2FactoryFilterer) ParsePairCreated

func (_SushiV2Factory *SushiV2FactoryFilterer) ParsePairCreated(log types.Log) (*SushiV2FactoryPairCreated, error)

ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*SushiV2FactoryFilterer) WatchPairCreated

func (_SushiV2Factory *SushiV2FactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *SushiV2FactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

type SushiV2FactoryPairCreated

type SushiV2FactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SushiV2FactoryPairCreated represents a PairCreated event raised by the SushiV2Factory contract.

type SushiV2FactoryPairCreatedIterator

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

SushiV2FactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the SushiV2Factory contract.

func (*SushiV2FactoryPairCreatedIterator) Close

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

func (*SushiV2FactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiV2FactoryPairCreatedIterator) 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 SushiV2FactoryRaw

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

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

func (*SushiV2FactoryRaw) Call

func (_SushiV2Factory *SushiV2FactoryRaw) 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 (*SushiV2FactoryRaw) Transact

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

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

func (*SushiV2FactoryRaw) Transfer

func (_SushiV2Factory *SushiV2FactoryRaw) 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 SushiV2FactorySession

type SushiV2FactorySession struct {
	Contract     *SushiV2Factory   // 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
}

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

func (*SushiV2FactorySession) AllPairs

func (_SushiV2Factory *SushiV2FactorySession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*SushiV2FactorySession) AllPairsLength

func (_SushiV2Factory *SushiV2FactorySession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*SushiV2FactorySession) CreatePair

func (_SushiV2Factory *SushiV2FactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*SushiV2FactorySession) FeeTo

func (_SushiV2Factory *SushiV2FactorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*SushiV2FactorySession) FeeToSetter

func (_SushiV2Factory *SushiV2FactorySession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*SushiV2FactorySession) GetPair

func (_SushiV2Factory *SushiV2FactorySession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*SushiV2FactorySession) Migrator

func (_SushiV2Factory *SushiV2FactorySession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiV2FactorySession) PairCodeHash

func (_SushiV2Factory *SushiV2FactorySession) PairCodeHash() ([32]byte, error)

PairCodeHash is a free data retrieval call binding the contract method 0x9aab9248.

Solidity: function pairCodeHash() pure returns(bytes32)

func (*SushiV2FactorySession) SetFeeTo

func (_SushiV2Factory *SushiV2FactorySession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*SushiV2FactorySession) SetFeeToSetter

func (_SushiV2Factory *SushiV2FactorySession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

func (*SushiV2FactorySession) SetMigrator

func (_SushiV2Factory *SushiV2FactorySession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

type SushiV2FactoryTransactor

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

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

func NewSushiV2FactoryTransactor

func NewSushiV2FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*SushiV2FactoryTransactor, error)

NewSushiV2FactoryTransactor creates a new write-only instance of SushiV2Factory, bound to a specific deployed contract.

func (*SushiV2FactoryTransactor) CreatePair

func (_SushiV2Factory *SushiV2FactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*SushiV2FactoryTransactor) SetFeeTo

func (_SushiV2Factory *SushiV2FactoryTransactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*SushiV2FactoryTransactor) SetFeeToSetter

func (_SushiV2Factory *SushiV2FactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

func (*SushiV2FactoryTransactor) SetMigrator

func (_SushiV2Factory *SushiV2FactoryTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

type SushiV2FactoryTransactorRaw

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

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

func (*SushiV2FactoryTransactorRaw) Transact

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

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

func (*SushiV2FactoryTransactorRaw) Transfer

func (_SushiV2Factory *SushiV2FactoryTransactorRaw) 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 SushiV2FactoryTransactorSession

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

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

func (*SushiV2FactoryTransactorSession) CreatePair

func (_SushiV2Factory *SushiV2FactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*SushiV2FactoryTransactorSession) SetFeeTo

func (_SushiV2Factory *SushiV2FactoryTransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*SushiV2FactoryTransactorSession) SetFeeToSetter

func (_SushiV2Factory *SushiV2FactoryTransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

func (*SushiV2FactoryTransactorSession) SetMigrator

func (_SushiV2Factory *SushiV2FactoryTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

type UniV2Factory

type UniV2Factory struct {
	UniV2FactoryCaller     // Read-only binding to the contract
	UniV2FactoryTransactor // Write-only binding to the contract
	UniV2FactoryFilterer   // Log filterer for contract events
}

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

func NewUniV2Factory

func NewUniV2Factory(address common.Address, backend bind.ContractBackend) (*UniV2Factory, error)

NewUniV2Factory creates a new instance of UniV2Factory, bound to a specific deployed contract.

type UniV2FactoryCaller

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

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

func NewUniV2FactoryCaller

func NewUniV2FactoryCaller(address common.Address, caller bind.ContractCaller) (*UniV2FactoryCaller, error)

NewUniV2FactoryCaller creates a new read-only instance of UniV2Factory, bound to a specific deployed contract.

func (*UniV2FactoryCaller) AllPairs

func (_UniV2Factory *UniV2FactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniV2FactoryCaller) AllPairsLength

func (_UniV2Factory *UniV2FactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniV2FactoryCaller) FeeTo

func (_UniV2Factory *UniV2FactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniV2FactoryCaller) FeeToSetter

func (_UniV2Factory *UniV2FactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniV2FactoryCaller) GetPair

func (_UniV2Factory *UniV2FactoryCaller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

type UniV2FactoryCallerRaw

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

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

func (*UniV2FactoryCallerRaw) Call

func (_UniV2Factory *UniV2FactoryCallerRaw) 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 UniV2FactoryCallerSession

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

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

func (*UniV2FactoryCallerSession) AllPairs

func (_UniV2Factory *UniV2FactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniV2FactoryCallerSession) AllPairsLength

func (_UniV2Factory *UniV2FactoryCallerSession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniV2FactoryCallerSession) FeeTo

func (_UniV2Factory *UniV2FactoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniV2FactoryCallerSession) FeeToSetter

func (_UniV2Factory *UniV2FactoryCallerSession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniV2FactoryCallerSession) GetPair

func (_UniV2Factory *UniV2FactoryCallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

type UniV2FactoryFilterer

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

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

func NewUniV2FactoryFilterer

func NewUniV2FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*UniV2FactoryFilterer, error)

NewUniV2FactoryFilterer creates a new log filterer instance of UniV2Factory, bound to a specific deployed contract.

func (*UniV2FactoryFilterer) FilterPairCreated

func (_UniV2Factory *UniV2FactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*UniV2FactoryPairCreatedIterator, error)

FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*UniV2FactoryFilterer) ParsePairCreated

func (_UniV2Factory *UniV2FactoryFilterer) ParsePairCreated(log types.Log) (*UniV2FactoryPairCreated, error)

ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*UniV2FactoryFilterer) WatchPairCreated

func (_UniV2Factory *UniV2FactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *UniV2FactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

type UniV2FactoryPairCreated

type UniV2FactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UniV2FactoryPairCreated represents a PairCreated event raised by the UniV2Factory contract.

type UniV2FactoryPairCreatedIterator

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

UniV2FactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the UniV2Factory contract.

func (*UniV2FactoryPairCreatedIterator) Close

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

func (*UniV2FactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniV2FactoryPairCreatedIterator) 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 UniV2FactoryRaw

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

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

func (*UniV2FactoryRaw) Call

func (_UniV2Factory *UniV2FactoryRaw) 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 (*UniV2FactoryRaw) Transact

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

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

func (*UniV2FactoryRaw) Transfer

func (_UniV2Factory *UniV2FactoryRaw) 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 UniV2FactorySession

type UniV2FactorySession struct {
	Contract     *UniV2Factory     // 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
}

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

func (*UniV2FactorySession) AllPairs

func (_UniV2Factory *UniV2FactorySession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniV2FactorySession) AllPairsLength

func (_UniV2Factory *UniV2FactorySession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniV2FactorySession) CreatePair

func (_UniV2Factory *UniV2FactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniV2FactorySession) FeeTo

func (_UniV2Factory *UniV2FactorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniV2FactorySession) FeeToSetter

func (_UniV2Factory *UniV2FactorySession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniV2FactorySession) GetPair

func (_UniV2Factory *UniV2FactorySession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*UniV2FactorySession) SetFeeTo

func (_UniV2Factory *UniV2FactorySession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniV2FactorySession) SetFeeToSetter

func (_UniV2Factory *UniV2FactorySession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniV2FactoryTransactor

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

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

func NewUniV2FactoryTransactor

func NewUniV2FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*UniV2FactoryTransactor, error)

NewUniV2FactoryTransactor creates a new write-only instance of UniV2Factory, bound to a specific deployed contract.

func (*UniV2FactoryTransactor) CreatePair

func (_UniV2Factory *UniV2FactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniV2FactoryTransactor) SetFeeTo

func (_UniV2Factory *UniV2FactoryTransactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniV2FactoryTransactor) SetFeeToSetter

func (_UniV2Factory *UniV2FactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniV2FactoryTransactorRaw

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

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

func (*UniV2FactoryTransactorRaw) Transact

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

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

func (*UniV2FactoryTransactorRaw) Transfer

func (_UniV2Factory *UniV2FactoryTransactorRaw) 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 UniV2FactoryTransactorSession

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

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

func (*UniV2FactoryTransactorSession) CreatePair

func (_UniV2Factory *UniV2FactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniV2FactoryTransactorSession) SetFeeTo

func (_UniV2Factory *UniV2FactoryTransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniV2FactoryTransactorSession) SetFeeToSetter

func (_UniV2Factory *UniV2FactoryTransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniV3Factory

type UniV3Factory struct {
	UniV3FactoryCaller     // Read-only binding to the contract
	UniV3FactoryTransactor // Write-only binding to the contract
	UniV3FactoryFilterer   // Log filterer for contract events
}

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

func NewUniV3Factory

func NewUniV3Factory(address common.Address, backend bind.ContractBackend) (*UniV3Factory, error)

NewUniV3Factory creates a new instance of UniV3Factory, bound to a specific deployed contract.

type UniV3FactoryCaller

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

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

func NewUniV3FactoryCaller

func NewUniV3FactoryCaller(address common.Address, caller bind.ContractCaller) (*UniV3FactoryCaller, error)

NewUniV3FactoryCaller creates a new read-only instance of UniV3Factory, bound to a specific deployed contract.

func (*UniV3FactoryCaller) FeeAmountTickSpacing

func (_UniV3Factory *UniV3FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.

Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)

func (*UniV3FactoryCaller) GetPool

func (_UniV3Factory *UniV3FactoryCaller) GetPool(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)

GetPool is a free data retrieval call binding the contract method 0x1698ee82.

Solidity: function getPool(address , address , uint24 ) view returns(address)

func (*UniV3FactoryCaller) Owner

func (_UniV3Factory *UniV3FactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*UniV3FactoryCaller) Parameters

func (_UniV3Factory *UniV3FactoryCaller) Parameters(opts *bind.CallOpts) (struct {
	Factory     common.Address
	Token0      common.Address
	Token1      common.Address
	Fee         *big.Int
	TickSpacing *big.Int
}, error)

Parameters is a free data retrieval call binding the contract method 0x89035730.

Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)

type UniV3FactoryCallerRaw

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

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

func (*UniV3FactoryCallerRaw) Call

func (_UniV3Factory *UniV3FactoryCallerRaw) 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 UniV3FactoryCallerSession

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

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

func (*UniV3FactoryCallerSession) FeeAmountTickSpacing

func (_UniV3Factory *UniV3FactoryCallerSession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)

FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.

Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)

func (*UniV3FactoryCallerSession) GetPool

func (_UniV3Factory *UniV3FactoryCallerSession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)

GetPool is a free data retrieval call binding the contract method 0x1698ee82.

Solidity: function getPool(address , address , uint24 ) view returns(address)

func (*UniV3FactoryCallerSession) Owner

func (_UniV3Factory *UniV3FactoryCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*UniV3FactoryCallerSession) Parameters

func (_UniV3Factory *UniV3FactoryCallerSession) Parameters() (struct {
	Factory     common.Address
	Token0      common.Address
	Token1      common.Address
	Fee         *big.Int
	TickSpacing *big.Int
}, error)

Parameters is a free data retrieval call binding the contract method 0x89035730.

Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)

type UniV3FactoryFeeAmountEnabled

type UniV3FactoryFeeAmountEnabled struct {
	Fee         *big.Int
	TickSpacing *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

UniV3FactoryFeeAmountEnabled represents a FeeAmountEnabled event raised by the UniV3Factory contract.

type UniV3FactoryFeeAmountEnabledIterator

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

UniV3FactoryFeeAmountEnabledIterator is returned from FilterFeeAmountEnabled and is used to iterate over the raw logs and unpacked data for FeeAmountEnabled events raised by the UniV3Factory contract.

func (*UniV3FactoryFeeAmountEnabledIterator) Close

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

func (*UniV3FactoryFeeAmountEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniV3FactoryFeeAmountEnabledIterator) 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 UniV3FactoryFilterer

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

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

func NewUniV3FactoryFilterer

func NewUniV3FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*UniV3FactoryFilterer, error)

NewUniV3FactoryFilterer creates a new log filterer instance of UniV3Factory, bound to a specific deployed contract.

func (*UniV3FactoryFilterer) FilterFeeAmountEnabled

func (_UniV3Factory *UniV3FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*UniV3FactoryFeeAmountEnabledIterator, error)

FilterFeeAmountEnabled is a free log retrieval operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.

Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)

func (*UniV3FactoryFilterer) FilterOwnerChanged

func (_UniV3Factory *UniV3FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*UniV3FactoryOwnerChangedIterator, error)

FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)

func (*UniV3FactoryFilterer) FilterPoolCreated

func (_UniV3Factory *UniV3FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, fee []*big.Int) (*UniV3FactoryPoolCreatedIterator, error)

FilterPoolCreated is a free log retrieval operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.

Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)

func (*UniV3FactoryFilterer) ParseFeeAmountEnabled

func (_UniV3Factory *UniV3FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*UniV3FactoryFeeAmountEnabled, error)

ParseFeeAmountEnabled is a log parse operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.

Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)

func (*UniV3FactoryFilterer) ParseOwnerChanged

func (_UniV3Factory *UniV3FactoryFilterer) ParseOwnerChanged(log types.Log) (*UniV3FactoryOwnerChanged, error)

ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)

func (*UniV3FactoryFilterer) ParsePoolCreated

func (_UniV3Factory *UniV3FactoryFilterer) ParsePoolCreated(log types.Log) (*UniV3FactoryPoolCreated, error)

ParsePoolCreated is a log parse operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.

Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)

func (*UniV3FactoryFilterer) WatchFeeAmountEnabled

func (_UniV3Factory *UniV3FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *UniV3FactoryFeeAmountEnabled, fee []*big.Int, tickSpacing []*big.Int) (event.Subscription, error)

WatchFeeAmountEnabled is a free log subscription operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.

Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)

func (*UniV3FactoryFilterer) WatchOwnerChanged

func (_UniV3Factory *UniV3FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *UniV3FactoryOwnerChanged, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)

func (*UniV3FactoryFilterer) WatchPoolCreated

func (_UniV3Factory *UniV3FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *UniV3FactoryPoolCreated, token0 []common.Address, token1 []common.Address, fee []*big.Int) (event.Subscription, error)

WatchPoolCreated is a free log subscription operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.

Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)

type UniV3FactoryOwnerChanged

type UniV3FactoryOwnerChanged struct {
	OldOwner common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

UniV3FactoryOwnerChanged represents a OwnerChanged event raised by the UniV3Factory contract.

type UniV3FactoryOwnerChangedIterator

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

UniV3FactoryOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the UniV3Factory contract.

func (*UniV3FactoryOwnerChangedIterator) Close

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

func (*UniV3FactoryOwnerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniV3FactoryOwnerChangedIterator) 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 UniV3FactoryPoolCreated

type UniV3FactoryPoolCreated struct {
	Token0      common.Address
	Token1      common.Address
	Fee         *big.Int
	TickSpacing *big.Int
	Pool        common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

UniV3FactoryPoolCreated represents a PoolCreated event raised by the UniV3Factory contract.

type UniV3FactoryPoolCreatedIterator

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

UniV3FactoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the UniV3Factory contract.

func (*UniV3FactoryPoolCreatedIterator) Close

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

func (*UniV3FactoryPoolCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniV3FactoryPoolCreatedIterator) 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 UniV3FactoryRaw

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

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

func (*UniV3FactoryRaw) Call

func (_UniV3Factory *UniV3FactoryRaw) 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 (*UniV3FactoryRaw) Transact

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

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

func (*UniV3FactoryRaw) Transfer

func (_UniV3Factory *UniV3FactoryRaw) 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 UniV3FactorySession

type UniV3FactorySession struct {
	Contract     *UniV3Factory     // 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
}

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

func (*UniV3FactorySession) CreatePool

func (_UniV3Factory *UniV3FactorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xa1671295.

Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)

func (*UniV3FactorySession) EnableFeeAmount

func (_UniV3Factory *UniV3FactorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)

EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.

Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()

func (*UniV3FactorySession) FeeAmountTickSpacing

func (_UniV3Factory *UniV3FactorySession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)

FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.

Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)

func (*UniV3FactorySession) GetPool

func (_UniV3Factory *UniV3FactorySession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)

GetPool is a free data retrieval call binding the contract method 0x1698ee82.

Solidity: function getPool(address , address , uint24 ) view returns(address)

func (*UniV3FactorySession) Owner

func (_UniV3Factory *UniV3FactorySession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*UniV3FactorySession) Parameters

func (_UniV3Factory *UniV3FactorySession) Parameters() (struct {
	Factory     common.Address
	Token0      common.Address
	Token1      common.Address
	Fee         *big.Int
	TickSpacing *big.Int
}, error)

Parameters is a free data retrieval call binding the contract method 0x89035730.

Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)

func (*UniV3FactorySession) SetOwner

func (_UniV3Factory *UniV3FactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address _owner) returns()

type UniV3FactoryTransactor

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

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

func NewUniV3FactoryTransactor

func NewUniV3FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*UniV3FactoryTransactor, error)

NewUniV3FactoryTransactor creates a new write-only instance of UniV3Factory, bound to a specific deployed contract.

func (*UniV3FactoryTransactor) CreatePool

func (_UniV3Factory *UniV3FactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xa1671295.

Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)

func (*UniV3FactoryTransactor) EnableFeeAmount

func (_UniV3Factory *UniV3FactoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)

EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.

Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()

func (*UniV3FactoryTransactor) SetOwner

func (_UniV3Factory *UniV3FactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address _owner) returns()

type UniV3FactoryTransactorRaw

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

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

func (*UniV3FactoryTransactorRaw) Transact

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

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

func (*UniV3FactoryTransactorRaw) Transfer

func (_UniV3Factory *UniV3FactoryTransactorRaw) 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 UniV3FactoryTransactorSession

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

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

func (*UniV3FactoryTransactorSession) CreatePool

func (_UniV3Factory *UniV3FactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xa1671295.

Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)

func (*UniV3FactoryTransactorSession) EnableFeeAmount

func (_UniV3Factory *UniV3FactoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)

EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.

Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()

func (*UniV3FactoryTransactorSession) SetOwner

func (_UniV3Factory *UniV3FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address _owner) returns()

type VeloSugarV2

type VeloSugarV2 struct {
	VeloSugarV2Caller     // Read-only binding to the contract
	VeloSugarV2Transactor // Write-only binding to the contract
	VeloSugarV2Filterer   // Log filterer for contract events
}

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

func NewVeloSugarV2

func NewVeloSugarV2(address common.Address, backend bind.ContractBackend) (*VeloSugarV2, error)

NewVeloSugarV2 creates a new instance of VeloSugarV2, bound to a specific deployed contract.

type VeloSugarV2Caller

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

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

func NewVeloSugarV2Caller

func NewVeloSugarV2Caller(address common.Address, caller bind.ContractCaller) (*VeloSugarV2Caller, error)

NewVeloSugarV2Caller creates a new read-only instance of VeloSugarV2, bound to a specific deployed contract.

func (*VeloSugarV2Caller) All

func (_VeloSugarV2 *VeloSugarV2Caller) All(opts *bind.CallOpts, _limit *big.Int, _offset *big.Int, _account common.Address) ([]Struct0, error)

All is a free data retrieval call binding the contract method 0xc0d0bf32.

Solidity: function all(uint256 _limit, uint256 _offset, address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256)[])

func (*VeloSugarV2Caller) ByIndex

func (_VeloSugarV2 *VeloSugarV2Caller) ByIndex(opts *bind.CallOpts, _index *big.Int, _account common.Address) (Struct0, error)

ByIndex is a free data retrieval call binding the contract method 0xfbb70183.

Solidity: function byIndex(uint256 _index, address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256))

func (*VeloSugarV2Caller) Convertor

func (_VeloSugarV2 *VeloSugarV2Caller) Convertor(opts *bind.CallOpts) (common.Address, error)

Convertor is a free data retrieval call binding the contract method 0xb5030306.

Solidity: function convertor() view returns(address)

func (*VeloSugarV2Caller) EpochsByAddress

func (_VeloSugarV2 *VeloSugarV2Caller) EpochsByAddress(opts *bind.CallOpts, _limit *big.Int, _offset *big.Int, _address common.Address) ([]Struct4, error)

EpochsByAddress is a free data retrieval call binding the contract method 0x8878d06c.

Solidity: function epochsByAddress(uint256 _limit, uint256 _offset, address _address) view returns((uint256,address,uint256,uint256,(address,uint256)[],(address,uint256)[])[])

func (*VeloSugarV2Caller) EpochsLatest

func (_VeloSugarV2 *VeloSugarV2Caller) EpochsLatest(opts *bind.CallOpts, _limit *big.Int, _offset *big.Int) ([]Struct4, error)

EpochsLatest is a free data retrieval call binding the contract method 0xd94b9bc6.

Solidity: function epochsLatest(uint256 _limit, uint256 _offset) view returns((uint256,address,uint256,uint256,(address,uint256)[],(address,uint256)[])[])

func (*VeloSugarV2Caller) ForSwaps

func (_VeloSugarV2 *VeloSugarV2Caller) ForSwaps(opts *bind.CallOpts) ([]Struct1, error)

ForSwaps is a free data retrieval call binding the contract method 0xcc259a0e.

Solidity: function forSwaps() view returns((address,bool,address,address,address)[])

func (*VeloSugarV2Caller) Registry

func (_VeloSugarV2 *VeloSugarV2Caller) Registry(opts *bind.CallOpts) (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*VeloSugarV2Caller) Rewards

func (_VeloSugarV2 *VeloSugarV2Caller) Rewards(opts *bind.CallOpts, _limit *big.Int, _offset *big.Int, _venft_id *big.Int) ([]Struct5, error)

Rewards is a free data retrieval call binding the contract method 0xa9c57fee.

Solidity: function rewards(uint256 _limit, uint256 _offset, uint256 _venft_id) view returns((uint256,address,uint256,address,address,address)[])

func (*VeloSugarV2Caller) RewardsByAddress

func (_VeloSugarV2 *VeloSugarV2Caller) RewardsByAddress(opts *bind.CallOpts, _venft_id *big.Int, _pool common.Address) ([]Struct5, error)

RewardsByAddress is a free data retrieval call binding the contract method 0xcd824fb4.

Solidity: function rewardsByAddress(uint256 _venft_id, address _pool) view returns((uint256,address,uint256,address,address,address)[])

func (*VeloSugarV2Caller) ToMigrate

func (_VeloSugarV2 *VeloSugarV2Caller) ToMigrate(opts *bind.CallOpts, _account common.Address) ([]Struct0, error)

ToMigrate is a free data retrieval call binding the contract method 0xa1aaf452.

Solidity: function toMigrate(address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256)[])

func (*VeloSugarV2Caller) Tokens

func (_VeloSugarV2 *VeloSugarV2Caller) Tokens(opts *bind.CallOpts, _limit *big.Int, _offset *big.Int, _account common.Address) ([]Struct2, error)

Tokens is a free data retrieval call binding the contract method 0x5cc33187.

Solidity: function tokens(uint256 _limit, uint256 _offset, address _account) view returns((address,string,uint8,uint256,bool)[])

func (*VeloSugarV2Caller) V1Factory

func (_VeloSugarV2 *VeloSugarV2Caller) V1Factory(opts *bind.CallOpts) (common.Address, error)

V1Factory is a free data retrieval call binding the contract method 0x52d51859.

Solidity: function v1_factory() view returns(address)

func (*VeloSugarV2Caller) V1Token

func (_VeloSugarV2 *VeloSugarV2Caller) V1Token(opts *bind.CallOpts) (common.Address, error)

V1Token is a free data retrieval call binding the contract method 0x9ea10138.

Solidity: function v1_token() view returns(address)

func (*VeloSugarV2Caller) V1Voter

func (_VeloSugarV2 *VeloSugarV2Caller) V1Voter(opts *bind.CallOpts) (common.Address, error)

V1Voter is a free data retrieval call binding the contract method 0x2217f996.

Solidity: function v1_voter() view returns(address)

func (*VeloSugarV2Caller) Voter

func (_VeloSugarV2 *VeloSugarV2Caller) Voter(opts *bind.CallOpts) (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x46c96aac.

Solidity: function voter() view returns(address)

type VeloSugarV2CallerRaw

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

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

func (*VeloSugarV2CallerRaw) Call

func (_VeloSugarV2 *VeloSugarV2CallerRaw) 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 VeloSugarV2CallerSession

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

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

func (*VeloSugarV2CallerSession) All

func (_VeloSugarV2 *VeloSugarV2CallerSession) All(_limit *big.Int, _offset *big.Int, _account common.Address) ([]Struct0, error)

All is a free data retrieval call binding the contract method 0xc0d0bf32.

Solidity: function all(uint256 _limit, uint256 _offset, address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256)[])

func (*VeloSugarV2CallerSession) ByIndex

func (_VeloSugarV2 *VeloSugarV2CallerSession) ByIndex(_index *big.Int, _account common.Address) (Struct0, error)

ByIndex is a free data retrieval call binding the contract method 0xfbb70183.

Solidity: function byIndex(uint256 _index, address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256))

func (*VeloSugarV2CallerSession) Convertor

func (_VeloSugarV2 *VeloSugarV2CallerSession) Convertor() (common.Address, error)

Convertor is a free data retrieval call binding the contract method 0xb5030306.

Solidity: function convertor() view returns(address)

func (*VeloSugarV2CallerSession) EpochsByAddress

func (_VeloSugarV2 *VeloSugarV2CallerSession) EpochsByAddress(_limit *big.Int, _offset *big.Int, _address common.Address) ([]Struct4, error)

EpochsByAddress is a free data retrieval call binding the contract method 0x8878d06c.

Solidity: function epochsByAddress(uint256 _limit, uint256 _offset, address _address) view returns((uint256,address,uint256,uint256,(address,uint256)[],(address,uint256)[])[])

func (*VeloSugarV2CallerSession) EpochsLatest

func (_VeloSugarV2 *VeloSugarV2CallerSession) EpochsLatest(_limit *big.Int, _offset *big.Int) ([]Struct4, error)

EpochsLatest is a free data retrieval call binding the contract method 0xd94b9bc6.

Solidity: function epochsLatest(uint256 _limit, uint256 _offset) view returns((uint256,address,uint256,uint256,(address,uint256)[],(address,uint256)[])[])

func (*VeloSugarV2CallerSession) ForSwaps

func (_VeloSugarV2 *VeloSugarV2CallerSession) ForSwaps() ([]Struct1, error)

ForSwaps is a free data retrieval call binding the contract method 0xcc259a0e.

Solidity: function forSwaps() view returns((address,bool,address,address,address)[])

func (*VeloSugarV2CallerSession) Registry

func (_VeloSugarV2 *VeloSugarV2CallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*VeloSugarV2CallerSession) Rewards

func (_VeloSugarV2 *VeloSugarV2CallerSession) Rewards(_limit *big.Int, _offset *big.Int, _venft_id *big.Int) ([]Struct5, error)

Rewards is a free data retrieval call binding the contract method 0xa9c57fee.

Solidity: function rewards(uint256 _limit, uint256 _offset, uint256 _venft_id) view returns((uint256,address,uint256,address,address,address)[])

func (*VeloSugarV2CallerSession) RewardsByAddress

func (_VeloSugarV2 *VeloSugarV2CallerSession) RewardsByAddress(_venft_id *big.Int, _pool common.Address) ([]Struct5, error)

RewardsByAddress is a free data retrieval call binding the contract method 0xcd824fb4.

Solidity: function rewardsByAddress(uint256 _venft_id, address _pool) view returns((uint256,address,uint256,address,address,address)[])

func (*VeloSugarV2CallerSession) ToMigrate

func (_VeloSugarV2 *VeloSugarV2CallerSession) ToMigrate(_account common.Address) ([]Struct0, error)

ToMigrate is a free data retrieval call binding the contract method 0xa1aaf452.

Solidity: function toMigrate(address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256)[])

func (*VeloSugarV2CallerSession) Tokens

func (_VeloSugarV2 *VeloSugarV2CallerSession) Tokens(_limit *big.Int, _offset *big.Int, _account common.Address) ([]Struct2, error)

Tokens is a free data retrieval call binding the contract method 0x5cc33187.

Solidity: function tokens(uint256 _limit, uint256 _offset, address _account) view returns((address,string,uint8,uint256,bool)[])

func (*VeloSugarV2CallerSession) V1Factory

func (_VeloSugarV2 *VeloSugarV2CallerSession) V1Factory() (common.Address, error)

V1Factory is a free data retrieval call binding the contract method 0x52d51859.

Solidity: function v1_factory() view returns(address)

func (*VeloSugarV2CallerSession) V1Token

func (_VeloSugarV2 *VeloSugarV2CallerSession) V1Token() (common.Address, error)

V1Token is a free data retrieval call binding the contract method 0x9ea10138.

Solidity: function v1_token() view returns(address)

func (*VeloSugarV2CallerSession) V1Voter

func (_VeloSugarV2 *VeloSugarV2CallerSession) V1Voter() (common.Address, error)

V1Voter is a free data retrieval call binding the contract method 0x2217f996.

Solidity: function v1_voter() view returns(address)

func (*VeloSugarV2CallerSession) Voter

func (_VeloSugarV2 *VeloSugarV2CallerSession) Voter() (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x46c96aac.

Solidity: function voter() view returns(address)

type VeloSugarV2Filterer

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

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

func NewVeloSugarV2Filterer

func NewVeloSugarV2Filterer(address common.Address, filterer bind.ContractFilterer) (*VeloSugarV2Filterer, error)

NewVeloSugarV2Filterer creates a new log filterer instance of VeloSugarV2, bound to a specific deployed contract.

type VeloSugarV2Raw

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

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

func (*VeloSugarV2Raw) Call

func (_VeloSugarV2 *VeloSugarV2Raw) 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 (*VeloSugarV2Raw) Transact

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

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

func (*VeloSugarV2Raw) Transfer

func (_VeloSugarV2 *VeloSugarV2Raw) 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 VeloSugarV2Session

type VeloSugarV2Session struct {
	Contract     *VeloSugarV2      // 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
}

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

func (*VeloSugarV2Session) All

func (_VeloSugarV2 *VeloSugarV2Session) All(_limit *big.Int, _offset *big.Int, _account common.Address) ([]Struct0, error)

All is a free data retrieval call binding the contract method 0xc0d0bf32.

Solidity: function all(uint256 _limit, uint256 _offset, address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256)[])

func (*VeloSugarV2Session) ByIndex

func (_VeloSugarV2 *VeloSugarV2Session) ByIndex(_index *big.Int, _account common.Address) (Struct0, error)

ByIndex is a free data retrieval call binding the contract method 0xfbb70183.

Solidity: function byIndex(uint256 _index, address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256))

func (*VeloSugarV2Session) Convertor

func (_VeloSugarV2 *VeloSugarV2Session) Convertor() (common.Address, error)

Convertor is a free data retrieval call binding the contract method 0xb5030306.

Solidity: function convertor() view returns(address)

func (*VeloSugarV2Session) EpochsByAddress

func (_VeloSugarV2 *VeloSugarV2Session) EpochsByAddress(_limit *big.Int, _offset *big.Int, _address common.Address) ([]Struct4, error)

EpochsByAddress is a free data retrieval call binding the contract method 0x8878d06c.

Solidity: function epochsByAddress(uint256 _limit, uint256 _offset, address _address) view returns((uint256,address,uint256,uint256,(address,uint256)[],(address,uint256)[])[])

func (*VeloSugarV2Session) EpochsLatest

func (_VeloSugarV2 *VeloSugarV2Session) EpochsLatest(_limit *big.Int, _offset *big.Int) ([]Struct4, error)

EpochsLatest is a free data retrieval call binding the contract method 0xd94b9bc6.

Solidity: function epochsLatest(uint256 _limit, uint256 _offset) view returns((uint256,address,uint256,uint256,(address,uint256)[],(address,uint256)[])[])

func (*VeloSugarV2Session) ForSwaps

func (_VeloSugarV2 *VeloSugarV2Session) ForSwaps() ([]Struct1, error)

ForSwaps is a free data retrieval call binding the contract method 0xcc259a0e.

Solidity: function forSwaps() view returns((address,bool,address,address,address)[])

func (*VeloSugarV2Session) Registry

func (_VeloSugarV2 *VeloSugarV2Session) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*VeloSugarV2Session) Rewards

func (_VeloSugarV2 *VeloSugarV2Session) Rewards(_limit *big.Int, _offset *big.Int, _venft_id *big.Int) ([]Struct5, error)

Rewards is a free data retrieval call binding the contract method 0xa9c57fee.

Solidity: function rewards(uint256 _limit, uint256 _offset, uint256 _venft_id) view returns((uint256,address,uint256,address,address,address)[])

func (*VeloSugarV2Session) RewardsByAddress

func (_VeloSugarV2 *VeloSugarV2Session) RewardsByAddress(_venft_id *big.Int, _pool common.Address) ([]Struct5, error)

RewardsByAddress is a free data retrieval call binding the contract method 0xcd824fb4.

Solidity: function rewardsByAddress(uint256 _venft_id, address _pool) view returns((uint256,address,uint256,address,address,address)[])

func (*VeloSugarV2Session) ToMigrate

func (_VeloSugarV2 *VeloSugarV2Session) ToMigrate(_account common.Address) ([]Struct0, error)

ToMigrate is a free data retrieval call binding the contract method 0xa1aaf452.

Solidity: function toMigrate(address _account) view returns((address,string,uint8,bool,uint256,address,uint256,uint256,address,uint256,uint256,address,uint256,bool,address,address,address,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256)[])

func (*VeloSugarV2Session) Tokens

func (_VeloSugarV2 *VeloSugarV2Session) Tokens(_limit *big.Int, _offset *big.Int, _account common.Address) ([]Struct2, error)

Tokens is a free data retrieval call binding the contract method 0x5cc33187.

Solidity: function tokens(uint256 _limit, uint256 _offset, address _account) view returns((address,string,uint8,uint256,bool)[])

func (*VeloSugarV2Session) V1Factory

func (_VeloSugarV2 *VeloSugarV2Session) V1Factory() (common.Address, error)

V1Factory is a free data retrieval call binding the contract method 0x52d51859.

Solidity: function v1_factory() view returns(address)

func (*VeloSugarV2Session) V1Token

func (_VeloSugarV2 *VeloSugarV2Session) V1Token() (common.Address, error)

V1Token is a free data retrieval call binding the contract method 0x9ea10138.

Solidity: function v1_token() view returns(address)

func (*VeloSugarV2Session) V1Voter

func (_VeloSugarV2 *VeloSugarV2Session) V1Voter() (common.Address, error)

V1Voter is a free data retrieval call binding the contract method 0x2217f996.

Solidity: function v1_voter() view returns(address)

func (*VeloSugarV2Session) Voter

func (_VeloSugarV2 *VeloSugarV2Session) Voter() (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x46c96aac.

Solidity: function voter() view returns(address)

type VeloSugarV2Transactor

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

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

func NewVeloSugarV2Transactor

func NewVeloSugarV2Transactor(address common.Address, transactor bind.ContractTransactor) (*VeloSugarV2Transactor, error)

NewVeloSugarV2Transactor creates a new write-only instance of VeloSugarV2, bound to a specific deployed contract.

type VeloSugarV2TransactorRaw

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

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

func (*VeloSugarV2TransactorRaw) Transact

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

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

func (*VeloSugarV2TransactorRaw) Transfer

func (_VeloSugarV2 *VeloSugarV2TransactorRaw) 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 VeloSugarV2TransactorSession

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

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

Jump to

Keyboard shortcuts

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