@bronlabs/intents-sdk 1.0.22 → 1.0.24

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.
@@ -1,4 +1,14 @@
1
1
  [
2
+ {
3
+ "inputs": [],
4
+ "name": "InvalidInitialization",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "NotInitializing",
10
+ "type": "error"
11
+ },
2
12
  {
3
13
  "inputs": [],
4
14
  "name": "OA_INVALID_CALL",
@@ -24,6 +34,11 @@
24
34
  "name": "OA_ORACLE_ALREADY_REGISTERED",
25
35
  "type": "error"
26
36
  },
37
+ {
38
+ "inputs": [],
39
+ "name": "OA_ORACLE_ALREADY_VOTED",
40
+ "type": "error"
41
+ },
27
42
  {
28
43
  "inputs": [],
29
44
  "name": "OA_ORACLE_NOT_ACTIVE",
@@ -34,14 +49,36 @@
34
49
  "name": "OA_ORACLE_NOT_PENDING",
35
50
  "type": "error"
36
51
  },
52
+ {
53
+ "inputs": [
54
+ {
55
+ "internalType": "address",
56
+ "name": "owner",
57
+ "type": "address"
58
+ }
59
+ ],
60
+ "name": "OwnableInvalidOwner",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [
65
+ {
66
+ "internalType": "address",
67
+ "name": "account",
68
+ "type": "address"
69
+ }
70
+ ],
71
+ "name": "OwnableUnauthorizedAccount",
72
+ "type": "error"
73
+ },
37
74
  {
38
75
  "anonymous": false,
39
76
  "inputs": [
40
77
  {
41
78
  "indexed": false,
42
- "internalType": "uint8",
79
+ "internalType": "uint64",
43
80
  "name": "version",
44
- "type": "uint8"
81
+ "type": "uint64"
45
82
  }
46
83
  ],
47
84
  "name": "Initialized",
@@ -117,6 +154,11 @@
117
154
  "internalType": "contract IOrderEngine",
118
155
  "name": "_orderEngine",
119
156
  "type": "address"
157
+ },
158
+ {
159
+ "internalType": "address",
160
+ "name": "_owner",
161
+ "type": "address"
120
162
  }
121
163
  ],
122
164
  "name": "initialize",
@@ -218,6 +260,24 @@
218
260
  "stateMutability": "view",
219
261
  "type": "function"
220
262
  },
263
+ {
264
+ "inputs": [
265
+ {
266
+ "internalType": "string",
267
+ "name": "_orderId",
268
+ "type": "string"
269
+ },
270
+ {
271
+ "internalType": "bool",
272
+ "name": "_isUserTx",
273
+ "type": "bool"
274
+ }
275
+ ],
276
+ "name": "reconcileOracleConsensus",
277
+ "outputs": [],
278
+ "stateMutability": "nonpayable",
279
+ "type": "function"
280
+ },
221
281
  {
222
282
  "inputs": [],
223
283
  "name": "registerOracle",
@@ -34,14 +34,56 @@
34
34
  "name": "BC_TX_ALREADY_USED",
35
35
  "type": "error"
36
36
  },
37
+ {
38
+ "inputs": [],
39
+ "name": "EnforcedPause",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "ExpectedPause",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "InvalidInitialization",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [],
54
+ "name": "NotInitializing",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "address",
61
+ "name": "owner",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "name": "OwnableInvalidOwner",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [
70
+ {
71
+ "internalType": "address",
72
+ "name": "account",
73
+ "type": "address"
74
+ }
75
+ ],
76
+ "name": "OwnableUnauthorizedAccount",
77
+ "type": "error"
78
+ },
37
79
  {
38
80
  "anonymous": false,
39
81
  "inputs": [
40
82
  {
41
83
  "indexed": false,
42
- "internalType": "uint8",
84
+ "internalType": "uint64",
43
85
  "name": "version",
44
- "type": "uint8"
86
+ "type": "uint64"
45
87
  }
46
88
  ],
47
89
  "name": "Initialized",
@@ -85,6 +127,32 @@
85
127
  "name": "OwnershipTransferred",
86
128
  "type": "event"
87
129
  },
