perpsMarketGoerli

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PerpsMarketGoerliABI = PerpsMarketGoerliMetaData.ABI

PerpsMarketGoerliABI is the input ABI used to generate the binding from. Deprecated: Use PerpsMarketGoerliMetaData.ABI instead.

View Source
var PerpsMarketGoerliMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"which\",\"type\":\"bytes32\"}],\"name\":\"FeatureUnavailable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"InvalidAccountId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"}],\"name\":\"InvalidPermission\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"origin\",\"type\":\"address\"}],\"name\":\"OnlyAccountTokenProxy\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"PermissionDenied\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"PermissionNotGranted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PositionOutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ValueAlreadyInSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ValueNotInSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"AccountCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"PermissionGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"PermissionRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"createAccount\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"requestedAccountId\",\"type\":\"uint128\"}],\"name\":\"createAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getAccountLastInteraction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getAccountOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getAccountPermissions\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"permissions\",\"type\":\"bytes32[]\"}],\"internalType\":\"structIAccountModule.AccountPermissions[]\",\"name\":\"accountPerms\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAccountTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"grantPermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"hasPermission\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"isAuthorized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"notifyAccountTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"}],\"name\":\"renouncePermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"revokePermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"MismatchAssociatedSystemKind\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"MissingAssociatedSystem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"kind\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"proxy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"AssociatedSystemSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"getAssociatedSystem\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"kind\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"initOrUpgradeNft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"initOrUpgradeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"endpoint\",\"type\":\"address\"}],\"name\":\"registerUnmanagedSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"DeniedMulticallTarget\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"parameter\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"InvalidParameter\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"RecursiveMulticall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"getMessageSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"to\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"multicallThrough\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowlisted\",\"type\":\"bool\"}],\"name\":\"setAllowlistedMulticallTarget\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ImplementationIsSterile\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoChange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contr\",\"type\":\"address\"}],\"name\":\"NotAContract\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"NotNominated\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpgradeSimulationFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerNominated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"self\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newNominatedOwner\",\"type\":\"address\"}],\"name\":\"nominateNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nominatedOwner\",\"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\":\"renounceNomination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"simulateUpgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"InvalidMarket\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowInt256ToUint256\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint256ToInt256\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint256ToUint128\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PerpsMarketNotInitialized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"globalPerpsMarketId\",\"type\":\"uint128\"}],\"name\":\"FactoryInitialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"perpsMarketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"marketName\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"marketSymbol\",\"type\":\"string\"}],\"name\":\"MarketCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"requestedMarketId\",\"type\":\"uint128\"},{\"internalType\":\"string\",\"name\":\"marketName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"marketSymbol\",\"type\":\"string\"}],\"name\":\"createMarket\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initializeFactory\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"perpsMarketId\",\"type\":\"uint128\"}],\"name\":\"minimumCredit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"perpsMarketId\",\"type\":\"uint128\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"perpsMarketId\",\"type\":\"uint128\"}],\"name\":\"reportedDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractISpotMarketSystem\",\"name\":\"spotMarket\",\"type\":\"address\"}],\"name\":\"setSpotMarket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractISynthetixSystem\",\"name\":\"synthetix\",\"type\":\"address\"}],\"name\":\"setSynthetix\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"AccountLiquidatable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"AccountNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawAmount\",\"type\":\"uint256\"}],\"name\":\"InsufficientCollateral\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"availableUsdDenominated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requiredUsdDenominated\",\"type\":\"uint256\"}],\"name\":\"InsufficientCollateralAvailableForWithdraw\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawAmount\",\"type\":\"uint256\"}],\"name\":\"InsufficientSynthCollateral\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amountDelta\",\"type\":\"int256\"}],\"name\":\"InvalidAmountDelta\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"maxAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"depositAmount\",\"type\":\"uint256\"}],\"name\":\"MaxCollateralExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"maxCollateralsPerAccount\",\"type\":\"uint128\"}],\"name\":\"MaxCollateralsPerAccountReached\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint128ToInt128\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingOrderExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"PriceFeedNotSet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"SynthNotEnabledForCollateral\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amountDelta\",\"type\":\"int256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"CollateralModified\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getAvailableMargin\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"availableMargin\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"getCollateralAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getOpenPosition\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"totalPnl\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"accruedFunding\",\"type\":\"int256\"},{\"internalType\":\"int128\",\"name\":\"positionSize\",\"type\":\"int128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getRequiredMargins\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"requiredInitialMargin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requiredMaintenanceMargin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAccumulatedLiquidationRewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxLiquidationReward\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getWithdrawableMargin\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"withdrawableMargin\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"int256\",\"name\":\"amountDelta\",\"type\":\"int256\"}],\"name\":\"modifyCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"totalAccountOpenInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"totalCollateralValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"currentFundingRate\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"currentFundingVelocity\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"orderSize\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"fillPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketSummary\",\"outputs\":[{\"components\":[{\"internalType\":\"int256\",\"name\":\"skew\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"size\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxOpenInterest\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"currentFundingRate\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"currentFundingVelocity\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"indexPrice\",\"type\":\"uint256\"}],\"internalType\":\"structIPerpsMarketModule.MarketSummary\",\"name\":\"summary\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"indexPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"maxOpenInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"metadata\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"size\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"skew\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"fillPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"acceptablePrice\",\"type\":\"uint256\"}],\"name\":\"AcceptablePriceExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"availableMargin\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"minMargin\",\"type\":\"uint256\"}],\"name\":\"InsufficientMargin\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"settlementStrategyId\",\"type\":\"uint128\"}],\"name\":\"InvalidSettlementStrategy\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"maxMarketSize\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"newSideSize\",\"type\":\"int256\"}],\"name\":\"MaxOpenInterestReached\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"maxPositionsPerAccount\",\"type\":\"uint128\"}],\"name\":\"MaxPositionsPerAccountReached\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowInt256ToInt128\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroSizeOrder\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"sizeDelta\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"acceptablePrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expirationTime\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"trackingCode\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"OrderCommitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"sizeDelta\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"acceptablePrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"trackingCode\",\"type\":\"bytes32\"}],\"name\":\"PreviousOrderExpired\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"sizeDelta\",\"type\":\"int128\"},{\"internalType\":\"uint128\",\"name\":\"settlementStrategyId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"acceptablePrice\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"trackingCode\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"internalType\":\"structAsyncOrder.OrderCommitmentRequest\",\"name\":\"commitment\",\"type\":\"tuple\"}],\"name\":\"commitOrder\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"sizeDelta\",\"type\":\"int128\"},{\"internalType\":\"uint128\",\"name\":\"settlementStrategyId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"acceptablePrice\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"trackingCode\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"internalType\":\"structAsyncOrder.OrderCommitmentRequest\",\"name\":\"request\",\"type\":\"tuple\"}],\"internalType\":\"structAsyncOrder.Data\",\"name\":\"retOrder\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"fees\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"sizeDelta\",\"type\":\"int128\"}],\"name\":\"computeOrderFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"orderFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fillPrice\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getOrder\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"sizeDelta\",\"type\":\"int128\"},{\"internalType\":\"uint128\",\"name\":\"settlementStrategyId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"acceptablePrice\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"trackingCode\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"internalType\":\"structAsyncOrder.OrderCommitmentRequest\",\"name\":\"request\",\"type\":\"tuple\"}],\"internalType\":\"structAsyncOrder.Data\",\"name\":\"order\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"sizeDelta\",\"type\":\"int128\"}],\"name\":\"requiredMarginForOrder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"requiredMargin\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"leftover\",\"type\":\"uint256\"}],\"name\":\"InsufficientMarginError\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"urls\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes4\",\"name\":\"callbackFunction\",\"type\":\"bytes4\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"OffchainLookup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OrderNotValid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint256ToUint64\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deviation\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tolerance\",\"type\":\"uint256\"}],\"name\":\"PriceDeviationToleranceExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"strategyType\",\"type\":\"uint8\"}],\"name\":\"SettlementStrategyNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementExpiration\",\"type\":\"uint256\"}],\"name\":\"SettlementWindowExpired\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"}],\"name\":\"SettlementWindowNotOpen\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"skew\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"size\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"sizeDelta\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"currentFundingRate\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"currentFundingVelocity\",\"type\":\"int256\"}],\"name\":\"MarketUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fillPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"pnl\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"accruedFunding\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"sizeDelta\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"newSize\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"referralFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collectedFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"settlementReward\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"trackingCode\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"settler\",\"type\":\"address\"}],\"name\":\"OrderSettled\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"PRECISION\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"settle\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"settlePythOrder\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowAll\",\"type\":\"bool\"}],\"name\":\"FeatureFlagAllowAllSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"FeatureFlagAllowlistAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"FeatureFlagAllowlistRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"deniers\",\"type\":\"address[]\"}],\"name\":\"FeatureFlagDeniersReset\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"denyAll\",\"type\":\"bool\"}],\"name\":\"FeatureFlagDenyAllSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addToFeatureFlagAllowlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getDeniers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagAllowAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagAllowlist\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagDenyAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isFeatureAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removeFromFeatureFlagAllowlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"deniers\",\"type\":\"address[]\"}],\"name\":\"setDeniers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowAll\",\"type\":\"bool\"}],\"name\":\"setFeatureFlagAllowAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"denyAll\",\"type\":\"bool\"}],\"name\":\"setFeatureFlagDenyAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"NotEligibleForLiquidation\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"fullLiquidation\",\"type\":\"bool\"}],\"name\":\"AccountLiquidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountLiquidated\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"currentPositionSize\",\"type\":\"int128\"}],\"name\":\"PositionLiquidated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"canLiquidate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isEligible\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"liquidate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidationReward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidateFlagged\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidationReward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"skewScale\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxFundingVelocity\",\"type\":\"uint256\"}],\"name\":\"FundingParametersSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"initialMarginRatioD18\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maintenanceMarginRatioD18\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minimumInitialMarginRatioD18\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationRewardRatioD18\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minimumPositionMargin\",\"type\":\"uint256\"}],\"name\":\"LiquidationParametersSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockedOiRatioD18\",\"type\":\"uint256\"}],\"name\":\"LockedOiRatioSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"}],\"name\":\"MarketPriceDataUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxLiquidationLimitAccumulationMultiplier\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxSecondsInLiquidationWindow\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxLiquidationPd\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"endorsedLiquidator\",\"type\":\"address\"}],\"name\":\"MaxLiquidationParametersSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxMarketSize\",\"type\":\"uint256\"}],\"name\":\"MaxMarketSizeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makerFeeRatio\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"takerFeeRatio\",\"type\":\"uint256\"}],\"name\":\"OrderFeesSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"components\":[{\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"strategyType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"settlementDelay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"priceVerificationContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"settlementReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceDeviationTolerance\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"disabled\",\"type\":\"bool\"}],\"indexed\":false,\"internalType\":\"structSettlementStrategy.Data\",\"name\":\"strategy\",\"type\":\"tuple\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"}],\"name\":\"SettlementStrategyAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"SettlementStrategyEnabled\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"components\":[{\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"strategyType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"settlementDelay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"priceVerificationContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"settlementReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceDeviationTolerance\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"disabled\",\"type\":\"bool\"}],\"internalType\":\"structSettlementStrategy.Data\",\"name\":\"strategy\",\"type\":\"tuple\"}],\"name\":\"addSettlementStrategy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getFundingParameters\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"skewScale\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFundingVelocity\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getLiquidationParameters\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"initialMarginRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumInitialMarginRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maintenanceMarginScalarD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRewardRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumPositionMargin\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getLockedOiRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMaxLiquidationParameters\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxLiquidationLimitAccumulationMultiplier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxSecondsInLiquidationWindow\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxLiquidationPd\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"endorsedLiquidator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMaxMarketSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxMarketSize\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getOrderFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"makerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerFee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"}],\"name\":\"getSettlementStrategy\",\"outputs\":[{\"components\":[{\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"strategyType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"settlementDelay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"priceVerificationContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"settlementReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceDeviationTolerance\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"disabled\",\"type\":\"bool\"}],\"internalType\":\"structSettlementStrategy.Data\",\"name\":\"settlementStrategy\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"skewScale\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFundingVelocity\",\"type\":\"uint256\"}],\"name\":\"setFundingParameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"initialMarginRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumInitialMarginRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maintenanceMarginScalarD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRewardRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumPositionMargin\",\"type\":\"uint256\"}],\"name\":\"setLiquidationParameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"lockedOiRatioD18\",\"type\":\"uint256\"}],\"name\":\"setLockedOiRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"maxLiquidationLimitAccumulationMultiplier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxSecondsInLiquidationWindow\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxLiquidationPd\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"endorsedLiquidator\",\"type\":\"address\"}],\"name\":\"setMaxLiquidationParameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"maxMarketSize\",\"type\":\"uint256\"}],\"name\":\"setMaxMarketSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"makerFeeRatio\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerFeeRatio\",\"type\":\"uint256\"}],\"name\":\"setOrderFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setSettlementStrategyEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"perpsMarketId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"}],\"name\":\"updatePriceData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"invalidFeeCollector\",\"type\":\"address\"}],\"name\":\"InvalidFeeCollectorInterface\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shareRatioD18\",\"type\":\"uint256\"}],\"name\":\"InvalidReferrerShareRatio\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"}],\"name\":\"FeeCollectorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"minLiquidationRewardUsd\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"maxLiquidationRewardUsd\",\"type\":\"uint256\"}],\"name\":\"LiquidationRewardGuardsSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"}],\"name\":\"MaxCollateralAmountSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"maxPositionsPerAccount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"maxCollateralsPerAccount\",\"type\":\"uint128\"}],\"name\":\"PerAccountCapsSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shareRatioD18\",\"type\":\"uint256\"}],\"name\":\"ReferrerShareUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128[]\",\"name\":\"newSynthDeductionPriority\",\"type\":\"uint128[]\"}],\"name\":\"SynthDeductionPrioritySet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getFeeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLiquidationRewardGuards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"minLiquidationRewardUsd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxLiquidationRewardUsd\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMarkets\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"marketIds\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"getMaxCollateralAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPerAccountCaps\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"maxPositionsPerAccount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"maxCollateralsPerAccount\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"getReferrerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shareRatioD18\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSynthDeductionPriority\",\"outputs\":[{\"internalType\":\"uint128[]\",\"name\":\"\",\"type\":\"uint128[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minLiquidationRewardUsd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxLiquidationRewardUsd\",\"type\":\"uint256\"}],\"name\":\"setLiquidationRewardGuards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"}],\"name\":\"setMaxCollateralAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"maxPositionsPerAccount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"maxCollateralsPerAccount\",\"type\":\"uint128\"}],\"name\":\"setPerAccountCaps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128[]\",\"name\":\"newSynthDeductionPriority\",\"type\":\"uint128[]\"}],\"name\":\"setSynthDeductionPriority\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalGlobalCollateralValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalCollateralValue\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shareRatioD18\",\"type\":\"uint256\"}],\"name\":\"updateReferrerShare\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PerpsMarketGoerliMetaData contains all meta data concerning the PerpsMarketGoerli contract.

Functions

This section is empty.

Types

type AsyncOrderData

type AsyncOrderData struct {
	SettlementTime *big.Int
	Request        AsyncOrderOrderCommitmentRequest
}

AsyncOrderData is an auto generated low-level Go binding around an user-defined struct.

type AsyncOrderOrderCommitmentRequest

type AsyncOrderOrderCommitmentRequest struct {
	MarketId             *big.Int
	AccountId            *big.Int
	SizeDelta            *big.Int
	SettlementStrategyId *big.Int
	AcceptablePrice      *big.Int
	TrackingCode         [32]byte
	Referrer             common.Address
}

AsyncOrderOrderCommitmentRequest is an auto generated low-level Go binding around an user-defined struct.

type IAccountModuleAccountPermissions

type IAccountModuleAccountPermissions struct {
	User        common.Address
	Permissions [][32]byte
}

IAccountModuleAccountPermissions is an auto generated low-level Go binding around an user-defined struct.

type IPerpsMarketModuleMarketSummary

type IPerpsMarketModuleMarketSummary struct {
	Skew                   *big.Int
	Size                   *big.Int
	MaxOpenInterest        *big.Int
	CurrentFundingRate     *big.Int
	CurrentFundingVelocity *big.Int
	IndexPrice             *big.Int
}

IPerpsMarketModuleMarketSummary is an auto generated low-level Go binding around an user-defined struct.

type PerpsMarketGoerli

type PerpsMarketGoerli struct {
	PerpsMarketGoerliCaller     // Read-only binding to the contract
	PerpsMarketGoerliTransactor // Write-only binding to the contract
	PerpsMarketGoerliFilterer   // Log filterer for contract events
}

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

func NewPerpsMarketGoerli

func NewPerpsMarketGoerli(address common.Address, backend bind.ContractBackend) (*PerpsMarketGoerli, error)

NewPerpsMarketGoerli creates a new instance of PerpsMarketGoerli, bound to a specific deployed contract.

type PerpsMarketGoerliAccountCreated

type PerpsMarketGoerliAccountCreated struct {
	AccountId *big.Int
	Owner     common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliAccountCreated represents a AccountCreated event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliAccountCreatedIterator

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

PerpsMarketGoerliAccountCreatedIterator is returned from FilterAccountCreated and is used to iterate over the raw logs and unpacked data for AccountCreated events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliAccountCreatedIterator) Close

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

func (*PerpsMarketGoerliAccountCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliAccountCreatedIterator) 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 PerpsMarketGoerliAccountLiquidated

type PerpsMarketGoerliAccountLiquidated struct {
	AccountId       *big.Int
	Reward          *big.Int
	FullLiquidation bool
	Raw             types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliAccountLiquidated represents a AccountLiquidated event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliAccountLiquidatedIterator

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

PerpsMarketGoerliAccountLiquidatedIterator is returned from FilterAccountLiquidated and is used to iterate over the raw logs and unpacked data for AccountLiquidated events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliAccountLiquidatedIterator) Close

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

func (*PerpsMarketGoerliAccountLiquidatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliAccountLiquidatedIterator) 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 PerpsMarketGoerliAssociatedSystemSet

type PerpsMarketGoerliAssociatedSystemSet struct {
	Kind  [32]byte
	Id    [32]byte
	Proxy common.Address
	Impl  common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliAssociatedSystemSet represents a AssociatedSystemSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliAssociatedSystemSetIterator

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

PerpsMarketGoerliAssociatedSystemSetIterator is returned from FilterAssociatedSystemSet and is used to iterate over the raw logs and unpacked data for AssociatedSystemSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliAssociatedSystemSetIterator) Close

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

func (*PerpsMarketGoerliAssociatedSystemSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliAssociatedSystemSetIterator) 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 PerpsMarketGoerliCaller

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

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

func NewPerpsMarketGoerliCaller

func NewPerpsMarketGoerliCaller(address common.Address, caller bind.ContractCaller) (*PerpsMarketGoerliCaller, error)

NewPerpsMarketGoerliCaller creates a new read-only instance of PerpsMarketGoerli, bound to a specific deployed contract.

func (*PerpsMarketGoerliCaller) CanLiquidate added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) CanLiquidate(opts *bind.CallOpts, accountId *big.Int) (bool, error)

CanLiquidate is a free data retrieval call binding the contract method 0x9b922bba.

Solidity: function canLiquidate(uint128 accountId) view returns(bool isEligible)

func (*PerpsMarketGoerliCaller) ComputeOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) ComputeOrderFees(opts *bind.CallOpts, marketId *big.Int, sizeDelta *big.Int) (struct {
	OrderFees *big.Int
	FillPrice *big.Int
}, error)

ComputeOrderFees is a free data retrieval call binding the contract method 0x98ef15a2.

Solidity: function computeOrderFees(uint128 marketId, int128 sizeDelta) view returns(uint256 orderFees, uint256 fillPrice)

func (*PerpsMarketGoerliCaller) CurrentFundingRate

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) CurrentFundingRate(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

CurrentFundingRate is a free data retrieval call binding the contract method 0xd435b2a2.

Solidity: function currentFundingRate(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliCaller) CurrentFundingVelocity

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) CurrentFundingVelocity(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

CurrentFundingVelocity is a free data retrieval call binding the contract method 0xf265db02.

Solidity: function currentFundingVelocity(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliCaller) FillPrice

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) FillPrice(opts *bind.CallOpts, marketId *big.Int, orderSize *big.Int, price *big.Int) (*big.Int, error)

FillPrice is a free data retrieval call binding the contract method 0xdeff90ef.

Solidity: function fillPrice(uint128 marketId, int128 orderSize, uint256 price) view returns(uint256)

func (*PerpsMarketGoerliCaller) GetAccountLastInteraction

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetAccountLastInteraction(opts *bind.CallOpts, accountId *big.Int) (*big.Int, error)

GetAccountLastInteraction is a free data retrieval call binding the contract method 0x1b5dccdb.

Solidity: function getAccountLastInteraction(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliCaller) GetAccountOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetAccountOwner(opts *bind.CallOpts, accountId *big.Int) (common.Address, error)

GetAccountOwner is a free data retrieval call binding the contract method 0xbf60c31d.

Solidity: function getAccountOwner(uint128 accountId) view returns(address)

func (*PerpsMarketGoerliCaller) GetAccountPermissions

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetAccountPermissions(opts *bind.CallOpts, accountId *big.Int) ([]IAccountModuleAccountPermissions, error)

GetAccountPermissions is a free data retrieval call binding the contract method 0xa796fecd.

Solidity: function getAccountPermissions(uint128 accountId) view returns((address,bytes32[])[] accountPerms)

func (*PerpsMarketGoerliCaller) GetAccountTokenAddress

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetAccountTokenAddress(opts *bind.CallOpts) (common.Address, error)

GetAccountTokenAddress is a free data retrieval call binding the contract method 0xa148bf10.

