AladdinDAO
  • Aladdin DAO Project
    • Contracts
  • Concentrator
    • asdPENDLE Vaults
    • aCRV(IFO) Vaults
    • aFXS Vaults
    • afrxETH Vaults
    • asdCRV Vaults
    • abcCVX Vaults
    • aCVX Vaults
    • Legacy Vaults
    • Harvester
    • Concentrator Tutorial
      • Deposit & Withdraw
      • How to get CTR/aCRV LP
      • How to get aCRV
      • How to get CRV or cvxCRV
    • Contracts
    • CTR Tokenomics
  • CLever
    • The CLever
    • The Furnace
    • Contracts
  • Aladdin DAO V2 Overview
    • AladdinDAO Roles
    • Vaults
    • Bonding
    • Staking
    • POL
    • Token Distribution
    • Contract Addresses
    • Aladdin DAO Tutorials
      • Bonding
      • Vaulting
      • Staking
  • Security Bounty💰
Powered by GitBook
On this page
  • Change the vault harvesting mechanism and remove withdrawal fees
  • Concentrator Upgraded Contract
  • Compounder Contract
  • Harvester Contract
  • Harvester ABI
  • Compounder harvest
  • Harvester harvest

Was this helpful?

  1. Concentrator

Harvester

Harvester

PreviousLegacy VaultsNextConcentrator Tutorial

Last updated 11 months ago

Was this helpful?

Change the vault harvesting mechanism and remove withdrawal fees

Only addresses that meet the following two criteria are allowed to harvest:

  • The addresses must hold at least 2500 veCTR

  • The ve holding period is at least 1 year from the harvest block

Concentrator Upgraded Contract

Harvster address= 0xfa86aa141e45da5183B42792d99Dede3D26Ec515

Compounder Contract

aCRV = 0x2b95A1Dcc3D405535f9ed33c219ab38E8d7e0884

aFXS = 0xDAF03D70Fe637b91bA6E521A32E1Fb39256d3EC9

afrxETH = 0xb15Ad6113264094Fd9BF2238729410A07EBE5ABa

abcCVX = 0xDEC800C2b17c9673570FDF54450dc1bd79c8E359

asdCRV = 0x43E54C2E7b3e294De3A155785F52AB49d87B9922

Harvester Contract

aCRVVault = 0xc8fF37F7d057dF1BB9Ad681b53Fa4726f268E0e8

aFXSVault = 0xD6E3BB7b1D6Fa75A71d48CFB10096d59ABbf99E1

afrxETHVault = 0x50B47c4A642231dbe0B411a0B2FBC1EBD129346D

Harvester ABI

Compounder harvest

1. const amount =aToken.methods.harvest('0xfa86aa141e45da5183B42792d99Dede3D26Ec515', 0).call({from:'0xfa86aa141e45da5183B42792d99Dede3D26Ec515'})

const _minAmount = amount*(1-0.003)

2.0xfa86aa141e45da5183B42792d99Dede3D26Ec515.methods.harvestConcentratorCompounder('aToken address'', _minAmount)

Harvester harvest

1. const amount =vaultContract.methods.harvest(pid, '0xfa86aa141e45da5183B42792d99Dede3D26Ec515',0).call({from:'0xfa86aa141e45da5183B42792d99Dede3D26Ec515'})

const _minAmount = amount*(1-0.003)

2.0xfa86aa141e45da5183B42792d99Dede3D26Ec515.methods.harvestConcentratorVault('vaultContractAddress address'', pid, _minAmount)

Snapshot
Louper - The Ethereum Diamond Inspector
Logo
Logo