Skip to main content

Addresses

ContractAddress
BTCBorrowFactory0x838BAB799B1360baAd90e572405650B9a1BFF57A
ETHBorrowFactory0xD6B1E016139972922AB6E4a94c065d5eCD8B18B1
SimpleBTCBorrowFactory0x0eD2CF32cBf676Ad8D1202937aEE40FB3397d7bd
SimpleETHBorrowFactory0x8e9b8E64a448a09cB1476f835771E6A064e780b3
TUSDEngine (V1)0xfdf7b4486f5de843838EcFd254711E06aF1f0641
TUSDEngine (V0)0x867bF0476655Cf05934869B449a0be0ED534eA60
BoostBTC0x279A237F074AC942AD3147834a3b8431b9a759dE
UniswapBTC0x6CD8C857Cef09AfbF141Bbe7CD7df107B97A9c4b
GMXV2BTC0xf4A597B9879b091270A9F4c07022ee7857A56A70
BoostETH0x36Ac52C415042Fbc6D7564f4ad1410094f214f92
StargateETH0x523823e1FAb8A853E355b927589d75f000dbA7a9
GMXV2ETH0xd698D5F734E6be707B33f452A840BA56159A81aD
BoostLINK0x914DC0103E542FA3F823dbE3aaA67926d84B5178
GMXV2LINK0xbBdd2226AE13dbcc821f1fecE1E8aaF1587a9c99
UniswapLINK0x632A7F510985173B20Bc9a599e51853D163bAE18
BoostUNI0x2D422D47dB58cEB32D28E880e87fF673bb086544
GMXV2UNI0x82927257fAdB173AB78402D091c1080aA89fF6E4
UniswapUNI0x5AC0240c9ABfE3a891af8eE565f1FDE2A7706981
Governor0x43F726347b5C56325e116b92cc846C3cF50F16c7
Timelock0x78112179F84357B55Db265Bcabb8c9c6f1CcB850
Treasury0x177f6519A523EEbb542aed20320EFF9401bC47d0
Swap0xcE0C0E633086E4Bd3B2b4298D16b504490534411
TORQ0xb56C29413AF8778977093B9B4947efEeA7136C36
TUSD0xf7F6718Cf69967203740cCb431F6bDBff1E0FB68

Torque SDK

Coming soon!

Examples

  • Launchpads
  • Smart wallets
  • DAO treasuries
  • Voting systems
  • Payment apps
  • Banking apps
  • Trust funds

Templates

Coming soon!

Files

  • Borrow

    • BTCBorrow.sol: Borrow contract to collateralize assets such as WBTC
    • ETHBorrow.sol: Borrow contract to collateralize assets such as ETH
    • CompoundBase/IComet.sol: Interface for interacting with Compound V3
    • CompoundBase/IWETH9.sol: Interface for interacting with Compound ETH
    • CompoundBase/bulkers/IARBBulker.sol: Interface for multi-step txns
    • interfaces/ITUSDEngine.sol: Interface for the TUSDEngine (mint/burn)
    • interfaces/ICometReward.sol: Get Compound V3 COMP reward for treasury
  • Boost

    • BoostBTC.sol: Boost contract to capture compound yield via underlying
    • BoostETH.sol: Boost contract to capture compound yield via underlying
    • GMXV2ETH.sol: Strategy that integrates with GMX V2 ETH GM pool
    • StargateETH.sol: Strategy that integrates Stargate's pool and farm
    • GMXV2BTC.sol: Strategy that integrates with GMX V2 BTC GM pool
    • UniswapBTC.sol: Strategy that integrates UniV3 liquidity provision
    • interfaces/IWETH.sol: Interface for interacting with wrapped Ether
    • interfaces/IStargateLPStaking.sol: Interface for staking pool tokens
    • interfaces/INonfungiblePositionManager.sol: Interface for Uniswap
    • interfaces/ISwapRouterV3.sol: For swapping USDC back ETH on GMX
    • interfaces/IWETH.sol: Interface for the wrapped Ether asset
    • interfaces/IGMX.sol: Interface for interaction with GMX
  • Vote

    • Torque.sol: Ecosystem ERC-20 governance and utility token
    • Hamilton.sol: Decentralized governance executor contract
  • Periphery

    • Lock.sol: Cool down period enforcer to prevent malicious behavior
    • RewardUtil.sol: Accounts for user reward and allows manual claims
    • Vesting.sol: Contract to manage individual TORQ distributions

Testing

  • /scripts: misc scripts for deployment and testing
  • /test: folder with additional testing files