Solidity: function getAccountTokenAddress() view returns(address)

func (*PerpsMarketGoerliCaller) GetAssociatedSystem

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetAssociatedSystem(opts *bind.CallOpts, id [32]byte) (struct {
	Addr common.Address
	Kind [32]byte
}, error)

GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.

Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)

func (*PerpsMarketGoerliCaller) GetAvailableMargin

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetAvailableMargin(opts *bind.CallOpts, accountId *big.Int) (*big.Int, error)

GetAvailableMargin is a free data retrieval call binding the contract method 0x0a7dad2d.

Solidity: function getAvailableMargin(uint128 accountId) view returns(int256 availableMargin)

func (*PerpsMarketGoerliCaller) GetCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetCollateralAmount(opts *bind.CallOpts, accountId *big.Int, synthMarketId *big.Int) (*big.Int, error)

GetCollateralAmount is a free data retrieval call binding the contract method 0x5dbd5c9b.

Solidity: function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns(uint256)

func (*PerpsMarketGoerliCaller) GetDeniers

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetDeniers(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)

GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.

Solidity: function getDeniers(bytes32 feature) view returns(address[])

func (*PerpsMarketGoerliCaller) GetFeatureFlagAllowAll

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetFeatureFlagAllowAll(opts *bind.CallOpts, feature [32]byte) (bool, error)

GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.

Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)

func (*PerpsMarketGoerliCaller) GetFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetFeatureFlagAllowlist(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)

GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.

Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])

func (*PerpsMarketGoerliCaller) GetFeatureFlagDenyAll

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetFeatureFlagDenyAll(opts *bind.CallOpts, feature [32]byte) (bool, error)

GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.

Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)

func (*PerpsMarketGoerliCaller) GetFeeCollector

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetFeeCollector(opts *bind.CallOpts) (common.Address, error)

GetFeeCollector is a free data retrieval call binding the contract method 0x12fde4b7.

Solidity: function getFeeCollector() view returns(address feeCollector)

func (*PerpsMarketGoerliCaller) GetFundingParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetFundingParameters(opts *bind.CallOpts, marketId *big.Int) (struct {
	SkewScale          *big.Int
	MaxFundingVelocity *big.Int
}, error)

GetFundingParameters is a free data retrieval call binding the contract method 0x1b68d8fa.

Solidity: function getFundingParameters(uint128 marketId) view returns(uint256 skewScale, uint256 maxFundingVelocity)

func (*PerpsMarketGoerliCaller) GetImplementation

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetImplementation(opts *bind.CallOpts) (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*PerpsMarketGoerliCaller) GetLiquidationParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetLiquidationParameters(opts *bind.CallOpts, marketId *big.Int) (struct {
	InitialMarginRatioD18        *big.Int
	MinimumInitialMarginRatioD18 *big.Int
	MaintenanceMarginScalarD18   *big.Int
	LiquidationRewardRatioD18    *big.Int
	MinimumPositionMargin        *big.Int
}, error)

GetLiquidationParameters is a free data retrieval call binding the contract method 0xf94363a6.

Solidity: function getLiquidationParameters(uint128 marketId) view returns(uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin)

func (*PerpsMarketGoerliCaller) GetLiquidationRewardGuards

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetLiquidationRewardGuards(opts *bind.CallOpts) (struct {
	MinLiquidationRewardUsd *big.Int
	MaxLiquidationRewardUsd *big.Int
}, error)

GetLiquidationRewardGuards is a free data retrieval call binding the contract method 0x0b7f4b2d.

Solidity: function getLiquidationRewardGuards() view returns(uint256 minLiquidationRewardUsd, uint256 maxLiquidationRewardUsd)

func (*PerpsMarketGoerliCaller) GetLockedOiRatio

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetLockedOiRatio(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetLockedOiRatio is a free data retrieval call binding the contract method 0x31edc046.

Solidity: function getLockedOiRatio(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliCaller) GetMarketSummary

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetMarketSummary(opts *bind.CallOpts, marketId *big.Int) (IPerpsMarketModuleMarketSummary, error)

GetMarketSummary is a free data retrieval call binding the contract method 0x41c2e8bd.

Solidity: function getMarketSummary(uint128 marketId) view returns((int256,uint256,uint256,int256,int256,uint256) summary)

func (*PerpsMarketGoerliCaller) GetMarkets

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetMarkets(opts *bind.CallOpts) ([]*big.Int, error)

GetMarkets is a free data retrieval call binding the contract method 0xec2c9016.

Solidity: function getMarkets() view returns(uint256[] marketIds)

func (*PerpsMarketGoerliCaller) GetMaxCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetMaxCollateralAmount(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)

GetMaxCollateralAmount is a free data retrieval call binding the contract method 0x4ff68ae2.

Solidity: function getMaxCollateralAmount(uint128 synthMarketId) view returns(uint256)

func (*PerpsMarketGoerliCaller) GetMaxLiquidationParameters added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetMaxLiquidationParameters(opts *bind.CallOpts, marketId *big.Int) (struct {
	MaxLiquidationLimitAccumulationMultiplier *big.Int
	MaxSecondsInLiquidationWindow             *big.Int
	MaxLiquidationPd                          *big.Int
	EndorsedLiquidator                        common.Address
}, error)

GetMaxLiquidationParameters is a free data retrieval call binding the contract method 0x5443e33e.

Solidity: function getMaxLiquidationParameters(uint128 marketId) view returns(uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)

func (*PerpsMarketGoerliCaller) GetMaxMarketSize

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetMaxMarketSize(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetMaxMarketSize is a free data retrieval call binding the contract method 0x19a99bf5.

Solidity: function getMaxMarketSize(uint128 marketId) view returns(uint256 maxMarketSize)

func (*PerpsMarketGoerliCaller) GetMessageSender added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetMessageSender(opts *bind.CallOpts) (common.Address, error)

GetMessageSender is a free data retrieval call binding the contract method 0x76167a89.

Solidity: function getMessageSender() view returns(address)

func (*PerpsMarketGoerliCaller) GetOpenPosition

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetOpenPosition(opts *bind.CallOpts, accountId *big.Int, marketId *big.Int) (struct {
	TotalPnl       *big.Int
	AccruedFunding *big.Int
	PositionSize   *big.Int
}, error)

GetOpenPosition is a free data retrieval call binding the contract method 0x22a73967.

Solidity: function getOpenPosition(uint128 accountId, uint128 marketId) view returns(int256 totalPnl, int256 accruedFunding, int128 positionSize)

func (*PerpsMarketGoerliCaller) GetOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetOrder(opts *bind.CallOpts, accountId *big.Int) (AsyncOrderData, error)

GetOrder is a free data retrieval call binding the contract method 0x117d4128.

Solidity: function getOrder(uint128 accountId) view returns((uint256,(uint128,uint128,int128,uint128,uint256,bytes32,address)) order)

func (*PerpsMarketGoerliCaller) GetOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetOrderFees(opts *bind.CallOpts, marketId *big.Int) (struct {
	MakerFee *big.Int
	TakerFee *big.Int
}, error)

GetOrderFees is a free data retrieval call binding the contract method 0xaac23e8c.

Solidity: function getOrderFees(uint128 marketId) view returns(uint256 makerFee, uint256 takerFee)

func (*PerpsMarketGoerliCaller) GetPerAccountCaps added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetPerAccountCaps(opts *bind.CallOpts) (struct {
	MaxPositionsPerAccount   *big.Int
	MaxCollateralsPerAccount *big.Int
}, error)

GetPerAccountCaps is a free data retrieval call binding the contract method 0x774f7b07.

Solidity: function getPerAccountCaps() view returns(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)

func (*PerpsMarketGoerliCaller) GetReferrerShare

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetReferrerShare(opts *bind.CallOpts, referrer common.Address) (*big.Int, error)

GetReferrerShare is a free data retrieval call binding the contract method 0xcae77b70.

Solidity: function getReferrerShare(address referrer) view returns(uint256 shareRatioD18)

func (*PerpsMarketGoerliCaller) GetRequiredMargins

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetRequiredMargins(opts *bind.CallOpts, accountId *big.Int) (struct {
	RequiredInitialMargin              *big.Int
	RequiredMaintenanceMargin          *big.Int
	TotalAccumulatedLiquidationRewards *big.Int
	MaxLiquidationReward               *big.Int
}, error)

GetRequiredMargins is a free data retrieval call binding the contract method 0x3c0f0753.

Solidity: function getRequiredMargins(uint128 accountId) view returns(uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 totalAccumulatedLiquidationRewards, uint256 maxLiquidationReward)

func (*PerpsMarketGoerliCaller) GetSettlementStrategy

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetSettlementStrategy(opts *bind.CallOpts, marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)

GetSettlementStrategy is a free data retrieval call binding the contract method 0xf74c377f.

Solidity: function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns((uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) settlementStrategy)

func (*PerpsMarketGoerliCaller) GetSynthDeductionPriority

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetSynthDeductionPriority(opts *bind.CallOpts) ([]*big.Int, error)

GetSynthDeductionPriority is a free data retrieval call binding the contract method 0xfea84a3f.

Solidity: function getSynthDeductionPriority() view returns(uint128[])

func (*PerpsMarketGoerliCaller) GetWithdrawableMargin

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) GetWithdrawableMargin(opts *bind.CallOpts, accountId *big.Int) (*big.Int, error)

GetWithdrawableMargin is a free data retrieval call binding the contract method 0x04aa363e.

Solidity: function getWithdrawableMargin(uint128 accountId) view returns(int256 withdrawableMargin)

func (*PerpsMarketGoerliCaller) HasPermission

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) HasPermission(opts *bind.CallOpts, accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

HasPermission is a free data retrieval call binding the contract method 0x8d34166b.

Solidity: function hasPermission(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*PerpsMarketGoerliCaller) IndexPrice

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) IndexPrice(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

IndexPrice is a free data retrieval call binding the contract method 0x4f778fb4.

Solidity: function indexPrice(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliCaller) IsAuthorized

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) IsAuthorized(opts *bind.CallOpts, accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

IsAuthorized is a free data retrieval call binding the contract method 0x1213d453.

Solidity: function isAuthorized(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*PerpsMarketGoerliCaller) IsFeatureAllowed

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) IsFeatureAllowed(opts *bind.CallOpts, feature [32]byte, account common.Address) (bool, error)

IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.

Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)

func (*PerpsMarketGoerliCaller) MaxOpenInterest

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) MaxOpenInterest(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

MaxOpenInterest is a free data retrieval call binding the contract method 0x0e7cace9.

Solidity: function maxOpenInterest(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliCaller) Metadata

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) Metadata(opts *bind.CallOpts, marketId *big.Int) (struct {
	Name   string
	Symbol string
}, error)

Metadata is a free data retrieval call binding the contract method 0xe3bc36bf.

Solidity: function metadata(uint128 marketId) view returns(string name, string symbol)

func (*PerpsMarketGoerliCaller) MinimumCredit

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) MinimumCredit(opts *bind.CallOpts, perpsMarketId *big.Int) (*big.Int, error)

MinimumCredit is a free data retrieval call binding the contract method 0xafe79200.

Solidity: function minimumCredit(uint128 perpsMarketId) view returns(uint256)

func (*PerpsMarketGoerliCaller) Name

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) Name(opts *bind.CallOpts, perpsMarketId *big.Int) (string, error)

Name is a free data retrieval call binding the contract method 0xc624440a.

Solidity: function name(uint128 perpsMarketId) view returns(string)

func (*PerpsMarketGoerliCaller) NominatedOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) NominatedOwner(opts *bind.CallOpts) (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*PerpsMarketGoerliCaller) Owner

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) 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 (*PerpsMarketGoerliCaller) PRECISION

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(int256)

func (*PerpsMarketGoerliCaller) ReportedDebt

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) ReportedDebt(opts *bind.CallOpts, perpsMarketId *big.Int) (*big.Int, error)

ReportedDebt is a free data retrieval call binding the contract method 0xbcec0d0f.

Solidity: function reportedDebt(uint128 perpsMarketId) view returns(uint256)

func (*PerpsMarketGoerliCaller) RequiredMarginForOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) RequiredMarginForOrder(opts *bind.CallOpts, accountId *big.Int, marketId *big.Int, sizeDelta *big.Int) (*big.Int, error)

RequiredMarginForOrder is a free data retrieval call binding the contract method 0xb8830a25.

Solidity: function requiredMarginForOrder(uint128 accountId, uint128 marketId, int128 sizeDelta) view returns(uint256 requiredMargin)

func (*PerpsMarketGoerliCaller) Settle

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) Settle(opts *bind.CallOpts, accountId *big.Int) error

Settle is a free data retrieval call binding the contract method 0x895e3bed.

Solidity: function settle(uint128 accountId) view returns()

func (*PerpsMarketGoerliCaller) Size

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) Size(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

Size is a free data retrieval call binding the contract method 0x2b267635.

Solidity: function size(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliCaller) Skew

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) Skew(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

Skew is a free data retrieval call binding the contract method 0x83a7db27.

Solidity: function skew(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliCaller) SupportsInterface

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*PerpsMarketGoerliCaller) TotalAccountOpenInterest

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) TotalAccountOpenInterest(opts *bind.CallOpts, accountId *big.Int) (*big.Int, error)

TotalAccountOpenInterest is a free data retrieval call binding the contract method 0x2daf43bc.

Solidity: function totalAccountOpenInterest(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliCaller) TotalCollateralValue

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) TotalCollateralValue(opts *bind.CallOpts, accountId *big.Int) (*big.Int, error)

TotalCollateralValue is a free data retrieval call binding the contract method 0xb568ae42.

Solidity: function totalCollateralValue(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliCaller) TotalGlobalCollateralValue

func (_PerpsMarketGoerli *PerpsMarketGoerliCaller) TotalGlobalCollateralValue(opts *bind.CallOpts) (*big.Int, error)

TotalGlobalCollateralValue is a free data retrieval call binding the contract method 0x65c5a0fe.

Solidity: function totalGlobalCollateralValue() view returns(uint256 totalCollateralValue)

type PerpsMarketGoerliCallerRaw

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

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

func (*PerpsMarketGoerliCallerRaw) Call

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerRaw) 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 PerpsMarketGoerliCallerSession

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

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

func (*PerpsMarketGoerliCallerSession) CanLiquidate added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) CanLiquidate(accountId *big.Int) (bool, error)

CanLiquidate is a free data retrieval call binding the contract method 0x9b922bba.

Solidity: function canLiquidate(uint128 accountId) view returns(bool isEligible)

func (*PerpsMarketGoerliCallerSession) ComputeOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) ComputeOrderFees(marketId *big.Int, sizeDelta *big.Int) (struct {
	OrderFees *big.Int
	FillPrice *big.Int
}, error)

ComputeOrderFees is a free data retrieval call binding the contract method 0x98ef15a2.

Solidity: function computeOrderFees(uint128 marketId, int128 sizeDelta) view returns(uint256 orderFees, uint256 fillPrice)

func (*PerpsMarketGoerliCallerSession) CurrentFundingRate

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) CurrentFundingRate(marketId *big.Int) (*big.Int, error)

CurrentFundingRate is a free data retrieval call binding the contract method 0xd435b2a2.

Solidity: function currentFundingRate(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliCallerSession) CurrentFundingVelocity

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) CurrentFundingVelocity(marketId *big.Int) (*big.Int, error)

CurrentFundingVelocity is a free data retrieval call binding the contract method 0xf265db02.

Solidity: function currentFundingVelocity(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliCallerSession) FillPrice

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) FillPrice(marketId *big.Int, orderSize *big.Int, price *big.Int) (*big.Int, error)

FillPrice is a free data retrieval call binding the contract method 0xdeff90ef.

Solidity: function fillPrice(uint128 marketId, int128 orderSize, uint256 price) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) GetAccountLastInteraction

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetAccountLastInteraction(accountId *big.Int) (*big.Int, error)

GetAccountLastInteraction is a free data retrieval call binding the contract method 0x1b5dccdb.

Solidity: function getAccountLastInteraction(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) GetAccountOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetAccountOwner(accountId *big.Int) (common.Address, error)

GetAccountOwner is a free data retrieval call binding the contract method 0xbf60c31d.

Solidity: function getAccountOwner(uint128 accountId) view returns(address)

func (*PerpsMarketGoerliCallerSession) GetAccountPermissions

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetAccountPermissions(accountId *big.Int) ([]IAccountModuleAccountPermissions, error)

GetAccountPermissions is a free data retrieval call binding the contract method 0xa796fecd.

Solidity: function getAccountPermissions(uint128 accountId) view returns((address,bytes32[])[] accountPerms)

func (*PerpsMarketGoerliCallerSession) GetAccountTokenAddress

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetAccountTokenAddress() (common.Address, error)

GetAccountTokenAddress is a free data retrieval call binding the contract method 0xa148bf10.

Solidity: function getAccountTokenAddress() view returns(address)

func (*PerpsMarketGoerliCallerSession) GetAssociatedSystem

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetAssociatedSystem(id [32]byte) (struct {
	Addr common.Address
	Kind [32]byte
}, error)

GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.

Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)

func (*PerpsMarketGoerliCallerSession) GetAvailableMargin

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetAvailableMargin(accountId *big.Int) (*big.Int, error)

GetAvailableMargin is a free data retrieval call binding the contract method 0x0a7dad2d.

Solidity: function getAvailableMargin(uint128 accountId) view returns(int256 availableMargin)

func (*PerpsMarketGoerliCallerSession) GetCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetCollateralAmount(accountId *big.Int, synthMarketId *big.Int) (*big.Int, error)

GetCollateralAmount is a free data retrieval call binding the contract method 0x5dbd5c9b.

Solidity: function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) GetDeniers

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetDeniers(feature [32]byte) ([]common.Address, error)

GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.

Solidity: function getDeniers(bytes32 feature) view returns(address[])

func (*PerpsMarketGoerliCallerSession) GetFeatureFlagAllowAll

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)

GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.

Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)

func (*PerpsMarketGoerliCallerSession) GetFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)

GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.

Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])

func (*PerpsMarketGoerliCallerSession) GetFeatureFlagDenyAll

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)

GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.

Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)

func (*PerpsMarketGoerliCallerSession) GetFeeCollector

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetFeeCollector() (common.Address, error)

GetFeeCollector is a free data retrieval call binding the contract method 0x12fde4b7.

Solidity: function getFeeCollector() view returns(address feeCollector)

func (*PerpsMarketGoerliCallerSession) GetFundingParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetFundingParameters(marketId *big.Int) (struct {
	SkewScale          *big.Int
	MaxFundingVelocity *big.Int
}, error)

GetFundingParameters is a free data retrieval call binding the contract method 0x1b68d8fa.

Solidity: function getFundingParameters(uint128 marketId) view returns(uint256 skewScale, uint256 maxFundingVelocity)

func (*PerpsMarketGoerliCallerSession) GetImplementation

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetImplementation() (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*PerpsMarketGoerliCallerSession) GetLiquidationParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetLiquidationParameters(marketId *big.Int) (struct {
	InitialMarginRatioD18        *big.Int
	MinimumInitialMarginRatioD18 *big.Int
	MaintenanceMarginScalarD18   *big.Int
	LiquidationRewardRatioD18    *big.Int
	MinimumPositionMargin        *big.Int
}, error)

GetLiquidationParameters is a free data retrieval call binding the contract method 0xf94363a6.

Solidity: function getLiquidationParameters(uint128 marketId) view returns(uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin)

func (*PerpsMarketGoerliCallerSession) GetLiquidationRewardGuards

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetLiquidationRewardGuards() (struct {
	MinLiquidationRewardUsd *big.Int
	MaxLiquidationRewardUsd *big.Int
}, error)

GetLiquidationRewardGuards is a free data retrieval call binding the contract method 0x0b7f4b2d.

Solidity: function getLiquidationRewardGuards() view returns(uint256 minLiquidationRewardUsd, uint256 maxLiquidationRewardUsd)

func (*PerpsMarketGoerliCallerSession) GetLockedOiRatio

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetLockedOiRatio(marketId *big.Int) (*big.Int, error)

GetLockedOiRatio is a free data retrieval call binding the contract method 0x31edc046.

Solidity: function getLockedOiRatio(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) GetMarketSummary

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetMarketSummary(marketId *big.Int) (IPerpsMarketModuleMarketSummary, error)

GetMarketSummary is a free data retrieval call binding the contract method 0x41c2e8bd.

Solidity: function getMarketSummary(uint128 marketId) view returns((int256,uint256,uint256,int256,int256,uint256) summary)

func (*PerpsMarketGoerliCallerSession) GetMarkets

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetMarkets() ([]*big.Int, error)

GetMarkets is a free data retrieval call binding the contract method 0xec2c9016.

Solidity: function getMarkets() view returns(uint256[] marketIds)

func (*PerpsMarketGoerliCallerSession) GetMaxCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetMaxCollateralAmount(synthMarketId *big.Int) (*big.Int, error)

GetMaxCollateralAmount is a free data retrieval call binding the contract method 0x4ff68ae2.

Solidity: function getMaxCollateralAmount(uint128 synthMarketId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) GetMaxLiquidationParameters added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetMaxLiquidationParameters(marketId *big.Int) (struct {
	MaxLiquidationLimitAccumulationMultiplier *big.Int
	MaxSecondsInLiquidationWindow             *big.Int
	MaxLiquidationPd                          *big.Int
	EndorsedLiquidator                        common.Address
}, error)

GetMaxLiquidationParameters is a free data retrieval call binding the contract method 0x5443e33e.

Solidity: function getMaxLiquidationParameters(uint128 marketId) view returns(uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)

func (*PerpsMarketGoerliCallerSession) GetMaxMarketSize

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetMaxMarketSize(marketId *big.Int) (*big.Int, error)

GetMaxMarketSize is a free data retrieval call binding the contract method 0x19a99bf5.

