Skip to content

Commit cd663ce

Browse files
committed
Add RewardDistribution_Multisig (testnet)
1 parent aca331a commit cd663ce

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@airdao/airdao-node-contracts",
3-
"version": "1.3.32",
3+
"version": "1.3.33",
44
"main": "./dist/src/index.js",
55
"types": "./dist/src/index.d.ts",
66
"files": [

src/contracts/names.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ export enum ContractNames {
9797

9898
Ecosystem_GeneralTokenBank_Multisig = "Ecosystem_GeneralTokenBank_Multisig",
9999
Ecosystem_GeneralTokenBank = "Ecosystem_GeneralTokenBank",
100+
101+
RewardDistribution_Multisig = "RewardDistribution_Multisig",
100102
}
101103

102104
export const MULTISIGS_COMMON = {
@@ -155,7 +157,11 @@ export function getEnvironment(version: MultisigVersions = MultisigVersions.comm
155157
if (version == MultisigVersions.common) {
156158
return {
157159
master: ContractNames.MasterMultisig,
158-
slaves: [...new Set(Object.values(MULTISIGS_COMMON))]
160+
slaves: [
161+
...new Set(Object.values(MULTISIGS_COMMON)),
162+
// multisigs below are not listed in the MULTISIGS_COMMON, so we add them manually
163+
ContractNames.RewardDistribution_Multisig,
164+
]
159165
};
160166
}
161167
throw new Error("Unknown environment");

0 commit comments

Comments
 (0)