@web3dotorg/evm-slc-core-sdk 0.3.12 → 0.3.13

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.
Files changed (30) hide show
  1. package/abi/ExecutorsRegistry.json +1123 -0
  2. package/abi/Governance.json +2351 -0
  3. package/abi/IExecutorsRegistry.json +357 -0
  4. package/abi/IGovernance.json +133 -0
  5. package/abi/INeutralsRegistry.json +504 -0
  6. package/abi/IQParameters.json +78 -0
  7. package/abi/ISLCCore.json +207 -0
  8. package/abi/ISLCCoreFactory.json +174 -0
  9. package/abi/IWrappedToken.json +198 -0
  10. package/abi/NeutralsRegistry.json +1446 -0
  11. package/abi/ParameterRegistry.json +765 -0
  12. package/abi/SLCCore.json +307 -0
  13. package/abi/SLCCoreFactory.json +499 -0
  14. package/lib.commonjs/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  15. package/lib.commonjs/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  16. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +0 -36
  17. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +0 -48
  18. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  19. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  20. package/lib.commonjs/index.d.ts +1 -1
  21. package/lib.commonjs/index.js +31 -2
  22. package/lib.esm/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  23. package/lib.esm/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  24. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +0 -36
  25. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +0 -48
  26. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  27. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  28. package/lib.esm/index.d.ts +1 -1
  29. package/lib.esm/index.js +12 -2
  30. package/package.json +4 -4
@@ -9,14 +9,6 @@ export declare class IExecutorsRegistry__factory {
9
9
  }];
10
10
  readonly name: "ExecutorAlreadyApproved";
11
11
  readonly type: "error";