Solidity: function getMaxMarketSize(uint128 marketId) view returns(uint256 maxMarketSize)

func (*PerpsMarketGoerliCallerSession) GetMessageSender added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetMessageSender() (common.Address, error)

GetMessageSender is a free data retrieval call binding the contract method 0x76167a89.

Solidity: function getMessageSender() view returns(address)

func (*PerpsMarketGoerliCallerSession) GetOpenPosition

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetOpenPosition(accountId *big.Int, marketId *big.Int) (struct {
	TotalPnl       *big.Int
	AccruedFunding *big.Int
	PositionSize   *big.Int
}, error)

GetOpenPosition is a free data retrieval call binding the contract method 0x22a73967.

Solidity: function getOpenPosition(uint128 accountId, uint128 marketId) view returns(int256 totalPnl, int256 accruedFunding, int128 positionSize)

func (*PerpsMarketGoerliCallerSession) GetOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetOrder(accountId *big.Int) (AsyncOrderData, error)

GetOrder is a free data retrieval call binding the contract method 0x117d4128.

Solidity: function getOrder(uint128 accountId) view returns((uint256,(uint128,uint128,int128,uint128,uint256,bytes32,address)) order)

func (*PerpsMarketGoerliCallerSession) GetOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetOrderFees(marketId *big.Int) (struct {
	MakerFee *big.Int
	TakerFee *big.Int
}, error)

GetOrderFees is a free data retrieval call binding the contract method 0xaac23e8c.

Solidity: function getOrderFees(uint128 marketId) view returns(uint256 makerFee, uint256 takerFee)

func (*PerpsMarketGoerliCallerSession) GetPerAccountCaps added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetPerAccountCaps() (struct {
	MaxPositionsPerAccount   *big.Int
	MaxCollateralsPerAccount *big.Int
}, error)

GetPerAccountCaps is a free data retrieval call binding the contract method 0x774f7b07.

Solidity: function getPerAccountCaps() view returns(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)

func (*PerpsMarketGoerliCallerSession) GetReferrerShare

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetReferrerShare(referrer common.Address) (*big.Int, error)

GetReferrerShare is a free data retrieval call binding the contract method 0xcae77b70.

Solidity: function getReferrerShare(address referrer) view returns(uint256 shareRatioD18)

func (*PerpsMarketGoerliCallerSession) GetRequiredMargins

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetRequiredMargins(accountId *big.Int) (struct {
	RequiredInitialMargin              *big.Int
	RequiredMaintenanceMargin          *big.Int
	TotalAccumulatedLiquidationRewards *big.Int
	MaxLiquidationReward               *big.Int
}, error)

GetRequiredMargins is a free data retrieval call binding the contract method 0x3c0f0753.

Solidity: function getRequiredMargins(uint128 accountId) view returns(uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 totalAccumulatedLiquidationRewards, uint256 maxLiquidationReward)

func (*PerpsMarketGoerliCallerSession) GetSettlementStrategy

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetSettlementStrategy(marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)

GetSettlementStrategy is a free data retrieval call binding the contract method 0xf74c377f.

Solidity: function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns((uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) settlementStrategy)

func (*PerpsMarketGoerliCallerSession) GetSynthDeductionPriority

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetSynthDeductionPriority() ([]*big.Int, error)

GetSynthDeductionPriority is a free data retrieval call binding the contract method 0xfea84a3f.

Solidity: function getSynthDeductionPriority() view returns(uint128[])

func (*PerpsMarketGoerliCallerSession) GetWithdrawableMargin

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) GetWithdrawableMargin(accountId *big.Int) (*big.Int, error)

GetWithdrawableMargin is a free data retrieval call binding the contract method 0x04aa363e.

Solidity: function getWithdrawableMargin(uint128 accountId) view returns(int256 withdrawableMargin)

func (*PerpsMarketGoerliCallerSession) HasPermission

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) HasPermission(accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

HasPermission is a free data retrieval call binding the contract method 0x8d34166b.

Solidity: function hasPermission(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*PerpsMarketGoerliCallerSession) IndexPrice

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) IndexPrice(marketId *big.Int) (*big.Int, error)

IndexPrice is a free data retrieval call binding the contract method 0x4f778fb4.

Solidity: function indexPrice(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) IsAuthorized

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) IsAuthorized(accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

IsAuthorized is a free data retrieval call binding the contract method 0x1213d453.

Solidity: function isAuthorized(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*PerpsMarketGoerliCallerSession) IsFeatureAllowed

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)

IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.

Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)

func (*PerpsMarketGoerliCallerSession) MaxOpenInterest

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) MaxOpenInterest(marketId *big.Int) (*big.Int, error)

MaxOpenInterest is a free data retrieval call binding the contract method 0x0e7cace9.

Solidity: function maxOpenInterest(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) Metadata

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) Metadata(marketId *big.Int) (struct {
	Name   string
	Symbol string
}, error)

Metadata is a free data retrieval call binding the contract method 0xe3bc36bf.

Solidity: function metadata(uint128 marketId) view returns(string name, string symbol)

func (*PerpsMarketGoerliCallerSession) MinimumCredit

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) MinimumCredit(perpsMarketId *big.Int) (*big.Int, error)

MinimumCredit is a free data retrieval call binding the contract method 0xafe79200.

Solidity: function minimumCredit(uint128 perpsMarketId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) Name

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) Name(perpsMarketId *big.Int) (string, error)

Name is a free data retrieval call binding the contract method 0xc624440a.

Solidity: function name(uint128 perpsMarketId) view returns(string)

func (*PerpsMarketGoerliCallerSession) NominatedOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) NominatedOwner() (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*PerpsMarketGoerliCallerSession) Owner

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PerpsMarketGoerliCallerSession) PRECISION

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) PRECISION() (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(int256)

func (*PerpsMarketGoerliCallerSession) ReportedDebt

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) ReportedDebt(perpsMarketId *big.Int) (*big.Int, error)

ReportedDebt is a free data retrieval call binding the contract method 0xbcec0d0f.

Solidity: function reportedDebt(uint128 perpsMarketId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) RequiredMarginForOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) RequiredMarginForOrder(accountId *big.Int, marketId *big.Int, sizeDelta *big.Int) (*big.Int, error)

RequiredMarginForOrder is a free data retrieval call binding the contract method 0xb8830a25.

Solidity: function requiredMarginForOrder(uint128 accountId, uint128 marketId, int128 sizeDelta) view returns(uint256 requiredMargin)

func (*PerpsMarketGoerliCallerSession) Settle

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) Settle(accountId *big.Int) error

Settle is a free data retrieval call binding the contract method 0x895e3bed.

Solidity: function settle(uint128 accountId) view returns()

func (*PerpsMarketGoerliCallerSession) Size

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) Size(marketId *big.Int) (*big.Int, error)

Size is a free data retrieval call binding the contract method 0x2b267635.

Solidity: function size(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) Skew

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) Skew(marketId *big.Int) (*big.Int, error)

Skew is a free data retrieval call binding the contract method 0x83a7db27.

Solidity: function skew(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliCallerSession) SupportsInterface

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*PerpsMarketGoerliCallerSession) TotalAccountOpenInterest

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) TotalAccountOpenInterest(accountId *big.Int) (*big.Int, error)

TotalAccountOpenInterest is a free data retrieval call binding the contract method 0x2daf43bc.

Solidity: function totalAccountOpenInterest(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) TotalCollateralValue

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) TotalCollateralValue(accountId *big.Int) (*big.Int, error)

TotalCollateralValue is a free data retrieval call binding the contract method 0xb568ae42.

Solidity: function totalCollateralValue(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliCallerSession) TotalGlobalCollateralValue

func (_PerpsMarketGoerli *PerpsMarketGoerliCallerSession) TotalGlobalCollateralValue() (*big.Int, error)

TotalGlobalCollateralValue is a free data retrieval call binding the contract method 0x65c5a0fe.

Solidity: function totalGlobalCollateralValue() view returns(uint256 totalCollateralValue)

type PerpsMarketGoerliCollateralModified

type PerpsMarketGoerliCollateralModified struct {
	AccountId     *big.Int
	SynthMarketId *big.Int
	AmountDelta   *big.Int
	Sender        common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliCollateralModified represents a CollateralModified event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliCollateralModifiedIterator

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

PerpsMarketGoerliCollateralModifiedIterator is returned from FilterCollateralModified and is used to iterate over the raw logs and unpacked data for CollateralModified events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliCollateralModifiedIterator) Close

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

func (*PerpsMarketGoerliCollateralModifiedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliCollateralModifiedIterator) 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 PerpsMarketGoerliFactoryInitialized

type PerpsMarketGoerliFactoryInitialized struct {
	GlobalPerpsMarketId *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliFactoryInitialized represents a FactoryInitialized event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliFactoryInitializedIterator

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

PerpsMarketGoerliFactoryInitializedIterator is returned from FilterFactoryInitialized and is used to iterate over the raw logs and unpacked data for FactoryInitialized events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliFactoryInitializedIterator) Close

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

func (*PerpsMarketGoerliFactoryInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliFactoryInitializedIterator) 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 PerpsMarketGoerliFeatureFlagAllowAllSet

type PerpsMarketGoerliFeatureFlagAllowAllSet struct {
	Feature  [32]byte
	AllowAll bool
	Raw      types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliFeatureFlagAllowAllSet represents a FeatureFlagAllowAllSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliFeatureFlagAllowAllSetIterator

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

PerpsMarketGoerliFeatureFlagAllowAllSetIterator is returned from FilterFeatureFlagAllowAllSet and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowAllSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliFeatureFlagAllowAllSetIterator) Close

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

func (*PerpsMarketGoerliFeatureFlagAllowAllSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliFeatureFlagAllowAllSetIterator) 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 PerpsMarketGoerliFeatureFlagAllowlistAdded

type PerpsMarketGoerliFeatureFlagAllowlistAdded struct {
	Feature [32]byte
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliFeatureFlagAllowlistAdded represents a FeatureFlagAllowlistAdded event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliFeatureFlagAllowlistAddedIterator

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

PerpsMarketGoerliFeatureFlagAllowlistAddedIterator is returned from FilterFeatureFlagAllowlistAdded and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowlistAdded events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliFeatureFlagAllowlistAddedIterator) Close

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

func (*PerpsMarketGoerliFeatureFlagAllowlistAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliFeatureFlagAllowlistAddedIterator) 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 PerpsMarketGoerliFeatureFlagAllowlistRemoved

type PerpsMarketGoerliFeatureFlagAllowlistRemoved struct {
	Feature [32]byte
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliFeatureFlagAllowlistRemoved represents a FeatureFlagAllowlistRemoved event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliFeatureFlagAllowlistRemovedIterator

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

PerpsMarketGoerliFeatureFlagAllowlistRemovedIterator is returned from FilterFeatureFlagAllowlistRemoved and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowlistRemoved events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliFeatureFlagAllowlistRemovedIterator) Close

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

func (*PerpsMarketGoerliFeatureFlagAllowlistRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliFeatureFlagAllowlistRemovedIterator) 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 PerpsMarketGoerliFeatureFlagDeniersReset

type PerpsMarketGoerliFeatureFlagDeniersReset struct {
	Feature [32]byte
	Deniers []common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliFeatureFlagDeniersReset represents a FeatureFlagDeniersReset event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliFeatureFlagDeniersResetIterator

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

PerpsMarketGoerliFeatureFlagDeniersResetIterator is returned from FilterFeatureFlagDeniersReset and is used to iterate over the raw logs and unpacked data for FeatureFlagDeniersReset events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliFeatureFlagDeniersResetIterator) Close

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

func (*PerpsMarketGoerliFeatureFlagDeniersResetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliFeatureFlagDeniersResetIterator) 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 PerpsMarketGoerliFeatureFlagDenyAllSet

type PerpsMarketGoerliFeatureFlagDenyAllSet struct {
	Feature [32]byte
	DenyAll bool
	Raw     types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliFeatureFlagDenyAllSet represents a FeatureFlagDenyAllSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliFeatureFlagDenyAllSetIterator

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

PerpsMarketGoerliFeatureFlagDenyAllSetIterator is returned from FilterFeatureFlagDenyAllSet and is used to iterate over the raw logs and unpacked data for FeatureFlagDenyAllSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliFeatureFlagDenyAllSetIterator) Close

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

func (*PerpsMarketGoerliFeatureFlagDenyAllSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliFeatureFlagDenyAllSetIterator) 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 PerpsMarketGoerliFeeCollectorSet

type PerpsMarketGoerliFeeCollectorSet struct {
	FeeCollector common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliFeeCollectorSet represents a FeeCollectorSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliFeeCollectorSetIterator

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

PerpsMarketGoerliFeeCollectorSetIterator is returned from FilterFeeCollectorSet and is used to iterate over the raw logs and unpacked data for FeeCollectorSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliFeeCollectorSetIterator) Close

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

func (*PerpsMarketGoerliFeeCollectorSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliFeeCollectorSetIterator) 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 PerpsMarketGoerliFilterer

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

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

func NewPerpsMarketGoerliFilterer

func NewPerpsMarketGoerliFilterer(address common.Address, filterer bind.ContractFilterer) (*PerpsMarketGoerliFilterer, error)

NewPerpsMarketGoerliFilterer creates a new log filterer instance of PerpsMarketGoerli, bound to a specific deployed contract.

func (*PerpsMarketGoerliFilterer) FilterAccountCreated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterAccountCreated(opts *bind.FilterOpts, accountId []*big.Int, owner []common.Address) (*PerpsMarketGoerliAccountCreatedIterator, error)

FilterAccountCreated is a free log retrieval operation binding the contract event 0xa9e04d307e860938fa63307df8b8090e365276e59fcca12ed55656c25e538019.

Solidity: event AccountCreated(uint128 indexed accountId, address indexed owner)

func (*PerpsMarketGoerliFilterer) FilterAccountLiquidated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterAccountLiquidated(opts *bind.FilterOpts, accountId []*big.Int) (*PerpsMarketGoerliAccountLiquidatedIterator, error)

FilterAccountLiquidated is a free log retrieval operation binding the contract event 0x926f56b0a80cc150ad77b59cc60bc53cb907eab441d204924ec67b40ae64f5f5.

Solidity: event AccountLiquidated(uint128 indexed accountId, uint256 reward, bool fullLiquidation)

func (*PerpsMarketGoerliFilterer) FilterAssociatedSystemSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterAssociatedSystemSet(opts *bind.FilterOpts, kind [][32]byte, id [][32]byte) (*PerpsMarketGoerliAssociatedSystemSetIterator, error)

FilterAssociatedSystemSet is a free log retrieval operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.

Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)

func (*PerpsMarketGoerliFilterer) FilterCollateralModified

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterCollateralModified(opts *bind.FilterOpts, accountId []*big.Int, synthMarketId []*big.Int, sender []common.Address) (*PerpsMarketGoerliCollateralModifiedIterator, error)

FilterCollateralModified is a free log retrieval operation binding the contract event 0x2e8360c2f3a6fc1a15aefdd0a0922bea3c898cb90d38c3a97354e7c013116064.

Solidity: event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)

func (*PerpsMarketGoerliFilterer) FilterFactoryInitialized

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterFactoryInitialized(opts *bind.FilterOpts) (*PerpsMarketGoerliFactoryInitializedIterator, error)

FilterFactoryInitialized is a free log retrieval operation binding the contract event 0xb3240229b07e26f2f02e69dda85ede86e162ccbc6d10e6aade28931e7f533339.

Solidity: event FactoryInitialized(uint128 globalPerpsMarketId)

func (*PerpsMarketGoerliFilterer) FilterFeatureFlagAllowAllSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterFeatureFlagAllowAllSet(opts *bind.FilterOpts, feature [][32]byte) (*PerpsMarketGoerliFeatureFlagAllowAllSetIterator, error)

FilterFeatureFlagAllowAllSet is a free log retrieval operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.

Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)

func (*PerpsMarketGoerliFilterer) FilterFeatureFlagAllowlistAdded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterFeatureFlagAllowlistAdded(opts *bind.FilterOpts, feature [][32]byte) (*PerpsMarketGoerliFeatureFlagAllowlistAddedIterator, error)

FilterFeatureFlagAllowlistAdded is a free log retrieval operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.

Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)

func (*PerpsMarketGoerliFilterer) FilterFeatureFlagAllowlistRemoved

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterFeatureFlagAllowlistRemoved(opts *bind.FilterOpts, feature [][32]byte) (*PerpsMarketGoerliFeatureFlagAllowlistRemovedIterator, error)

FilterFeatureFlagAllowlistRemoved is a free log retrieval operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.

Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)

func (*PerpsMarketGoerliFilterer) FilterFeatureFlagDeniersReset

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterFeatureFlagDeniersReset(opts *bind.FilterOpts, feature [][32]byte) (*PerpsMarketGoerliFeatureFlagDeniersResetIterator, error)

FilterFeatureFlagDeniersReset is a free log retrieval operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.

Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)

func (*PerpsMarketGoerliFilterer) FilterFeatureFlagDenyAllSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterFeatureFlagDenyAllSet(opts *bind.FilterOpts, feature [][32]byte) (*PerpsMarketGoerliFeatureFlagDenyAllSetIterator, error)

FilterFeatureFlagDenyAllSet is a free log retrieval operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.

Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)

func (*PerpsMarketGoerliFilterer) FilterFeeCollectorSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterFeeCollectorSet(opts *bind.FilterOpts) (*PerpsMarketGoerliFeeCollectorSetIterator, error)

FilterFeeCollectorSet is a free log retrieval operation binding the contract event 0x12e1d17016b94668449f97876f4a8d5cc2c19f314db337418894734037cc19d4.

Solidity: event FeeCollectorSet(address feeCollector)

func (*PerpsMarketGoerliFilterer) FilterFundingParametersSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterFundingParametersSet(opts *bind.FilterOpts, marketId []*big.Int) (*PerpsMarketGoerliFundingParametersSetIterator, error)

FilterFundingParametersSet is a free log retrieval operation binding the contract event 0xa74afd926bbafbb9252d224a1fcd6a209f851324bd485f556786820a76e31b65.

Solidity: event FundingParametersSet(uint128 indexed marketId, uint256 skewScale, uint256 maxFundingVelocity)

func (*PerpsMarketGoerliFilterer) FilterLiquidationParametersSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterLiquidationParametersSet(opts *bind.FilterOpts, marketId []*big.Int) (*PerpsMarketGoerliLiquidationParametersSetIterator, error)

FilterLiquidationParametersSet is a free log retrieval operation binding the contract event 0xa0c87f048ec4f5924e50d554aa4a6e65a935f133a2114e5222590c1690e1a7b8.

Solidity: event LiquidationParametersSet(uint128 indexed marketId, uint256 initialMarginRatioD18, uint256 maintenanceMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin)

func (*PerpsMarketGoerliFilterer) FilterLiquidationRewardGuardsSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterLiquidationRewardGuardsSet(opts *bind.FilterOpts, minLiquidationRewardUsd []*big.Int, maxLiquidationRewardUsd []*big.Int) (*PerpsMarketGoerliLiquidationRewardGuardsSetIterator, error)

FilterLiquidationRewardGuardsSet is a free log retrieval operation binding the contract event 0xbb7f8eb17b00549c0f234a3c363ef3eb39329f98b52048416480cf62d0f0e1f5.

Solidity: event LiquidationRewardGuardsSet(uint256 indexed minLiquidationRewardUsd, uint256 indexed maxLiquidationRewardUsd)

func (*PerpsMarketGoerliFilterer) FilterLockedOiRatioSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterLockedOiRatioSet(opts *bind.FilterOpts, marketId []*big.Int) (*PerpsMarketGoerliLockedOiRatioSetIterator, error)

FilterLockedOiRatioSet is a free log retrieval operation binding the contract event 0x1d841fd5b4c806bc5a073d637a8506e1e74d16cb18251b711cb47e133ceafc2d.

Solidity: event LockedOiRatioSet(uint128 indexed marketId, uint256 lockedOiRatioD18)

func (*PerpsMarketGoerliFilterer) FilterMarketCreated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterMarketCreated(opts *bind.FilterOpts, perpsMarketId []*big.Int) (*PerpsMarketGoerliMarketCreatedIterator, error)

FilterMarketCreated is a free log retrieval operation binding the contract event 0x032553f94ac1323933f22650ec5b8e232babf1c47efca69383b749463116cc49.

Solidity: event MarketCreated(uint128 indexed perpsMarketId, string marketName, string marketSymbol)

func (*PerpsMarketGoerliFilterer) FilterMarketPriceDataUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterMarketPriceDataUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*PerpsMarketGoerliMarketPriceDataUpdatedIterator, error)

FilterMarketPriceDataUpdated is a free log retrieval operation binding the contract event 0xd5ec22bbdbde803d8585a5aa89d991c67dc62c6a7bc3c4fa000b4e263b6783a0.

Solidity: event MarketPriceDataUpdated(uint128 indexed marketId, bytes32 feedId)

func (*PerpsMarketGoerliFilterer) FilterMarketUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterMarketUpdated(opts *bind.FilterOpts) (*PerpsMarketGoerliMarketUpdatedIterator, error)

FilterMarketUpdated is a free log retrieval operation binding the contract event 0xb317f068f30db823aeb6ac6ddbffcbb6c805f558972e6b16625ec58b83f1f3d5.

Solidity: event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity)

func (*PerpsMarketGoerliFilterer) FilterMaxCollateralAmountSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterMaxCollateralAmountSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*PerpsMarketGoerliMaxCollateralAmountSetIterator, error)

FilterMaxCollateralAmountSet is a free log retrieval operation binding the contract event 0xa552ba0f2552ec13b62b479a41e6e7dfcef9f10aea18527e5a3e1b3963bf70d7.

Solidity: event MaxCollateralAmountSet(uint128 indexed synthMarketId, uint256 collateralAmount)

