1
1
/* tslint:disable */
2
2
/* eslint-disable */
3
- export interface JsInvocationsDetails {
4
- nonce : Felt ;
5
- maxFee : Felt ;
6
- }
7
-
8
3
export interface JsOutsideExecution {
9
4
caller : Felt ;
10
5
executeBefore : number ;
@@ -13,24 +8,29 @@ export interface JsOutsideExecution {
13
8
nonce : Felt ;
14
9
}
15
10
16
- export interface JsPolicy {
17
- target : string ;
18
- method : string ;
19
- }
11
+ export type Felts = JsFelt [ ] ;
12
+
13
+ export type JsFelt = Felt ;
20
14
21
15
export interface JsCall {
22
16
contractAddress : Felt ;
23
17
entrypoint : string ;
24
18
calldata : Felt [ ] ;
25
19
}
26
20
27
- export interface JsEstimateFeeDetails {
21
+ export interface JsInvocationsDetails {
28
22
nonce : Felt ;
23
+ maxFee : Felt ;
29
24
}
30
25
31
- export type Felts = JsFelt [ ] ;
26
+ export interface JsPolicy {
27
+ target : string ;
28
+ method : string ;
29
+ }
32
30
33
- export type JsFelt = Felt ;
31
+ export interface JsEstimateFeeDetails {
32
+ nonce : Felt ;
33
+ }
34
34
35
35
export interface JsSession {
36
36
policies : JsPolicy [ ] ;
@@ -115,13 +115,6 @@ export class CartridgeAccount {
115
115
*/
116
116
sessionJson ( ) : any ;
117
117
/**
118
- * @param {(JsPolicy)[] } policies
119
- * @param {bigint } expires_at
120
- * @param {any } external_account
121
- * @returns {any }
122
- */
123
- static registerSessionCalldata ( policies : ( JsPolicy ) [ ] , expires_at : bigint , external_account : any ) : any ;
124
- /**
125
118
*/
126
119
revokeSession ( ) : void ;
127
120
/**
@@ -139,19 +132,14 @@ export class CartridgeAccount {
139
132
*/
140
133
delegateAccount ( ) : Promise < JsFelt > ;
141
134
/**
142
- * @param {any } salt
143
- * @param {any } external_owner
144
- * @returns {any }
145
- */
146
- static getUdcDeployedAddress ( salt : any , external_owner : any ) : any ;
147
- /**
148
- * @returns {any }
149
- */
150
- static getAccountClassHash ( ) : any ;
151
- /**
135
+ * @param {any } owner
136
+ * @param {any } username
137
+ * @param {bigint } initial_deposit
138
+ * @param {(JsPolicy)[] } policies
139
+ * @param {bigint } expires_at
152
140
* @returns {any }
153
141
*/
154
- static getUdcAddress ( ) : any ;
142
+ static externalDeploymentCalls ( owner : any , username : any , initial_deposit : bigint , policies : ( JsPolicy ) [ ] , expires_at : bigint ) : any ;
155
143
}
156
144
/**
157
145
*/
0 commit comments