12
- }, {
13
- readonly inputs: readonly [{
14
- readonly internalType: "address";
15
- readonly name: "executor";
16
- readonly type: "address";
17
- }];
18
- readonly name: "ExecutorAlreadyPaused";
19
- readonly type: "error";
20
12
  }, {
21
13
  readonly inputs: readonly [{
22
14
  readonly internalType: "address";
@@ -33,14 +25,6 @@ export declare class IExecutorsRegistry__factory {
33
25
  }];
34
26
  readonly name: "ExecutorNotApproved";
35
27
  readonly type: "error";
36
- }, {
37
- readonly inputs: readonly [{
38
- readonly internalType: "address";
39
- readonly name: "executor";
40
- readonly type: "address";
41
- }];
42
- readonly name: "ExecutorNotPaused";
43
- readonly type: "error";
44
28
  }, {
45
29
  readonly inputs: readonly [{
46
30
  readonly internalType: "address";
@@ -122,16 +106,6 @@ export declare class IExecutorsRegistry__factory {
122
106
  }];
123
107
  readonly name: "ExecutorMovedToStandby";
124
108
  readonly type: "event";
125
- }, {
126
- readonly anonymous: false;
127
- readonly inputs: readonly [{
128
- readonly indexed: true;
129
- readonly internalType: "address";
130
- readonly name: "executor";
131
- readonly type: "address";
132
- }];
133
- readonly name: "ExecutorPaused";
134
- readonly type: "event";
135
109
  }, {
136
110
  readonly anonymous: false;
137
111
  readonly inputs: readonly [{
@@ -172,16 +146,6 @@ export declare class IExecutorsRegistry__factory {
172
146
  }];
173
147
  readonly name: "ExecutorStaked";
174
148
  readonly type: "event";
175
- }, {
176
- readonly anonymous: false;
177
- readonly inputs: readonly [{
178
- readonly indexed: true;
179
- readonly internalType: "address";
180
- readonly name: "executor";
181
- readonly type: "address";
182
- }];
183
- readonly name: "ExecutorUnpaused";
184
- readonly type: "event";
185
149
  }, {
186
150
  readonly anonymous: false;
187
151
  readonly inputs: readonly [{
@@ -14,17 +14,6 @@ const _abi = [
14
14
  name: "ExecutorAlreadyApproved",
15
15
  type: "error",
16
16
  },
17
- {
18
- inputs: [
19
- {
20
- internalType: "address",
21
- name: "executor",
22
- type: "address",
23
- },
24
- ],
25
- name: "ExecutorAlreadyPaused",
26
- type: "error",
27
- },
28
17
  {
29
18
  inputs: [
30
19
  {
@@ -47,17 +36,6 @@ const _abi = [
47
36
  name: "ExecutorNotApproved",
48
37
  type: "error",
49
38
  },
50
- {
51
- inputs: [
52
- {
53
- internalType: "address",
54
- name: "executor",
55
- type: "address",
56
- },
57
- ],
58
- name: "ExecutorNotPaused",
59
- type: "error",
60
- },
61
39
  {
62
40
  inputs: [
63
41
  {
@@ -165,19 +143,6 @@ const _abi = [
165
143
  name: "ExecutorMovedToStandby",
166
144
  type: "event",
167
145
  },
168
- {
169
- anonymous: false,
170
- inputs: [
171
- {
172
- indexed: true,
173
- internalType: "address",
174
- name: "executor",
175
- type: "address",
176
- },
177
- ],
178
- name: "ExecutorPaused",
179
- type: "event",
180
- },
181
146
  {
182
147
  anonymous: false,
183
148
  inputs: [
@@ -228,19 +193,6 @@ const _abi = [
228
193
  name: "ExecutorStaked",
229
194
  type: "event",
230
195
  },
231
- {
232
- anonymous: false,
233
- inputs: [
234
- {
235
- indexed: true,
236
- internalType: "address",
237
- name: "executor",
238
- type: "address",
239
- },
240
- ],
241
- name: "ExecutorUnpaused",
242
- type: "event",
243
- },
244
196
  {
245
197
  anonymous: false,
246
198
  inputs: [
@@ -1,4 +1,4 @@
1
- export * from "./constants";
1
+ export { MAX_ACTIVE_EXECUTORS_PARAM_NAME, NEUTRAL_MINIMUM_STAKE_PARAM_NAME, EXECUTORS_WITHDRAWAL_PERIOD_PARAM_NAME, EXECUTORS_SLASHING_RECIPIENT_PARAM_NAME, VOTING_DELAY_PARAM_NAME, NEUTRALS_VOTING_PERIOD_PARAM_NAME, EXECUTORS_VOTING_PERIOD_PARAM_NAME, NEUTRALS_THRESHOLD_PARAM_NAME, EXECUTORS_THRESHOLD_PARAM_NAME, EXECUTORS_SHARE_PARAM_NAME, NEUTRALS_SHARE_PARAM_NAME, TREASURY_SHARE_PARAM_NAME, MIN_SERVICE_FEE_PARAM_NAME, DEFAULT_GOVERNANCE_PARAM_NAME, MAX_ACTIVE_NEUTRALS_PARAM_NAME, MAX_DELEGATION_AMPLIFICATION_PARAM_NAME, EXECUTOR_MINIMUM_STAKE_PARAM_NAME, NEUTRALS_WITHDRAWAL_PERIOD_PARAM_NAME, DELEGATORS_WITHDRAWAL_PERIOD_PARAM_NAME, NEUTRALS_SLASHING_RECIPIENT_PARAM_NAME, TREASURY_ADDRESS_PARAM_NAME, DAOSLC_PARAM_NAME, MAX_BASIS_POINTS, } from "./constants";
2
2
  export * from "./contracts/governance";
3
3
  export * from "./contracts/slc-core";
4
4
  export * from "./factories/contracts/governance";
package/lib.esm/index.js CHANGED
@@ -1,5 +1,15 @@
1
- export * from "./constants";
2
- // Re-exports from contracts
1
+ export {
2
+ // ExecutorRegistry Parameters
3
+ MAX_ACTIVE_EXECUTORS_PARAM_NAME, NEUTRAL_MINIMUM_STAKE_PARAM_NAME, EXECUTORS_WITHDRAWAL_PERIOD_PARAM_NAME, EXECUTORS_SLASHING_RECIPIENT_PARAM_NAME,
4
+ // Governance Parameters
5
+ VOTING_DELAY_PARAM_NAME, NEUTRALS_VOTING_PERIOD_PARAM_NAME, EXECUTORS_VOTING_PERIOD_PARAM_NAME, NEUTRALS_THRESHOLD_PARAM_NAME, EXECUTORS_THRESHOLD_PARAM_NAME, EXECUTORS_SHARE_PARAM_NAME, NEUTRALS_SHARE_PARAM_NAME, TREASURY_SHARE_PARAM_NAME, MIN_SERVICE_FEE_PARAM_NAME, DEFAULT_GOVERNANCE_PARAM_NAME,
6
+ // NeutralRegistry Parameters
7
+ MAX_ACTIVE_NEUTRALS_PARAM_NAME, MAX_DELEGATION_AMPLIFICATION_PARAM_NAME, EXECUTOR_MINIMUM_STAKE_PARAM_NAME, NEUTRALS_WITHDRAWAL_PERIOD_PARAM_NAME, DELEGATORS_WITHDRAWAL_PERIOD_PARAM_NAME, NEUTRALS_SLASHING_RECIPIENT_PARAM_NAME,
8
+ // General Parameters
9
+ TREASURY_ADDRESS_PARAM_NAME, DAOSLC_PARAM_NAME,
10
+ // Other Constants
11
+ MAX_BASIS_POINTS, } from "./constants";
12
+ // Re-export from contract
3
13
  export * from "./contracts/governance";
4
14
  export * from "./contracts/slc-core";
5
15
  // Re-exports from factories
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web3dotorg/evm-slc-core-sdk",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "author": "<TBD>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,6 +11,7 @@
11
11
  "files": [
12
12
  "lib.commonjs",
13
13
  "lib.esm",
14
+ "abi/**",
14
15
  "!**/*.tsbuildinfo"
15
16
  ],
16
17
  "homepage": "https://github.com/web3dotorg/evm-slc-core#readme",
@@ -23,10 +24,9 @@
23
24
  },
24
25
  "keywords": [
25
26
  "smart-contracts",
26
- "web3",
27
- "sdk"
27
+ "web3"
28
28
  ],
29
- "dependencies": {
29
+ "peerDependencies": {
30
30
  "ethers": "^6.15.0"
31
31
  }
32
32
  }