func (*PerpsMarketGoerliFilterer) FilterMaxLiquidationParametersSet added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterMaxLiquidationParametersSet(opts *bind.FilterOpts, marketId []*big.Int) (*PerpsMarketGoerliMaxLiquidationParametersSetIterator, error)

FilterMaxLiquidationParametersSet is a free log retrieval operation binding the contract event 0x9012ce377b7043d153d2cba3376efe7e1742af5acb7e38897362f392a7dc89ed.

Solidity: event MaxLiquidationParametersSet(uint128 indexed marketId, uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)

func (*PerpsMarketGoerliFilterer) FilterMaxMarketSizeSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterMaxMarketSizeSet(opts *bind.FilterOpts, marketId []*big.Int) (*PerpsMarketGoerliMaxMarketSizeSetIterator, error)

FilterMaxMarketSizeSet is a free log retrieval operation binding the contract event 0xbd063bd3072a194b255163ab8dfd3400c4ab1cc641b920e7aaf1c11f92cd26cf.

Solidity: event MaxMarketSizeSet(uint128 indexed marketId, uint256 maxMarketSize)

func (*PerpsMarketGoerliFilterer) FilterOrderCommitted

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterOrderCommitted(opts *bind.FilterOpts, marketId []*big.Int, accountId []*big.Int, trackingCode [][32]byte) (*PerpsMarketGoerliOrderCommittedIterator, error)

FilterOrderCommitted is a free log retrieval operation binding the contract event 0xc74e8cf044fc959dcef2695245eb90f7e9fb5676532a71eec5b3c513d4793709.

Solidity: event OrderCommitted(uint128 indexed marketId, uint128 indexed accountId, uint8 orderType, int128 sizeDelta, uint256 acceptablePrice, uint256 settlementTime, uint256 expirationTime, bytes32 indexed trackingCode, address sender)

func (*PerpsMarketGoerliFilterer) FilterOrderFeesSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterOrderFeesSet(opts *bind.FilterOpts, marketId []*big.Int) (*PerpsMarketGoerliOrderFeesSetIterator, error)

FilterOrderFeesSet is a free log retrieval operation binding the contract event 0x28969f156340ba9eb31589904eb174d3a4b6a37781fa6f7ad289d349d75dd1ee.

Solidity: event OrderFeesSet(uint128 indexed marketId, uint256 makerFeeRatio, uint256 takerFeeRatio)

func (*PerpsMarketGoerliFilterer) FilterOrderSettled

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterOrderSettled(opts *bind.FilterOpts, marketId []*big.Int, accountId []*big.Int, trackingCode [][32]byte) (*PerpsMarketGoerliOrderSettledIterator, error)

FilterOrderSettled is a free log retrieval operation binding the contract event 0x460080a757ec90719fe90ab2384c0196cdeed071a9fd7ce1ada43481d96b7db5.

Solidity: event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)

func (*PerpsMarketGoerliFilterer) FilterOwnerChanged

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*PerpsMarketGoerliOwnerChangedIterator, error)

FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*PerpsMarketGoerliFilterer) FilterOwnerNominated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterOwnerNominated(opts *bind.FilterOpts) (*PerpsMarketGoerliOwnerNominatedIterator, error)

FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*PerpsMarketGoerliFilterer) FilterPerAccountCapsSet added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterPerAccountCapsSet(opts *bind.FilterOpts) (*PerpsMarketGoerliPerAccountCapsSetIterator, error)

FilterPerAccountCapsSet is a free log retrieval operation binding the contract event 0x3448c6d1990f2d48253b91394193cd11ce49f1653f2d03934af6d17195ffe34e.

Solidity: event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)

func (*PerpsMarketGoerliFilterer) FilterPermissionGranted

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterPermissionGranted(opts *bind.FilterOpts, accountId []*big.Int, permission [][32]byte, user []common.Address) (*PerpsMarketGoerliPermissionGrantedIterator, error)

FilterPermissionGranted is a free log retrieval operation binding the contract event 0x32ff7c3f84299a3543c1e89057e98ba962f4fbe7786c52289e184c57b9a36a50.

Solidity: event PermissionGranted(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*PerpsMarketGoerliFilterer) FilterPermissionRevoked

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterPermissionRevoked(opts *bind.FilterOpts, accountId []*big.Int, permission [][32]byte, user []common.Address) (*PerpsMarketGoerliPermissionRevokedIterator, error)

FilterPermissionRevoked is a free log retrieval operation binding the contract event 0x116c7e9cd2db316974fb473babcbcd625be1350842d0319e761d30aefb09a58a.

Solidity: event PermissionRevoked(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*PerpsMarketGoerliFilterer) FilterPositionLiquidated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterPositionLiquidated(opts *bind.FilterOpts, accountId []*big.Int, marketId []*big.Int) (*PerpsMarketGoerliPositionLiquidatedIterator, error)

FilterPositionLiquidated is a free log retrieval operation binding the contract event 0xd583c0e2965aae317f4a9a6603c0c75602b9bc97dc7c5fc6446b0ba8d3ff1bb2.

Solidity: event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)

func (*PerpsMarketGoerliFilterer) FilterPreviousOrderExpired

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterPreviousOrderExpired(opts *bind.FilterOpts, marketId []*big.Int, accountId []*big.Int, trackingCode [][32]byte) (*PerpsMarketGoerliPreviousOrderExpiredIterator, error)

FilterPreviousOrderExpired is a free log retrieval operation binding the contract event 0x6d83c6751813f50325d75bc054621f83299659c5814d1e5fe6ac117860710dde.

Solidity: event PreviousOrderExpired(uint128 indexed marketId, uint128 indexed accountId, int128 sizeDelta, uint256 acceptablePrice, uint256 settlementTime, bytes32 indexed trackingCode)

func (*PerpsMarketGoerliFilterer) FilterReferrerShareUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterReferrerShareUpdated(opts *bind.FilterOpts) (*PerpsMarketGoerliReferrerShareUpdatedIterator, error)

FilterReferrerShareUpdated is a free log retrieval operation binding the contract event 0xa225c555f4cd21a533ad4e01eaf30153c84ca28265d954a651410d3c1e56242c.

Solidity: event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)

func (*PerpsMarketGoerliFilterer) FilterSettlementStrategyAdded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterSettlementStrategyAdded(opts *bind.FilterOpts, marketId []*big.Int, strategyId []*big.Int) (*PerpsMarketGoerliSettlementStrategyAddedIterator, error)

FilterSettlementStrategyAdded is a free log retrieval operation binding the contract event 0x6ea79b5183a0fa7ead0ea991cd5e5fa23e2da92b703bbe111479fffcdea58827.

Solidity: event SettlementStrategyAdded(uint128 indexed marketId, (uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) strategy, uint256 indexed strategyId)

func (*PerpsMarketGoerliFilterer) FilterSettlementStrategyEnabled

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterSettlementStrategyEnabled(opts *bind.FilterOpts, marketId []*big.Int) (*PerpsMarketGoerliSettlementStrategyEnabledIterator, error)

FilterSettlementStrategyEnabled is a free log retrieval operation binding the contract event 0x4803eb4e51b45b2471b0c87d8c17e0c2d8961ae080cc4a930883eab155e0fa22.

Solidity: event SettlementStrategyEnabled(uint128 indexed marketId, uint256 strategyId, bool enabled)

func (*PerpsMarketGoerliFilterer) FilterSynthDeductionPrioritySet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterSynthDeductionPrioritySet(opts *bind.FilterOpts) (*PerpsMarketGoerliSynthDeductionPrioritySetIterator, error)

FilterSynthDeductionPrioritySet is a free log retrieval operation binding the contract event 0xa6beea856d32db9e9614e4af02fc7d6a3fa8337a13e4a48486c142a9a9a8ed8f.

Solidity: event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)

func (*PerpsMarketGoerliFilterer) FilterUpgraded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) FilterUpgraded(opts *bind.FilterOpts, self []common.Address) (*PerpsMarketGoerliUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.

Solidity: event Upgraded(address indexed self, address implementation)

func (*PerpsMarketGoerliFilterer) ParseAccountCreated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseAccountCreated(log types.Log) (*PerpsMarketGoerliAccountCreated, error)

ParseAccountCreated is a log parse operation binding the contract event 0xa9e04d307e860938fa63307df8b8090e365276e59fcca12ed55656c25e538019.

Solidity: event AccountCreated(uint128 indexed accountId, address indexed owner)

func (*PerpsMarketGoerliFilterer) ParseAccountLiquidated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseAccountLiquidated(log types.Log) (*PerpsMarketGoerliAccountLiquidated, error)

ParseAccountLiquidated is a log parse operation binding the contract event 0x926f56b0a80cc150ad77b59cc60bc53cb907eab441d204924ec67b40ae64f5f5.

Solidity: event AccountLiquidated(uint128 indexed accountId, uint256 reward, bool fullLiquidation)

func (*PerpsMarketGoerliFilterer) ParseAssociatedSystemSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseAssociatedSystemSet(log types.Log) (*PerpsMarketGoerliAssociatedSystemSet, error)

ParseAssociatedSystemSet is a log parse operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.

Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)

func (*PerpsMarketGoerliFilterer) ParseCollateralModified

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseCollateralModified(log types.Log) (*PerpsMarketGoerliCollateralModified, error)

ParseCollateralModified is a log parse operation binding the contract event 0x2e8360c2f3a6fc1a15aefdd0a0922bea3c898cb90d38c3a97354e7c013116064.

Solidity: event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)

func (*PerpsMarketGoerliFilterer) ParseFactoryInitialized

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseFactoryInitialized(log types.Log) (*PerpsMarketGoerliFactoryInitialized, error)

ParseFactoryInitialized is a log parse operation binding the contract event 0xb3240229b07e26f2f02e69dda85ede86e162ccbc6d10e6aade28931e7f533339.

Solidity: event FactoryInitialized(uint128 globalPerpsMarketId)

func (*PerpsMarketGoerliFilterer) ParseFeatureFlagAllowAllSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseFeatureFlagAllowAllSet(log types.Log) (*PerpsMarketGoerliFeatureFlagAllowAllSet, error)

ParseFeatureFlagAllowAllSet is a log parse operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.

Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)

func (*PerpsMarketGoerliFilterer) ParseFeatureFlagAllowlistAdded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseFeatureFlagAllowlistAdded(log types.Log) (*PerpsMarketGoerliFeatureFlagAllowlistAdded, error)

ParseFeatureFlagAllowlistAdded is a log parse operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.

Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)

func (*PerpsMarketGoerliFilterer) ParseFeatureFlagAllowlistRemoved

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseFeatureFlagAllowlistRemoved(log types.Log) (*PerpsMarketGoerliFeatureFlagAllowlistRemoved, error)

ParseFeatureFlagAllowlistRemoved is a log parse operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.

Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)

func (*PerpsMarketGoerliFilterer) ParseFeatureFlagDeniersReset

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseFeatureFlagDeniersReset(log types.Log) (*PerpsMarketGoerliFeatureFlagDeniersReset, error)

ParseFeatureFlagDeniersReset is a log parse operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.

Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)

func (*PerpsMarketGoerliFilterer) ParseFeatureFlagDenyAllSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseFeatureFlagDenyAllSet(log types.Log) (*PerpsMarketGoerliFeatureFlagDenyAllSet, error)

ParseFeatureFlagDenyAllSet is a log parse operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.

Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)

func (*PerpsMarketGoerliFilterer) ParseFeeCollectorSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseFeeCollectorSet(log types.Log) (*PerpsMarketGoerliFeeCollectorSet, error)

ParseFeeCollectorSet is a log parse operation binding the contract event 0x12e1d17016b94668449f97876f4a8d5cc2c19f314db337418894734037cc19d4.

Solidity: event FeeCollectorSet(address feeCollector)

func (*PerpsMarketGoerliFilterer) ParseFundingParametersSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseFundingParametersSet(log types.Log) (*PerpsMarketGoerliFundingParametersSet, error)

ParseFundingParametersSet is a log parse operation binding the contract event 0xa74afd926bbafbb9252d224a1fcd6a209f851324bd485f556786820a76e31b65.

Solidity: event FundingParametersSet(uint128 indexed marketId, uint256 skewScale, uint256 maxFundingVelocity)

func (*PerpsMarketGoerliFilterer) ParseLiquidationParametersSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseLiquidationParametersSet(log types.Log) (*PerpsMarketGoerliLiquidationParametersSet, error)

ParseLiquidationParametersSet is a log parse operation binding the contract event 0xa0c87f048ec4f5924e50d554aa4a6e65a935f133a2114e5222590c1690e1a7b8.

Solidity: event LiquidationParametersSet(uint128 indexed marketId, uint256 initialMarginRatioD18, uint256 maintenanceMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin)

func (*PerpsMarketGoerliFilterer) ParseLiquidationRewardGuardsSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseLiquidationRewardGuardsSet(log types.Log) (*PerpsMarketGoerliLiquidationRewardGuardsSet, error)

ParseLiquidationRewardGuardsSet is a log parse operation binding the contract event 0xbb7f8eb17b00549c0f234a3c363ef3eb39329f98b52048416480cf62d0f0e1f5.

Solidity: event LiquidationRewardGuardsSet(uint256 indexed minLiquidationRewardUsd, uint256 indexed maxLiquidationRewardUsd)

func (*PerpsMarketGoerliFilterer) ParseLockedOiRatioSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseLockedOiRatioSet(log types.Log) (*PerpsMarketGoerliLockedOiRatioSet, error)

ParseLockedOiRatioSet is a log parse operation binding the contract event 0x1d841fd5b4c806bc5a073d637a8506e1e74d16cb18251b711cb47e133ceafc2d.

Solidity: event LockedOiRatioSet(uint128 indexed marketId, uint256 lockedOiRatioD18)

func (*PerpsMarketGoerliFilterer) ParseMarketCreated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseMarketCreated(log types.Log) (*PerpsMarketGoerliMarketCreated, error)

ParseMarketCreated is a log parse operation binding the contract event 0x032553f94ac1323933f22650ec5b8e232babf1c47efca69383b749463116cc49.

Solidity: event MarketCreated(uint128 indexed perpsMarketId, string marketName, string marketSymbol)

func (*PerpsMarketGoerliFilterer) ParseMarketPriceDataUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseMarketPriceDataUpdated(log types.Log) (*PerpsMarketGoerliMarketPriceDataUpdated, error)

ParseMarketPriceDataUpdated is a log parse operation binding the contract event 0xd5ec22bbdbde803d8585a5aa89d991c67dc62c6a7bc3c4fa000b4e263b6783a0.

Solidity: event MarketPriceDataUpdated(uint128 indexed marketId, bytes32 feedId)

func (*PerpsMarketGoerliFilterer) ParseMarketUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseMarketUpdated(log types.Log) (*PerpsMarketGoerliMarketUpdated, error)

ParseMarketUpdated is a log parse operation binding the contract event 0xb317f068f30db823aeb6ac6ddbffcbb6c805f558972e6b16625ec58b83f1f3d5.

Solidity: event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity)

func (*PerpsMarketGoerliFilterer) ParseMaxCollateralAmountSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseMaxCollateralAmountSet(log types.Log) (*PerpsMarketGoerliMaxCollateralAmountSet, error)

ParseMaxCollateralAmountSet is a log parse operation binding the contract event 0xa552ba0f2552ec13b62b479a41e6e7dfcef9f10aea18527e5a3e1b3963bf70d7.

Solidity: event MaxCollateralAmountSet(uint128 indexed synthMarketId, uint256 collateralAmount)

func (*PerpsMarketGoerliFilterer) ParseMaxLiquidationParametersSet added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseMaxLiquidationParametersSet(log types.Log) (*PerpsMarketGoerliMaxLiquidationParametersSet, error)

ParseMaxLiquidationParametersSet is a log parse operation binding the contract event 0x9012ce377b7043d153d2cba3376efe7e1742af5acb7e38897362f392a7dc89ed.

Solidity: event MaxLiquidationParametersSet(uint128 indexed marketId, uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)

func (*PerpsMarketGoerliFilterer) ParseMaxMarketSizeSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseMaxMarketSizeSet(log types.Log) (*PerpsMarketGoerliMaxMarketSizeSet, error)

ParseMaxMarketSizeSet is a log parse operation binding the contract event 0xbd063bd3072a194b255163ab8dfd3400c4ab1cc641b920e7aaf1c11f92cd26cf.

Solidity: event MaxMarketSizeSet(uint128 indexed marketId, uint256 maxMarketSize)

func (*PerpsMarketGoerliFilterer) ParseOrderCommitted

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseOrderCommitted(log types.Log) (*PerpsMarketGoerliOrderCommitted, error)

ParseOrderCommitted is a log parse operation binding the contract event 0xc74e8cf044fc959dcef2695245eb90f7e9fb5676532a71eec5b3c513d4793709.

Solidity: event OrderCommitted(uint128 indexed marketId, uint128 indexed accountId, uint8 orderType, int128 sizeDelta, uint256 acceptablePrice, uint256 settlementTime, uint256 expirationTime, bytes32 indexed trackingCode, address sender)

func (*PerpsMarketGoerliFilterer) ParseOrderFeesSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseOrderFeesSet(log types.Log) (*PerpsMarketGoerliOrderFeesSet, error)

ParseOrderFeesSet is a log parse operation binding the contract event 0x28969f156340ba9eb31589904eb174d3a4b6a37781fa6f7ad289d349d75dd1ee.

Solidity: event OrderFeesSet(uint128 indexed marketId, uint256 makerFeeRatio, uint256 takerFeeRatio)

func (*PerpsMarketGoerliFilterer) ParseOrderSettled

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseOrderSettled(log types.Log) (*PerpsMarketGoerliOrderSettled, error)

ParseOrderSettled is a log parse operation binding the contract event 0x460080a757ec90719fe90ab2384c0196cdeed071a9fd7ce1ada43481d96b7db5.

Solidity: event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)

func (*PerpsMarketGoerliFilterer) ParseOwnerChanged

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseOwnerChanged(log types.Log) (*PerpsMarketGoerliOwnerChanged, error)

ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*PerpsMarketGoerliFilterer) ParseOwnerNominated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseOwnerNominated(log types.Log) (*PerpsMarketGoerliOwnerNominated, error)

ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*PerpsMarketGoerliFilterer) ParsePerAccountCapsSet added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParsePerAccountCapsSet(log types.Log) (*PerpsMarketGoerliPerAccountCapsSet, error)

ParsePerAccountCapsSet is a log parse operation binding the contract event 0x3448c6d1990f2d48253b91394193cd11ce49f1653f2d03934af6d17195ffe34e.

Solidity: event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)

func (*PerpsMarketGoerliFilterer) ParsePermissionGranted

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParsePermissionGranted(log types.Log) (*PerpsMarketGoerliPermissionGranted, error)

ParsePermissionGranted is a log parse operation binding the contract event 0x32ff7c3f84299a3543c1e89057e98ba962f4fbe7786c52289e184c57b9a36a50.

Solidity: event PermissionGranted(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*PerpsMarketGoerliFilterer) ParsePermissionRevoked

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParsePermissionRevoked(log types.Log) (*PerpsMarketGoerliPermissionRevoked, error)

ParsePermissionRevoked is a log parse operation binding the contract event 0x116c7e9cd2db316974fb473babcbcd625be1350842d0319e761d30aefb09a58a.

Solidity: event PermissionRevoked(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*PerpsMarketGoerliFilterer) ParsePositionLiquidated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParsePositionLiquidated(log types.Log) (*PerpsMarketGoerliPositionLiquidated, error)

ParsePositionLiquidated is a log parse operation binding the contract event 0xd583c0e2965aae317f4a9a6603c0c75602b9bc97dc7c5fc6446b0ba8d3ff1bb2.

Solidity: event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)

func (*PerpsMarketGoerliFilterer) ParsePreviousOrderExpired

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParsePreviousOrderExpired(log types.Log) (*PerpsMarketGoerliPreviousOrderExpired, error)

ParsePreviousOrderExpired is a log parse operation binding the contract event 0x6d83c6751813f50325d75bc054621f83299659c5814d1e5fe6ac117860710dde.

Solidity: event PreviousOrderExpired(uint128 indexed marketId, uint128 indexed accountId, int128 sizeDelta, uint256 acceptablePrice, uint256 settlementTime, bytes32 indexed trackingCode)

func (*PerpsMarketGoerliFilterer) ParseReferrerShareUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseReferrerShareUpdated(log types.Log) (*PerpsMarketGoerliReferrerShareUpdated, error)

ParseReferrerShareUpdated is a log parse operation binding the contract event 0xa225c555f4cd21a533ad4e01eaf30153c84ca28265d954a651410d3c1e56242c.

Solidity: event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)

func (*PerpsMarketGoerliFilterer) ParseSettlementStrategyAdded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseSettlementStrategyAdded(log types.Log) (*PerpsMarketGoerliSettlementStrategyAdded, error)

ParseSettlementStrategyAdded is a log parse operation binding the contract event 0x6ea79b5183a0fa7ead0ea991cd5e5fa23e2da92b703bbe111479fffcdea58827.

Solidity: event SettlementStrategyAdded(uint128 indexed marketId, (uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) strategy, uint256 indexed strategyId)

func (*PerpsMarketGoerliFilterer) ParseSettlementStrategyEnabled

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseSettlementStrategyEnabled(log types.Log) (*PerpsMarketGoerliSettlementStrategyEnabled, error)

ParseSettlementStrategyEnabled is a log parse operation binding the contract event 0x4803eb4e51b45b2471b0c87d8c17e0c2d8961ae080cc4a930883eab155e0fa22.

Solidity: event SettlementStrategyEnabled(uint128 indexed marketId, uint256 strategyId, bool enabled)