130
+ {
131
+ "anonymous": false,
132
+ "inputs": [
133
+ {
134
+ "indexed": false,
135
+ "internalType": "address",
136
+ "name": "account",
137
+ "type": "address"
138
+ }
139
+ ],
140
+ "name": "Paused",
141
+ "type": "event"
142
+ },
143
+ {
144
+ "anonymous": false,
145
+ "inputs": [
146
+ {
147
+ "indexed": false,
148
+ "internalType": "address",
149
+ "name": "account",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "Unpaused",
154
+ "type": "event"
155
+ },
88
156
  {
89
157
  "inputs": [
90
158
  {
@@ -131,7 +199,7 @@
131
199
  },
132
200
  {
133
201
  "internalType": "uint256",
134
- "name": "baseTokenPriceToUsd_e4",
202
+ "name": "orderValueInUSD_e18",
135
203
  "type": "uint256"
136
204
  },
137
205
  {
@@ -151,7 +219,7 @@
151
219
  }
152
220
  ],
153
221
  "internalType": "struct IOrderEngine.CreateOrderParams",
154
- "name": "_initOrderParams",
222
+ "name": "_create",
155
223
  "type": "tuple"
156
224
  }
157
225
  ],
@@ -328,7 +396,7 @@
328
396
  },
329
397
  {
330
398
  "internalType": "uint256",
331
- "name": "baseTokenPriceToUsd_e4",
399
+ "name": "orderValueInUSD_e18",
332
400
  "type": "uint256"
333
401
  },
334
402
  {
@@ -364,7 +432,7 @@
364
432
  "inputs": [
365
433
  {
366
434
  "internalType": "address",
367
- "name": "_oracle",
435
+ "name": "_oracleAggregator",
368
436
  "type": "address"
369
437
  },
370
438
  {
@@ -381,6 +449,11 @@
381
449
  "internalType": "uint256",
382
450
  "name": "_defaultSolverSettlementTime",
383
451
  "type": "uint256"
452
+ },
453
+ {
454
+ "internalType": "address",
455
+ "name": "_owner",
456
+ "type": "address"
384
457
  }
385
458
  ],
386
459
  "name": "initialize",
@@ -396,7 +469,7 @@
396
469
  "type": "address"
397
470
  }
398
471
  ],
