Documentation ¶
Index ¶
- Variables
- type CustomErrors
- type CustomErrorsCaller
- type CustomErrorsCallerRaw
- type CustomErrorsCallerSession
- type CustomErrorsFilterer
- type CustomErrorsRaw
- func (_CustomErrors *CustomErrorsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CustomErrors *CustomErrorsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CustomErrors *CustomErrorsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CustomErrorsSession
- type CustomErrorsTransactor
- type CustomErrorsTransactorRaw
- type CustomErrorsTransactorSession
Constants ¶
This section is empty.
Variables ¶
var CustomErrorsABI = CustomErrorsMetaData.ABI
CustomErrorsABI is the input ABI used to generate the binding from. Deprecated: Use CustomErrorsMetaData.ABI instead.
var CustomErrorsMetaData = &bind.MetaData{
ABI: "[{\"type\":\"error\",\"name\":\"ActionAlreadySignalled\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ActionNotSignalled\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AdlNotEnabled\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AdlNotRequired\",\"inputs\":[{\"name\":\"pnlToPoolFactor\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"maxPnlFactorForAdl\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ArrayOutOfBoundsBytes\",\"inputs\":[{\"name\":\"values\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"label\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"ArrayOutOfBoundsUint256\",\"inputs\":[{\"name\":\"values\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"label\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"BlockNumbersNotSorted\",\"inputs\":[{\"name\":\"minOracleBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"prevMinOracleBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"CollateralAlreadyClaimed\",\"inputs\":[{\"name\":\"adjustedClaimableAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"claimedAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"CompactedArrayOutOfBounds\",\"inputs\":[{\"name\":\"compactedValues\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"slotIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"label\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"CouldNotSendNativeToken\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"DepositNotFound\",\"inputs\":[{\"name\":\"key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"DisabledFeature\",\"inputs\":[{\"name\":\"key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"DisabledMarket\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"DuplicatedIndex\",\"inputs\":[{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"label\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"DuplicatedMarketInSwapPath\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"EmptyAccount\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyAddressInMarketTokenBalanceValidation\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"EmptyCompactedBlockNumber\",\"inputs\":[{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"EmptyCompactedPrice\",\"inputs\":[{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"EmptyCompactedTimestamp\",\"inputs\":[{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"EmptyDeposit\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyDepositAmounts\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyDepositAmountsAfterSwap\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyHoldingAddress\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyMarket\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyMarketTokenSupply\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyOrder\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyPosition\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyPriceFeed\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"EmptyPriceFeedMultiplier\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"EmptyPrimaryPrice\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"EmptyRealtimeFeedId\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"EmptyRealtimeFeedMultiplier\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"EmptyReceiver\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptySigner\",\"inputs\":[{\"name\":\"signerIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"EmptySizeDeltaInTokens\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyTokenTranferGasLimit\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"EmptyWithdrawal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyWithdrawalAmount\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EndOfOracleSimulation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ExternalCallFailed\",\"inputs\":[{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"type\":\"error\",\"name\":\"HasRealtimeFeedId\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"feedId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"InsufficientCollateralAmount\",\"inputs\":[{\"name\":\"collateralAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"collateralDeltaAmount\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"InsufficientCollateralUsd\",\"inputs\":[{\"name\":\"remainingCollateralUsd\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"InsufficientExecutionFee\",\"inputs\":[{\"name\":\"minExecutionFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"executionFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientExecutionGas\",\"inputs\":[{\"name\":\"startingGas\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"estimatedGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"minAdditionalGasForExecution\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientExecutionGasForErrorHandling\",\"inputs\":[{\"name\":\"startingGas\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"minHandleErrorGas\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientFundsToPayForCosts\",\"inputs\":[{\"name\":\"remainingCostUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"step\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"InsufficientHandleExecutionErrorGas\",\"inputs\":[{\"name\":\"gas\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"minHandleExecutionErrorGas\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientMarketTokens\",\"inputs\":[{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientOutputAmount\",\"inputs\":[{\"name\":\"outputAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"minOutputAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientPoolAmount\",\"inputs\":[{\"name\":\"poolAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientReserve\",\"inputs\":[{\"name\":\"reservedUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxReservedUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientReserveForOpenInterest\",\"inputs\":[{\"name\":\"reservedUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxReservedUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientSwapOutputAmount\",\"inputs\":[{\"name\":\"outputAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"minOutputAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientWntAmount\",\"inputs\":[{\"name\":\"wntAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"executionFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientWntAmountForExecutionFee\",\"inputs\":[{\"name\":\"wntAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"executionFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidAdl\",\"inputs\":[{\"name\":\"nextPnlToPoolFactor\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"pnlToPoolFactor\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"InvalidBaseKey\",\"inputs\":[{\"name\":\"baseKey\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"InvalidBlockNumber\",\"inputs\":[{\"name\":\"minOracleBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"currentBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidBlockRangeSet\",\"inputs\":[{\"name\":\"largestMinBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"smallestMaxBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidClaimAffiliateRewardsInput\",\"inputs\":[{\"name\":\"marketsLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tokensLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidClaimCollateralInput\",\"inputs\":[{\"name\":\"marketsLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tokensLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"timeKeysLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidClaimFeesInput\",\"inputs\":[{\"name\":\"marketsLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tokensLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidClaimFundingFeesInput\",\"inputs\":[{\"name\":\"marketsLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tokensLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidClaimUiFeesInput\",\"inputs\":[{\"name\":\"marketsLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tokensLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidCollateralTokenForMarket\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidDecreaseOrderSize\",\"inputs\":[{\"name\":\"sizeDeltaUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"positionSizeInUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidDecreasePositionSwapType\",\"inputs\":[{\"name\":\"decreasePositionSwapType\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidExecutionFeeForMigration\",\"inputs\":[{\"name\":\"totalExecutionFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"msgValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidExternalCallInput\",\"inputs\":[{\"name\":\"targetsLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"dataListLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidExternalCallTarget\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidExternalReceiversInput\",\"inputs\":[{\"name\":\"refundTokensLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"refundReceiversLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidFeeFactor\",\"inputs\":[{\"name\":\"baseKey\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidFeeReceiver\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidFeedPrice\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"price\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"InvalidGlpAmount\",\"inputs\":[{\"name\":\"totalGlpAmountToRedeem\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"totalGlpAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidKeeperForFrozenOrder\",\"inputs\":[{\"name\":\"keeper\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidMarketTokenBalance\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expectedMinBalance\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidMarketTokenBalanceForClaimableFunding\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"claimableFundingFeeAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidMarketTokenBalanceForCollateralAmount\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"collateralAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidMedianMinMaxPrice\",\"inputs\":[{\"name\":\"minPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidMinMarketTokensForFirstDeposit\",\"inputs\":[{\"name\":\"minMarketTokens\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expectedMinMarketTokens\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidMinMaxBlockNumber\",\"inputs\":[{\"name\":\"minOracleBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxOracleBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidMinMaxForPrice\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"min\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"max\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidNativeTokenSender\",\"inputs\":[{\"name\":\"msgSender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidOraclePrice\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidOracleSigner\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidOrderPrices\",\"inputs\":[{\"name\":\"primaryPriceMin\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"primaryPriceMax\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"triggerPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"orderType\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidOutputToken\",\"inputs\":[{\"name\":\"tokenOut\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"expectedTokenOut\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidPoolValueForDeposit\",\"inputs\":[{\"name\":\"poolValue\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"InvalidPoolValueForWithdrawal\",\"inputs\":[{\"name\":\"poolValue\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"InvalidPositionMarket\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidPositionSizeValues\",\"inputs\":[{\"name\":\"sizeInUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sizeInTokens\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidPrimaryPricesForSimulation\",\"inputs\":[{\"name\":\"primaryTokensLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"primaryPricesLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidRealtimeBidAsk\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"bid\",\"type\":\"int192\",\"internalType\":\"int192\"},{\"name\":\"ask\",\"type\":\"int192\",\"internalType\":\"int192\"}]},{\"type\":\"error\",\"name\":\"InvalidRealtimeBlockHash\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"expectedBlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"InvalidRealtimeFeedId\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"feedId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"expectedFeedId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"InvalidRealtimeFeedLengths\",\"inputs\":[{\"name\":\"tokensLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"dataLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidRealtimePrices\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"bid\",\"type\":\"int192\",\"internalType\":\"int192\"},{\"name\":\"ask\",\"type\":\"int192\",\"internalType\":\"int192\"}]},{\"type\":\"error\",\"name\":\"InvalidReceiverForFirstDeposit\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"expectedReceiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidReceiverForSubaccountOrder\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"expectedReceiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidSignature\",\"inputs\":[{\"name\":\"recoveredSigner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"expectedSigner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidSignerMinMaxPrice\",\"inputs\":[{\"name\":\"minPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidSizeDeltaForAdl\",\"inputs\":[{\"name\":\"sizeDeltaUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"positionSizeInUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidSwapMarket\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidSwapOutputToken\",\"inputs\":[{\"name\":\"outputToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"expectedOutputToken\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidTimelockDelay\",\"inputs\":[{\"name\":\"timelockDelay\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidTokenIn\",\"inputs\":[{\"name\":\"tokenIn\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidUiFeeFactor\",\"inputs\":[{\"name\":\"uiFeeFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxUiFeeFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"LiquidatablePosition\",\"inputs\":[{\"name\":\"reason\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"remainingCollateralUsd\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"minCollateralUsd\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"minCollateralUsdForLeverage\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"MarketAlreadyExists\",\"inputs\":[{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"existingMarketAddress\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"MarketNotFound\",\"inputs\":[{\"name\":\"key\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"MaskIndexOutOfBounds\",\"inputs\":[{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"label\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"MaxCallbackGasLimitExceeded\",\"inputs\":[{\"name\":\"callbackGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxCallbackGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxOpenInterestExceeded\",\"inputs\":[{\"name\":\"openInterest\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxOpenInterest\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxOracleSigners\",\"inputs\":[{\"name\":\"oracleSigners\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxOracleSigners\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxPoolAmountExceeded\",\"inputs\":[{\"name\":\"poolAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxPoolAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxPoolAmountForDepositExceeded\",\"inputs\":[{\"name\":\"poolAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxPoolAmountForDeposit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxPriceAgeExceeded\",\"inputs\":[{\"name\":\"oracleTimestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"currentTimestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxPricesNotSorted\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"price\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"prevPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxRefPriceDeviationExceeded\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"price\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"refPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxRefPriceDeviationFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxSignerIndex\",\"inputs\":[{\"name\":\"signerIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxSignerIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxSubaccountActionCountExceeded\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"subaccount\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"count\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxCount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxSwapPathLengthExceeded\",\"inputs\":[{\"name\":\"swapPathLengh\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxSwapPathLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MaxTimelockDelayExceeded\",\"inputs\":[{\"name\":\"timelockDelay\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MinLongTokens\",\"inputs\":[{\"name\":\"received\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MinMarketTokens\",\"inputs\":[{\"name\":\"received\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MinOracleSigners\",\"inputs\":[{\"name\":\"oracleSigners\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"minOracleSigners\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MinPositionSize\",\"inputs\":[{\"name\":\"positionSizeInUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"minPositionSizeUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MinPricesNotSorted\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"price\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"prevPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"MinShortTokens\",\"inputs\":[{\"name\":\"received\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"NegativeExecutionPrice\",\"inputs\":[{\"name\":\"executionPrice\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"price\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"positionSizeInUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"priceImpactUsd\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"sizeDeltaUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"NonEmptyTokensWithPrices\",\"inputs\":[{\"name\":\"tokensWithPricesLength\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"OpenInterestCannotBeUpdatedForSwapOnlyMarket\",\"inputs\":[{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OracleBlockNumberNotWithinRange\",\"inputs\":[{\"name\":\"minOracleBlockNumbers\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"maxOracleBlockNumbers\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"blockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"OracleBlockNumbersAreSmallerThanRequired\",\"inputs\":[{\"name\":\"oracleBlockNumbers\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"expectedBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"OrderAlreadyFrozen\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OrderNotFound\",\"inputs\":[{\"name\":\"key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"OrderNotFulfillableAtAcceptablePrice\",\"inputs\":[{\"name\":\"price\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"acceptablePrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"OrderNotUpdatable\",\"inputs\":[{\"name\":\"orderType\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"OrderTypeCannotBeCreated\",\"inputs\":[{\"name\":\"orderType\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"PnlFactorExceededForLongs\",\"inputs\":[{\"name\":\"pnlToPoolFactor\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"maxPnlFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"PnlFactorExceededForShorts\",\"inputs\":[{\"name\":\"pnlToPoolFactor\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"maxPnlFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"PnlOvercorrected\",\"inputs\":[{\"name\":\"nextPnlToPoolFactor\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"minPnlFactorForAdl\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"PositionNotFound\",\"inputs\":[{\"name\":\"key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"PositionShouldNotBeLiquidated\",\"inputs\":[{\"name\":\"reason\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"remainingCollateralUsd\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"minCollateralUsd\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"minCollateralUsdForLeverage\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"PriceAlreadySet\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"minPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"PriceFeedNotUpdated\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"heartbeatDuration\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"PriceImpactLargerThanOrderSize\",\"inputs\":[{\"name\":\"priceImpactUsd\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"sizeDeltaUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"RealtimeMaxPriceAgeExceeded\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"oracleTimestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"currentTimestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"RequestNotYetCancellable\",\"inputs\":[{\"name\":\"requestAge\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"requestExpirationAge\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"requestType\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"SelfTransferNotSupported\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"SignalTimeNotYetPassed\",\"inputs\":[{\"name\":\"signalTime\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"SubaccountNotAuthorized\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"subaccount\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"SwapPriceImpactExceedsAmountIn\",\"inputs\":[{\"name\":\"amountAfterFees\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"negativeImpactAmount\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"ThereMustBeAtLeastOneRoleAdmin\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ThereMustBeAtLeastOneTimelockMultiSig\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TokenTransferError\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"UnableToGetBorrowingFactorEmptyPoolUsd\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UnableToGetCachedTokenPrice\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"UnableToGetFundingFactorEmptyOpenInterest\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UnableToGetOppositeToken\",\"inputs\":[{\"name\":\"inputToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"UnableToWithdrawCollateral\",\"inputs\":[{\"name\":\"estimatedRemainingCollateralUsd\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"Unauthorized\",\"inputs\":[{\"name\":\"msgSender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"role\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"UnexpectedBorrowingFactor\",\"inputs\":[{\"name\":\"positionBorrowingFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"cumulativeBorrowingFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"UnexpectedMarket\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UnexpectedPoolValue\",\"inputs\":[{\"name\":\"poolValue\",\"type\":\"int256\",\"internalType\":\"int256\"}]},{\"type\":\"error\",\"name\":\"UnexpectedPositionState\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UnexpectedTokenForVirtualInventory\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"market\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"UnsupportedOracleBlockNumberType\",\"inputs\":[{\"name\":\"oracleBlockNumberType\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"UnsupportedOrderType\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UsdDeltaExceedsLongOpenInterest\",\"inputs\":[{\"name\":\"usdDelta\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"longOpenInterest\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"UsdDeltaExceedsPoolValue\",\"inputs\":[{\"name\":\"usdDelta\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"poolUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"UsdDeltaExceedsShortOpenInterest\",\"inputs\":[{\"name\":\"usdDelta\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"shortOpenInterest\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"WithdrawalNotFound\",\"inputs\":[{\"name\":\"key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}]",
}
CustomErrorsMetaData contains all meta data concerning the CustomErrors contract.
Functions ¶
This section is empty.
Types ¶
type CustomErrors ¶
type CustomErrors struct { CustomErrorsCaller // Read-only binding to the contract CustomErrorsTransactor // Write-only binding to the contract CustomErrorsFilterer // Log filterer for contract events }
CustomErrors is an auto generated Go binding around an Ethereum contract.
func NewCustomErrors ¶
func NewCustomErrors(address common.Address, backend bind.ContractBackend) (*CustomErrors, error)
NewCustomErrors creates a new instance of CustomErrors, bound to a specific deployed contract.
type CustomErrorsCaller ¶
type CustomErrorsCaller struct {
// contains filtered or unexported fields
}
CustomErrorsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCustomErrorsCaller ¶
func NewCustomErrorsCaller(address common.Address, caller bind.ContractCaller) (*CustomErrorsCaller, error)
NewCustomErrorsCaller creates a new read-only instance of CustomErrors, bound to a specific deployed contract.
type CustomErrorsCallerRaw ¶
type CustomErrorsCallerRaw struct {
Contract *CustomErrorsCaller // Generic read-only contract binding to access the raw methods on
}
CustomErrorsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CustomErrorsCallerRaw) Call ¶
func (_CustomErrors *CustomErrorsCallerRaw) 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 CustomErrorsCallerSession ¶
type CustomErrorsCallerSession struct { Contract *CustomErrorsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CustomErrorsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type CustomErrorsFilterer ¶
type CustomErrorsFilterer struct {
// contains filtered or unexported fields
}
CustomErrorsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCustomErrorsFilterer ¶
func NewCustomErrorsFilterer(address common.Address, filterer bind.ContractFilterer) (*CustomErrorsFilterer, error)
NewCustomErrorsFilterer creates a new log filterer instance of CustomErrors, bound to a specific deployed contract.
type CustomErrorsRaw ¶
type CustomErrorsRaw struct {
Contract *CustomErrors // Generic contract binding to access the raw methods on
}
CustomErrorsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CustomErrorsRaw) Call ¶
func (_CustomErrors *CustomErrorsRaw) 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 (*CustomErrorsRaw) Transact ¶
func (_CustomErrors *CustomErrorsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CustomErrorsRaw) Transfer ¶
func (_CustomErrors *CustomErrorsRaw) 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 CustomErrorsSession ¶
type CustomErrorsSession struct { Contract *CustomErrors // 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 }
CustomErrorsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type CustomErrorsTransactor ¶
type CustomErrorsTransactor struct {
// contains filtered or unexported fields
}
CustomErrorsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCustomErrorsTransactor ¶
func NewCustomErrorsTransactor(address common.Address, transactor bind.ContractTransactor) (*CustomErrorsTransactor, error)
NewCustomErrorsTransactor creates a new write-only instance of CustomErrors, bound to a specific deployed contract.
type CustomErrorsTransactorRaw ¶
type CustomErrorsTransactorRaw struct {
Contract *CustomErrorsTransactor // Generic write-only contract binding to access the raw methods on
}
CustomErrorsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CustomErrorsTransactorRaw) Transact ¶
func (_CustomErrors *CustomErrorsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CustomErrorsTransactorRaw) Transfer ¶
func (_CustomErrors *CustomErrorsTransactorRaw) 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 CustomErrorsTransactorSession ¶
type CustomErrorsTransactorSession struct { Contract *CustomErrorsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CustomErrorsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.