func (*PerpsMarketGoerliFilterer) ParseSynthDeductionPrioritySet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseSynthDeductionPrioritySet(log types.Log) (*PerpsMarketGoerliSynthDeductionPrioritySet, error)

ParseSynthDeductionPrioritySet is a log parse operation binding the contract event 0xa6beea856d32db9e9614e4af02fc7d6a3fa8337a13e4a48486c142a9a9a8ed8f.

Solidity: event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)

func (*PerpsMarketGoerliFilterer) ParseUpgraded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) ParseUpgraded(log types.Log) (*PerpsMarketGoerliUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.

Solidity: event Upgraded(address indexed self, address implementation)

func (*PerpsMarketGoerliFilterer) WatchAccountCreated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchAccountCreated(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliAccountCreated, accountId []*big.Int, owner []common.Address) (event.Subscription, error)

WatchAccountCreated is a free log subscription operation binding the contract event 0xa9e04d307e860938fa63307df8b8090e365276e59fcca12ed55656c25e538019.

Solidity: event AccountCreated(uint128 indexed accountId, address indexed owner)

func (*PerpsMarketGoerliFilterer) WatchAccountLiquidated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchAccountLiquidated(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliAccountLiquidated, accountId []*big.Int) (event.Subscription, error)

WatchAccountLiquidated is a free log subscription operation binding the contract event 0x926f56b0a80cc150ad77b59cc60bc53cb907eab441d204924ec67b40ae64f5f5.

Solidity: event AccountLiquidated(uint128 indexed accountId, uint256 reward, bool fullLiquidation)

func (*PerpsMarketGoerliFilterer) WatchAssociatedSystemSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchAssociatedSystemSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliAssociatedSystemSet, kind [][32]byte, id [][32]byte) (event.Subscription, error)

WatchAssociatedSystemSet is a free log subscription operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.

Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)

func (*PerpsMarketGoerliFilterer) WatchCollateralModified

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchCollateralModified(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliCollateralModified, accountId []*big.Int, synthMarketId []*big.Int, sender []common.Address) (event.Subscription, error)

WatchCollateralModified is a free log subscription operation binding the contract event 0x2e8360c2f3a6fc1a15aefdd0a0922bea3c898cb90d38c3a97354e7c013116064.

Solidity: event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)

func (*PerpsMarketGoerliFilterer) WatchFactoryInitialized

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchFactoryInitialized(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliFactoryInitialized) (event.Subscription, error)

WatchFactoryInitialized is a free log subscription operation binding the contract event 0xb3240229b07e26f2f02e69dda85ede86e162ccbc6d10e6aade28931e7f533339.

Solidity: event FactoryInitialized(uint128 globalPerpsMarketId)

func (*PerpsMarketGoerliFilterer) WatchFeatureFlagAllowAllSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchFeatureFlagAllowAllSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliFeatureFlagAllowAllSet, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagAllowAllSet is a free log subscription operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.

Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)

func (*PerpsMarketGoerliFilterer) WatchFeatureFlagAllowlistAdded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchFeatureFlagAllowlistAdded(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliFeatureFlagAllowlistAdded, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagAllowlistAdded is a free log subscription operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.

Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)

func (*PerpsMarketGoerliFilterer) WatchFeatureFlagAllowlistRemoved

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchFeatureFlagAllowlistRemoved(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliFeatureFlagAllowlistRemoved, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagAllowlistRemoved is a free log subscription operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.

Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)

func (*PerpsMarketGoerliFilterer) WatchFeatureFlagDeniersReset

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchFeatureFlagDeniersReset(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliFeatureFlagDeniersReset, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagDeniersReset is a free log subscription operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.

Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)

func (*PerpsMarketGoerliFilterer) WatchFeatureFlagDenyAllSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchFeatureFlagDenyAllSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliFeatureFlagDenyAllSet, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagDenyAllSet is a free log subscription operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.

Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)

func (*PerpsMarketGoerliFilterer) WatchFeeCollectorSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchFeeCollectorSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliFeeCollectorSet) (event.Subscription, error)

WatchFeeCollectorSet is a free log subscription operation binding the contract event 0x12e1d17016b94668449f97876f4a8d5cc2c19f314db337418894734037cc19d4.

Solidity: event FeeCollectorSet(address feeCollector)

func (*PerpsMarketGoerliFilterer) WatchFundingParametersSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchFundingParametersSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliFundingParametersSet, marketId []*big.Int) (event.Subscription, error)

WatchFundingParametersSet is a free log subscription operation binding the contract event 0xa74afd926bbafbb9252d224a1fcd6a209f851324bd485f556786820a76e31b65.

Solidity: event FundingParametersSet(uint128 indexed marketId, uint256 skewScale, uint256 maxFundingVelocity)

func (*PerpsMarketGoerliFilterer) WatchLiquidationParametersSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchLiquidationParametersSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliLiquidationParametersSet, marketId []*big.Int) (event.Subscription, error)

WatchLiquidationParametersSet is a free log subscription operation binding the contract event 0xa0c87f048ec4f5924e50d554aa4a6e65a935f133a2114e5222590c1690e1a7b8.

Solidity: event LiquidationParametersSet(uint128 indexed marketId, uint256 initialMarginRatioD18, uint256 maintenanceMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin)

func (*PerpsMarketGoerliFilterer) WatchLiquidationRewardGuardsSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchLiquidationRewardGuardsSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliLiquidationRewardGuardsSet, minLiquidationRewardUsd []*big.Int, maxLiquidationRewardUsd []*big.Int) (event.Subscription, error)

WatchLiquidationRewardGuardsSet is a free log subscription operation binding the contract event 0xbb7f8eb17b00549c0f234a3c363ef3eb39329f98b52048416480cf62d0f0e1f5.

Solidity: event LiquidationRewardGuardsSet(uint256 indexed minLiquidationRewardUsd, uint256 indexed maxLiquidationRewardUsd)

func (*PerpsMarketGoerliFilterer) WatchLockedOiRatioSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchLockedOiRatioSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliLockedOiRatioSet, marketId []*big.Int) (event.Subscription, error)

WatchLockedOiRatioSet is a free log subscription operation binding the contract event 0x1d841fd5b4c806bc5a073d637a8506e1e74d16cb18251b711cb47e133ceafc2d.

Solidity: event LockedOiRatioSet(uint128 indexed marketId, uint256 lockedOiRatioD18)

func (*PerpsMarketGoerliFilterer) WatchMarketCreated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchMarketCreated(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliMarketCreated, perpsMarketId []*big.Int) (event.Subscription, error)

WatchMarketCreated is a free log subscription operation binding the contract event 0x032553f94ac1323933f22650ec5b8e232babf1c47efca69383b749463116cc49.

Solidity: event MarketCreated(uint128 indexed perpsMarketId, string marketName, string marketSymbol)

func (*PerpsMarketGoerliFilterer) WatchMarketPriceDataUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchMarketPriceDataUpdated(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliMarketPriceDataUpdated, marketId []*big.Int) (event.Subscription, error)

WatchMarketPriceDataUpdated is a free log subscription operation binding the contract event 0xd5ec22bbdbde803d8585a5aa89d991c67dc62c6a7bc3c4fa000b4e263b6783a0.

Solidity: event MarketPriceDataUpdated(uint128 indexed marketId, bytes32 feedId)

func (*PerpsMarketGoerliFilterer) WatchMarketUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchMarketUpdated(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliMarketUpdated) (event.Subscription, error)

WatchMarketUpdated is a free log subscription operation binding the contract event 0xb317f068f30db823aeb6ac6ddbffcbb6c805f558972e6b16625ec58b83f1f3d5.

Solidity: event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity)

func (*PerpsMarketGoerliFilterer) WatchMaxCollateralAmountSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchMaxCollateralAmountSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliMaxCollateralAmountSet, synthMarketId []*big.Int) (event.Subscription, error)

WatchMaxCollateralAmountSet is a free log subscription operation binding the contract event 0xa552ba0f2552ec13b62b479a41e6e7dfcef9f10aea18527e5a3e1b3963bf70d7.

Solidity: event MaxCollateralAmountSet(uint128 indexed synthMarketId, uint256 collateralAmount)

func (*PerpsMarketGoerliFilterer) WatchMaxLiquidationParametersSet added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchMaxLiquidationParametersSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliMaxLiquidationParametersSet, marketId []*big.Int) (event.Subscription, error)

WatchMaxLiquidationParametersSet is a free log subscription operation binding the contract event 0x9012ce377b7043d153d2cba3376efe7e1742af5acb7e38897362f392a7dc89ed.

Solidity: event MaxLiquidationParametersSet(uint128 indexed marketId, uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)

func (*PerpsMarketGoerliFilterer) WatchMaxMarketSizeSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchMaxMarketSizeSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliMaxMarketSizeSet, marketId []*big.Int) (event.Subscription, error)

WatchMaxMarketSizeSet is a free log subscription operation binding the contract event 0xbd063bd3072a194b255163ab8dfd3400c4ab1cc641b920e7aaf1c11f92cd26cf.

Solidity: event MaxMarketSizeSet(uint128 indexed marketId, uint256 maxMarketSize)

func (*PerpsMarketGoerliFilterer) WatchOrderCommitted

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchOrderCommitted(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliOrderCommitted, marketId []*big.Int, accountId []*big.Int, trackingCode [][32]byte) (event.Subscription, error)

WatchOrderCommitted is a free log subscription operation binding the contract event 0xc74e8cf044fc959dcef2695245eb90f7e9fb5676532a71eec5b3c513d4793709.

Solidity: event OrderCommitted(uint128 indexed marketId, uint128 indexed accountId, uint8 orderType, int128 sizeDelta, uint256 acceptablePrice, uint256 settlementTime, uint256 expirationTime, bytes32 indexed trackingCode, address sender)

func (*PerpsMarketGoerliFilterer) WatchOrderFeesSet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchOrderFeesSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliOrderFeesSet, marketId []*big.Int) (event.Subscription, error)

WatchOrderFeesSet is a free log subscription operation binding the contract event 0x28969f156340ba9eb31589904eb174d3a4b6a37781fa6f7ad289d349d75dd1ee.

Solidity: event OrderFeesSet(uint128 indexed marketId, uint256 makerFeeRatio, uint256 takerFeeRatio)

func (*PerpsMarketGoerliFilterer) WatchOrderSettled

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchOrderSettled(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliOrderSettled, marketId []*big.Int, accountId []*big.Int, trackingCode [][32]byte) (event.Subscription, error)

WatchOrderSettled is a free log subscription operation binding the contract event 0x460080a757ec90719fe90ab2384c0196cdeed071a9fd7ce1ada43481d96b7db5.

Solidity: event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)

func (*PerpsMarketGoerliFilterer) WatchOwnerChanged

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliOwnerChanged) (event.Subscription, error)

WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*PerpsMarketGoerliFilterer) WatchOwnerNominated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliOwnerNominated) (event.Subscription, error)

WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*PerpsMarketGoerliFilterer) WatchPerAccountCapsSet added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchPerAccountCapsSet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliPerAccountCapsSet) (event.Subscription, error)

WatchPerAccountCapsSet is a free log subscription operation binding the contract event 0x3448c6d1990f2d48253b91394193cd11ce49f1653f2d03934af6d17195ffe34e.

Solidity: event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)

func (*PerpsMarketGoerliFilterer) WatchPermissionGranted

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchPermissionGranted(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliPermissionGranted, accountId []*big.Int, permission [][32]byte, user []common.Address) (event.Subscription, error)

WatchPermissionGranted is a free log subscription operation binding the contract event 0x32ff7c3f84299a3543c1e89057e98ba962f4fbe7786c52289e184c57b9a36a50.

Solidity: event PermissionGranted(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*PerpsMarketGoerliFilterer) WatchPermissionRevoked

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchPermissionRevoked(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliPermissionRevoked, accountId []*big.Int, permission [][32]byte, user []common.Address) (event.Subscription, error)

WatchPermissionRevoked is a free log subscription operation binding the contract event 0x116c7e9cd2db316974fb473babcbcd625be1350842d0319e761d30aefb09a58a.

Solidity: event PermissionRevoked(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*PerpsMarketGoerliFilterer) WatchPositionLiquidated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchPositionLiquidated(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliPositionLiquidated, accountId []*big.Int, marketId []*big.Int) (event.Subscription, error)

WatchPositionLiquidated is a free log subscription operation binding the contract event 0xd583c0e2965aae317f4a9a6603c0c75602b9bc97dc7c5fc6446b0ba8d3ff1bb2.

Solidity: event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)

func (*PerpsMarketGoerliFilterer) WatchPreviousOrderExpired

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchPreviousOrderExpired(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliPreviousOrderExpired, marketId []*big.Int, accountId []*big.Int, trackingCode [][32]byte) (event.Subscription, error)

WatchPreviousOrderExpired is a free log subscription operation binding the contract event 0x6d83c6751813f50325d75bc054621f83299659c5814d1e5fe6ac117860710dde.

Solidity: event PreviousOrderExpired(uint128 indexed marketId, uint128 indexed accountId, int128 sizeDelta, uint256 acceptablePrice, uint256 settlementTime, bytes32 indexed trackingCode)

func (*PerpsMarketGoerliFilterer) WatchReferrerShareUpdated

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchReferrerShareUpdated(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliReferrerShareUpdated) (event.Subscription, error)

WatchReferrerShareUpdated is a free log subscription operation binding the contract event 0xa225c555f4cd21a533ad4e01eaf30153c84ca28265d954a651410d3c1e56242c.

Solidity: event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)

func (*PerpsMarketGoerliFilterer) WatchSettlementStrategyAdded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchSettlementStrategyAdded(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliSettlementStrategyAdded, marketId []*big.Int, strategyId []*big.Int) (event.Subscription, error)

WatchSettlementStrategyAdded is a free log subscription operation binding the contract event 0x6ea79b5183a0fa7ead0ea991cd5e5fa23e2da92b703bbe111479fffcdea58827.

Solidity: event SettlementStrategyAdded(uint128 indexed marketId, (uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) strategy, uint256 indexed strategyId)

func (*PerpsMarketGoerliFilterer) WatchSettlementStrategyEnabled

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchSettlementStrategyEnabled(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliSettlementStrategyEnabled, marketId []*big.Int) (event.Subscription, error)

WatchSettlementStrategyEnabled is a free log subscription operation binding the contract event 0x4803eb4e51b45b2471b0c87d8c17e0c2d8961ae080cc4a930883eab155e0fa22.

Solidity: event SettlementStrategyEnabled(uint128 indexed marketId, uint256 strategyId, bool enabled)

func (*PerpsMarketGoerliFilterer) WatchSynthDeductionPrioritySet

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchSynthDeductionPrioritySet(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliSynthDeductionPrioritySet) (event.Subscription, error)

WatchSynthDeductionPrioritySet is a free log subscription operation binding the contract event 0xa6beea856d32db9e9614e4af02fc7d6a3fa8337a13e4a48486c142a9a9a8ed8f.

Solidity: event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)

func (*PerpsMarketGoerliFilterer) WatchUpgraded

func (_PerpsMarketGoerli *PerpsMarketGoerliFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *PerpsMarketGoerliUpgraded, self []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.

Solidity: event Upgraded(address indexed self, address implementation)

type PerpsMarketGoerliFundingParametersSet

type PerpsMarketGoerliFundingParametersSet struct {
	MarketId           *big.Int
	SkewScale          *big.Int
	MaxFundingVelocity *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliFundingParametersSet represents a FundingParametersSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliFundingParametersSetIterator

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

PerpsMarketGoerliFundingParametersSetIterator is returned from FilterFundingParametersSet and is used to iterate over the raw logs and unpacked data for FundingParametersSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliFundingParametersSetIterator) Close

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

func (*PerpsMarketGoerliFundingParametersSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliFundingParametersSetIterator) 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 PerpsMarketGoerliLiquidationParametersSet

type PerpsMarketGoerliLiquidationParametersSet struct {
	MarketId                     *big.Int
	InitialMarginRatioD18        *big.Int
	MaintenanceMarginRatioD18    *big.Int
	MinimumInitialMarginRatioD18 *big.Int
	LiquidationRewardRatioD18    *big.Int
	MinimumPositionMargin        *big.Int
	Raw                          types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliLiquidationParametersSet represents a LiquidationParametersSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliLiquidationParametersSetIterator

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

PerpsMarketGoerliLiquidationParametersSetIterator is returned from FilterLiquidationParametersSet and is used to iterate over the raw logs and unpacked data for LiquidationParametersSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliLiquidationParametersSetIterator) Close

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

func (*PerpsMarketGoerliLiquidationParametersSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliLiquidationParametersSetIterator) 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 PerpsMarketGoerliLiquidationRewardGuardsSet

type PerpsMarketGoerliLiquidationRewardGuardsSet struct {
	MinLiquidationRewardUsd *big.Int
	MaxLiquidationRewardUsd *big.Int
	Raw                     types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliLiquidationRewardGuardsSet represents a LiquidationRewardGuardsSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliLiquidationRewardGuardsSetIterator

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

PerpsMarketGoerliLiquidationRewardGuardsSetIterator is returned from FilterLiquidationRewardGuardsSet and is used to iterate over the raw logs and unpacked data for LiquidationRewardGuardsSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliLiquidationRewardGuardsSetIterator) Close

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

func (*PerpsMarketGoerliLiquidationRewardGuardsSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliLiquidationRewardGuardsSetIterator) 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 PerpsMarketGoerliLockedOiRatioSet

type PerpsMarketGoerliLockedOiRatioSet struct {
	MarketId         *big.Int
	LockedOiRatioD18 *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliLockedOiRatioSet represents a LockedOiRatioSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliLockedOiRatioSetIterator

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

PerpsMarketGoerliLockedOiRatioSetIterator is returned from FilterLockedOiRatioSet and is used to iterate over the raw logs and unpacked data for LockedOiRatioSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliLockedOiRatioSetIterator) Close

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

func (*PerpsMarketGoerliLockedOiRatioSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliLockedOiRatioSetIterator) 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 PerpsMarketGoerliMarketCreated

type PerpsMarketGoerliMarketCreated struct {
	PerpsMarketId *big.Int
	MarketName    string
	MarketSymbol  string
	Raw           types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliMarketCreated represents a MarketCreated event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliMarketCreatedIterator

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

PerpsMarketGoerliMarketCreatedIterator is returned from FilterMarketCreated and is used to iterate over the raw logs and unpacked data for MarketCreated events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliMarketCreatedIterator) Close

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

func (*PerpsMarketGoerliMarketCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliMarketCreatedIterator) 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 PerpsMarketGoerliMarketPriceDataUpdated

type PerpsMarketGoerliMarketPriceDataUpdated struct {
	MarketId *big.Int
	FeedId   [32]byte
	Raw      types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliMarketPriceDataUpdated represents a MarketPriceDataUpdated event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliMarketPriceDataUpdatedIterator

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

PerpsMarketGoerliMarketPriceDataUpdatedIterator is returned from FilterMarketPriceDataUpdated and is used to iterate over the raw logs and unpacked data for MarketPriceDataUpdated events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliMarketPriceDataUpdatedIterator) Close

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

func (*PerpsMarketGoerliMarketPriceDataUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliMarketPriceDataUpdatedIterator) 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 PerpsMarketGoerliMarketUpdated

type PerpsMarketGoerliMarketUpdated struct {
	MarketId               *big.Int
	Price                  *big.Int
	Skew                   *big.Int
	Size                   *big.Int
	SizeDelta              *big.Int
	CurrentFundingRate     *big.Int
	CurrentFundingVelocity *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliMarketUpdated represents a MarketUpdated event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliMarketUpdatedIterator

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

PerpsMarketGoerliMarketUpdatedIterator is returned from FilterMarketUpdated and is used to iterate over the raw logs and unpacked data for MarketUpdated events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliMarketUpdatedIterator) Close

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

func (*PerpsMarketGoerliMarketUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliMarketUpdatedIterator) 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 PerpsMarketGoerliMaxCollateralAmountSet

type PerpsMarketGoerliMaxCollateralAmountSet struct {
	SynthMarketId    *big.Int
	CollateralAmount *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliMaxCollateralAmountSet represents a MaxCollateralAmountSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliMaxCollateralAmountSetIterator

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

PerpsMarketGoerliMaxCollateralAmountSetIterator is returned from FilterMaxCollateralAmountSet and is used to iterate over the raw logs and unpacked data for MaxCollateralAmountSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliMaxCollateralAmountSetIterator) Close

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

func (*PerpsMarketGoerliMaxCollateralAmountSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliMaxCollateralAmountSetIterator) 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 PerpsMarketGoerliMaxLiquidationParametersSet added in v0.1.5

type PerpsMarketGoerliMaxLiquidationParametersSet struct {
	MarketId                                  *big.Int
	MaxLiquidationLimitAccumulationMultiplier *big.Int
	MaxSecondsInLiquidationWindow             *big.Int
	MaxLiquidationPd                          *big.Int
	EndorsedLiquidator                        common.Address
	Raw                                       types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliMaxLiquidationParametersSet represents a MaxLiquidationParametersSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliMaxLiquidationParametersSetIterator added in v0.1.5

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

PerpsMarketGoerliMaxLiquidationParametersSetIterator is returned from FilterMaxLiquidationParametersSet and is used to iterate over the raw logs and unpacked data for MaxLiquidationParametersSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliMaxLiquidationParametersSetIterator) Close added in v0.1.5

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

func (*PerpsMarketGoerliMaxLiquidationParametersSetIterator) Error added in v0.1.5

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliMaxLiquidationParametersSetIterator) Next added in v0.1.5

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

type PerpsMarketGoerliMaxMarketSizeSet

type PerpsMarketGoerliMaxMarketSizeSet struct {
	MarketId      *big.Int
	MaxMarketSize *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliMaxMarketSizeSet represents a MaxMarketSizeSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliMaxMarketSizeSetIterator

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

PerpsMarketGoerliMaxMarketSizeSetIterator is returned from FilterMaxMarketSizeSet and is used to iterate over the raw logs and unpacked data for MaxMarketSizeSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliMaxMarketSizeSetIterator) Close

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

