DSA Spell - Arbitrum

Cast spells on DSA. DSA-Spell-v1.0 connector on arbitrum triggers methods like castOnDSA, castAny. You can view details like source code, ABIs on Etherscan.

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

CastOnDSA

Interact with a target DSA by casting spells on it.

spells.add({  connector: "DSA-SPELL-A",  method: "castOnDSA",  args: [targetDSA, connectors, datas]});
Parameter Type Description
targetDSA address target DSA to cast spells on.
connectors string[] Array of connector names (For example, ["1INCH-A", "BASIC-A"]).
datas bytes[] Array of connector calldatas (function selectors encoded with parameters).

CastAny

Casts the first successful spell on the DSA.

spells.add({  connector: "DSA-SPELL-A",  method: "castAny",  args: [connectors, datas]});
Parameter Type Description
connectors string[] Array of connector names, in preference order, if any (For example, ["1INCH-A", "ZEROX-A"]).
datas bytes[] Array of connector calldatas (function selectors encoded with parameters).

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