@virtuals-protocol/acp-node-v2 0.1.1 → 0.1.3
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/README.md +9 -20
- package/dist/acpAgent.d.ts +64 -4
- package/dist/acpAgent.d.ts.map +1 -1
- package/dist/acpAgent.js +207 -15
- package/dist/acpAgent.js.map +1 -1
- package/dist/acpJob.d.ts +4 -2
- package/dist/acpJob.d.ts.map +1 -1
- package/dist/acpJob.js +5 -3
- package/dist/acpJob.js.map +1 -1
- package/dist/clients/evmAcpClient.d.ts +2 -1
- package/dist/clients/evmAcpClient.d.ts.map +1 -1
- package/dist/clients/evmAcpClient.js +19 -2
- package/dist/clients/evmAcpClient.js.map +1 -1
- package/dist/core/agentAuth.d.ts +22 -0
- package/dist/core/agentAuth.d.ts.map +1 -0
- package/dist/core/agentAuth.js +27 -0
- package/dist/core/agentAuth.js.map +1 -0
- package/dist/core/approvalGate.d.ts +28 -0
- package/dist/core/approvalGate.d.ts.map +1 -0
- package/dist/core/approvalGate.js +63 -0
- package/dist/core/approvalGate.js.map +1 -0
- package/dist/core/chains.d.ts +1 -0
- package/dist/core/chains.d.ts.map +1 -1
- package/dist/core/chains.js +12 -1
- package/dist/core/chains.js.map +1 -1
- package/dist/core/constants.d.ts +12 -0
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +27 -2
- package/dist/core/constants.js.map +1 -1
- package/dist/core/hookEncoding.d.ts +10 -0
- package/dist/core/hookEncoding.d.ts.map +1 -0
- package/dist/core/hookEncoding.js +34 -0
- package/dist/core/hookEncoding.js.map +1 -0
- package/dist/core/multiHookRouterAbi.d.ts +465 -0
- package/dist/core/multiHookRouterAbi.d.ts.map +1 -0
- package/dist/core/multiHookRouterAbi.js +326 -0
- package/dist/core/multiHookRouterAbi.js.map +1 -0
- package/dist/core/operations.d.ts +6 -0
- package/dist/core/operations.d.ts.map +1 -1
- package/dist/core/subscriptionHookAbi.d.ts +239 -0
- package/dist/core/subscriptionHookAbi.d.ts.map +1 -0
- package/dist/core/subscriptionHookAbi.js +199 -0
- package/dist/core/subscriptionHookAbi.js.map +1 -0
- package/dist/core/subscriptionStateAbi.d.ts +256 -0
- package/dist/core/subscriptionStateAbi.d.ts.map +1 -0
- package/dist/core/subscriptionStateAbi.js +176 -0
- package/dist/core/subscriptionStateAbi.js.map +1 -0
- package/dist/events/acpHttpClient.d.ts.map +1 -1
- package/dist/events/acpHttpClient.js +12 -3
- package/dist/events/acpHttpClient.js.map +1 -1
- package/dist/events/sseTransport.d.ts +11 -4
- package/dist/events/sseTransport.d.ts.map +1 -1
- package/dist/events/sseTransport.js +104 -44
- package/dist/events/sseTransport.js.map +1 -1
- package/dist/events/types.d.ts +17 -5
- package/dist/events/types.d.ts.map +1 -1
- package/dist/events/types.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/jobSession.d.ts +4 -1
- package/dist/jobSession.d.ts.map +1 -1
- package/dist/jobSession.js +126 -10
- package/dist/jobSession.js.map +1 -1
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.d.ts +12 -2
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.d.ts.map +1 -1
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.js +264 -60
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.js.map +1 -1
- package/dist/providers/evm/types.d.ts +24 -0
- package/dist/providers/evm/types.d.ts.map +1 -0
- package/dist/providers/evm/types.js +2 -0
- package/dist/providers/evm/types.js.map +1 -0
- package/dist/providers/providerAuthClient.d.ts +2 -2
- package/dist/providers/providerAuthClient.d.ts.map +1 -1
- package/dist/providers/providerAuthClient.js +10 -4
- package/dist/providers/providerAuthClient.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
export const SUBSCRIPTION_HOOK_ABI = [
|
|
2
|
+
{
|
|
3
|
+
inputs: [
|
|
4
|
+
{ internalType: "address", name: "coreAddress", type: "address" },
|
|
5
|
+
{
|
|
6
|
+
internalType: "address",
|
|
7
|
+
name: "subscriptionState_",
|
|
8
|
+
type: "address",
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
stateMutability: "nonpayable",
|
|
12
|
+
type: "constructor",
|
|
13
|
+
},
|
|
14
|
+
{ inputs: [], name: "OnlyACPContract", type: "error" },
|
|
15
|
+
{ inputs: [], name: "TermsMismatch", type: "error" },
|
|
16
|
+
{ inputs: [], name: "TermsNotProposed", type: "error" },
|
|
17
|
+
{
|
|
18
|
+
anonymous: false,
|
|
19
|
+
inputs: [
|
|
20
|
+
{
|
|
21
|
+
indexed: true,
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
name: "jobId",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
indexed: true,
|
|
28
|
+
internalType: "uint256",
|
|
29
|
+
name: "packageId",
|
|
30
|
+
type: "uint256",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
indexed: true,
|
|
34
|
+
internalType: "address",
|
|
35
|
+
name: "client",
|
|
36
|
+
type: "address",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
indexed: false,
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "provider",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
indexed: false,
|
|
46
|
+
internalType: "uint256",
|
|
47
|
+
name: "duration",
|
|
48
|
+
type: "uint256",
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
name: "SubscriptionActivated",
|
|
52
|
+
type: "event",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
anonymous: false,
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
indexed: true,
|
|
59
|
+
internalType: "uint256",
|
|
60
|
+
name: "jobId",
|
|
61
|
+
type: "uint256",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
indexed: true,
|
|
65
|
+
internalType: "uint256",
|
|
66
|
+
name: "packageId",
|
|
67
|
+
type: "uint256",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
indexed: false,
|
|
71
|
+
internalType: "uint256",
|
|
72
|
+
name: "duration",
|
|
73
|
+
type: "uint256",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
name: "SubscriptionTermsProposed",
|
|
77
|
+
type: "event",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
anonymous: false,
|
|
81
|
+
inputs: [
|
|
82
|
+
{
|
|
83
|
+
indexed: true,
|
|
84
|
+
internalType: "uint256",
|
|
85
|
+
name: "jobId",
|
|
86
|
+
type: "uint256",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
indexed: true,
|
|
90
|
+
internalType: "uint256",
|
|
91
|
+
name: "packageId",
|
|
92
|
+
type: "uint256",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
indexed: false,
|
|
96
|
+
internalType: "uint256",
|
|
97
|
+
name: "currentExpiry",
|
|
98
|
+
type: "uint256",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "SubscriptionTermsSkipped",
|
|
102
|
+
type: "event",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
inputs: [],
|
|
106
|
+
name: "acpContract",
|
|
107
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
108
|
+
stateMutability: "view",
|
|
109
|
+
type: "function",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [
|
|
113
|
+
{ internalType: "uint256", name: "jobId", type: "uint256" },
|
|
114
|
+
{ internalType: "bytes4", name: "selector", type: "bytes4" },
|
|
115
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
|
116
|
+
],
|
|
117
|
+
name: "afterAction",
|
|
118
|
+
outputs: [],
|
|
119
|
+
stateMutability: "nonpayable",
|
|
120
|
+
type: "function",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
inputs: [
|
|
124
|
+
{ internalType: "uint256", name: "jobId", type: "uint256" },
|
|
125
|
+
{ internalType: "bytes4", name: "selector", type: "bytes4" },
|
|
126
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
|
127
|
+
],
|
|
128
|
+
name: "beforeAction",
|
|
129
|
+
outputs: [],
|
|
130
|
+
stateMutability: "nonpayable",
|
|
131
|
+
type: "function",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
inputs: [{ internalType: "uint256", name: "jobId", type: "uint256" }],
|
|
135
|
+
name: "getProposedTerms",
|
|
136
|
+
outputs: [
|
|
137
|
+
{
|
|
138
|
+
components: [
|
|
139
|
+
{ internalType: "uint256", name: "duration", type: "uint256" },
|
|
140
|
+
{ internalType: "uint256", name: "packageId", type: "uint256" },
|
|
141
|
+
],
|
|
142
|
+
internalType: "struct SubscriptionHook.SubscriptionTerms",
|
|
143
|
+
name: "",
|
|
144
|
+
type: "tuple",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
stateMutability: "view",
|
|
148
|
+
type: "function",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
inputs: [
|
|
152
|
+
{ internalType: "address", name: "client", type: "address" },
|
|
153
|
+
{ internalType: "address", name: "provider", type: "address" },
|
|
154
|
+
{ internalType: "uint256", name: "packageId", type: "uint256" },
|
|
155
|
+
],
|
|
156
|
+
name: "getSubscriptionExpiry",
|
|
157
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
158
|
+
stateMutability: "view",
|
|
159
|
+
type: "function",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [{ internalType: "uint256", name: "jobId", type: "uint256" }],
|
|
163
|
+
name: "proposedTerms",
|
|
164
|
+
outputs: [
|
|
165
|
+
{ internalType: "uint256", name: "duration", type: "uint256" },
|
|
166
|
+
{ internalType: "uint256", name: "packageId", type: "uint256" },
|
|
167
|
+
],
|
|
168
|
+
stateMutability: "view",
|
|
169
|
+
type: "function",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [],
|
|
173
|
+
name: "requiredSelectors",
|
|
174
|
+
outputs: [{ internalType: "bytes4[]", name: "", type: "bytes4[]" }],
|
|
175
|
+
stateMutability: "pure",
|
|
176
|
+
type: "function",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
inputs: [],
|
|
180
|
+
name: "subscriptionState",
|
|
181
|
+
outputs: [
|
|
182
|
+
{
|
|
183
|
+
internalType: "contract SubscriptionState",
|
|
184
|
+
name: "",
|
|
185
|
+
type: "address",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
stateMutability: "view",
|
|
189
|
+
type: "function",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
|
|
193
|
+
name: "supportsInterface",
|
|
194
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
195
|
+
stateMutability: "view",
|
|
196
|
+
type: "function",
|
|
197
|
+
},
|
|
198
|
+
];
|
|
199
|
+
//# sourceMappingURL=subscriptionHookAbi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionHookAbi.js","sourceRoot":"","sources":["../../src/core/subscriptionHookAbi.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC;QACE,MAAM,EAAE;YACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE;YACjE;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,oBAAoB;gBAC1B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EA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AE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACrE,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;YAC9D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;SAChE;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;QACnE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,4BAA4B;gBAC1C,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QACzE,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;QAC3D,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC"}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
export declare const SUBSCRIPTION_STATE_ABI: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "admin_";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}];
|
|
7
|
+
readonly stateMutability: "nonpayable";
|
|
8
|
+
readonly type: "constructor";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [];
|
|
11
|
+
readonly name: "AccessControlBadConfirmation";
|
|
12
|
+
readonly type: "error";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly internalType: "address";
|
|
16
|
+
readonly name: "account";
|
|
17
|
+
readonly type: "address";
|
|
18
|
+
}, {
|
|
19
|
+
readonly internalType: "bytes32";
|
|
20
|
+
readonly name: "neededRole";
|
|
21
|
+
readonly type: "bytes32";
|
|
22
|
+
}];
|
|
23
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "SubscriptionNotExtended";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly anonymous: false;
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly indexed: true;
|
|
33
|
+
readonly internalType: "bytes32";
|
|
34
|
+
readonly name: "role";
|
|
35
|
+
readonly type: "bytes32";
|
|
36
|
+
}, {
|
|
37
|
+
readonly indexed: true;
|
|
38
|
+
readonly internalType: "bytes32";
|
|
39
|
+
readonly name: "previousAdminRole";
|
|
40
|
+
readonly type: "bytes32";
|
|
41
|
+
}, {
|
|
42
|
+
readonly indexed: true;
|
|
43
|
+
readonly internalType: "bytes32";
|
|
44
|
+
readonly name: "newAdminRole";
|
|
45
|
+
readonly type: "bytes32";
|
|
46
|
+
}];
|
|
47
|
+
readonly name: "RoleAdminChanged";
|
|
48
|
+
readonly type: "event";
|
|
49
|
+
}, {
|
|
50
|
+
readonly anonymous: false;
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly indexed: true;
|
|
53
|
+
readonly internalType: "bytes32";
|
|
54
|
+
readonly name: "role";
|
|
55
|
+
readonly type: "bytes32";
|
|
56
|
+
}, {
|
|
57
|
+
readonly indexed: true;
|
|
58
|
+
readonly internalType: "address";
|
|
59
|
+
readonly name: "account";
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
}, {
|
|
62
|
+
readonly indexed: true;
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
readonly name: "sender";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "RoleGranted";
|
|
68
|
+
readonly type: "event";
|
|
69
|
+
}, {
|
|
70
|
+
readonly anonymous: false;
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly indexed: true;
|
|
73
|
+
readonly internalType: "bytes32";
|
|
74
|
+
readonly name: "role";
|
|
75
|
+
readonly type: "bytes32";
|
|
76
|
+
}, {
|
|
77
|
+
readonly indexed: true;
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
readonly name: "account";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}, {
|
|
82
|
+
readonly indexed: true;
|
|
83
|
+
readonly internalType: "address";
|
|
84
|
+
readonly name: "sender";
|
|
85
|
+
readonly type: "address";
|
|
86
|
+
}];
|
|
87
|
+
readonly name: "RoleRevoked";
|
|
88
|
+
readonly type: "event";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
92
|
+
readonly outputs: readonly [{
|
|
93
|
+
readonly internalType: "bytes32";
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "bytes32";
|
|
96
|
+
}];
|
|
97
|
+
readonly stateMutability: "view";
|
|
98
|
+
readonly type: "function";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [];
|
|
101
|
+
readonly name: "WRITER_ROLE";
|
|
102
|
+
readonly outputs: readonly [{
|
|
103
|
+
readonly internalType: "bytes32";
|
|
104
|
+
readonly name: "";
|
|
105
|
+
readonly type: "bytes32";
|
|
106
|
+
}];
|
|
107
|
+
readonly stateMutability: "view";
|
|
108
|
+
readonly type: "function";
|
|
109
|
+
}, {
|
|
110
|
+
readonly inputs: readonly [{
|
|
111
|
+
readonly internalType: "address";
|
|
112
|
+
readonly name: "client";
|
|
113
|
+
readonly type: "address";
|
|
114
|
+
}, {
|
|
115
|
+
readonly internalType: "address";
|
|
116
|
+
readonly name: "provider";
|
|
117
|
+
readonly type: "address";
|
|
118
|
+
}, {
|
|
119
|
+
readonly internalType: "uint256";
|
|
120
|
+
readonly name: "packageId";
|
|
121
|
+
readonly type: "uint256";
|
|
122
|
+
}, {
|
|
123
|
+
readonly internalType: "uint256";
|
|
124
|
+
readonly name: "expiry";
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
}];
|
|
127
|
+
readonly name: "activateSubscription";
|
|
128
|
+
readonly outputs: readonly [];
|
|
129
|
+
readonly stateMutability: "nonpayable";
|
|
130
|
+
readonly type: "function";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [{
|
|
133
|
+
readonly internalType: "bytes32";
|
|
134
|
+
readonly name: "role";
|
|
135
|
+
readonly type: "bytes32";
|
|
136
|
+
}];
|
|
137
|
+
readonly name: "getRoleAdmin";
|
|
138
|
+
readonly outputs: readonly [{
|
|
139
|
+
readonly internalType: "bytes32";
|
|
140
|
+
readonly name: "";
|
|
141
|
+
readonly type: "bytes32";
|
|
142
|
+
}];
|
|
143
|
+
readonly stateMutability: "view";
|
|
144
|
+
readonly type: "function";
|
|
145
|
+
}, {
|
|
146
|
+
readonly inputs: readonly [{
|
|
147
|
+
readonly internalType: "address";
|
|
148
|
+
readonly name: "client";
|
|
149
|
+
readonly type: "address";
|
|
150
|
+
}, {
|
|
151
|
+
readonly internalType: "address";
|
|
152
|
+
readonly name: "provider";
|
|
153
|
+
readonly type: "address";
|
|
154
|
+
}, {
|
|
155
|
+
readonly internalType: "uint256";
|
|
156
|
+
readonly name: "packageId";
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
}];
|
|
159
|
+
readonly name: "getSubscriptionExpiry";
|
|
160
|
+
readonly outputs: readonly [{
|
|
161
|
+
readonly internalType: "uint256";
|
|
162
|
+
readonly name: "";
|
|
163
|
+
readonly type: "uint256";
|
|
164
|
+
}];
|
|
165
|
+
readonly stateMutability: "view";
|
|
166
|
+
readonly type: "function";
|
|
167
|
+
}, {
|
|
168
|
+
readonly inputs: readonly [{
|
|
169
|
+
readonly internalType: "bytes32";
|
|
170
|
+
readonly name: "role";
|
|
171
|
+
readonly type: "bytes32";
|
|
172
|
+
}, {
|
|
173
|
+
readonly internalType: "address";
|
|
174
|
+
readonly name: "account";
|
|
175
|
+
readonly type: "address";
|
|
176
|
+
}];
|
|
177
|
+
readonly name: "grantRole";
|
|
178
|
+
readonly outputs: readonly [];
|
|
179
|
+
readonly stateMutability: "nonpayable";
|
|
180
|
+
readonly type: "function";
|
|
181
|
+
}, {
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly internalType: "bytes32";
|
|
184
|
+
readonly name: "role";
|
|
185
|
+
readonly type: "bytes32";
|
|
186
|
+
}, {
|
|
187
|
+
readonly internalType: "address";
|
|
188
|
+
readonly name: "account";
|
|
189
|
+
readonly type: "address";
|
|
190
|
+
}];
|
|
191
|
+
readonly name: "hasRole";
|
|
192
|
+
readonly outputs: readonly [{
|
|
193
|
+
readonly internalType: "bool";
|
|
194
|
+
readonly name: "";
|
|
195
|
+
readonly type: "bool";
|
|
196
|
+
}];
|
|
197
|
+
readonly stateMutability: "view";
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [{
|
|
201
|
+
readonly internalType: "bytes32";
|
|
202
|
+
readonly name: "role";
|
|
203
|
+
readonly type: "bytes32";
|
|
204
|
+
}, {
|
|
205
|
+
readonly internalType: "address";
|
|
206
|
+
readonly name: "callerConfirmation";
|
|
207
|
+
readonly type: "address";
|
|
208
|
+
}];
|
|
209
|
+
readonly name: "renounceRole";
|
|
210
|
+
readonly outputs: readonly [];
|
|
211
|
+
readonly stateMutability: "nonpayable";
|
|
212
|
+
readonly type: "function";
|
|
213
|
+
}, {
|
|
214
|
+
readonly inputs: readonly [{
|
|
215
|
+
readonly internalType: "bytes32";
|
|
216
|
+
readonly name: "role";
|
|
217
|
+
readonly type: "bytes32";
|
|
218
|
+
}, {
|
|
219
|
+
readonly internalType: "address";
|
|
220
|
+
readonly name: "account";
|
|
221
|
+
readonly type: "address";
|
|
222
|
+
}];
|
|
223
|
+
readonly name: "revokeRole";
|
|
224
|
+
readonly outputs: readonly [];
|
|
225
|
+
readonly stateMutability: "nonpayable";
|
|
226
|
+
readonly type: "function";
|
|
227
|
+
}, {
|
|
228
|
+
readonly inputs: readonly [{
|
|
229
|
+
readonly internalType: "bytes32";
|
|
230
|
+
readonly name: "subId";
|
|
231
|
+
readonly type: "bytes32";
|
|
232
|
+
}];
|
|
233
|
+
readonly name: "subscriptionExpiry";
|
|
234
|
+
readonly outputs: readonly [{
|
|
235
|
+
readonly internalType: "uint256";
|
|
236
|
+
readonly name: "expiry";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
}];
|
|
239
|
+
readonly stateMutability: "view";
|
|
240
|
+
readonly type: "function";
|
|
241
|
+
}, {
|
|
242
|
+
readonly inputs: readonly [{
|
|
243
|
+
readonly internalType: "bytes4";
|
|
244
|
+
readonly name: "interfaceId";
|
|
245
|
+
readonly type: "bytes4";
|
|
246
|
+
}];
|
|
247
|
+
readonly name: "supportsInterface";
|
|
248
|
+
readonly outputs: readonly [{
|
|
249
|
+
readonly internalType: "bool";
|
|
250
|
+
readonly name: "";
|
|
251
|
+
readonly type: "bool";
|
|
252
|
+
}];
|
|
253
|
+
readonly stateMutability: "view";
|
|
254
|
+
readonly type: "function";
|
|
255
|
+
}];
|
|
256
|
+
//# sourceMappingURL=subscriptionStateAbi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionStateAbi.d.ts","sourceRoot":"","sources":["../../src/core/subscriptionStateAbi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8KzB,CAAC"}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
export const SUBSCRIPTION_STATE_ABI = [
|
|
2
|
+
{
|
|
3
|
+
inputs: [{ internalType: "address", name: "admin_", type: "address" }],
|
|
4
|
+
stateMutability: "nonpayable",
|
|
5
|
+
type: "constructor",
|
|
6
|
+
},
|
|
7
|
+
{ inputs: [], name: "AccessControlBadConfirmation", type: "error" },
|
|
8
|
+
{
|
|
9
|
+
inputs: [
|
|
10
|
+
{ internalType: "address", name: "account", type: "address" },
|
|
11
|
+
{ internalType: "bytes32", name: "neededRole", type: "bytes32" },
|
|
12
|
+
],
|
|
13
|
+
name: "AccessControlUnauthorizedAccount",
|
|
14
|
+
type: "error",
|
|
15
|
+
},
|
|
16
|
+
{ inputs: [], name: "SubscriptionNotExtended", type: "error" },
|
|
17
|
+
{
|
|
18
|
+
anonymous: false,
|
|
19
|
+
inputs: [
|
|
20
|
+
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
21
|
+
{
|
|
22
|
+
indexed: true,
|
|
23
|
+
internalType: "bytes32",
|
|
24
|
+
name: "previousAdminRole",
|
|
25
|
+
type: "bytes32",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
indexed: true,
|
|
29
|
+
internalType: "bytes32",
|
|
30
|
+
name: "newAdminRole",
|
|
31
|
+
type: "bytes32",
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
name: "RoleAdminChanged",
|
|
35
|
+
type: "event",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
anonymous: false,
|
|
39
|
+
inputs: [
|
|
40
|
+
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
41
|
+
{
|
|
42
|
+
indexed: true,
|
|
43
|
+
internalType: "address",
|
|
44
|
+
name: "account",
|
|
45
|
+
type: "address",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
indexed: true,
|
|
49
|
+
internalType: "address",
|
|
50
|
+
name: "sender",
|
|
51
|
+
type: "address",
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
name: "RoleGranted",
|
|
55
|
+
type: "event",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
anonymous: false,
|
|
59
|
+
inputs: [
|
|
60
|
+
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
61
|
+
{
|
|
62
|
+
indexed: true,
|
|
63
|
+
internalType: "address",
|
|
64
|
+
name: "account",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
indexed: true,
|
|
69
|
+
internalType: "address",
|
|
70
|
+
name: "sender",
|
|
71
|
+
type: "address",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
name: "RoleRevoked",
|
|
75
|
+
type: "event",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
inputs: [],
|
|
79
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
80
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
81
|
+
stateMutability: "view",
|
|
82
|
+
type: "function",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
inputs: [],
|
|
86
|
+
name: "WRITER_ROLE",
|
|
87
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
88
|
+
stateMutability: "view",
|
|
89
|
+
type: "function",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [
|
|
93
|
+
{ internalType: "address", name: "client", type: "address" },
|
|
94
|
+
{ internalType: "address", name: "provider", type: "address" },
|
|
95
|
+
{ internalType: "uint256", name: "packageId", type: "uint256" },
|
|
96
|
+
{ internalType: "uint256", name: "expiry", type: "uint256" },
|
|
97
|
+
],
|
|
98
|
+
name: "activateSubscription",
|
|
99
|
+
outputs: [],
|
|
100
|
+
stateMutability: "nonpayable",
|
|
101
|
+
type: "function",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }],
|
|
105
|
+
name: "getRoleAdmin",
|
|
106
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
107
|
+
stateMutability: "view",
|
|
108
|
+
type: "function",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
inputs: [
|
|
112
|
+
{ internalType: "address", name: "client", type: "address" },
|
|
113
|
+
{ internalType: "address", name: "provider", type: "address" },
|
|
114
|
+
{ internalType: "uint256", name: "packageId", type: "uint256" },
|
|
115
|
+
],
|
|
116
|
+
name: "getSubscriptionExpiry",
|
|
117
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
118
|
+
stateMutability: "view",
|
|
119
|
+
type: "function",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [
|
|
123
|
+
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
124
|
+
{ internalType: "address", name: "account", type: "address" },
|
|
125
|
+
],
|
|
126
|
+
name: "grantRole",
|
|
127
|
+
outputs: [],
|
|
128
|
+
stateMutability: "nonpayable",
|
|
129
|
+
type: "function",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
inputs: [
|
|
133
|
+
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
134
|
+
{ internalType: "address", name: "account", type: "address" },
|
|
135
|
+
],
|
|
136
|
+
name: "hasRole",
|
|
137
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
138
|
+
stateMutability: "view",
|
|
139
|
+
type: "function",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
inputs: [
|
|
143
|
+
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
144
|
+
{ internalType: "address", name: "callerConfirmation", type: "address" },
|
|
145
|
+
],
|
|
146
|
+
name: "renounceRole",
|
|
147
|
+
outputs: [],
|
|
148
|
+
stateMutability: "nonpayable",
|
|
149
|
+
type: "function",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
inputs: [
|
|
153
|
+
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
154
|
+
{ internalType: "address", name: "account", type: "address" },
|
|
155
|
+
],
|
|
156
|
+
name: "revokeRole",
|
|
157
|
+
outputs: [],
|
|
158
|
+
stateMutability: "nonpayable",
|
|
159
|
+
type: "function",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [{ internalType: "bytes32", name: "subId", type: "bytes32" }],
|
|
163
|
+
name: "subscriptionExpiry",
|
|
164
|
+
outputs: [{ internalType: "uint256", name: "expiry", type: "uint256" }],
|
|
165
|
+
stateMutability: "view",
|
|
166
|
+
type: "function",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
|
|
170
|
+
name: "supportsInterface",
|
|
171
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
172
|
+
stateMutability: "view",
|
|
173
|
+
type: "function",
|
|
174
|
+
},
|
|
175
|
+
];
|
|
176
|
+
//# sourceMappingURL=subscriptionStateAbi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionStateAbi.js","sourceRoot":"","sources":["../../src/core/subscriptionStateAbi.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC;QACE,MAAM,EAAE,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QACrE,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACvE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QACzE,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;QAC3D,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acpHttpClient.d.ts","sourceRoot":"","sources":["../../src/events/acpHttpClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"acpHttpClient.d.ts","sourceRoot":"","sources":["../../src/events/acpHttpClient.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,qBAAa,aAAa;IACxB,SAAS,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI,CAAQ;IAC9C,SAAS,CAAC,KAAK,SAAM;IACrB,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;gBAEzB,IAAI,GAAE,oBAAyB;IAI3C,UAAU,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI;IAIjC,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;cAU1B,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAmC/C,wEAAwE;IACxE,SAAS,CAAC,eAAe,IAAI,OAAO;cAWpB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;cAUrC,WAAW,CACzB,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,WAAW,GACjB,OAAO,CAAC,QAAQ,CAAC;CAkBrB"}
|