func (*PerpsMarketGoerliMaxMarketSizeSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliMaxMarketSizeSetIterator) 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 PerpsMarketGoerliOrderCommitted

type PerpsMarketGoerliOrderCommitted struct {
	MarketId        *big.Int
	AccountId       *big.Int
	OrderType       uint8
	SizeDelta       *big.Int
	AcceptablePrice *big.Int
	SettlementTime  *big.Int
	ExpirationTime  *big.Int
	TrackingCode    [32]byte
	Sender          common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliOrderCommitted represents a OrderCommitted event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliOrderCommittedIterator

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

PerpsMarketGoerliOrderCommittedIterator is returned from FilterOrderCommitted and is used to iterate over the raw logs and unpacked data for OrderCommitted events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliOrderCommittedIterator) Close

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

func (*PerpsMarketGoerliOrderCommittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliOrderCommittedIterator) 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 PerpsMarketGoerliOrderFeesSet

type PerpsMarketGoerliOrderFeesSet struct {
	MarketId      *big.Int
	MakerFeeRatio *big.Int
	TakerFeeRatio *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliOrderFeesSet represents a OrderFeesSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliOrderFeesSetIterator

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

PerpsMarketGoerliOrderFeesSetIterator is returned from FilterOrderFeesSet and is used to iterate over the raw logs and unpacked data for OrderFeesSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliOrderFeesSetIterator) Close

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

func (*PerpsMarketGoerliOrderFeesSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliOrderFeesSetIterator) 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 PerpsMarketGoerliOrderSettled

type PerpsMarketGoerliOrderSettled struct {
	MarketId         *big.Int
	AccountId        *big.Int
	FillPrice        *big.Int
	Pnl              *big.Int
	AccruedFunding   *big.Int
	SizeDelta        *big.Int
	NewSize          *big.Int
	TotalFees        *big.Int
	ReferralFees     *big.Int
	CollectedFees    *big.Int
	SettlementReward *big.Int
	TrackingCode     [32]byte
	Settler          common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliOrderSettled represents a OrderSettled event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliOrderSettledIterator

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

PerpsMarketGoerliOrderSettledIterator is returned from FilterOrderSettled and is used to iterate over the raw logs and unpacked data for OrderSettled events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliOrderSettledIterator) Close

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

func (*PerpsMarketGoerliOrderSettledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliOrderSettledIterator) 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 PerpsMarketGoerliOwnerChanged

type PerpsMarketGoerliOwnerChanged struct {
	OldOwner common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliOwnerChanged represents a OwnerChanged event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliOwnerChangedIterator

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

PerpsMarketGoerliOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliOwnerChangedIterator) Close

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

func (*PerpsMarketGoerliOwnerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliOwnerChangedIterator) 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 PerpsMarketGoerliOwnerNominated

type PerpsMarketGoerliOwnerNominated struct {
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliOwnerNominated represents a OwnerNominated event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliOwnerNominatedIterator

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

PerpsMarketGoerliOwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliOwnerNominatedIterator) Close

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

func (*PerpsMarketGoerliOwnerNominatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliOwnerNominatedIterator) 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 PerpsMarketGoerliPerAccountCapsSet added in v0.1.5

type PerpsMarketGoerliPerAccountCapsSet struct {
	MaxPositionsPerAccount   *big.Int
	MaxCollateralsPerAccount *big.Int
	Raw                      types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliPerAccountCapsSet represents a PerAccountCapsSet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliPerAccountCapsSetIterator added in v0.1.5

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

PerpsMarketGoerliPerAccountCapsSetIterator is returned from FilterPerAccountCapsSet and is used to iterate over the raw logs and unpacked data for PerAccountCapsSet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliPerAccountCapsSetIterator) Close added in v0.1.5

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

func (*PerpsMarketGoerliPerAccountCapsSetIterator) Error added in v0.1.5

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliPerAccountCapsSetIterator) Next added in v0.1.5

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

type PerpsMarketGoerliPermissionGranted

type PerpsMarketGoerliPermissionGranted struct {
	AccountId  *big.Int
	Permission [32]byte
	User       common.Address
	Sender     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliPermissionGranted represents a PermissionGranted event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliPermissionGrantedIterator

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

PerpsMarketGoerliPermissionGrantedIterator is returned from FilterPermissionGranted and is used to iterate over the raw logs and unpacked data for PermissionGranted events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliPermissionGrantedIterator) Close

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

func (*PerpsMarketGoerliPermissionGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliPermissionGrantedIterator) 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 PerpsMarketGoerliPermissionRevoked

type PerpsMarketGoerliPermissionRevoked struct {
	AccountId  *big.Int
	Permission [32]byte
	User       common.Address
	Sender     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliPermissionRevoked represents a PermissionRevoked event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliPermissionRevokedIterator

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

PerpsMarketGoerliPermissionRevokedIterator is returned from FilterPermissionRevoked and is used to iterate over the raw logs and unpacked data for PermissionRevoked events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliPermissionRevokedIterator) Close

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

func (*PerpsMarketGoerliPermissionRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliPermissionRevokedIterator) 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 PerpsMarketGoerliPositionLiquidated

type PerpsMarketGoerliPositionLiquidated struct {
	AccountId           *big.Int
	MarketId            *big.Int
	AmountLiquidated    *big.Int
	CurrentPositionSize *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliPositionLiquidated represents a PositionLiquidated event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliPositionLiquidatedIterator

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

PerpsMarketGoerliPositionLiquidatedIterator is returned from FilterPositionLiquidated and is used to iterate over the raw logs and unpacked data for PositionLiquidated events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliPositionLiquidatedIterator) Close

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

func (*PerpsMarketGoerliPositionLiquidatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliPositionLiquidatedIterator) 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 PerpsMarketGoerliPreviousOrderExpired

type PerpsMarketGoerliPreviousOrderExpired struct {
	MarketId        *big.Int
	AccountId       *big.Int
	SizeDelta       *big.Int
	AcceptablePrice *big.Int
	SettlementTime  *big.Int
	TrackingCode    [32]byte
	Raw             types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliPreviousOrderExpired represents a PreviousOrderExpired event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliPreviousOrderExpiredIterator

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

PerpsMarketGoerliPreviousOrderExpiredIterator is returned from FilterPreviousOrderExpired and is used to iterate over the raw logs and unpacked data for PreviousOrderExpired events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliPreviousOrderExpiredIterator) Close

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

func (*PerpsMarketGoerliPreviousOrderExpiredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliPreviousOrderExpiredIterator) 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 PerpsMarketGoerliRaw

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

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

func (*PerpsMarketGoerliRaw) Call

func (_PerpsMarketGoerli *PerpsMarketGoerliRaw) 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 (*PerpsMarketGoerliRaw) Transact

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

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

func (*PerpsMarketGoerliRaw) Transfer

func (_PerpsMarketGoerli *PerpsMarketGoerliRaw) 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 PerpsMarketGoerliReferrerShareUpdated

type PerpsMarketGoerliReferrerShareUpdated struct {
	Referrer      common.Address
	ShareRatioD18 *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliReferrerShareUpdated represents a ReferrerShareUpdated event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliReferrerShareUpdatedIterator

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

PerpsMarketGoerliReferrerShareUpdatedIterator is returned from FilterReferrerShareUpdated and is used to iterate over the raw logs and unpacked data for ReferrerShareUpdated events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliReferrerShareUpdatedIterator) Close

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

func (*PerpsMarketGoerliReferrerShareUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliReferrerShareUpdatedIterator) 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 PerpsMarketGoerliSession

type PerpsMarketGoerliSession struct {
	Contract     *PerpsMarketGoerli // 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
}

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

func (*PerpsMarketGoerliSession) AcceptOwnership

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PerpsMarketGoerliSession) AddSettlementStrategy

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) AddSettlementStrategy(marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)

AddSettlementStrategy is a paid mutator transaction binding the contract method 0xda91187c.

Solidity: function addSettlementStrategy(uint128 marketId, (uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) strategy) returns(uint256 strategyId)

func (*PerpsMarketGoerliSession) AddToFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)

AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.

Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*PerpsMarketGoerliSession) CanLiquidate added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) CanLiquidate(accountId *big.Int) (bool, error)

CanLiquidate is a free data retrieval call binding the contract method 0x9b922bba.

Solidity: function canLiquidate(uint128 accountId) view returns(bool isEligible)

func (*PerpsMarketGoerliSession) CommitOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) CommitOrder(commitment AsyncOrderOrderCommitmentRequest) (*types.Transaction, error)

CommitOrder is a paid mutator transaction binding the contract method 0x9f978860.

Solidity: function commitOrder((uint128,uint128,int128,uint128,uint256,bytes32,address) commitment) returns((uint256,(uint128,uint128,int128,uint128,uint256,bytes32,address)) retOrder, uint256 fees)

func (*PerpsMarketGoerliSession) ComputeOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) ComputeOrderFees(marketId *big.Int, sizeDelta *big.Int) (struct {
	OrderFees *big.Int
	FillPrice *big.Int
}, error)

ComputeOrderFees is a free data retrieval call binding the contract method 0x98ef15a2.

Solidity: function computeOrderFees(uint128 marketId, int128 sizeDelta) view returns(uint256 orderFees, uint256 fillPrice)

func (*PerpsMarketGoerliSession) CreateAccount

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) CreateAccount() (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(uint128 accountId)

func (*PerpsMarketGoerliSession) CreateAccount0

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) CreateAccount0(requestedAccountId *big.Int) (*types.Transaction, error)

CreateAccount0 is a paid mutator transaction binding the contract method 0xcadb09a5.

Solidity: function createAccount(uint128 requestedAccountId) returns()

func (*PerpsMarketGoerliSession) CreateMarket

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) CreateMarket(requestedMarketId *big.Int, marketName string, marketSymbol string) (*types.Transaction, error)

CreateMarket is a paid mutator transaction binding the contract method 0x7e947ea4.

Solidity: function createMarket(uint128 requestedMarketId, string marketName, string marketSymbol) returns(uint128)

func (*PerpsMarketGoerliSession) CurrentFundingRate

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) CurrentFundingRate(marketId *big.Int) (*big.Int, error)

CurrentFundingRate is a free data retrieval call binding the contract method 0xd435b2a2.

Solidity: function currentFundingRate(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliSession) CurrentFundingVelocity

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) CurrentFundingVelocity(marketId *big.Int) (*big.Int, error)

CurrentFundingVelocity is a free data retrieval call binding the contract method 0xf265db02.

Solidity: function currentFundingVelocity(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliSession) FillPrice

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) FillPrice(marketId *big.Int, orderSize *big.Int, price *big.Int) (*big.Int, error)

FillPrice is a free data retrieval call binding the contract method 0xdeff90ef.

Solidity: function fillPrice(uint128 marketId, int128 orderSize, uint256 price) view returns(uint256)

func (*PerpsMarketGoerliSession) GetAccountLastInteraction

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetAccountLastInteraction(accountId *big.Int) (*big.Int, error)

GetAccountLastInteraction is a free data retrieval call binding the contract method 0x1b5dccdb.

Solidity: function getAccountLastInteraction(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliSession) GetAccountOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetAccountOwner(accountId *big.Int) (common.Address, error)

GetAccountOwner is a free data retrieval call binding the contract method 0xbf60c31d.

Solidity: function getAccountOwner(uint128 accountId) view returns(address)

func (*PerpsMarketGoerliSession) GetAccountPermissions

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetAccountPermissions(accountId *big.Int) ([]IAccountModuleAccountPermissions, error)

GetAccountPermissions is a free data retrieval call binding the contract method 0xa796fecd.

Solidity: function getAccountPermissions(uint128 accountId) view returns((address,bytes32[])[] accountPerms)

func (*PerpsMarketGoerliSession) GetAccountTokenAddress

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetAccountTokenAddress() (common.Address, error)

GetAccountTokenAddress is a free data retrieval call binding the contract method 0xa148bf10.

Solidity: function getAccountTokenAddress() view returns(address)

func (*PerpsMarketGoerliSession) GetAssociatedSystem

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetAssociatedSystem(id [32]byte) (struct {
	Addr common.Address
	Kind [32]byte
}, error)

GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.

Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)

func (*PerpsMarketGoerliSession) GetAvailableMargin

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetAvailableMargin(accountId *big.Int) (*big.Int, error)

GetAvailableMargin is a free data retrieval call binding the contract method 0x0a7dad2d.

Solidity: function getAvailableMargin(uint128 accountId) view returns(int256 availableMargin)

func (*PerpsMarketGoerliSession) GetCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetCollateralAmount(accountId *big.Int, synthMarketId *big.Int) (*big.Int, error)

GetCollateralAmount is a free data retrieval call binding the contract method 0x5dbd5c9b.

Solidity: function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns(uint256)

func (*PerpsMarketGoerliSession) GetDeniers

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetDeniers(feature [32]byte) ([]common.Address, error)

GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.

Solidity: function getDeniers(bytes32 feature) view returns(address[])

func (*PerpsMarketGoerliSession) GetFeatureFlagAllowAll

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)

GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.

Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)

func (*PerpsMarketGoerliSession) GetFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)

GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.

Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])

func (*PerpsMarketGoerliSession) GetFeatureFlagDenyAll

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)

GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.

Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)

func (*PerpsMarketGoerliSession) GetFeeCollector

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetFeeCollector() (common.Address, error)

GetFeeCollector is a free data retrieval call binding the contract method 0x12fde4b7.

Solidity: function getFeeCollector() view returns(address feeCollector)

func (*PerpsMarketGoerliSession) GetFundingParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetFundingParameters(marketId *big.Int) (struct {
	SkewScale          *big.Int
	MaxFundingVelocity *big.Int
}, error)

GetFundingParameters is a free data retrieval call binding the contract method 0x1b68d8fa.

Solidity: function getFundingParameters(uint128 marketId) view returns(uint256 skewScale, uint256 maxFundingVelocity)

func (*PerpsMarketGoerliSession) GetImplementation

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetImplementation() (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*PerpsMarketGoerliSession) GetLiquidationParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetLiquidationParameters(marketId *big.Int) (struct {
	InitialMarginRatioD18        *big.Int
	MinimumInitialMarginRatioD18 *big.Int
	MaintenanceMarginScalarD18   *big.Int
	LiquidationRewardRatioD18    *big.Int
	MinimumPositionMargin        *big.Int
}, error)

GetLiquidationParameters is a free data retrieval call binding the contract method 0xf94363a6.

Solidity: function getLiquidationParameters(uint128 marketId) view returns(uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin)

func (*PerpsMarketGoerliSession) GetLiquidationRewardGuards

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetLiquidationRewardGuards() (struct {
	MinLiquidationRewardUsd *big.Int
	MaxLiquidationRewardUsd *big.Int
}, error)

GetLiquidationRewardGuards is a free data retrieval call binding the contract method 0x0b7f4b2d.

Solidity: function getLiquidationRewardGuards() view returns(uint256 minLiquidationRewardUsd, uint256 maxLiquidationRewardUsd)

func (*PerpsMarketGoerliSession) GetLockedOiRatio

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetLockedOiRatio(marketId *big.Int) (*big.Int, error)

GetLockedOiRatio is a free data retrieval call binding the contract method 0x31edc046.

Solidity: function getLockedOiRatio(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliSession) GetMarketSummary

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetMarketSummary(marketId *big.Int) (IPerpsMarketModuleMarketSummary, error)

GetMarketSummary is a free data retrieval call binding the contract method 0x41c2e8bd.

Solidity: function getMarketSummary(uint128 marketId) view returns((int256,uint256,uint256,int256,int256,uint256) summary)

func (*PerpsMarketGoerliSession) GetMarkets

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetMarkets() ([]*big.Int, error)

GetMarkets is a free data retrieval call binding the contract method 0xec2c9016.

Solidity: function getMarkets() view returns(uint256[] marketIds)

func (*PerpsMarketGoerliSession) GetMaxCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetMaxCollateralAmount(synthMarketId *big.Int) (*big.Int, error)

GetMaxCollateralAmount is a free data retrieval call binding the contract method 0x4ff68ae2.

Solidity: function getMaxCollateralAmount(uint128 synthMarketId) view returns(uint256)

func (*PerpsMarketGoerliSession) GetMaxLiquidationParameters added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetMaxLiquidationParameters(marketId *big.Int) (struct {
	MaxLiquidationLimitAccumulationMultiplier *big.Int
	MaxSecondsInLiquidationWindow             *big.Int
	MaxLiquidationPd                          *big.Int
	EndorsedLiquidator                        common.Address
}, error)

GetMaxLiquidationParameters is a free data retrieval call binding the contract method 0x5443e33e.

Solidity: function getMaxLiquidationParameters(uint128 marketId) view returns(uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)

func (*PerpsMarketGoerliSession) GetMaxMarketSize

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetMaxMarketSize(marketId *big.Int) (*big.Int, error)

GetMaxMarketSize is a free data retrieval call binding the contract method 0x19a99bf5.

Solidity: function getMaxMarketSize(uint128 marketId) view returns(uint256 maxMarketSize)

func (*PerpsMarketGoerliSession) GetMessageSender added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetMessageSender() (common.Address, error)

GetMessageSender is a free data retrieval call binding the contract method 0x76167a89.

Solidity: function getMessageSender() view returns(address)

func (*PerpsMarketGoerliSession) GetOpenPosition

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetOpenPosition(accountId *big.Int, marketId *big.Int) (struct {
	TotalPnl       *big.Int
	AccruedFunding *big.Int
	PositionSize   *big.Int
}, error)

GetOpenPosition is a free data retrieval call binding the contract method 0x22a73967.

Solidity: function getOpenPosition(uint128 accountId, uint128 marketId) view returns(int256 totalPnl, int256 accruedFunding, int128 positionSize)

func (*PerpsMarketGoerliSession) GetOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetOrder(accountId *big.Int) (AsyncOrderData, error)

GetOrder is a free data retrieval call binding the contract method 0x117d4128.

Solidity: function getOrder(uint128 accountId) view returns((uint256,(uint128,uint128,int128,uint128,uint256,bytes32,address)) order)

func (*PerpsMarketGoerliSession) GetOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetOrderFees(marketId *big.Int) (struct {
	MakerFee *big.Int
	TakerFee *big.Int
}, error)

GetOrderFees is a free data retrieval call binding the contract method 0xaac23e8c.

Solidity: function getOrderFees(uint128 marketId) view returns(uint256 makerFee, uint256 takerFee)

func (*PerpsMarketGoerliSession) GetPerAccountCaps added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetPerAccountCaps() (struct {
	MaxPositionsPerAccount   *big.Int
	MaxCollateralsPerAccount *big.Int
}, error)

GetPerAccountCaps is a free data retrieval call binding the contract method 0x774f7b07.

Solidity: function getPerAccountCaps() view returns(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)

func (*PerpsMarketGoerliSession) GetReferrerShare

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetReferrerShare(referrer common.Address) (*big.Int, error)

GetReferrerShare is a free data retrieval call binding the contract method 0xcae77b70.

Solidity: function getReferrerShare(address referrer) view returns(uint256 shareRatioD18)

func (*PerpsMarketGoerliSession) GetRequiredMargins

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetRequiredMargins(accountId *big.Int) (struct {
	RequiredInitialMargin              *big.Int
	RequiredMaintenanceMargin          *big.Int
	TotalAccumulatedLiquidationRewards *big.Int
	MaxLiquidationReward               *big.Int
}, error)

GetRequiredMargins is a free data retrieval call binding the contract method 0x3c0f0753.

Solidity: function getRequiredMargins(uint128 accountId) view returns(uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 totalAccumulatedLiquidationRewards, uint256 maxLiquidationReward)

func (*PerpsMarketGoerliSession) GetSettlementStrategy

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetSettlementStrategy(marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)

GetSettlementStrategy is a free data retrieval call binding the contract method 0xf74c377f.

Solidity: function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns((uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) settlementStrategy)

func (*PerpsMarketGoerliSession) GetSynthDeductionPriority

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetSynthDeductionPriority() ([]*big.Int, error)

GetSynthDeductionPriority is a free data retrieval call binding the contract method 0xfea84a3f.

Solidity: function getSynthDeductionPriority() view returns(uint128[])

func (*PerpsMarketGoerliSession) GetWithdrawableMargin

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GetWithdrawableMargin(accountId *big.Int) (*big.Int, error)

GetWithdrawableMargin is a free data retrieval call binding the contract method 0x04aa363e.

Solidity: function getWithdrawableMargin(uint128 accountId) view returns(int256 withdrawableMargin)

func (*PerpsMarketGoerliSession) GrantPermission

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) GrantPermission(accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

GrantPermission is a paid mutator transaction binding the contract method 0x00cd9ef3.

Solidity: function grantPermission(uint128 accountId, bytes32 permission, address user) returns()

func (*PerpsMarketGoerliSession) HasPermission

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) HasPermission(accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

HasPermission is a free data retrieval call binding the contract method 0x8d34166b.

Solidity: function hasPermission(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*PerpsMarketGoerliSession) IndexPrice

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) IndexPrice(marketId *big.Int) (*big.Int, error)

IndexPrice is a free data retrieval call binding the contract method 0x4f778fb4.

Solidity: function indexPrice(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliSession) InitOrUpgradeNft

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)

InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.

Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()

func (*PerpsMarketGoerliSession) InitOrUpgradeToken

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)

InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.

Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()

func (*PerpsMarketGoerliSession) InitializeFactory

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) InitializeFactory() (*types.Transaction, error)

InitializeFactory is a paid mutator transaction binding the contract method 0xd95de76b.

Solidity: function initializeFactory() returns(uint128)

