@gearbox-protocol/sdk 14.0.0-next.9 → 14.1.0-next.1

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 (119) hide show
  1. package/dist/cjs/abi/kyc/iDSRegistryService.js +149 -0
  2. package/dist/cjs/abi/kyc/iDSToken.js +71 -0
  3. package/dist/cjs/abi/kyc/iKYCCompressor.js +196 -0
  4. package/dist/cjs/abi/kyc/iKYCFactory.js +122 -0
  5. package/dist/cjs/abi/kyc/iKYCUnderlying.js +401 -0
  6. package/dist/cjs/abi/kyc/iSecuritizeDegenNFT.js +326 -0
  7. package/dist/cjs/abi/kyc/iSecuritizeKYCFactory.js +319 -0
  8. package/dist/cjs/dev/AccountOpener.js +45 -5
  9. package/dist/cjs/rewards/rewards/extra-apy.js +1 -1
  10. package/dist/cjs/sdk/MultichainSDK.js +5 -0
  11. package/dist/cjs/sdk/OnchainSDK.js +55 -6
  12. package/dist/cjs/sdk/accounts/AbstractCreditAccountsService.js +335 -21
  13. package/dist/cjs/sdk/accounts/CreditAccountsServiceV310.js +7 -1
  14. package/dist/cjs/sdk/base/TokensMeta.js +22 -42
  15. package/dist/cjs/sdk/base/token-types.js +9 -0
  16. package/dist/cjs/sdk/chain/chains.js +18 -1
  17. package/dist/cjs/sdk/constants/address-provider.js +3 -0
  18. package/dist/cjs/sdk/market/MarketRegister.js +70 -116
  19. package/dist/cjs/sdk/market/MarketSuite.js +3 -0
  20. package/dist/cjs/sdk/market/index.js +2 -0
  21. package/dist/cjs/sdk/market/kyc/KYCRegistry.js +269 -0
  22. package/dist/cjs/sdk/market/kyc/index.js +26 -0
  23. package/dist/cjs/sdk/market/kyc/securitize/SecuritizeKYCFactory.js +242 -0
  24. package/dist/cjs/sdk/market/kyc/securitize/constants.js +28 -0
  25. package/dist/cjs/sdk/market/kyc/securitize/index.js +26 -0
  26. package/dist/cjs/sdk/market/kyc/securitize/types.js +16 -0
  27. package/dist/cjs/sdk/{accounts/utils.js → market/kyc/types.js} +11 -15
  28. package/dist/cjs/sdk/market/pool/PoolSuite.js +3 -0
  29. package/dist/cjs/sdk/market/pool/PoolV310Contract.js +11 -2
  30. package/dist/cjs/sdk/market/pool/index.js +2 -0
  31. package/dist/cjs/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
  32. package/dist/cjs/sdk/options.js +6 -0
  33. package/dist/cjs/sdk/pools/PoolService.js +104 -12
  34. package/dist/cjs/sdk/utils/viem/executeDelegatedMulticalls.js +38 -0
  35. package/dist/cjs/sdk/utils/viem/index.js +2 -4
  36. package/dist/esm/abi/kyc/iDSRegistryService.js +125 -0
  37. package/dist/esm/abi/kyc/iDSToken.js +47 -0
  38. package/dist/esm/abi/kyc/iKYCCompressor.js +172 -0
  39. package/dist/esm/abi/kyc/iKYCFactory.js +98 -0
  40. package/dist/esm/abi/kyc/iKYCUnderlying.js +377 -0
  41. package/dist/esm/abi/kyc/iSecuritizeDegenNFT.js +302 -0
  42. package/dist/esm/abi/kyc/iSecuritizeKYCFactory.js +295 -0
  43. package/dist/esm/dev/AccountOpener.js +47 -6
  44. package/dist/esm/rewards/rewards/extra-apy.js +1 -1
  45. package/dist/esm/sdk/MultichainSDK.js +5 -0
  46. package/dist/esm/sdk/OnchainSDK.js +58 -7
  47. package/dist/esm/sdk/accounts/AbstractCreditAccountsService.js +336 -22
  48. package/dist/esm/sdk/accounts/CreditAccountsServiceV310.js +7 -1
  49. package/dist/esm/sdk/base/TokensMeta.js +22 -44
  50. package/dist/esm/sdk/base/token-types.js +6 -0
  51. package/dist/esm/sdk/chain/chains.js +18 -1
  52. package/dist/esm/sdk/constants/address-provider.js +2 -0
  53. package/dist/esm/sdk/market/MarketRegister.js +74 -118
  54. package/dist/esm/sdk/market/MarketSuite.js +3 -0
  55. package/dist/esm/sdk/market/index.js +1 -0
  56. package/dist/esm/sdk/market/kyc/KYCRegistry.js +253 -0
  57. package/dist/esm/sdk/market/kyc/index.js +3 -0
  58. package/dist/esm/sdk/market/kyc/securitize/SecuritizeKYCFactory.js +218 -0
  59. package/dist/esm/sdk/market/kyc/securitize/constants.js +4 -0
  60. package/dist/esm/sdk/market/kyc/securitize/index.js +3 -0
  61. package/dist/esm/sdk/market/kyc/securitize/types.js +0 -0
  62. package/dist/esm/sdk/market/kyc/types.js +9 -0
  63. package/dist/esm/sdk/market/pool/PoolSuite.js +3 -0
  64. package/dist/esm/sdk/market/pool/PoolV310Contract.js +11 -2
  65. package/dist/esm/sdk/market/pool/index.js +1 -0
  66. package/dist/esm/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
  67. package/dist/esm/sdk/options.js +6 -0
  68. package/dist/esm/sdk/pools/PoolService.js +109 -13
  69. package/dist/esm/sdk/utils/viem/executeDelegatedMulticalls.js +14 -0
  70. package/dist/esm/sdk/utils/viem/index.js +1 -2
  71. package/dist/types/abi/kyc/iDSRegistryService.d.ts +191 -0
  72. package/dist/types/abi/kyc/iDSToken.d.ts +67 -0
  73. package/dist/types/abi/kyc/iKYCCompressor.d.ts +228 -0
  74. package/dist/types/abi/kyc/iKYCFactory.d.ts +139 -0
  75. package/dist/types/abi/kyc/iKYCUnderlying.d.ts +548 -0
  76. package/dist/types/abi/kyc/iSecuritizeDegenNFT.d.ts +404 -0
  77. package/dist/types/abi/kyc/iSecuritizeKYCFactory.d.ts +376 -0
  78. package/dist/types/sdk/OnchainSDK.d.ts +19 -1
  79. package/dist/types/sdk/accounts/AbstractCreditAccountsService.d.ts +59 -6
  80. package/dist/types/sdk/accounts/CreditAccountsServiceV310.d.ts +1 -1
  81. package/dist/types/sdk/accounts/types.d.ts +114 -14
  82. package/dist/types/sdk/base/TokensMeta.d.ts +14 -3
  83. package/dist/types/sdk/base/token-types.d.ts +44 -4
  84. package/dist/types/sdk/base/types.d.ts +116 -2
  85. package/dist/types/sdk/chain/chains.d.ts +5 -1
  86. package/dist/types/sdk/constants/address-provider.d.ts +1 -0
  87. package/dist/types/sdk/market/MarketRegister.d.ts +6 -9
  88. package/dist/types/sdk/market/MarketSuite.d.ts +2 -0
  89. package/dist/types/sdk/market/index.d.ts +1 -0
  90. package/dist/types/sdk/market/kyc/KYCRegistry.d.ts +52 -0
  91. package/dist/types/sdk/market/kyc/index.d.ts +3 -0
  92. package/dist/types/sdk/market/kyc/securitize/SecuritizeKYCFactory.d.ts +429 -0
  93. package/dist/types/sdk/market/kyc/securitize/constants.d.ts +1 -0
  94. package/dist/types/sdk/market/kyc/securitize/index.d.ts +3 -0
  95. package/dist/types/sdk/market/kyc/securitize/types.d.ts +136 -0
  96. package/dist/types/sdk/market/kyc/types.d.ts +171 -0
  97. package/dist/types/sdk/market/oracle/PriceOracleBaseContract.d.ts +3 -2
  98. package/dist/types/sdk/market/oracle/types.d.ts +3 -10
  99. package/dist/types/sdk/market/pool/PoolSuite.d.ts +2 -0
  100. package/dist/types/sdk/market/pool/PoolV310Contract.d.ts +6 -2
  101. package/dist/types/sdk/market/pool/index.d.ts +1 -0
  102. package/dist/types/sdk/market/pricefeeds/PriceFeedsRegister.d.ts +1 -1
  103. package/dist/types/sdk/market/types.d.ts +1 -1
  104. package/dist/types/sdk/options.d.ts +1 -0
  105. package/dist/types/sdk/pools/PoolService.d.ts +8 -8
  106. package/dist/types/sdk/pools/types.d.ts +1 -1
  107. package/dist/types/sdk/types/state-human.d.ts +2 -0
  108. package/dist/types/sdk/types/state.d.ts +5 -0
  109. package/dist/types/sdk/utils/viem/executeDelegatedMulticalls.d.ts +28 -0
  110. package/dist/types/sdk/utils/viem/index.d.ts +1 -2
  111. package/package.json +4 -4
  112. package/dist/cjs/sdk/utils/viem/getLogsPaginated.js +0 -62
  113. package/dist/cjs/sdk/utils/viem/getLogsSafe.js +0 -87
  114. package/dist/esm/sdk/accounts/utils.js +0 -14
  115. package/dist/esm/sdk/utils/viem/getLogsPaginated.js +0 -38
  116. package/dist/esm/sdk/utils/viem/getLogsSafe.js +0 -65
  117. package/dist/types/sdk/accounts/utils.d.ts +0 -2
  118. package/dist/types/sdk/utils/viem/getLogsPaginated.d.ts +0 -12
  119. package/dist/types/sdk/utils/viem/getLogsSafe.d.ts +0 -3
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var iDSRegistryService_exports = {};
20
+ __export(iDSRegistryService_exports, {
21
+ iDSRegistryServiceAbi: () => iDSRegistryServiceAbi
22
+ });
23
+ module.exports = __toCommonJS(iDSRegistryService_exports);
24
+ const iDSRegistryServiceAbi = [
25
+ {
26
+ type: "function",
27
+ name: "ACCREDITED",
28
+ inputs: [],
29
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
30
+ stateMutability: "view"
31
+ },
32
+ {
33
+ type: "function",
34
+ name: "APPROVED",
35
+ inputs: [],
36
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
37
+ stateMutability: "view"
38
+ },
39
+ {
40
+ type: "function",
41
+ name: "KYC_APPROVED",
42
+ inputs: [],
43
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
44
+ stateMutability: "view"
45
+ },
46
+ {
47
+ type: "function",
48
+ name: "NONE",
49
+ inputs: [],
50
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
51
+ stateMutability: "view"
52
+ },
53
+ {
54
+ type: "function",
55
+ name: "PENDING",
56
+ inputs: [],
57
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
58
+ stateMutability: "view"
59
+ },
60
+ {
61
+ type: "function",
62
+ name: "PROFESSIONAL",
63
+ inputs: [],
64
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
65
+ stateMutability: "view"
66
+ },
67
+ {
68
+ type: "function",
69
+ name: "QUALIFIED",
70
+ inputs: [],
71
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
72
+ stateMutability: "view"
73
+ },
74
+ {
75
+ type: "function",
76
+ name: "REJECTED",
77
+ inputs: [],
78
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
79
+ stateMutability: "view"
80
+ },
81
+ {
82
+ type: "function",
83
+ name: "addWallet",
84
+ inputs: [
85
+ { name: "wallet", type: "address", internalType: "address" },
86
+ { name: "investorId", type: "string", internalType: "string" }
87
+ ],
88
+ outputs: [],
89
+ stateMutability: "nonpayable"
90
+ },
91
+ {
92
+ type: "function",
93
+ name: "getInvestor",
94
+ inputs: [{ name: "wallet", type: "address", internalType: "address" }],
95
+ outputs: [{ name: "", type: "string", internalType: "string" }],
96
+ stateMutability: "view"
97
+ },
98
+ {
99
+ type: "function",
100
+ name: "isInvestor",
101
+ inputs: [{ name: "investorId", type: "string", internalType: "string" }],
102
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
103
+ stateMutability: "view"
104
+ },
105
+ {
106
+ type: "function",
107
+ name: "isWallet",
108
+ inputs: [{ name: "wallet", type: "address", internalType: "address" }],
109
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
110
+ stateMutability: "view"
111
+ },
112
+ {
113
+ type: "function",
114
+ name: "registerInvestor",
115
+ inputs: [
116
+ { name: "investorId", type: "string", internalType: "string" },
117
+ { name: "collisionHash", type: "string", internalType: "string" }
118
+ ],
119
+ outputs: [],
120
+ stateMutability: "nonpayable"
121
+ },
122
+ {
123
+ type: "function",
124
+ name: "setAttribute",
125
+ inputs: [
126
+ { name: "investorId", type: "string", internalType: "string" },
127
+ { name: "attributeId", type: "uint8", internalType: "uint8" },
128
+ { name: "value", type: "uint256", internalType: "uint256" },
129
+ { name: "expiry", type: "uint256", internalType: "uint256" },
130
+ { name: "proof", type: "string", internalType: "string" }
131
+ ],
132
+ outputs: [],
133
+ stateMutability: "nonpayable"
134
+ },
135
+ {
136
+ type: "function",
137
+ name: "setCountry",
138
+ inputs: [
139
+ { name: "investorId", type: "string", internalType: "string" },
140
+ { name: "country", type: "string", internalType: "string" }
141
+ ],
142
+ outputs: [],
143
+ stateMutability: "nonpayable"
144
+ }
145
+ ];
146
+ // Annotate the CommonJS export names for ESM import in node:
147
+ 0 && (module.exports = {
148
+ iDSRegistryServiceAbi
149
+ });
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var iDSToken_exports = {};
20
+ __export(iDSToken_exports, {
21
+ iDSTokenAbi: () => iDSTokenAbi
22
+ });
23
+ module.exports = __toCommonJS(iDSToken_exports);
24
+ const iDSTokenAbi = [
25
+ {
26
+ type: "function",
27
+ name: "REGISTRY_SERVICE",
28
+ inputs: [],
29
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
30
+ stateMutability: "view"
31
+ },
32
+ {
33
+ type: "function",
34
+ name: "TRUST_SERVICE",
35
+ inputs: [],
36
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
37
+ stateMutability: "view"
38
+ },
39
+ {
40
+ type: "function",
41
+ name: "burn",
42
+ inputs: [
43
+ { name: "from", type: "address", internalType: "address" },
44
+ { name: "amount", type: "uint256", internalType: "uint256" },
45
+ { name: "reason", type: "string", internalType: "string" }
46
+ ],
47
+ outputs: [],
48
+ stateMutability: "nonpayable"
49
+ },
50
+ {
51
+ type: "function",
52
+ name: "getDSService",
53
+ inputs: [{ name: "serviceId", type: "uint256", internalType: "uint256" }],
54
+ outputs: [{ name: "", type: "address", internalType: "address" }],
55
+ stateMutability: "view"
56
+ },
57
+ {
58
+ type: "function",
59
+ name: "issueTokens",
60
+ inputs: [
61
+ { name: "to", type: "address", internalType: "address" },
62
+ { name: "amount", type: "uint256", internalType: "uint256" }
63
+ ],
64
+ outputs: [],
65
+ stateMutability: "nonpayable"
66
+ }
67
+ ];
68
+ // Annotate the CommonJS export names for ESM import in node:
69
+ 0 && (module.exports = {
70
+ iDSTokenAbi
71
+ });
@@ -0,0 +1,196 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var iKYCCompressor_exports = {};
20
+ __export(iKYCCompressor_exports, {
21
+ iKYCCompressorAbi: () => iKYCCompressorAbi
22
+ });
23
+ module.exports = __toCommonJS(iKYCCompressor_exports);
24
+ const iKYCCompressorAbi = [
25
+ {
26
+ type: "function",
27
+ name: "contractType",
28
+ inputs: [],
29
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
30
+ stateMutability: "view"
31
+ },
32
+ {
33
+ type: "function",
34
+ name: "getKYCInvestorData",
35
+ inputs: [
36
+ { name: "investor", type: "address", internalType: "address" },
37
+ { name: "factories", type: "address[]", internalType: "address[]" }
38
+ ],
39
+ outputs: [
40
+ {
41
+ name: "",
42
+ type: "tuple[]",
43
+ internalType: "struct IKYCCompressor.KYCInvestorData[]",
44
+ components: [
45
+ {
46
+ name: "creditAccounts",
47
+ type: "tuple[]",
48
+ internalType: "struct IKYCCompressor.KYCCreditAccountData[]",
49
+ components: [
50
+ {
51
+ name: "creditAccount",
52
+ type: "address",
53
+ internalType: "address"
54
+ },
55
+ { name: "wallet", type: "address", internalType: "address" },
56
+ { name: "frozen", type: "bool", internalType: "bool" },
57
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
58
+ ]
59
+ },
60
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
61
+ ]
62
+ }
63
+ ],
64
+ stateMutability: "view"
65
+ },
66
+ {
67
+ type: "function",
68
+ name: "getKYCMarketsData",
69
+ inputs: [
70
+ { name: "configurators", type: "address[]", internalType: "address[]" },
71
+ { name: "factories", type: "address[]", internalType: "address[]" }
72
+ ],
73
+ outputs: [
74
+ {
75
+ name: "",
76
+ type: "tuple[]",
77
+ internalType: "struct IKYCCompressor.KYCUnderlyingData[]",
78
+ components: [
79
+ {
80
+ name: "baseParams",
81
+ type: "tuple",
82
+ internalType: "struct BaseParams",
83
+ components: [
84
+ { name: "addr", type: "address", internalType: "address" },
85
+ { name: "version", type: "uint256", internalType: "uint256" },
86
+ {
87
+ name: "contractType",
88
+ type: "bytes32",
89
+ internalType: "bytes32"
90
+ },
91
+ {
92
+ name: "serializedParams",
93
+ type: "bytes",
94
+ internalType: "bytes"
95
+ }
96
+ ]
97
+ },
98
+ { name: "asset", type: "address", internalType: "address" },
99
+ { name: "factory", type: "address", internalType: "address" },
100
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
101
+ ]
102
+ },
103
+ {
104
+ name: "",
105
+ type: "tuple[]",
106
+ internalType: "struct IKYCCompressor.KYCFactoryData[]",
107
+ components: [
108
+ {
109
+ name: "baseParams",
110
+ type: "tuple",
111
+ internalType: "struct BaseParams",
112
+ components: [
113
+ { name: "addr", type: "address", internalType: "address" },
114
+ { name: "version", type: "uint256", internalType: "uint256" },
115
+ {
116
+ name: "contractType",
117
+ type: "bytes32",
118
+ internalType: "bytes32"
119
+ },
120
+ {
121
+ name: "serializedParams",
122
+ type: "bytes",
123
+ internalType: "bytes"
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ name: "tokens",
129
+ type: "tuple[]",
130
+ internalType: "struct TokenData[]",
131
+ components: [
132
+ { name: "addr", type: "address", internalType: "address" },
133
+ { name: "symbol", type: "string", internalType: "string" },
134
+ { name: "name", type: "string", internalType: "string" },
135
+ { name: "decimals", type: "uint8", internalType: "uint8" }
136
+ ]
137
+ },
138
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
139
+ ]
140
+ }
141
+ ],
142
+ stateMutability: "view"
143
+ },
144
+ {
145
+ type: "function",
146
+ name: "setSubcompressor",
147
+ inputs: [
148
+ { name: "subcompressor", type: "address", internalType: "address" }
149
+ ],
150
+ outputs: [],
151
+ stateMutability: "nonpayable"
152
+ },
153
+ {
154
+ type: "function",
155
+ name: "subcompressors",
156
+ inputs: [
157
+ { name: "domain", type: "bytes32", internalType: "bytes32" },
158
+ { name: "postfix", type: "bytes32", internalType: "bytes32" }
159
+ ],
160
+ outputs: [{ name: "", type: "address", internalType: "address" }],
161
+ stateMutability: "view"
162
+ },
163
+ {
164
+ type: "function",
165
+ name: "version",
166
+ inputs: [],
167
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
168
+ stateMutability: "view"
169
+ },
170
+ {
171
+ type: "error",
172
+ name: "CallerIsNotInstanceOwnerException",
173
+ inputs: [{ name: "caller", type: "address", internalType: "address" }]
174
+ },
175
+ {
176
+ type: "error",
177
+ name: "InvalidDomainException",
178
+ inputs: [{ name: "domain", type: "bytes32", internalType: "bytes32" }]
179
+ },
180
+ {
181
+ type: "error",
182
+ name: "InvalidKYCFactoryException",
183
+ inputs: [{ name: "factory", type: "address", internalType: "address" }]
184
+ },
185
+ {
186
+ type: "error",
187
+ name: "InvalidMarketConfiguratorException",
188
+ inputs: [
189
+ { name: "marketConfigurator", type: "address", internalType: "address" }
190
+ ]
191
+ }
192
+ ];
193
+ // Annotate the CommonJS export names for ESM import in node:
194
+ 0 && (module.exports = {
195
+ iKYCCompressorAbi
196
+ });
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var iKYCFactory_exports = {};
20
+ __export(iKYCFactory_exports, {
21
+ iKYCFactoryAbi: () => iKYCFactoryAbi
22
+ });
23
+ module.exports = __toCommonJS(iKYCFactory_exports);
24
+ const iKYCFactoryAbi = [
25
+ {
26
+ type: "function",
27
+ name: "contractType",
28
+ inputs: [],
29
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
30
+ stateMutability: "view"
31
+ },
32
+ {
33
+ type: "function",
34
+ name: "getCreditAccounts",
35
+ inputs: [{ name: "investor", type: "address", internalType: "address" }],
36
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
37
+ stateMutability: "view"
38
+ },
39
+ {
40
+ type: "function",
41
+ name: "getInvestor",
42
+ inputs: [
43
+ { name: "creditAccount", type: "address", internalType: "address" }
44
+ ],
45
+ outputs: [{ name: "", type: "address", internalType: "address" }],
46
+ stateMutability: "view"
47
+ },
48
+ {
49
+ type: "function",
50
+ name: "getTokens",
51
+ inputs: [],
52
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
53
+ stateMutability: "view"
54
+ },
55
+ {
56
+ type: "function",
57
+ name: "getWallet",
58
+ inputs: [
59
+ { name: "creditAccount", type: "address", internalType: "address" }
60
+ ],
61
+ outputs: [{ name: "", type: "address", internalType: "address" }],
62
+ stateMutability: "view"
63
+ },
64
+ {
65
+ type: "function",
66
+ name: "isCreditAccount",
67
+ inputs: [
68
+ { name: "creditAccount", type: "address", internalType: "address" }
69
+ ],
70
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
71
+ stateMutability: "view"
72
+ },
73
+ {
74
+ type: "function",
75
+ name: "isFrozen",
76
+ inputs: [
77
+ { name: "creditAccount", type: "address", internalType: "address" }
78
+ ],
79
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
80
+ stateMutability: "view"
81
+ },
82
+ {
83
+ type: "function",
84
+ name: "serialize",
85
+ inputs: [],
86
+ outputs: [{ name: "serializedData", type: "bytes", internalType: "bytes" }],
87
+ stateMutability: "view"
88
+ },
89
+ {
90
+ type: "function",
91
+ name: "version",
92
+ inputs: [],
93
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
94
+ stateMutability: "view"
95
+ },
96
+ {
97
+ type: "error",
98
+ name: "CallerIsNotInvestorException",
99
+ inputs: [
100
+ { name: "caller", type: "address", internalType: "address" },
101
+ { name: "creditAccount", type: "address", internalType: "address" }
102
+ ]
103
+ },
104
+ {
105
+ type: "error",
106
+ name: "FrozenCreditAccountException",
107
+ inputs: [
108
+ { name: "creditAccount", type: "address", internalType: "address" }
109
+ ]
110
+ },
111
+ {
112
+ type: "error",
113
+ name: "UnknownCreditAccountException",
114
+ inputs: [
115
+ { name: "creditAccount", type: "address", internalType: "address" }
116
+ ]
117
+ }
118
+ ];
119
+ // Annotate the CommonJS export names for ESM import in node:
120
+ 0 && (module.exports = {
121
+ iKYCFactoryAbi
122
+ });