Documentation
    Preparing search index...

    PoolProxyContract class for managing PoolProxy operations.

    Index

    Constructors

    Methods

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Cancel all existing orders

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      • orderId: string

        Order ID to cancel

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Cancel an existing order

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      • orderIds: string[]

        Order IDs to cancel

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Cancel multiple existing orders

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Claim a rebate from a pool

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      • orderId: string

        Order ID to modify

      • newQuantity: number

        New quantity for the order

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Modify an existing order

    • Parameters

      Returns (tx: Transaction) => TransactionResult

      A function that takes a Transaction object

      Place a limit order

    • Parameters

      Returns (tx: Transaction) => TransactionResult

      A function that takes a Transaction object

      Place a market order

    • Parameters

      Returns (tx: Transaction) => TransactionResult

      A function that takes a Transaction object

      Place a reduce only limit order

    • Parameters

      Returns (tx: Transaction) => TransactionResult

      A function that takes a Transaction object

      Place a reduce only market order

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      • stakeAmount: number

        The amount to stake

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Stake in the pool

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      • params: MarginProposalParams

        Parameters for the proposal

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Submit a proposal

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Unstake from the pool

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      • proposalId: string

        The ID of the proposal to vote on

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Vote on a proposal

    • Parameters

      • marginManagerKey: string

        The key to identify the MarginManager

      Returns (tx: Transaction) => void

      A function that takes a Transaction object

      Withdraw settled amounts