@raac/rpc 1.2.0-beta.10 → 1.2.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RPCLibrary.js +2 -0
- package/dist/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.json +113 -20
- package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.json +259 -31
- package/dist/artifacts/core/governance/gauges/GaugeRewardsDistributor.sol/GaugeRewardsDistributor.json +159 -31
- package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.json +115 -22
- package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.json +115 -22
- package/dist/configs/chains/1.json +22 -25
- package/dist/configs/chains/11155111.json +76 -112
- package/dist/configs/chains/17000.json +22 -25
- package/dist/configs/chains/18453.json +22 -25
- package/dist/configs/chains/8453.json +61 -31
- package/dist/contracts/findContract.js +11 -4
- package/dist/contracts/getContractAddress.js +0 -1
- package/dist/contracts/governance/distributor/claimAll.js +18 -11
- package/dist/contracts/governance/distributor/claimForGauge.js +18 -12
- package/dist/contracts/governance/distributor/deposit.js +17 -12
- package/dist/contracts/governance/distributor/getClaimableForGauge.js +10 -9
- package/dist/contracts/governance/distributor/getClaimedAtEpoch.js +11 -10
- package/dist/contracts/governance/distributor/getDepositedAtEpoch.js +8 -8
- package/dist/contracts/governance/distributor/getDustLastProcessedEpoch.js +28 -0
- package/dist/contracts/governance/distributor/getGaugeController.js +7 -7
- package/dist/contracts/governance/distributor/getLastClaimedEpoch.js +10 -9
- package/dist/contracts/governance/distributor/getMaxClaimBound.js +29 -0
- package/dist/contracts/governance/distributor/getPeriodDuration.js +7 -7
- package/dist/contracts/governance/distributor/getRewardToken.js +7 -7
- package/dist/contracts/governance/distributor/getRewardTokenInfo.js +7 -7
- package/dist/contracts/governance/distributor/getRewardTokenStats.js +7 -7
- package/dist/contracts/governance/distributor/index.js +5 -2
- package/dist/contracts/governance/distributor/setController.js +17 -12
- package/dist/contracts/governance/distributor/setLastClaimedEpoch.js +32 -0
- package/dist/contracts/governance/distributor/setMaxClaimBound.js +31 -0
- package/dist/contracts/governance/distributor/withdrawDust.js +31 -0
- package/dist/contracts/governance/distributor/withdrawRemovedGaugeRewards.js +19 -13
- package/dist/contracts/governance/gauge/_apy.js +122 -0
- package/dist/contracts/governance/gauge/_tokens.js +36 -0
- package/dist/contracts/governance/gauge/addRewardToken.js +2 -12
- package/dist/contracts/governance/gauge/approveGaugeToken.js +31 -0
- package/dist/contracts/governance/gauge/claimExtraReward.js +2 -12
- package/dist/contracts/governance/gauge/claimExtraRewards.js +2 -12
- package/dist/contracts/governance/gauge/claimOnBehalfOf.js +2 -12
- package/dist/contracts/governance/gauge/claimRewardToken.js +3 -13
- package/dist/contracts/governance/gauge/claimRewardsFor.js +2 -12
- package/dist/contracts/governance/gauge/depositRewardToken.js +2 -12
- package/dist/contracts/governance/gauge/getAllPendingExtraRewards.js +2 -9
- package/dist/contracts/governance/gauge/getApy.js +44 -0
- package/dist/contracts/governance/gauge/getBalanceOf.js +2 -15
- package/dist/contracts/governance/gauge/getControllerAddress.js +2 -9
- package/dist/contracts/governance/gauge/getDecimalAdjustment.js +2 -9
- package/dist/contracts/governance/gauge/getDepositRAACOnClaim.js +2 -9
- package/dist/contracts/governance/gauge/getDistributorData.js +2 -9
- package/dist/contracts/governance/gauge/getDistributors.js +2 -9
- package/dist/contracts/governance/gauge/getEarnedExtraReward.js +30 -0
- package/dist/contracts/governance/gauge/getEarnedReward.js +8 -14
- package/dist/contracts/governance/gauge/getExtraRewardTokens.js +2 -9
- package/dist/contracts/governance/gauge/getGaugeData.js +39 -0
- package/dist/contracts/governance/gauge/getGaugeRewardTokenData.js +2 -9
- package/dist/contracts/governance/gauge/getPauseStatus.js +31 -0
- package/dist/contracts/governance/gauge/getPendingExtraRewards.js +2 -9
- package/dist/contracts/governance/gauge/getPendingRewards.js +8 -14
- package/dist/contracts/governance/gauge/getPeriodBoundaries.js +2 -15
- package/dist/contracts/governance/gauge/getPeriodDuration.js +2 -15
- package/dist/contracts/governance/gauge/getRaacAutolockMin.js +2 -9
- package/dist/contracts/governance/gauge/getRawBalanceOf.js +2 -15
- package/dist/contracts/governance/gauge/getRawTotalSupply.js +2 -15
- package/dist/contracts/governance/gauge/getRewardTokens.js +28 -0
- package/dist/contracts/governance/gauge/getTotalSupply.js +2 -15
- package/dist/contracts/governance/gauge/getUserApy.js +71 -0
- package/dist/contracts/governance/gauge/getUserClaimableRewards.js +21 -73
- package/dist/contracts/governance/gauge/getUserGaugeState.js +44 -0
- package/dist/contracts/governance/gauge/getUserRewardTokenData.js +2 -9
- package/dist/contracts/governance/gauge/getUserWeight.js +2 -9
- package/dist/contracts/governance/gauge/index.js +11 -1
- package/dist/contracts/governance/gauge/isPaused.js +4 -11
- package/dist/contracts/governance/gauge/manageDistributor.js +2 -12
- package/dist/contracts/governance/gauge/pullRewardsFromDistributor.js +30 -0
- package/dist/contracts/governance/gauge/setController.js +2 -12
- package/dist/contracts/governance/gauge/setDepositRAACOnClaim.js +2 -12
- package/dist/contracts/governance/gauge/setEmergencyPaused.js +2 -12
- package/dist/contracts/governance/gauge/setGaugeRewardDistributor.js +2 -12
- package/dist/contracts/governance/gauge/setRaacAutolockMin.js +2 -12
- package/dist/contracts/governance/gauge/stake.js +2 -18
- package/dist/contracts/governance/gauge/unwrapStakingToken.js +28 -0
- package/dist/contracts/governance/gauge/updateUserRewards.js +2 -18
- package/dist/contracts/governance/gauge/withdraw.js +2 -18
- package/dist/contracts/governance/gauge/wrapStakingToken.js +28 -0
- package/dist/contracts/governance/gaugeController/addGauge.js +19 -11
- package/dist/contracts/governance/gaugeController/batchVote.js +20 -12
- package/dist/contracts/governance/gaugeController/calculateBoost.js +20 -23
- package/dist/contracts/governance/gaugeController/forceCompleteCheckpoint.js +19 -11
- package/dist/contracts/governance/gaugeController/getActiveGaugeCount.js +28 -0
- package/dist/contracts/governance/gaugeController/getActiveGauges.js +10 -13
- package/dist/contracts/governance/gaugeController/getConstants.js +10 -18
- package/dist/contracts/governance/gaugeController/getCurrentEpoch.js +8 -7
- package/dist/contracts/governance/gaugeController/getExpiredGaugeVotePower.js +30 -0
- package/dist/contracts/governance/gaugeController/getGauge.js +11 -9
- package/dist/contracts/governance/gaugeController/getGaugeDistributor.js +28 -0
- package/dist/contracts/governance/gaugeController/getGaugeEmissions.js +15 -9
- package/dist/contracts/governance/gaugeController/getGaugeRelativeWeight.js +19 -15
- package/dist/contracts/governance/gaugeController/getGaugeRelativeWeightView.js +12 -10
- package/dist/contracts/governance/gaugeController/getGaugeWeight.js +10 -8
- package/dist/contracts/governance/gaugeController/getLastVoteTime.js +11 -9
- package/dist/contracts/governance/gaugeController/getMaxVoteBuckets.js +28 -0
- package/dist/contracts/governance/gaugeController/getNextEpoch.js +8 -7
- package/dist/contracts/governance/gaugeController/getRegisteredGaugeList.js +28 -0
- package/dist/contracts/governance/gaugeController/getTotalWeight.js +8 -7
- package/dist/contracts/governance/gaugeController/getUserGaugeVotePower.js +11 -9
- package/dist/contracts/governance/gaugeController/getUserVotePowerRemaining.js +10 -9
- package/dist/contracts/governance/gaugeController/getVeToken.js +8 -7
- package/dist/contracts/governance/gaugeController/getVoteUserLocks.js +32 -0
- package/dist/contracts/governance/gaugeController/getVoteUserPower.js +8 -7
- package/dist/contracts/governance/gaugeController/getVoteUserSlope.js +12 -10
- package/dist/contracts/governance/gaugeController/index.js +10 -1
- package/dist/contracts/governance/gaugeController/isGaugeActive.js +11 -9
- package/dist/contracts/governance/gaugeController/isPaused.js +9 -8
- package/dist/contracts/governance/gaugeController/kick.js +17 -10
- package/dist/contracts/governance/gaugeController/removeGauge.js +20 -11
- package/dist/contracts/governance/gaugeController/removePowerFromGauge.js +19 -11
- package/dist/contracts/governance/gaugeController/setBoostAmplificationEnabled.js +20 -12
- package/dist/contracts/governance/gaugeController/setDistributor.js +31 -0
- package/dist/contracts/governance/gaugeController/setEmergencyGaugePause.js +20 -12
- package/dist/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.js +33 -0
- package/dist/contracts/governance/gaugeController/setEmergencyPause.js +18 -11
- package/dist/contracts/governance/gaugeController/setMaxVoteBuckets.js +31 -0
- package/dist/contracts/governance/gaugeController/vote.js +15 -16
- package/dist/contracts/governance/gaugeSystems/_helpers.js +123 -0
- package/dist/contracts/governance/gaugeSystems/findGauge.js +14 -0
- package/dist/contracts/governance/gaugeSystems/getGaugeSystem.js +14 -0
- package/dist/contracts/governance/gaugeSystems/getGaugeSystems.js +13 -0
- package/dist/contracts/governance/gaugeSystems/getGauges.js +15 -0
- package/dist/contracts/governance/gaugeSystems/index.js +21 -0
- package/dist/types/RPCLibrary.d.ts +2 -0
- package/dist/types/configs/chains/index.d.ts +36 -46
- package/dist/types/configs/index.d.ts +18 -23
- package/dist/types/contracts/governance/distributor/claimAll.d.ts +7 -5
- package/dist/types/contracts/governance/distributor/claimForGauge.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/deposit.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/getClaimableForGauge.d.ts +6 -4
- package/dist/types/contracts/governance/distributor/getClaimedAtEpoch.d.ts +7 -5
- package/dist/types/contracts/governance/distributor/getDepositedAtEpoch.d.ts +6 -4
- package/dist/types/contracts/governance/distributor/getDustLastProcessedEpoch.d.ts +12 -0
- package/dist/types/contracts/governance/distributor/getGaugeController.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getLastClaimedEpoch.d.ts +6 -4
- package/dist/types/contracts/governance/distributor/getMaxClaimBound.d.ts +15 -0
- package/dist/types/contracts/governance/distributor/getPeriodDuration.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getRewardToken.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getRewardTokenInfo.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getRewardTokenStats.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/index.d.ts +5 -2
- package/dist/types/contracts/governance/distributor/setController.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/setLastClaimedEpoch.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/setMaxClaimBound.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/withdrawDust.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/withdrawRemovedGaugeRewards.d.ts +8 -7
- package/dist/types/contracts/governance/gauge/_apy.d.ts +61 -0
- package/dist/types/contracts/governance/gauge/_tokens.d.ts +14 -0
- package/dist/types/contracts/governance/gauge/approveGaugeToken.d.ts +14 -0
- package/dist/types/contracts/governance/gauge/claimRewardToken.d.ts +1 -1
- package/dist/types/contracts/governance/gauge/getApy.d.ts +41 -0
- package/dist/types/contracts/governance/gauge/getEarnedExtraReward.d.ts +13 -0
- package/dist/types/contracts/governance/gauge/getEarnedReward.d.ts +3 -2
- package/dist/types/contracts/governance/gauge/getGaugeData.d.ts +23 -0
- package/dist/types/contracts/governance/gauge/getPauseStatus.d.ts +19 -0
- package/dist/types/contracts/governance/gauge/getPendingRewards.d.ts +3 -2
- package/dist/types/contracts/governance/gauge/getRewardTokens.d.ts +11 -0
- package/dist/types/contracts/governance/gauge/getUserApy.d.ts +44 -0
- package/dist/types/contracts/governance/gauge/getUserClaimableRewards.d.ts +14 -12
- package/dist/types/contracts/governance/gauge/getUserGaugeState.d.ts +31 -0
- package/dist/types/contracts/governance/gauge/index.d.ts +11 -1
- package/dist/types/contracts/governance/gauge/isPaused.d.ts +1 -1
- package/dist/types/contracts/governance/gauge/pullRewardsFromDistributor.d.ts +11 -0
- package/dist/types/contracts/governance/gauge/unwrapStakingToken.d.ts +12 -0
- package/dist/types/contracts/governance/gauge/wrapStakingToken.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/addGauge.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/batchVote.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/calculateBoost.d.ts +10 -8
- package/dist/types/contracts/governance/gaugeController/forceCompleteCheckpoint.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/getActiveGaugeCount.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getActiveGauges.d.ts +7 -3
- package/dist/types/contracts/governance/gaugeController/getConstants.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/getCurrentEpoch.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getExpiredGaugeVotePower.d.ts +16 -0
- package/dist/types/contracts/governance/gaugeController/getGauge.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getGaugeDistributor.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getGaugeEmissions.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getGaugeRelativeWeight.d.ts +8 -9
- package/dist/types/contracts/governance/gaugeController/getGaugeRelativeWeightView.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/getGaugeWeight.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/getLastVoteTime.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getMaxVoteBuckets.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getNextEpoch.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getRegisteredGaugeList.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getTotalWeight.d.ts +5 -3
- package/dist/types/contracts/governance/gaugeController/getUserGaugeVotePower.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getUserVotePowerRemaining.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/getVeToken.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getVoteUserLocks.d.ts +17 -0
- package/dist/types/contracts/governance/gaugeController/getVoteUserPower.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getVoteUserSlope.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/index.d.ts +10 -1
- package/dist/types/contracts/governance/gaugeController/isGaugeActive.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/isPaused.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/kick.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/removeGauge.d.ts +9 -5
- package/dist/types/contracts/governance/gaugeController/removePowerFromGauge.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/setBoostAmplificationEnabled.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/setDistributor.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/setEmergencyGaugePause.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.d.ts +14 -0
- package/dist/types/contracts/governance/gaugeController/setEmergencyPause.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/setMaxVoteBuckets.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/vote.d.ts +9 -7
- package/dist/types/contracts/governance/gaugeSystems/_helpers.d.ts +71 -0
- package/dist/types/contracts/governance/gaugeSystems/findGauge.d.ts +11 -0
- package/dist/types/contracts/governance/gaugeSystems/getGaugeSystem.d.ts +11 -0
- package/dist/types/contracts/governance/gaugeSystems/getGaugeSystems.d.ts +10 -0
- package/dist/types/contracts/governance/gaugeSystems/getGauges.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeSystems/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +260 -213
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +173 -212
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +111 -108
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +210 -34
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +112 -151
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +174 -95
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +243 -227
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +164 -232
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +185 -98
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +185 -98
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +104 -95
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +241 -22
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts +72 -158
- package/dist/types/utils/artifacts.d.ts +40 -0
- package/dist/types/utils/contracts.d.ts +34 -44
- package/dist/utils/contracts.js +1 -1
- package/package.json +1 -1
- package/dist/contracts/governance/distributor/getStartEpoch.js +0 -28
- package/dist/contracts/governance/distributor/withdrawUnallocatedRewards.js +0 -26
- package/dist/contracts/governance/gauge/setDistributorApproval.js +0 -35
- package/dist/types/contracts/governance/distributor/getStartEpoch.d.ts +0 -10
- package/dist/types/contracts/governance/distributor/withdrawUnallocatedRewards.d.ts +0 -12
- package/dist/types/contracts/governance/gauge/setDistributorApproval.d.ts +0 -11
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"raachouseprices": {
|
|
18
18
|
"id": "raachouseprices",
|
|
19
19
|
"name": "RAAC House Prices",
|
|
20
|
-
"contract": "
|
|
20
|
+
"contract": "0xFaFf07D04b0aD21cAA2000Be3A396Fe9856E2a52"
|
|
21
21
|
},
|
|
22
22
|
"auctionfactory": {
|
|
23
23
|
"id": "auctionfactory",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"raacminter": {
|
|
33
33
|
"id": "raacminter",
|
|
34
34
|
"name": "RAAC Minter",
|
|
35
|
-
"contract": "
|
|
35
|
+
"contract": "0x0C5D65F1b730241F82D2fdF3D3b5fee227935900"
|
|
36
36
|
},
|
|
37
37
|
"feecollector": {
|
|
38
38
|
"id": "feecollector",
|
|
39
39
|
"name": "Fee Collector",
|
|
40
|
-
"contract": "
|
|
40
|
+
"contract": "0xE933AcCd0712F1Aa8be292D022BB2AB2520164c7"
|
|
41
41
|
},
|
|
42
42
|
"treasury": {
|
|
43
43
|
"id": "treasury",
|
|
44
44
|
"name": "Treasury",
|
|
45
|
-
"contract": "
|
|
45
|
+
"contract": "0x323FF1BFb80F75b28351Ee14958d141326219958"
|
|
46
46
|
},
|
|
47
47
|
"pmtreasury": {
|
|
48
48
|
"id": "pmtreasury",
|
|
@@ -62,27 +62,27 @@
|
|
|
62
62
|
"repairfund": {
|
|
63
63
|
"id": "repairfund",
|
|
64
64
|
"name": "Repair Fund",
|
|
65
|
-
"contract": "
|
|
65
|
+
"contract": "0xBbb012FCf92908227548d9cfd13DfF009c1364F7"
|
|
66
66
|
},
|
|
67
67
|
"releaseorchestrator": {
|
|
68
68
|
"id": "releaseorchestrator",
|
|
69
69
|
"name": "Release Orchestrator",
|
|
70
|
-
"contract": "
|
|
70
|
+
"contract": "0x0000000000000000000000000000000000000000"
|
|
71
71
|
},
|
|
72
72
|
"rwavault": {
|
|
73
73
|
"id": "rwavault",
|
|
74
74
|
"name": "RWA Vault",
|
|
75
|
-
"contract": "
|
|
75
|
+
"contract": "0xF46c3DEfdFCf77dbD3Aeb935Ad1A76Fd83deb4E6"
|
|
76
76
|
},
|
|
77
77
|
"complianceregistry": {
|
|
78
78
|
"id": "complianceregistry",
|
|
79
79
|
"name": "Compliance Registry",
|
|
80
|
-
"contract": "
|
|
80
|
+
"contract": "0xDB145A43A965458bd473d2134f92686B450b17B0"
|
|
81
81
|
},
|
|
82
82
|
"rwaindextokencollector": {
|
|
83
83
|
"id": "rwaindextokencollector",
|
|
84
84
|
"name": "RWA Index Token Collector",
|
|
85
|
-
"contract": "
|
|
85
|
+
"contract": "0x0000000000000000000000000000000000000000"
|
|
86
86
|
},
|
|
87
87
|
"raactokencollector": {
|
|
88
88
|
"id": "raactokencollector",
|
|
@@ -92,86 +92,96 @@
|
|
|
92
92
|
"raachousepriceoracle": {
|
|
93
93
|
"id": "raachousepriceoracle",
|
|
94
94
|
"name": "RAAC House Price Oracle",
|
|
95
|
-
"contract": "
|
|
95
|
+
"contract": "0x0000000000000000000000000000000000000000"
|
|
96
96
|
},
|
|
97
97
|
"raacprimerateoracle": {
|
|
98
98
|
"id": "raacprimerateoracle",
|
|
99
99
|
"name": "RAAC Prime Rate Oracle",
|
|
100
|
-
"contract": "
|
|
100
|
+
"contract": "0x0000000000000000000000000000000000000000"
|
|
101
101
|
},
|
|
102
102
|
"crvusdtousdoracle": {
|
|
103
103
|
"id": "crvusdtousdoracle",
|
|
104
|
-
"name": "
|
|
105
|
-
"contract": "
|
|
104
|
+
"name": "pmUSD to USD Oracle",
|
|
105
|
+
"contract": "0xDC97F7E1C11E339cfE91Dac799D168F922c57b20"
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"id": "
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
"
|
|
132
|
-
"
|
|
108
|
+
"gauges": {
|
|
109
|
+
"raacgauges": {
|
|
110
|
+
"id": "raacgauges",
|
|
111
|
+
"label": "RAAC Gauges",
|
|
112
|
+
"gaugeType": "RAACGauge",
|
|
113
|
+
"controller": "0x65C88DB51aC7B8E36049C6D2F50b5038F75185Df",
|
|
114
|
+
"distributor": "0x7dC7bD019d751197701a358b43503bE86E6c8629",
|
|
115
|
+
"gauges": [
|
|
116
|
+
{
|
|
117
|
+
"id": "r-raacpmUSD",
|
|
118
|
+
"name": "r-raacpmUSD (RAAC/pmUSD LP)",
|
|
119
|
+
"contract": "0x20584879fc269093D8AD93A1a57B2c40038D1c3a",
|
|
120
|
+
"stakingToken": "0xF65C691aE1782A9A504d6865F0dAeC88Ef46a592"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "r-rpmdepmUSD",
|
|
124
|
+
"name": "r-rpmdepmUSD (RpmUSD/DEpmUSD LP)",
|
|
125
|
+
"contract": "0x79c9b8b1E679c1e1bD09a56Fde6a61aa8C0014Aa",
|
|
126
|
+
"stakingToken": "0x421E9431E751c8fC02E53F8e54a1772aE6021BeD"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"rwagauges": {
|
|
131
|
+
"id": "rwagauges",
|
|
132
|
+
"label": "RWA Gauges",
|
|
133
|
+
"gaugeType": "RWAGauge",
|
|
134
|
+
"controller": "0x0000000000000000000000000000000000000000",
|
|
135
|
+
"distributor": "0x0000000000000000000000000000000000000000",
|
|
136
|
+
"gauges": []
|
|
133
137
|
}
|
|
134
138
|
},
|
|
135
139
|
"proposals": [
|
|
136
140
|
{
|
|
137
|
-
"id": "
|
|
138
|
-
"label": "
|
|
139
|
-
"governance": "
|
|
140
|
-
"timelock": "
|
|
141
|
+
"id": "gauge-management",
|
|
142
|
+
"label": "Gauge Management",
|
|
143
|
+
"governance": "0x84d6774EA4b664350878ad7C29dCd41e57C5D9dc",
|
|
144
|
+
"timelock": "0xDc1Cff90B011a5641E30c15AA40164e3b9F4A2ec"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "parameters",
|
|
148
|
+
"label": "Protocol Parameters",
|
|
149
|
+
"governance": "0xA68dDE61bB05D0437FA3a8E03141799C5FeA2bb8",
|
|
150
|
+
"timelock": "0xA6D66046BB90163637f240c6892D83Fa897A01Df"
|
|
141
151
|
}
|
|
142
152
|
],
|
|
143
153
|
"pools": {
|
|
144
154
|
"stabilitypool": {
|
|
145
155
|
"id": "stabilitypool",
|
|
146
156
|
"name": "Stability Pool",
|
|
147
|
-
"contract": "
|
|
157
|
+
"contract": "0x4B93117949757107203402d1d0Bd679aF53407a2"
|
|
148
158
|
},
|
|
149
159
|
"lendingpool": {
|
|
150
160
|
"id": "lendingpool",
|
|
151
161
|
"name": "Lending Pool",
|
|
152
|
-
"contract": "
|
|
162
|
+
"contract": "0x9454135aBA82aF2080C88b7C2D746cFC26143903"
|
|
153
163
|
},
|
|
154
164
|
"crvusdraacpool": {
|
|
155
165
|
"id": "crvusdraacpool",
|
|
156
166
|
"name": "Curve pmUSD/RAAC twocrypto-ng Pool",
|
|
157
|
-
"contract": "
|
|
167
|
+
"contract": "0xF65C691aE1782A9A504d6865F0dAeC88Ef46a592"
|
|
158
168
|
},
|
|
159
169
|
"pmusdireetpool": {
|
|
160
170
|
"id": "pmusdireetpool",
|
|
161
|
-
"name": "pmUSD/iREET
|
|
162
|
-
"contract": "
|
|
171
|
+
"name": "Curve pmUSD/iREET twocrypto-ng Pool",
|
|
172
|
+
"contract": "0x7F7d0924C9082F4C3F0D5D97bF9a26C3D3DEf706"
|
|
163
173
|
}
|
|
164
174
|
},
|
|
165
175
|
"nfts": {
|
|
166
176
|
"raacnft": {
|
|
167
177
|
"id": "raacnft",
|
|
168
178
|
"name": "RAAC NFT",
|
|
169
|
-
"contract": "
|
|
179
|
+
"contract": "0x95fA4C822b94a4c1A0D4d56A61ED6fa174d3b47b"
|
|
170
180
|
},
|
|
171
181
|
"raacbotnft": {
|
|
172
182
|
"id": "raacbotnft",
|
|
173
183
|
"name": "RAAC Bot NFT (mock)",
|
|
174
|
-
"contract": "
|
|
184
|
+
"contract": "0x51e81c04EE7E5b2916F30e8D55Cf37276a642F35"
|
|
175
185
|
}
|
|
176
186
|
},
|
|
177
187
|
"assets": {
|
|
@@ -185,7 +195,7 @@
|
|
|
185
195
|
"id": "pmusd",
|
|
186
196
|
"name": "PMUSD",
|
|
187
197
|
"decimals": 18,
|
|
188
|
-
"contract": "
|
|
198
|
+
"contract": "0x2A335eA89c8ae3eC09Bf664ae35522E83DbF7998"
|
|
189
199
|
},
|
|
190
200
|
"xpm": {
|
|
191
201
|
"id": "xpm",
|
|
@@ -197,49 +207,49 @@
|
|
|
197
207
|
"id": "crvusd",
|
|
198
208
|
"name": "pmUSD",
|
|
199
209
|
"decimals": 18,
|
|
200
|
-
"contract": "
|
|
210
|
+
"contract": "0x2A335eA89c8ae3eC09Bf664ae35522E83DbF7998"
|
|
201
211
|
},
|
|
202
212
|
"rtoken": {
|
|
203
213
|
"id": "rtoken",
|
|
204
214
|
"name": "RToken",
|
|
205
215
|
"decimals": 18,
|
|
206
|
-
"contract": "
|
|
216
|
+
"contract": "0x310BC063c62772F113fe917a3c047dE3eEdEBf65"
|
|
207
217
|
},
|
|
208
218
|
"detoken": {
|
|
209
219
|
"id": "detoken",
|
|
210
220
|
"name": "DEToken",
|
|
211
221
|
"decimals": 18,
|
|
212
|
-
"contract": "
|
|
222
|
+
"contract": "0xDa82f32b61CE866a14Ef95c217366fEA437e5ab3"
|
|
213
223
|
},
|
|
214
224
|
"raactoken": {
|
|
215
225
|
"id": "raactoken",
|
|
216
226
|
"name": "RAAC",
|
|
217
227
|
"decimals": 18,
|
|
218
|
-
"contract": "
|
|
228
|
+
"contract": "0xFd3c51549f74C2C88AFEbe85dc55D1Ea7aAC22E2"
|
|
219
229
|
},
|
|
220
230
|
"veraac": {
|
|
221
231
|
"id": "veraac",
|
|
222
232
|
"name": "VERAAC",
|
|
223
233
|
"decimals": 18,
|
|
224
|
-
"contract": "
|
|
234
|
+
"contract": "0x7d3D851F752ADF3af5dBF5CB245a2ac8DAe8fdfd"
|
|
225
235
|
},
|
|
226
236
|
"leraac": {
|
|
227
237
|
"id": "leraac",
|
|
228
238
|
"name": "Liquid Escrowed RAAC",
|
|
229
239
|
"decimals": 18,
|
|
230
|
-
"contract": "
|
|
240
|
+
"contract": "0xDaF67431A78566bC962a1D448330416e238bBCD0"
|
|
231
241
|
},
|
|
232
242
|
"debttoken": {
|
|
233
243
|
"id": "debttoken",
|
|
234
244
|
"name": "Debt Token",
|
|
235
245
|
"decimals": 18,
|
|
236
|
-
"contract": "
|
|
246
|
+
"contract": "0xA11313380849f692a1533EA4857E0919037f601a"
|
|
237
247
|
},
|
|
238
248
|
"rwaindextoken": {
|
|
239
249
|
"id": "rwaindextoken",
|
|
240
250
|
"name": "RWA Index Token",
|
|
241
251
|
"decimals": 18,
|
|
242
|
-
"contract": "
|
|
252
|
+
"contract": "0x4529e09028bfF3554c62612cbA5Fd28DfB8d62f0"
|
|
243
253
|
}
|
|
244
254
|
},
|
|
245
255
|
"adapters": {
|
|
@@ -247,13 +257,13 @@
|
|
|
247
257
|
"raacnftadapter": {
|
|
248
258
|
"id": "raacnftadapter",
|
|
249
259
|
"name": "RAAC NFT Adapter",
|
|
250
|
-
"contract": "
|
|
260
|
+
"contract": "0x0000000000000000000000000000000000000000",
|
|
251
261
|
"type": "ERC721"
|
|
252
262
|
},
|
|
253
263
|
"rwaindextokenadapter": {
|
|
254
264
|
"id": "rwaindextokenadapter",
|
|
255
265
|
"name": "RWA Index Token",
|
|
256
|
-
"contract": "
|
|
266
|
+
"contract": "0xeBab0C5152C406F74E76cB01f4eA9b57BdFad184",
|
|
257
267
|
"type": "ERC20"
|
|
258
268
|
}
|
|
259
269
|
},
|
|
@@ -261,13 +271,13 @@
|
|
|
261
271
|
"raacnftadapter": {
|
|
262
272
|
"id": "raacnftadapter",
|
|
263
273
|
"name": "RAAC NFT Adapter",
|
|
264
|
-
"contract": "
|
|
274
|
+
"contract": "0xd545a0a87571122f07F2B2367b5257DC8aa34640",
|
|
265
275
|
"type": "ERC721"
|
|
266
276
|
},
|
|
267
277
|
"crvusdadapter": {
|
|
268
278
|
"id": "crvusdadapter",
|
|
269
279
|
"name": "CRVUSD Adapter",
|
|
270
|
-
"contract": "
|
|
280
|
+
"contract": "0x0000000000000000000000000000000000000000",
|
|
271
281
|
"type": "ERC20"
|
|
272
282
|
}
|
|
273
283
|
}
|
|
@@ -276,70 +286,24 @@
|
|
|
276
286
|
"raacliquidlocker": {
|
|
277
287
|
"id": "raacliquidlocker",
|
|
278
288
|
"name": "RAAC Liquid Locker",
|
|
279
|
-
"contract": "
|
|
289
|
+
"contract": "0xeb0F56e4445cacbE4550bEf7b6C1C4310A46e255"
|
|
280
290
|
},
|
|
281
291
|
"raacmaturityvault": {
|
|
282
292
|
"id": "raacmaturityvault",
|
|
283
293
|
"name": "RAAC Maturity Vault",
|
|
284
|
-
"contract": "
|
|
294
|
+
"contract": "0x70CBAb848Ce694f04A4526B65120F3aF0251cc04"
|
|
285
295
|
},
|
|
286
296
|
"raacbotlocker": {
|
|
287
297
|
"id": "raacbotlocker",
|
|
288
298
|
"name": "RAAC Bot Locker",
|
|
289
|
-
"contract": "
|
|
299
|
+
"contract": "0xc7F0ce52637b629991F7c6f8153a6e5BDb5Ad443"
|
|
290
300
|
}
|
|
291
301
|
},
|
|
292
302
|
"zap": {
|
|
293
303
|
"aladdinzap": {
|
|
294
304
|
"id": "aladdinzap",
|
|
295
305
|
"name": "Aladdin Zap",
|
|
296
|
-
"contract": "
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
"gauges": {
|
|
300
|
-
"raac_pmusd": {
|
|
301
|
-
"id": "RAAC_pmUSD",
|
|
302
|
-
"name": "RAAC pmUSD Gauge",
|
|
303
|
-
"type": "RAACGauge",
|
|
304
|
-
"contract": "0xc6471c956a6f77Af1D35Ea639a46544eE9340838",
|
|
305
|
-
"stakingToken": "0x0bd4E860e5e7A0C7c9d221Fa336976bF001F81fa",
|
|
306
|
-
"wrapped": true,
|
|
307
|
-
"underlying": "0x6F713079002a0a485E91fB276E4682CB01d18439",
|
|
308
|
-
"wrapper": "0x0bd4E860e5e7A0C7c9d221Fa336976bF001F81fa"
|
|
309
|
-
},
|
|
310
|
-
"raac_pmusd_lp": {
|
|
311
|
-
"id": "RAAC_pmUSD_LP",
|
|
312
|
-
"name": "RAAC pmUSD/RAAC LP Gauge",
|
|
313
|
-
"type": "RAACGauge",
|
|
314
|
-
"contract": "0xac6A07DEbbc683042478987f7BceEdb934161311",
|
|
315
|
-
"stakingToken": "0xAe98A7EF8557491fD34b45036Aada075c9385c6C"
|
|
316
|
-
},
|
|
317
|
-
"raac_rcrvusd": {
|
|
318
|
-
"id": "RAAC_RcrvUSD",
|
|
319
|
-
"name": "RAAC RcrvUSD Gauge (deprecated)",
|
|
320
|
-
"type": "RAACGauge",
|
|
321
|
-
"contract": "0xc6e49678e7a7D797Cb11EE5D2834A3896200096D",
|
|
322
|
-
"stakingToken": "0xa610498F28448Eb379BFD3179381F6f094ad110b",
|
|
323
|
-
"wrapped": true,
|
|
324
|
-
"underlying": "0x062a641EF54810B321f123487fFf083cadB50989",
|
|
325
|
-
"wrapper": "0xa610498F28448Eb379BFD3179381F6f094ad110b",
|
|
326
|
-
"_note": "Deprecated — being removed from the controller (replaced by raac_pmusd). Reclaim stuck votes via removePowerFromGauge."
|
|
327
|
-
},
|
|
328
|
-
"raac_crvusd_lp": {
|
|
329
|
-
"id": "RAAC_crvUSD_LP",
|
|
330
|
-
"name": "RAAC crvUSD/RAAC LP Gauge (deprecated)",
|
|
331
|
-
"type": "RAACGauge",
|
|
332
|
-
"contract": "0x04F3e12A814b21B9F947c726be512719a41b980f",
|
|
333
|
-
"stakingToken": "0xCfDBbad91770fb7Fd57e623A59dcbD14670164c7",
|
|
334
|
-
"_note": "Deprecated — being removed from the controller (replaced by raac_pmusd_lp). Reclaim stuck votes via removePowerFromGauge."
|
|
335
|
-
},
|
|
336
|
-
"raac_rcrvusd_old": {
|
|
337
|
-
"id": "RAAC_RcrvUSD_old",
|
|
338
|
-
"name": "RAAC RcrvUSD Gauge (raw rebasing, removed)",
|
|
339
|
-
"type": "RAACGauge",
|
|
340
|
-
"contract": "0xE8eBe8294542d47f481c17036C8165CB8935554a",
|
|
341
|
-
"stakingToken": "0x062a641EF54810B321f123487fFf083cadB50989",
|
|
342
|
-
"_note": "Already removed from controller. Reclaim stuck votes via removePowerFromGauge."
|
|
306
|
+
"contract": "0xe401ca22AEAbb1387bd36F8B7ed1E25fF34BFA84"
|
|
343
307
|
}
|
|
344
308
|
}
|
|
345
309
|
}
|
|
@@ -110,31 +110,28 @@
|
|
|
110
110
|
"contract": "0x352b225A9f96ad9d90A1e8db4f1908943729b511"
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"id": "
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"id": "rwagauge",
|
|
136
|
-
"name": "RWA Gauge",
|
|
137
|
-
"contract": "0x0000000000000000000000000000000000000000"
|
|
113
|
+
"gauges": {
|
|
114
|
+
"raacgauges": {
|
|
115
|
+
"id": "raacgauges",
|
|
116
|
+
"label": "RAAC Gauges",
|
|
117
|
+
"gaugeType": "RAACGauge",
|
|
118
|
+
"controller": "0x045857BDEAE7C1c7252d611eB24eB55564198b4C",
|
|
119
|
+
"distributor": "0x7a7f847fb60b0000e24cce07298dc73df8b8e56a",
|
|
120
|
+
"gauges": [
|
|
121
|
+
{
|
|
122
|
+
"id": "raacgauge",
|
|
123
|
+
"name": "RAAC Gauge",
|
|
124
|
+
"contract": "0xB6B18cae509Fcf3542FF6975C2Da06CAAc9773c5"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"rwagauges": {
|
|
129
|
+
"id": "rwagauges",
|
|
130
|
+
"label": "RWA Gauges",
|
|
131
|
+
"gaugeType": "RWAGauge",
|
|
132
|
+
"controller": "0x0000000000000000000000000000000000000000",
|
|
133
|
+
"distributor": "0x0000000000000000000000000000000000000000",
|
|
134
|
+
"gauges": []
|
|
138
135
|
}
|
|
139
136
|
},
|
|
140
137
|
"proposals": [],
|
|
@@ -110,31 +110,28 @@
|
|
|
110
110
|
"contract": "0x352b225A9f96ad9d90A1e8db4f1908943729b511"
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"id": "
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"id": "rwagauge",
|
|
136
|
-
"name": "RWA Gauge",
|
|
137
|
-
"contract": "0x0000000000000000000000000000000000000000"
|
|
113
|
+
"gauges": {
|
|
114
|
+
"raacgauges": {
|
|
115
|
+
"id": "raacgauges",
|
|
116
|
+
"label": "RAAC Gauges",
|
|
117
|
+
"gaugeType": "RAACGauge",
|
|
118
|
+
"controller": "0x045857BDEAE7C1c7252d611eB24eB55564198b4C",
|
|
119
|
+
"distributor": "0x7a7f847fb60b0000e24cce07298dc73df8b8e56a",
|
|
120
|
+
"gauges": [
|
|
121
|
+
{
|
|
122
|
+
"id": "raacgauge",
|
|
123
|
+
"name": "RAAC Gauge",
|
|
124
|
+
"contract": "0xB6B18cae509Fcf3542FF6975C2Da06CAAc9773c5"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"rwagauges": {
|
|
129
|
+
"id": "rwagauges",
|
|
130
|
+
"label": "RWA Gauges",
|
|
131
|
+
"gaugeType": "RWAGauge",
|
|
132
|
+
"controller": "0x0000000000000000000000000000000000000000",
|
|
133
|
+
"distributor": "0x0000000000000000000000000000000000000000",
|
|
134
|
+
"gauges": []
|
|
138
135
|
}
|
|
139
136
|
},
|
|
140
137
|
"proposals": [],
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"chainId": 8453,
|
|
3
3
|
"name": "localhost",
|
|
4
|
-
"rpcs": [
|
|
5
|
-
"http://127.0.0.1:8545"
|
|
6
|
-
],
|
|
4
|
+
"rpcs": ["http://127.0.0.1:8545"],
|
|
7
5
|
"nativeCurrency": {
|
|
8
6
|
"name": "ETH",
|
|
9
7
|
"symbol": "ETH",
|
|
@@ -34,7 +32,7 @@
|
|
|
34
32
|
"raacminter": {
|
|
35
33
|
"id": "raacminter",
|
|
36
34
|
"name": "RAAC Minter",
|
|
37
|
-
"contract": "
|
|
35
|
+
"contract": "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6"
|
|
38
36
|
},
|
|
39
37
|
"feecollector": {
|
|
40
38
|
"id": "feecollector",
|
|
@@ -107,31 +105,63 @@
|
|
|
107
105
|
"contract": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
|
|
108
106
|
}
|
|
109
107
|
},
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"id": "
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
108
|
+
"gauges": {
|
|
109
|
+
"raacgauges": {
|
|
110
|
+
"id": "raacgauges",
|
|
111
|
+
"label": "RAAC Gauges",
|
|
112
|
+
"gaugeType": "RAACGauge",
|
|
113
|
+
"controller": "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
114
|
+
"distributor": "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d",
|
|
115
|
+
"gauges": [
|
|
116
|
+
{
|
|
117
|
+
"id": "RAAC_pmUSDcrvUSD_LP",
|
|
118
|
+
"name": "RAAC pmUSD/crvUSD LP Gauge",
|
|
119
|
+
"contract": "0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44",
|
|
120
|
+
"stakingToken": "0x610178dA211FEF7D417bC0e6FeD39F05609AD788"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "RAAC_RAACpmUSD_LP",
|
|
124
|
+
"name": "RAAC RAAC/pmUSD LP Gauge",
|
|
125
|
+
"contract": "0x4A679253410272dd5232B3Ff7cF5dbB88f295319",
|
|
126
|
+
"stakingToken": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "RAAC_depmUSD",
|
|
130
|
+
"name": "RAAC Stability Pool Gauge",
|
|
131
|
+
"contract": "0x09635F643e140090A9A8Dcd712eD6285858ceBef",
|
|
132
|
+
"stakingToken": "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "RAAC_pmUSD",
|
|
136
|
+
"name": "RAAC pmUSD Gauge",
|
|
137
|
+
"contract": "0x67d269191c92Caf3cD7723F116c85e6E9bf55933",
|
|
138
|
+
"stakingToken": "0x9A676e781A523b5d0C0e43731313A708CB607508",
|
|
139
|
+
"wrapped": true,
|
|
140
|
+
"underlying": "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
141
|
+
"wrapper": "0x9A676e781A523b5d0C0e43731313A708CB607508"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "RAAC_RAACWETH_LP",
|
|
145
|
+
"name": "RAAC RAAC/WETH LP Gauge",
|
|
146
|
+
"contract": "0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690",
|
|
147
|
+
"stakingToken": "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"rwagauges": {
|
|
152
|
+
"id": "rwagauges",
|
|
153
|
+
"label": "RWA Gauges",
|
|
154
|
+
"gaugeType": "RWAGauge",
|
|
155
|
+
"controller": "0x0000000000000000000000000000000000000000",
|
|
156
|
+
"distributor": "0x0000000000000000000000000000000000000000",
|
|
157
|
+
"gauges": [
|
|
158
|
+
{
|
|
159
|
+
"id": "rwagauge",
|
|
160
|
+
"name": "RWA Gauge",
|
|
161
|
+
"contract": "0xAD523115cd35a8d4E60B3C0953E0E0ac10418309",
|
|
162
|
+
"_note": "Deployed against the shared controller before the RAAC/RWA split; not wired to an RWA controller."
|
|
163
|
+
}
|
|
164
|
+
]
|
|
135
165
|
}
|
|
136
166
|
},
|
|
137
167
|
"proposals": [
|
|
@@ -208,13 +238,13 @@
|
|
|
208
238
|
"id": "raactoken",
|
|
209
239
|
"name": "RAAC",
|
|
210
240
|
"decimals": 18,
|
|
211
|
-
"contract": "
|
|
241
|
+
"contract": "0x5FbDB2315678afecb367f032d93F642f64180aa3"
|
|
212
242
|
},
|
|
213
243
|
"veraac": {
|
|
214
244
|
"id": "veraac",
|
|
215
245
|
"name": "VERAAC",
|
|
216
246
|
"decimals": 18,
|
|
217
|
-
"contract": "
|
|
247
|
+
"contract": "0x5FC8d32690cc91D4c39d9d3abcBD16989F875707"
|
|
218
248
|
},
|
|
219
249
|
"debttoken": {
|
|
220
250
|
"id": "debttoken",
|
|
@@ -7,8 +7,8 @@ exports.findContract = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const chains_1 = __importDefault(require("../configs/chains"));
|
|
9
9
|
const artifacts_1 = require("../utils/artifacts");
|
|
10
|
-
/** Sections scanned in order; the first match wins
|
|
11
|
-
const FLAT_SECTIONS = ["
|
|
10
|
+
/** Sections scanned in order; the first match wins. */
|
|
11
|
+
const FLAT_SECTIONS = ["contracts", "governance", "pools", "lockers", "zap", "nfts", "assets"];
|
|
12
12
|
const abiKey = (key) => (key in artifacts_1.ABIS ? key : null);
|
|
13
13
|
const isDeployed = (address) => !!address && ethers_1.ethers.isAddress(address) && address !== ethers_1.ethers.ZeroAddress;
|
|
14
14
|
/** Builds every configured contract on the chain with its name and ABI key. */
|
|
@@ -22,10 +22,17 @@ function listContracts(chainId) {
|
|
|
22
22
|
if (isDeployed(entry.address))
|
|
23
23
|
found.push({ ...entry, address: ethers_1.ethers.getAddress(entry.address) });
|
|
24
24
|
};
|
|
25
|
+
// gauges: { <system>: { label, gaugeType, controller, distributor, gauges: [{ id, name, contract }] } }
|
|
26
|
+
for (const [key, system] of Object.entries((config.gauges ?? {}))) {
|
|
27
|
+
push({ address: system.controller, id: `${key}.controller`, name: `${system.label} Controller`, section: "gauges", abi: "gaugecontroller" });
|
|
28
|
+
push({ address: system.distributor, id: `${key}.distributor`, name: `${system.label} Distributor`, section: "gauges", abi: "gaugerewardsdistributor" });
|
|
29
|
+
for (const gauge of system.gauges ?? []) {
|
|
30
|
+
push({ address: gauge.contract, id: gauge.id, name: gauge.name, section: "gauges", abi: abiKey(system.gaugeType.toLowerCase()) });
|
|
31
|
+
}
|
|
32
|
+
}
|
|
25
33
|
for (const section of FLAT_SECTIONS) {
|
|
26
34
|
for (const [key, value] of Object.entries((config[section] ?? {}))) {
|
|
27
|
-
|
|
28
|
-
push({ address: value.contract, id: value.id ?? key, name: value.name ?? key, section, abi });
|
|
35
|
+
push({ address: value.contract, id: value.id ?? key, name: value.name ?? key, section, abi: abiKey(key.toLowerCase()) });
|
|
29
36
|
}
|
|
30
37
|
}
|
|
31
38
|
// adapters: { <pool or vault>: { <adapter>: { contract, type: "ERC20" | "ERC721" } } }
|