func (*PerpsMarketGoerliSession) IsAuthorized

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) IsAuthorized(accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

IsAuthorized is a free data retrieval call binding the contract method 0x1213d453.

Solidity: function isAuthorized(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*PerpsMarketGoerliSession) IsFeatureAllowed

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)

IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.

Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)

func (*PerpsMarketGoerliSession) Liquidate

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) Liquidate(accountId *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x048577de.

Solidity: function liquidate(uint128 accountId) returns(uint256 liquidationReward)

func (*PerpsMarketGoerliSession) LiquidateFlagged

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) LiquidateFlagged() (*types.Transaction, error)

LiquidateFlagged is a paid mutator transaction binding the contract method 0x1d6d458c.

Solidity: function liquidateFlagged() returns(uint256 liquidationReward)

func (*PerpsMarketGoerliSession) MaxOpenInterest

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) MaxOpenInterest(marketId *big.Int) (*big.Int, error)

MaxOpenInterest is a free data retrieval call binding the contract method 0x0e7cace9.

Solidity: function maxOpenInterest(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliSession) Metadata

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) Metadata(marketId *big.Int) (struct {
	Name   string
	Symbol string
}, error)

Metadata is a free data retrieval call binding the contract method 0xe3bc36bf.

Solidity: function metadata(uint128 marketId) view returns(string name, string symbol)

func (*PerpsMarketGoerliSession) MinimumCredit

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) MinimumCredit(perpsMarketId *big.Int) (*big.Int, error)

MinimumCredit is a free data retrieval call binding the contract method 0xafe79200.

Solidity: function minimumCredit(uint128 perpsMarketId) view returns(uint256)

func (*PerpsMarketGoerliSession) ModifyCollateral

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) ModifyCollateral(accountId *big.Int, synthMarketId *big.Int, amountDelta *big.Int) (*types.Transaction, error)

ModifyCollateral is a paid mutator transaction binding the contract method 0xbb58672c.

Solidity: function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta) returns()

func (*PerpsMarketGoerliSession) Multicall added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) 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 (*PerpsMarketGoerliSession) MulticallThrough added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) MulticallThrough(to []common.Address, data [][]byte, values []*big.Int) (*types.Transaction, error)

MulticallThrough is a paid mutator transaction binding the contract method 0xc0694da0.

Solidity: function multicallThrough(address[] to, bytes[] data, uint256[] values) payable returns(bytes[] results)

func (*PerpsMarketGoerliSession) Name

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) Name(perpsMarketId *big.Int) (string, error)

Name is a free data retrieval call binding the contract method 0xc624440a.

Solidity: function name(uint128 perpsMarketId) view returns(string)

func (*PerpsMarketGoerliSession) NominateNewOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address newNominatedOwner) returns()

func (*PerpsMarketGoerliSession) NominatedOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) NominatedOwner() (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*PerpsMarketGoerliSession) NotifyAccountTransfer

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) NotifyAccountTransfer(to common.Address, accountId *big.Int) (*types.Transaction, error)

NotifyAccountTransfer is a paid mutator transaction binding the contract method 0x7dec8b55.

Solidity: function notifyAccountTransfer(address to, uint128 accountId) returns()

func (*PerpsMarketGoerliSession) Owner

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PerpsMarketGoerliSession) PRECISION

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) PRECISION() (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(int256)

func (*PerpsMarketGoerliSession) RegisterUnmanagedSystem

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)

RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.

Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()

func (*PerpsMarketGoerliSession) RemoveFromFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)

RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.

Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*PerpsMarketGoerliSession) RenounceNomination

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) RenounceNomination() (*types.Transaction, error)

RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.

Solidity: function renounceNomination() returns()

func (*PerpsMarketGoerliSession) RenouncePermission

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) RenouncePermission(accountId *big.Int, permission [32]byte) (*types.Transaction, error)

RenouncePermission is a paid mutator transaction binding the contract method 0x47c1c561.

Solidity: function renouncePermission(uint128 accountId, bytes32 permission) returns()

func (*PerpsMarketGoerliSession) ReportedDebt

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) ReportedDebt(perpsMarketId *big.Int) (*big.Int, error)

ReportedDebt is a free data retrieval call binding the contract method 0xbcec0d0f.

Solidity: function reportedDebt(uint128 perpsMarketId) view returns(uint256)

func (*PerpsMarketGoerliSession) RequiredMarginForOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) RequiredMarginForOrder(accountId *big.Int, marketId *big.Int, sizeDelta *big.Int) (*big.Int, error)

RequiredMarginForOrder is a free data retrieval call binding the contract method 0xb8830a25.

Solidity: function requiredMarginForOrder(uint128 accountId, uint128 marketId, int128 sizeDelta) view returns(uint256 requiredMargin)

func (*PerpsMarketGoerliSession) RevokePermission

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) RevokePermission(accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

RevokePermission is a paid mutator transaction binding the contract method 0xa7627288.

Solidity: function revokePermission(uint128 accountId, bytes32 permission, address user) returns()

func (*PerpsMarketGoerliSession) SetAllowlistedMulticallTarget added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetAllowlistedMulticallTarget(target common.Address, allowlisted bool) (*types.Transaction, error)

SetAllowlistedMulticallTarget is a paid mutator transaction binding the contract method 0x0a6c7553.

Solidity: function setAllowlistedMulticallTarget(address target, bool allowlisted) returns()

func (*PerpsMarketGoerliSession) SetDeniers

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)

SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.

Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()

func (*PerpsMarketGoerliSession) SetFeatureFlagAllowAll

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)

SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.

Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()

func (*PerpsMarketGoerliSession) SetFeatureFlagDenyAll

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)

SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.

Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()

func (*PerpsMarketGoerliSession) SetFeeCollector

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetFeeCollector(feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address feeCollector) returns()

func (*PerpsMarketGoerliSession) SetFundingParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetFundingParameters(marketId *big.Int, skewScale *big.Int, maxFundingVelocity *big.Int) (*types.Transaction, error)

SetFundingParameters is a paid mutator transaction binding the contract method 0xc2382277.

Solidity: function setFundingParameters(uint128 marketId, uint256 skewScale, uint256 maxFundingVelocity) returns()

func (*PerpsMarketGoerliSession) SetLiquidationParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetLiquidationParameters(marketId *big.Int, initialMarginRatioD18 *big.Int, minimumInitialMarginRatioD18 *big.Int, maintenanceMarginScalarD18 *big.Int, liquidationRewardRatioD18 *big.Int, minimumPositionMargin *big.Int) (*types.Transaction, error)

SetLiquidationParameters is a paid mutator transaction binding the contract method 0x25e5409e.

Solidity: function setLiquidationParameters(uint128 marketId, uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin) returns()

func (*PerpsMarketGoerliSession) SetLiquidationRewardGuards

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetLiquidationRewardGuards(minLiquidationRewardUsd *big.Int, maxLiquidationRewardUsd *big.Int) (*types.Transaction, error)

SetLiquidationRewardGuards is a paid mutator transaction binding the contract method 0xdbc593a9.

Solidity: function setLiquidationRewardGuards(uint256 minLiquidationRewardUsd, uint256 maxLiquidationRewardUsd) returns()

func (*PerpsMarketGoerliSession) SetLockedOiRatio

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetLockedOiRatio(marketId *big.Int, lockedOiRatioD18 *big.Int) (*types.Transaction, error)

SetLockedOiRatio is a paid mutator transaction binding the contract method 0x033723d9.

Solidity: function setLockedOiRatio(uint128 marketId, uint256 lockedOiRatioD18) returns()

func (*PerpsMarketGoerliSession) SetMaxCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetMaxCollateralAmount(synthMarketId *big.Int, collateralAmount *big.Int) (*types.Transaction, error)

SetMaxCollateralAmount is a paid mutator transaction binding the contract method 0x6cded665.

Solidity: function setMaxCollateralAmount(uint128 synthMarketId, uint256 collateralAmount) returns()

func (*PerpsMarketGoerliSession) SetMaxLiquidationParameters added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetMaxLiquidationParameters(marketId *big.Int, maxLiquidationLimitAccumulationMultiplier *big.Int, maxSecondsInLiquidationWindow *big.Int, maxLiquidationPd *big.Int, endorsedLiquidator common.Address) (*types.Transaction, error)

SetMaxLiquidationParameters is a paid mutator transaction binding the contract method 0xc7f8a94f.

Solidity: function setMaxLiquidationParameters(uint128 marketId, uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator) returns()

func (*PerpsMarketGoerliSession) SetMaxMarketSize

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetMaxMarketSize(marketId *big.Int, maxMarketSize *big.Int) (*types.Transaction, error)

SetMaxMarketSize is a paid mutator transaction binding the contract method 0x404a68aa.

Solidity: function setMaxMarketSize(uint128 marketId, uint256 maxMarketSize) returns()

func (*PerpsMarketGoerliSession) SetOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetOrderFees(marketId *big.Int, makerFeeRatio *big.Int, takerFeeRatio *big.Int) (*types.Transaction, error)

SetOrderFees is a paid mutator transaction binding the contract method 0xf842fa86.

Solidity: function setOrderFees(uint128 marketId, uint256 makerFeeRatio, uint256 takerFeeRatio) returns()

func (*PerpsMarketGoerliSession) SetPerAccountCaps added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetPerAccountCaps(maxPositionsPerAccount *big.Int, maxCollateralsPerAccount *big.Int) (*types.Transaction, error)

SetPerAccountCaps is a paid mutator transaction binding the contract method 0xfa0e70a7.

Solidity: function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount) returns()

func (*PerpsMarketGoerliSession) SetSettlementStrategyEnabled

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetSettlementStrategyEnabled(marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)

SetSettlementStrategyEnabled is a paid mutator transaction binding the contract method 0x7f73a891.

Solidity: function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled) returns()

func (*PerpsMarketGoerliSession) SetSpotMarket

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetSpotMarket(spotMarket common.Address) (*types.Transaction, error)

SetSpotMarket is a paid mutator transaction binding the contract method 0x92d48a4e.

Solidity: function setSpotMarket(address spotMarket) returns()

func (*PerpsMarketGoerliSession) SetSynthDeductionPriority

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetSynthDeductionPriority(newSynthDeductionPriority []*big.Int) (*types.Transaction, error)

SetSynthDeductionPriority is a paid mutator transaction binding the contract method 0x6aba84a7.

Solidity: function setSynthDeductionPriority(uint128[] newSynthDeductionPriority) returns()

func (*PerpsMarketGoerliSession) SetSynthetix

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SetSynthetix(synthetix common.Address) (*types.Transaction, error)

SetSynthetix is a paid mutator transaction binding the contract method 0xfec9f9da.

Solidity: function setSynthetix(address synthetix) returns()

func (*PerpsMarketGoerliSession) Settle

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) Settle(accountId *big.Int) error

Settle is a free data retrieval call binding the contract method 0x895e3bed.

Solidity: function settle(uint128 accountId) view returns()

func (*PerpsMarketGoerliSession) SettlePythOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SettlePythOrder(result []byte, extraData []byte) (*types.Transaction, error)

SettlePythOrder is a paid mutator transaction binding the contract method 0x8a0345c6.

Solidity: function settlePythOrder(bytes result, bytes extraData) payable returns()

func (*PerpsMarketGoerliSession) SimulateUpgradeTo

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)

SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.

Solidity: function simulateUpgradeTo(address newImplementation) returns()

func (*PerpsMarketGoerliSession) Size

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) Size(marketId *big.Int) (*big.Int, error)

Size is a free data retrieval call binding the contract method 0x2b267635.

Solidity: function size(uint128 marketId) view returns(uint256)

func (*PerpsMarketGoerliSession) Skew

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) Skew(marketId *big.Int) (*big.Int, error)

Skew is a free data retrieval call binding the contract method 0x83a7db27.

Solidity: function skew(uint128 marketId) view returns(int256)

func (*PerpsMarketGoerliSession) SupportsInterface

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*PerpsMarketGoerliSession) TotalAccountOpenInterest

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) TotalAccountOpenInterest(accountId *big.Int) (*big.Int, error)

TotalAccountOpenInterest is a free data retrieval call binding the contract method 0x2daf43bc.

Solidity: function totalAccountOpenInterest(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliSession) TotalCollateralValue

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) TotalCollateralValue(accountId *big.Int) (*big.Int, error)

TotalCollateralValue is a free data retrieval call binding the contract method 0xb568ae42.

Solidity: function totalCollateralValue(uint128 accountId) view returns(uint256)

func (*PerpsMarketGoerliSession) TotalGlobalCollateralValue

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) TotalGlobalCollateralValue() (*big.Int, error)

TotalGlobalCollateralValue is a free data retrieval call binding the contract method 0x65c5a0fe.

Solidity: function totalGlobalCollateralValue() view returns(uint256 totalCollateralValue)

func (*PerpsMarketGoerliSession) UpdatePriceData

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) UpdatePriceData(perpsMarketId *big.Int, feedId [32]byte) (*types.Transaction, error)

UpdatePriceData is a paid mutator transaction binding the contract method 0x2d73137b.

Solidity: function updatePriceData(uint128 perpsMarketId, bytes32 feedId) returns()

func (*PerpsMarketGoerliSession) UpdateReferrerShare

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) UpdateReferrerShare(referrer common.Address, shareRatioD18 *big.Int) (*types.Transaction, error)

UpdateReferrerShare is a paid mutator transaction binding the contract method 0x6809fb4d.

Solidity: function updateReferrerShare(address referrer, uint256 shareRatioD18) returns()

func (*PerpsMarketGoerliSession) UpgradeTo

func (_PerpsMarketGoerli *PerpsMarketGoerliSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

type PerpsMarketGoerliSettlementStrategyAdded

type PerpsMarketGoerliSettlementStrategyAdded struct {
	MarketId   *big.Int
	Strategy   SettlementStrategyData
	StrategyId *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliSettlementStrategyAdded represents a SettlementStrategyAdded event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliSettlementStrategyAddedIterator

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

PerpsMarketGoerliSettlementStrategyAddedIterator is returned from FilterSettlementStrategyAdded and is used to iterate over the raw logs and unpacked data for SettlementStrategyAdded events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliSettlementStrategyAddedIterator) Close

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

func (*PerpsMarketGoerliSettlementStrategyAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliSettlementStrategyAddedIterator) 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 PerpsMarketGoerliSettlementStrategyEnabled

type PerpsMarketGoerliSettlementStrategyEnabled struct {
	MarketId   *big.Int
	StrategyId *big.Int
	Enabled    bool
	Raw        types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliSettlementStrategyEnabled represents a SettlementStrategyEnabled event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliSettlementStrategyEnabledIterator

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

PerpsMarketGoerliSettlementStrategyEnabledIterator is returned from FilterSettlementStrategyEnabled and is used to iterate over the raw logs and unpacked data for SettlementStrategyEnabled events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliSettlementStrategyEnabledIterator) Close

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

func (*PerpsMarketGoerliSettlementStrategyEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliSettlementStrategyEnabledIterator) 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 PerpsMarketGoerliSynthDeductionPrioritySet

type PerpsMarketGoerliSynthDeductionPrioritySet struct {
	NewSynthDeductionPriority []*big.Int
	Raw                       types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliSynthDeductionPrioritySet represents a SynthDeductionPrioritySet event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliSynthDeductionPrioritySetIterator

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

PerpsMarketGoerliSynthDeductionPrioritySetIterator is returned from FilterSynthDeductionPrioritySet and is used to iterate over the raw logs and unpacked data for SynthDeductionPrioritySet events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliSynthDeductionPrioritySetIterator) Close

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

func (*PerpsMarketGoerliSynthDeductionPrioritySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliSynthDeductionPrioritySetIterator) 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 PerpsMarketGoerliTransactor

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

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

func NewPerpsMarketGoerliTransactor

func NewPerpsMarketGoerliTransactor(address common.Address, transactor bind.ContractTransactor) (*PerpsMarketGoerliTransactor, error)

NewPerpsMarketGoerliTransactor creates a new write-only instance of PerpsMarketGoerli, bound to a specific deployed contract.

func (*PerpsMarketGoerliTransactor) AcceptOwnership

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PerpsMarketGoerliTransactor) AddSettlementStrategy

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) AddSettlementStrategy(opts *bind.TransactOpts, marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)

AddSettlementStrategy is a paid mutator transaction binding the contract method 0xda91187c.

Solidity: function addSettlementStrategy(uint128 marketId, (uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) strategy) returns(uint256 strategyId)

func (*PerpsMarketGoerliTransactor) AddToFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) AddToFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)

AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.

Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*PerpsMarketGoerliTransactor) CommitOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) CommitOrder(opts *bind.TransactOpts, commitment AsyncOrderOrderCommitmentRequest) (*types.Transaction, error)

CommitOrder is a paid mutator transaction binding the contract method 0x9f978860.

Solidity: function commitOrder((uint128,uint128,int128,uint128,uint256,bytes32,address) commitment) returns((uint256,(uint128,uint128,int128,uint128,uint256,bytes32,address)) retOrder, uint256 fees)

func (*PerpsMarketGoerliTransactor) CreateAccount

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) CreateAccount(opts *bind.TransactOpts) (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(uint128 accountId)

func (*PerpsMarketGoerliTransactor) CreateAccount0

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) CreateAccount0(opts *bind.TransactOpts, requestedAccountId *big.Int) (*types.Transaction, error)

CreateAccount0 is a paid mutator transaction binding the contract method 0xcadb09a5.

Solidity: function createAccount(uint128 requestedAccountId) returns()

func (*PerpsMarketGoerliTransactor) CreateMarket

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) CreateMarket(opts *bind.TransactOpts, requestedMarketId *big.Int, marketName string, marketSymbol string) (*types.Transaction, error)

CreateMarket is a paid mutator transaction binding the contract method 0x7e947ea4.

Solidity: function createMarket(uint128 requestedMarketId, string marketName, string marketSymbol) returns(uint128)

func (*PerpsMarketGoerliTransactor) GrantPermission

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) GrantPermission(opts *bind.TransactOpts, accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

GrantPermission is a paid mutator transaction binding the contract method 0x00cd9ef3.

Solidity: function grantPermission(uint128 accountId, bytes32 permission, address user) returns()

func (*PerpsMarketGoerliTransactor) InitOrUpgradeNft

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) InitOrUpgradeNft(opts *bind.TransactOpts, id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)

InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.

Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()

func (*PerpsMarketGoerliTransactor) InitOrUpgradeToken

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) InitOrUpgradeToken(opts *bind.TransactOpts, id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)

InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.

Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()

func (*PerpsMarketGoerliTransactor) InitializeFactory

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) InitializeFactory(opts *bind.TransactOpts) (*types.Transaction, error)

InitializeFactory is a paid mutator transaction binding the contract method 0xd95de76b.

Solidity: function initializeFactory() returns(uint128)

func (*PerpsMarketGoerliTransactor) Liquidate

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) Liquidate(opts *bind.TransactOpts, accountId *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x048577de.

Solidity: function liquidate(uint128 accountId) returns(uint256 liquidationReward)

func (*PerpsMarketGoerliTransactor) LiquidateFlagged

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) LiquidateFlagged(opts *bind.TransactOpts) (*types.Transaction, error)

LiquidateFlagged is a paid mutator transaction binding the contract method 0x1d6d458c.

Solidity: function liquidateFlagged() returns(uint256 liquidationReward)

func (*PerpsMarketGoerliTransactor) ModifyCollateral

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) ModifyCollateral(opts *bind.TransactOpts, accountId *big.Int, synthMarketId *big.Int, amountDelta *big.Int) (*types.Transaction, error)

ModifyCollateral is a paid mutator transaction binding the contract method 0xbb58672c.

Solidity: function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta) returns()

func (*PerpsMarketGoerliTransactor) Multicall added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) 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 (*PerpsMarketGoerliTransactor) MulticallThrough added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) MulticallThrough(opts *bind.TransactOpts, to []common.Address, data [][]byte, values []*big.Int) (*types.Transaction, error)

MulticallThrough is a paid mutator transaction binding the contract method 0xc0694da0.

Solidity: function multicallThrough(address[] to, bytes[] data, uint256[] values) payable returns(bytes[] results)

func (*PerpsMarketGoerliTransactor) NominateNewOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) NominateNewOwner(opts *bind.TransactOpts, newNominatedOwner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address newNominatedOwner) returns()

func (*PerpsMarketGoerliTransactor) NotifyAccountTransfer

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) NotifyAccountTransfer(opts *bind.TransactOpts, to common.Address, accountId *big.Int) (*types.Transaction, error)

NotifyAccountTransfer is a paid mutator transaction binding the contract method 0x7dec8b55.

Solidity: function notifyAccountTransfer(address to, uint128 accountId) returns()

func (*PerpsMarketGoerliTransactor) RegisterUnmanagedSystem

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) RegisterUnmanagedSystem(opts *bind.TransactOpts, id [32]byte, endpoint common.Address) (*types.Transaction, error)

RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.

Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()

func (*PerpsMarketGoerliTransactor) RemoveFromFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) RemoveFromFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)

RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.

Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*PerpsMarketGoerliTransactor) RenounceNomination

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) RenounceNomination(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.

Solidity: function renounceNomination() returns()

func (*PerpsMarketGoerliTransactor) RenouncePermission

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) RenouncePermission(opts *bind.TransactOpts, accountId *big.Int, permission [32]byte) (*types.Transaction, error)

RenouncePermission is a paid mutator transaction binding the contract method 0x47c1c561.

Solidity: function renouncePermission(uint128 accountId, bytes32 permission) returns()