399
- "name": "isBrodcaster",
472
+ "name": "isBroadcaster",
400
473
  "outputs": [
401
474
  {
402
475
  "internalType": "bool",
@@ -409,7 +482,7 @@
409
482
  },
410
483
  {
411
484
  "inputs": [],
412
- "name": "oracle",
485
+ "name": "oracleAggregator",
413
486
  "outputs": [
414
487
  {
415
488
  "internalType": "address",
@@ -433,6 +506,26 @@
433
506
  "stateMutability": "view",
434
507
  "type": "function"
435
508
  },
509
+ {
510
+ "inputs": [],
511
+ "name": "pause",
512
+ "outputs": [],
513
+ "stateMutability": "nonpayable",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "paused",
519
+ "outputs": [
520
+ {
521
+ "internalType": "bool",
522
+ "name": "",
523
+ "type": "bool"
524
+ }
525
+ ],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
436
529
  {
437
530
  "inputs": [],
438
531
  "name": "renounceOwnership",
@@ -480,16 +573,16 @@
480
573
  "inputs": [
481
574
  {
482
575
  "internalType": "address",
483
- "name": "_brodcaster",
576
+ "name": "_broadcaster",
484
577
  "type": "address"
485
578
  },
486
579
  {
487
580
  "internalType": "bool",
488
- "name": "_isBrodcaster",
581
+ "name": "_isBroadcaster",
489
582
  "type": "bool"
490
583
  }
491
584
  ],
492
- "name": "setBrodcaster",
585
+ "name": "setBroadcaster",
493
586
  "outputs": [],
494
587
  "stateMutability": "nonpayable",
495
588
  "type": "function"
@@ -543,6 +636,19 @@
543
636
  "stateMutability": "nonpayable",
544
637
  "type": "function"
545
638
  },
639
+ {
640
+ "inputs": [
641
+ {
642
+ "internalType": "address",
643
+ "name": "_oracleAggregator",
644
+ "type": "address"
645
+ }
646
+ ],
647
+ "name": "setOracleAggregator",
648
+ "outputs": [],
649
+ "stateMutability": "nonpayable",
650
+ "type": "function"
651
+ },
546
652
  {
547
653
  "inputs": [
548
654
  {
@@ -579,6 +685,19 @@
579
685
  "stateMutability": "nonpayable",
580
686
  "type": "function"
581
687
  },
688
+ {
689
+ "inputs": [
690
+ {
691
+ "internalType": "address",
692
+ "name": "_solverRegister",
693
+ "type": "address"
694
+ }
695
+ ],
696
+ "name": "setSolverRegister",
697
+ "outputs": [],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
582
701
  {
583
702
  "inputs": [
584
703
  {
@@ -663,5 +782,12 @@
663
782
  "outputs": [],
664
783
  "stateMutability": "nonpayable",
665
784
  "type": "function"
785
+ },
786
+ {
787
+ "inputs": [],
788
+ "name": "unpause",
789
+ "outputs": [],
790
+ "stateMutability": "nonpayable",
791
+ "type": "function"
666
792
  }
667
793
  ]
@@ -8,9 +8,8 @@ declare enum OrderStatus {
8
8
  WAIT_FOR_SOLVER_TX = 5,
9
9
  WAIT_FOR_ORACLE_CONFIRM_SOLVER_TX = 6,
10
10
  COMPLETED = 7,
11
- TO_BE_LIQUIDATED = 8,
12
- LIQUIDATED = 9,
13
- CANCELLED = 10
11
+ LIQUIDATED = 8,
12
+ CANCELLED = 9
14
13
  }
15
14
  interface BaseParams {
16
15
  networkId: string;
@@ -25,12 +24,12 @@ interface QuoteParams {
25
24
  solverTxHash: string;
26
25
  }
27
26
  interface PricingParams {
28
- baseAmount: string;
29
- quoteAmount: string;
30
- price_e18: string;
31
- maxPrice_e18: string;
32
- auctionDuration: string;
33
- baseTokenPriceToUsd_e4: string;
27
+ baseAmount: number;
28
+ quoteAmount: number;
29
+ price_e18: number;
30
+ maxPrice_e18: number;
31
+ auctionDuration: number;
32
+ orderValueInUSD_e18: number;
34
33
  liquidationReceiver: string;
35
34
  }
36
35
  interface Order {
@@ -43,6 +42,9 @@ interface Order {
43
42
  updatedAt: number;
44
43
  createdAt: number;
45
44
  }
45
+ interface NetworkParams {
46
+ gasLimit: number;
47
+ }
46
48
  export interface OrderEngineContract extends ethers.Contract {
47
49
  createOrder(params: {
48
50
  orderId: string;
@@ -53,19 +55,19 @@ export interface OrderEngineContract extends ethers.Contract {
53
55
  userAddress: string;
54
56
  baseAmount: ethers.BigNumberish;
55
57
  quoteAmount: ethers.BigNumberish;
56
- baseTokenPriceToUsd_e4: ethers.BigNumberish;
58
+ orderValueInUSD_e18: ethers.BigNumberish;
57
59
  maxPrice_e18: ethers.BigNumberish;
58
60
  auctionDuration: ethers.BigNumberish;
59
61
  liquidationReceiver: string;
60
- }): Promise<ethers.ContractTransaction>;
62
+ }, networkParams?: NetworkParams): Promise<ethers.ContractTransaction>;
61
63
  getOrder(orderId: string): Promise<Order>;
62
- solverReact(orderId: string, amount: ethers.BigNumberish, price: ethers.BigNumberish): Promise<ethers.ContractTransaction>;
63
- setUserTxOnBaseNetwork(orderId: string, txHash: string): Promise<ethers.ContractTransaction>;
64
- setSolverTxOnQuoteNetwork(orderId: string, txHash: string): Promise<ethers.ContractTransaction>;
65
- setOracleConfirmUserTx(orderId: string): Promise<ethers.ContractTransaction>;
66
- setOracleConfirmSolverTx(orderId: string): Promise<ethers.ContractTransaction>;
67
- executeUserTimeout(orderId: string): Promise<ethers.ContractTransaction>;
68
- executeSolverTimeout(orderId: string): Promise<ethers.ContractTransaction>;
64
+ solverReact(orderId: string, amount: ethers.BigNumberish, price: ethers.BigNumberish, params?: NetworkParams): Promise<ethers.ContractTransaction>;
65
+ setUserTxOnBaseNetwork(orderId: string, txHash: string, params?: NetworkParams): Promise<ethers.ContractTransaction>;
66
+ setSolverTxOnQuoteNetwork(orderId: string, txHash: string, params?: NetworkParams): Promise<ethers.ContractTransaction>;
67
+ setOracleConfirmUserTx(orderId: string, params?: NetworkParams): Promise<ethers.ContractTransaction>;
68
+ setOracleConfirmSolverTx(orderId: string, params?: NetworkParams): Promise<ethers.ContractTransaction>;
69
+ executeUserTimeout(orderId: string, params?: NetworkParams): Promise<ethers.ContractTransaction>;
70
+ executeSolverTimeout(orderId: string, params?: NetworkParams): Promise<ethers.ContractTransaction>;
69
71
  }
70
72
  export declare function initOrderEngine(orderEngineAddress: string, provider: ethers.providers.JsonRpcProvider | ethers.Signer): OrderEngineContract;
71
73
  export declare function initOracleAggregator(oracleAggregatorAddress: string, provider: ethers.providers.JsonRpcProvider | ethers.Signer): ethers.Contract;
package/dist/contracts.js CHANGED
@@ -13,9 +13,8 @@ var OrderStatus;
13
13
  OrderStatus[OrderStatus["WAIT_FOR_SOLVER_TX"] = 5] = "WAIT_FOR_SOLVER_TX";
14
14
  OrderStatus[OrderStatus["WAIT_FOR_ORACLE_CONFIRM_SOLVER_TX"] = 6] = "WAIT_FOR_ORACLE_CONFIRM_SOLVER_TX";
15
15
  OrderStatus[OrderStatus["COMPLETED"] = 7] = "COMPLETED";
16
- OrderStatus[OrderStatus["TO_BE_LIQUIDATED"] = 8] = "TO_BE_LIQUIDATED";
17
- OrderStatus[OrderStatus["LIQUIDATED"] = 9] = "LIQUIDATED";
18
- OrderStatus[OrderStatus["CANCELLED"] = 10] = "CANCELLED";
16
+ OrderStatus[OrderStatus["LIQUIDATED"] = 8] = "LIQUIDATED";
17
+ OrderStatus[OrderStatus["CANCELLED"] = 9] = "CANCELLED";
19
18
  })(OrderStatus || (OrderStatus = {}));
20
19
  export function initOrderEngine(orderEngineAddress, provider) {
21
20
  return new ethers.Contract(orderEngineAddress, JSON.parse(fs.readFileSync(path.join(__dirname, '../abi/OrderEngine.json'), 'utf8')), provider);
@@ -38,12 +37,12 @@ export function printOrder(baseParams, quoteParams, pricingParams) {
38
37
  solverTxHash: quoteParams.solverTxHash
39
38
  },
40
39
  pricingParams: {
41
- baseAmount: pricingParams.baseAmount.toString(),
42
- quoteAmount: pricingParams.quoteAmount.toString(),
43
- price_e18: pricingParams.price_e18.toString(),
44
- maxPrice_e18: pricingParams.maxPrice_e18.toString(),
45
- auctionDuration: pricingParams.auctionDuration.toString(),
46
- baseTokenPriceToUsd_e4: pricingParams.baseTokenPriceToUsd_e4.toString(),
40
+ baseAmount: pricingParams.baseAmount,
41
+ quoteAmount: pricingParams.quoteAmount,
42
+ price_e18: pricingParams.price_e18,
43
+ maxPrice_e18: pricingParams.maxPrice_e18,
44
+ auctionDuration: pricingParams.auctionDuration,
45
+ orderValueInUSD_e18: pricingParams.orderValueInUSD_e18,
47
46
  liquidationReceiver: pricingParams.liquidationReceiver
48
47
  }
49
48
  }, null, 2);
@@ -1 +1 @@
1
- {"version":3,"file":"contracts.js","sourceRoot":"","sources":["../src/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YACpC,WAAW,EAAE,aAAa,CAAC,WAAW;YACtC,SAAS,EAAE,aAAa,CAAC,SAAS;YAClC,YAAY,EAAE,aAAa,CAAC,YAAY;YACxC,eAAe,EAAE,aAAa,CAAC,eAAe;YAC9C,mBAAmB,EAAE,aAAa,CAAC,mBAAmB;YACtD,mBAAmB,EAAE,aAAa,CAAC,mBAAmB;SACvD;KACF,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AACd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bronlabs/intents-sdk",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "SDK for Intents DeFi smart contracts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",