PoolTogether - Polygon

Deposit & Withdraw from PoolTogether PoolTogether-v1 connector on polygon triggers methods like claim, claimAll. You can view details like source code, ABIs on Polygonscan.

  • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to indicate MATIC.
  • use -1 or dsa.maxValue for the maximum amount in function.
  • If not sure about the arguments getId and setId, pass 0.

Claim

Claim token from a Token Faucet

spells.add({  connector: "POOLTOGETHER-A",  method: "claim",  args: [tokenFaucet, setId]});
Parameter Type Description
tokenFaucet address TokenFaucet address
setId uint256 Set claimed amount at this ID in `InstaMemory` Contract.

ClaimAll

Runs claim on all passed comptrollers for a user.

spells.add({  connector: "POOLTOGETHER-A",  method: "claimAll",  args: [tokenFaucetProxyFactory, tokenFaucets]});
Parameter Type Description
tokenFaucetProxyFactory address The TokenFaucetProxyFactory address
tokenFaucets TokenFaucetInterface[] The tokenFaucets to call claim on.

If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.


Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.

Table of Contents