func (*PerpsMarketGoerliTransactor) RevokePermission

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) RevokePermission(opts *bind.TransactOpts, accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

RevokePermission is a paid mutator transaction binding the contract method 0xa7627288.

Solidity: function revokePermission(uint128 accountId, bytes32 permission, address user) returns()

func (*PerpsMarketGoerliTransactor) SetAllowlistedMulticallTarget added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetAllowlistedMulticallTarget(opts *bind.TransactOpts, target common.Address, allowlisted bool) (*types.Transaction, error)

SetAllowlistedMulticallTarget is a paid mutator transaction binding the contract method 0x0a6c7553.

Solidity: function setAllowlistedMulticallTarget(address target, bool allowlisted) returns()

func (*PerpsMarketGoerliTransactor) SetDeniers

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetDeniers(opts *bind.TransactOpts, feature [32]byte, deniers []common.Address) (*types.Transaction, error)

SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.

Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()

func (*PerpsMarketGoerliTransactor) SetFeatureFlagAllowAll

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetFeatureFlagAllowAll(opts *bind.TransactOpts, feature [32]byte, allowAll bool) (*types.Transaction, error)

SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.

Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()

func (*PerpsMarketGoerliTransactor) SetFeatureFlagDenyAll

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetFeatureFlagDenyAll(opts *bind.TransactOpts, feature [32]byte, denyAll bool) (*types.Transaction, error)

SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.

Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()

func (*PerpsMarketGoerliTransactor) SetFeeCollector

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetFeeCollector(opts *bind.TransactOpts, feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address feeCollector) returns()

func (*PerpsMarketGoerliTransactor) SetFundingParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetFundingParameters(opts *bind.TransactOpts, marketId *big.Int, skewScale *big.Int, maxFundingVelocity *big.Int) (*types.Transaction, error)

SetFundingParameters is a paid mutator transaction binding the contract method 0xc2382277.

Solidity: function setFundingParameters(uint128 marketId, uint256 skewScale, uint256 maxFundingVelocity) returns()

func (*PerpsMarketGoerliTransactor) SetLiquidationParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetLiquidationParameters(opts *bind.TransactOpts, marketId *big.Int, initialMarginRatioD18 *big.Int, minimumInitialMarginRatioD18 *big.Int, maintenanceMarginScalarD18 *big.Int, liquidationRewardRatioD18 *big.Int, minimumPositionMargin *big.Int) (*types.Transaction, error)

SetLiquidationParameters is a paid mutator transaction binding the contract method 0x25e5409e.

Solidity: function setLiquidationParameters(uint128 marketId, uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin) returns()

func (*PerpsMarketGoerliTransactor) SetLiquidationRewardGuards

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetLiquidationRewardGuards(opts *bind.TransactOpts, minLiquidationRewardUsd *big.Int, maxLiquidationRewardUsd *big.Int) (*types.Transaction, error)

SetLiquidationRewardGuards is a paid mutator transaction binding the contract method 0xdbc593a9.

Solidity: function setLiquidationRewardGuards(uint256 minLiquidationRewardUsd, uint256 maxLiquidationRewardUsd) returns()

func (*PerpsMarketGoerliTransactor) SetLockedOiRatio

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetLockedOiRatio(opts *bind.TransactOpts, marketId *big.Int, lockedOiRatioD18 *big.Int) (*types.Transaction, error)

SetLockedOiRatio is a paid mutator transaction binding the contract method 0x033723d9.

Solidity: function setLockedOiRatio(uint128 marketId, uint256 lockedOiRatioD18) returns()

func (*PerpsMarketGoerliTransactor) SetMaxCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetMaxCollateralAmount(opts *bind.TransactOpts, synthMarketId *big.Int, collateralAmount *big.Int) (*types.Transaction, error)

SetMaxCollateralAmount is a paid mutator transaction binding the contract method 0x6cded665.

Solidity: function setMaxCollateralAmount(uint128 synthMarketId, uint256 collateralAmount) returns()

func (*PerpsMarketGoerliTransactor) SetMaxLiquidationParameters added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetMaxLiquidationParameters(opts *bind.TransactOpts, marketId *big.Int, maxLiquidationLimitAccumulationMultiplier *big.Int, maxSecondsInLiquidationWindow *big.Int, maxLiquidationPd *big.Int, endorsedLiquidator common.Address) (*types.Transaction, error)

SetMaxLiquidationParameters is a paid mutator transaction binding the contract method 0xc7f8a94f.

Solidity: function setMaxLiquidationParameters(uint128 marketId, uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator) returns()

func (*PerpsMarketGoerliTransactor) SetMaxMarketSize

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetMaxMarketSize(opts *bind.TransactOpts, marketId *big.Int, maxMarketSize *big.Int) (*types.Transaction, error)

SetMaxMarketSize is a paid mutator transaction binding the contract method 0x404a68aa.

Solidity: function setMaxMarketSize(uint128 marketId, uint256 maxMarketSize) returns()

func (*PerpsMarketGoerliTransactor) SetOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetOrderFees(opts *bind.TransactOpts, marketId *big.Int, makerFeeRatio *big.Int, takerFeeRatio *big.Int) (*types.Transaction, error)

SetOrderFees is a paid mutator transaction binding the contract method 0xf842fa86.

Solidity: function setOrderFees(uint128 marketId, uint256 makerFeeRatio, uint256 takerFeeRatio) returns()

func (*PerpsMarketGoerliTransactor) SetPerAccountCaps added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetPerAccountCaps(opts *bind.TransactOpts, maxPositionsPerAccount *big.Int, maxCollateralsPerAccount *big.Int) (*types.Transaction, error)

SetPerAccountCaps is a paid mutator transaction binding the contract method 0xfa0e70a7.

Solidity: function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount) returns()

func (*PerpsMarketGoerliTransactor) SetSettlementStrategyEnabled

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetSettlementStrategyEnabled(opts *bind.TransactOpts, marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)

SetSettlementStrategyEnabled is a paid mutator transaction binding the contract method 0x7f73a891.

Solidity: function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled) returns()

func (*PerpsMarketGoerliTransactor) SetSpotMarket

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetSpotMarket(opts *bind.TransactOpts, spotMarket common.Address) (*types.Transaction, error)

SetSpotMarket is a paid mutator transaction binding the contract method 0x92d48a4e.

Solidity: function setSpotMarket(address spotMarket) returns()

func (*PerpsMarketGoerliTransactor) SetSynthDeductionPriority

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetSynthDeductionPriority(opts *bind.TransactOpts, newSynthDeductionPriority []*big.Int) (*types.Transaction, error)

SetSynthDeductionPriority is a paid mutator transaction binding the contract method 0x6aba84a7.

Solidity: function setSynthDeductionPriority(uint128[] newSynthDeductionPriority) returns()

func (*PerpsMarketGoerliTransactor) SetSynthetix

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SetSynthetix(opts *bind.TransactOpts, synthetix common.Address) (*types.Transaction, error)

SetSynthetix is a paid mutator transaction binding the contract method 0xfec9f9da.

Solidity: function setSynthetix(address synthetix) returns()

func (*PerpsMarketGoerliTransactor) SettlePythOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SettlePythOrder(opts *bind.TransactOpts, result []byte, extraData []byte) (*types.Transaction, error)

SettlePythOrder is a paid mutator transaction binding the contract method 0x8a0345c6.

Solidity: function settlePythOrder(bytes result, bytes extraData) payable returns()

func (*PerpsMarketGoerliTransactor) SimulateUpgradeTo

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) SimulateUpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.

Solidity: function simulateUpgradeTo(address newImplementation) returns()

func (*PerpsMarketGoerliTransactor) UpdatePriceData

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) UpdatePriceData(opts *bind.TransactOpts, perpsMarketId *big.Int, feedId [32]byte) (*types.Transaction, error)

UpdatePriceData is a paid mutator transaction binding the contract method 0x2d73137b.

Solidity: function updatePriceData(uint128 perpsMarketId, bytes32 feedId) returns()

func (*PerpsMarketGoerliTransactor) UpdateReferrerShare

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) UpdateReferrerShare(opts *bind.TransactOpts, referrer common.Address, shareRatioD18 *big.Int) (*types.Transaction, error)

UpdateReferrerShare is a paid mutator transaction binding the contract method 0x6809fb4d.

Solidity: function updateReferrerShare(address referrer, uint256 shareRatioD18) returns()

func (*PerpsMarketGoerliTransactor) UpgradeTo

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

type PerpsMarketGoerliTransactorRaw

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

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

func (*PerpsMarketGoerliTransactorRaw) Transact

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

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

func (*PerpsMarketGoerliTransactorRaw) Transfer

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorRaw) 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 PerpsMarketGoerliTransactorSession

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

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

func (*PerpsMarketGoerliTransactorSession) AcceptOwnership

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PerpsMarketGoerliTransactorSession) AddSettlementStrategy

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) AddSettlementStrategy(marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)

AddSettlementStrategy is a paid mutator transaction binding the contract method 0xda91187c.

Solidity: function addSettlementStrategy(uint128 marketId, (uint8,uint256,uint256,uint256,address,bytes32,string,uint256,uint256,bool) strategy) returns(uint256 strategyId)

func (*PerpsMarketGoerliTransactorSession) AddToFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)

AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.

Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*PerpsMarketGoerliTransactorSession) CommitOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) CommitOrder(commitment AsyncOrderOrderCommitmentRequest) (*types.Transaction, error)

CommitOrder is a paid mutator transaction binding the contract method 0x9f978860.

Solidity: function commitOrder((uint128,uint128,int128,uint128,uint256,bytes32,address) commitment) returns((uint256,(uint128,uint128,int128,uint128,uint256,bytes32,address)) retOrder, uint256 fees)

func (*PerpsMarketGoerliTransactorSession) CreateAccount

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) CreateAccount() (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(uint128 accountId)

func (*PerpsMarketGoerliTransactorSession) CreateAccount0

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) CreateAccount0(requestedAccountId *big.Int) (*types.Transaction, error)

CreateAccount0 is a paid mutator transaction binding the contract method 0xcadb09a5.

Solidity: function createAccount(uint128 requestedAccountId) returns()

func (*PerpsMarketGoerliTransactorSession) CreateMarket

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) CreateMarket(requestedMarketId *big.Int, marketName string, marketSymbol string) (*types.Transaction, error)

CreateMarket is a paid mutator transaction binding the contract method 0x7e947ea4.

Solidity: function createMarket(uint128 requestedMarketId, string marketName, string marketSymbol) returns(uint128)

func (*PerpsMarketGoerliTransactorSession) GrantPermission

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) GrantPermission(accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

GrantPermission is a paid mutator transaction binding the contract method 0x00cd9ef3.

Solidity: function grantPermission(uint128 accountId, bytes32 permission, address user) returns()

func (*PerpsMarketGoerliTransactorSession) InitOrUpgradeNft

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)

InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.

Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()

func (*PerpsMarketGoerliTransactorSession) InitOrUpgradeToken

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)

InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.

Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()

func (*PerpsMarketGoerliTransactorSession) InitializeFactory

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) InitializeFactory() (*types.Transaction, error)

InitializeFactory is a paid mutator transaction binding the contract method 0xd95de76b.

Solidity: function initializeFactory() returns(uint128)

func (*PerpsMarketGoerliTransactorSession) Liquidate

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) Liquidate(accountId *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x048577de.

Solidity: function liquidate(uint128 accountId) returns(uint256 liquidationReward)

func (*PerpsMarketGoerliTransactorSession) LiquidateFlagged

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) LiquidateFlagged() (*types.Transaction, error)

LiquidateFlagged is a paid mutator transaction binding the contract method 0x1d6d458c.

Solidity: function liquidateFlagged() returns(uint256 liquidationReward)

func (*PerpsMarketGoerliTransactorSession) ModifyCollateral

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) ModifyCollateral(accountId *big.Int, synthMarketId *big.Int, amountDelta *big.Int) (*types.Transaction, error)

ModifyCollateral is a paid mutator transaction binding the contract method 0xbb58672c.

Solidity: function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta) returns()

func (*PerpsMarketGoerliTransactorSession) Multicall added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) 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 (*PerpsMarketGoerliTransactorSession) MulticallThrough added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) MulticallThrough(to []common.Address, data [][]byte, values []*big.Int) (*types.Transaction, error)

MulticallThrough is a paid mutator transaction binding the contract method 0xc0694da0.

Solidity: function multicallThrough(address[] to, bytes[] data, uint256[] values) payable returns(bytes[] results)

func (*PerpsMarketGoerliTransactorSession) NominateNewOwner

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address newNominatedOwner) returns()

func (*PerpsMarketGoerliTransactorSession) NotifyAccountTransfer

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) NotifyAccountTransfer(to common.Address, accountId *big.Int) (*types.Transaction, error)

NotifyAccountTransfer is a paid mutator transaction binding the contract method 0x7dec8b55.

Solidity: function notifyAccountTransfer(address to, uint128 accountId) returns()

func (*PerpsMarketGoerliTransactorSession) RegisterUnmanagedSystem

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)

RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.

Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()

func (*PerpsMarketGoerliTransactorSession) RemoveFromFeatureFlagAllowlist

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)

RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.

Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*PerpsMarketGoerliTransactorSession) RenounceNomination

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) RenounceNomination() (*types.Transaction, error)

RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.

Solidity: function renounceNomination() returns()

func (*PerpsMarketGoerliTransactorSession) RenouncePermission

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) RenouncePermission(accountId *big.Int, permission [32]byte) (*types.Transaction, error)

RenouncePermission is a paid mutator transaction binding the contract method 0x47c1c561.

Solidity: function renouncePermission(uint128 accountId, bytes32 permission) returns()

func (*PerpsMarketGoerliTransactorSession) RevokePermission

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) RevokePermission(accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

RevokePermission is a paid mutator transaction binding the contract method 0xa7627288.

Solidity: function revokePermission(uint128 accountId, bytes32 permission, address user) returns()

func (*PerpsMarketGoerliTransactorSession) SetAllowlistedMulticallTarget added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetAllowlistedMulticallTarget(target common.Address, allowlisted bool) (*types.Transaction, error)

SetAllowlistedMulticallTarget is a paid mutator transaction binding the contract method 0x0a6c7553.

Solidity: function setAllowlistedMulticallTarget(address target, bool allowlisted) returns()

func (*PerpsMarketGoerliTransactorSession) SetDeniers

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)

SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.

Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()

func (*PerpsMarketGoerliTransactorSession) SetFeatureFlagAllowAll

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)

SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.

Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()

func (*PerpsMarketGoerliTransactorSession) SetFeatureFlagDenyAll

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)

SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.

Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()

func (*PerpsMarketGoerliTransactorSession) SetFeeCollector

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetFeeCollector(feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address feeCollector) returns()

func (*PerpsMarketGoerliTransactorSession) SetFundingParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetFundingParameters(marketId *big.Int, skewScale *big.Int, maxFundingVelocity *big.Int) (*types.Transaction, error)

SetFundingParameters is a paid mutator transaction binding the contract method 0xc2382277.

Solidity: function setFundingParameters(uint128 marketId, uint256 skewScale, uint256 maxFundingVelocity) returns()

func (*PerpsMarketGoerliTransactorSession) SetLiquidationParameters

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetLiquidationParameters(marketId *big.Int, initialMarginRatioD18 *big.Int, minimumInitialMarginRatioD18 *big.Int, maintenanceMarginScalarD18 *big.Int, liquidationRewardRatioD18 *big.Int, minimumPositionMargin *big.Int) (*types.Transaction, error)

SetLiquidationParameters is a paid mutator transaction binding the contract method 0x25e5409e.

Solidity: function setLiquidationParameters(uint128 marketId, uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 liquidationRewardRatioD18, uint256 minimumPositionMargin) returns()

func (*PerpsMarketGoerliTransactorSession) SetLiquidationRewardGuards

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetLiquidationRewardGuards(minLiquidationRewardUsd *big.Int, maxLiquidationRewardUsd *big.Int) (*types.Transaction, error)

SetLiquidationRewardGuards is a paid mutator transaction binding the contract method 0xdbc593a9.

Solidity: function setLiquidationRewardGuards(uint256 minLiquidationRewardUsd, uint256 maxLiquidationRewardUsd) returns()

func (*PerpsMarketGoerliTransactorSession) SetLockedOiRatio

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetLockedOiRatio(marketId *big.Int, lockedOiRatioD18 *big.Int) (*types.Transaction, error)

SetLockedOiRatio is a paid mutator transaction binding the contract method 0x033723d9.

Solidity: function setLockedOiRatio(uint128 marketId, uint256 lockedOiRatioD18) returns()

func (*PerpsMarketGoerliTransactorSession) SetMaxCollateralAmount

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetMaxCollateralAmount(synthMarketId *big.Int, collateralAmount *big.Int) (*types.Transaction, error)

SetMaxCollateralAmount is a paid mutator transaction binding the contract method 0x6cded665.

Solidity: function setMaxCollateralAmount(uint128 synthMarketId, uint256 collateralAmount) returns()

func (*PerpsMarketGoerliTransactorSession) SetMaxLiquidationParameters added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetMaxLiquidationParameters(marketId *big.Int, maxLiquidationLimitAccumulationMultiplier *big.Int, maxSecondsInLiquidationWindow *big.Int, maxLiquidationPd *big.Int, endorsedLiquidator common.Address) (*types.Transaction, error)

SetMaxLiquidationParameters is a paid mutator transaction binding the contract method 0xc7f8a94f.

Solidity: function setMaxLiquidationParameters(uint128 marketId, uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator) returns()

func (*PerpsMarketGoerliTransactorSession) SetMaxMarketSize

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetMaxMarketSize(marketId *big.Int, maxMarketSize *big.Int) (*types.Transaction, error)

SetMaxMarketSize is a paid mutator transaction binding the contract method 0x404a68aa.

Solidity: function setMaxMarketSize(uint128 marketId, uint256 maxMarketSize) returns()

func (*PerpsMarketGoerliTransactorSession) SetOrderFees

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetOrderFees(marketId *big.Int, makerFeeRatio *big.Int, takerFeeRatio *big.Int) (*types.Transaction, error)

SetOrderFees is a paid mutator transaction binding the contract method 0xf842fa86.

Solidity: function setOrderFees(uint128 marketId, uint256 makerFeeRatio, uint256 takerFeeRatio) returns()

func (*PerpsMarketGoerliTransactorSession) SetPerAccountCaps added in v0.1.5

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetPerAccountCaps(maxPositionsPerAccount *big.Int, maxCollateralsPerAccount *big.Int) (*types.Transaction, error)

SetPerAccountCaps is a paid mutator transaction binding the contract method 0xfa0e70a7.

Solidity: function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount) returns()

func (*PerpsMarketGoerliTransactorSession) SetSettlementStrategyEnabled

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetSettlementStrategyEnabled(marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)

SetSettlementStrategyEnabled is a paid mutator transaction binding the contract method 0x7f73a891.

Solidity: function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled) returns()

func (*PerpsMarketGoerliTransactorSession) SetSpotMarket

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetSpotMarket(spotMarket common.Address) (*types.Transaction, error)

SetSpotMarket is a paid mutator transaction binding the contract method 0x92d48a4e.

Solidity: function setSpotMarket(address spotMarket) returns()

func (*PerpsMarketGoerliTransactorSession) SetSynthDeductionPriority

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetSynthDeductionPriority(newSynthDeductionPriority []*big.Int) (*types.Transaction, error)

SetSynthDeductionPriority is a paid mutator transaction binding the contract method 0x6aba84a7.

Solidity: function setSynthDeductionPriority(uint128[] newSynthDeductionPriority) returns()

func (*PerpsMarketGoerliTransactorSession) SetSynthetix

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SetSynthetix(synthetix common.Address) (*types.Transaction, error)

SetSynthetix is a paid mutator transaction binding the contract method 0xfec9f9da.

Solidity: function setSynthetix(address synthetix) returns()

func (*PerpsMarketGoerliTransactorSession) SettlePythOrder

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SettlePythOrder(result []byte, extraData []byte) (*types.Transaction, error)

SettlePythOrder is a paid mutator transaction binding the contract method 0x8a0345c6.

Solidity: function settlePythOrder(bytes result, bytes extraData) payable returns()

func (*PerpsMarketGoerliTransactorSession) SimulateUpgradeTo

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)

SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.

Solidity: function simulateUpgradeTo(address newImplementation) returns()

func (*PerpsMarketGoerliTransactorSession) UpdatePriceData

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) UpdatePriceData(perpsMarketId *big.Int, feedId [32]byte) (*types.Transaction, error)

UpdatePriceData is a paid mutator transaction binding the contract method 0x2d73137b.

Solidity: function updatePriceData(uint128 perpsMarketId, bytes32 feedId) returns()

func (*PerpsMarketGoerliTransactorSession) UpdateReferrerShare

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) UpdateReferrerShare(referrer common.Address, shareRatioD18 *big.Int) (*types.Transaction, error)

UpdateReferrerShare is a paid mutator transaction binding the contract method 0x6809fb4d.

Solidity: function updateReferrerShare(address referrer, uint256 shareRatioD18) returns()

func (*PerpsMarketGoerliTransactorSession) UpgradeTo

func (_PerpsMarketGoerli *PerpsMarketGoerliTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

type PerpsMarketGoerliUpgraded

type PerpsMarketGoerliUpgraded struct {
	Self           common.Address
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

PerpsMarketGoerliUpgraded represents a Upgraded event raised by the PerpsMarketGoerli contract.

type PerpsMarketGoerliUpgradedIterator

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

PerpsMarketGoerliUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the PerpsMarketGoerli contract.

func (*PerpsMarketGoerliUpgradedIterator) Close

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

func (*PerpsMarketGoerliUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PerpsMarketGoerliUpgradedIterator) 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 SettlementStrategyData

type SettlementStrategyData struct {
	StrategyType              uint8
	SettlementDelay           *big.Int
	SettlementWindowDuration  *big.Int
	PriceWindowDuration       *big.Int
	PriceVerificationContract common.Address
	FeedId                    [32]byte
	Url                       string
	SettlementReward          *big.Int
	PriceDeviationTolerance   *big.Int
	Disabled                  bool
}

SettlementStrategyData is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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