Gains Network
search
Ctrlk
  • πŸ“šHome
  • Gains Network
    • πŸ”ŽOverview
    • 🍏GNS Token
    • πŸ“”Contract Addresseschevron-right
  • gTrade (Leveraged Trading)
    • πŸ”ŽOverview
    • πŸŽ›οΈSetting up to tradechevron-right
    • 🏦Opening / Closing trades
    • πŸ’²Trade Collateralschevron-right
    • πŸ“–Asset classeschevron-right
    • 🎫Fees & Spread
    • πŸ“°Pair List
    • πŸ§’How to use Practice Mode
    • ⚑One-Click Trading (1CT)
    • 🌌gTrade Solana
    • πŸ“ΊVideo tutorials
  • Loyalty Programs
    • badge-checkPrime Trader
    • hand-holding-heartgTrade Credits
  • Community
    • shield-crossgTrade Guardians
    • commentsGovernance forumarrow-up-right-from-square
  • Reward Pools
    • πŸ’šGNS Staking
    • πŸ‘›gToken Vaultschevron-right
    • πŸ”ΌActive Pools & Incentives
  • Help
    • ❓FAQ
    • ⏳Chain congestion
  • Bridges
    • πŸͺArbitrum <-> Polygon Bridge
    • πŸͺERC20 Bridge (Polygon)
    • πŸͺNFT Bridge (Polygon)
  • Developer
    • folderIntegratorschevron-right
    • folderTechnical Referencechevron-right
      • folderContractschevron-right
        • ballotChangelogschevron-right
        • folderCorechevron-right
        • folderInterfaceschevron-right
        • folderLibrarieschevron-right
          • folderupdateLeveragechevron-right
          • folderupdatePositionSizechevron-right
            • IncreasePositionSizeUtils
            • DecreasePositionSizeUtils
            • UpdatePositionSizeLifecycles
          • AddressStoreUtils
          • ChainlinkClientUtils
          • ChainUtils
          • ConstantsUtils
          • CollateralUtils
          • DiamondUtils
          • LiquidityPoolUtils
          • OtcUtils
          • PackingUtils
          • StorageUtils
          • TriggerRewardsUtils
          • ArrayGetters
          • BorrowingFeesUtils
          • FeeTiersUtils
          • PriceAggregatorUtils
          • PriceImpactUtils
          • ReferralsUtils
          • TradingCallbacksUtils
          • PairsStorageUtils
          • TradingCommonUtils
          • TradingStorageUtils
          • TradingInteractionsUtils
        • folderMiscchevron-right
        • folderTokenschevron-right
      • folderBackendchevron-right
      • folderSDKchevron-right
  • Archived
    • πŸ–ΌοΈgFARM2 NFTs
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Developerchevron-right
  2. folderTechnical Referencechevron-right
  3. folderContractschevron-right
  4. folderLibraries

folderupdatePositionSize

IncreasePositionSizeUtilschevron-rightDecreasePositionSizeUtilschevron-rightUpdatePositionSizeLifecycleschevron-right
PreviousUpdateLeverageLifecycleschevron-leftNextIncreasePositionSizeUtilschevron-right

Was this helpful?

Was this helpful?