@orderly.network/core 2.0.1-alpha.6 → 2.0.1-alpha.7

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/dist/index.d.mts CHANGED
@@ -410,6 +410,7 @@ type OrderlyContracts = {
410
410
  verifyContractAddress: string;
411
411
  solanaUSDCAddress: string;
412
412
  solanaVaultAddress: string;
413
+ storyTestnetVaultAddress?: string;
413
414
  };
414
415
  interface IContract {
415
416
  getContractInfoByEnv(): OrderlyContracts;
@@ -419,6 +420,125 @@ declare class BaseContract implements IContract {
419
420
  private readonly configStore;
420
421
  constructor(configStore: ConfigStore);
421
422
  getContractInfoByEnv(): {
423
+ usdcAddress: string;
424
+ usdcAbi: ({
425
+ anonymous: boolean;
426
+ inputs: {
427
+ indexed: boolean;
428
+ internalType: string;
429
+ name: string;
430
+ type: string;
431
+ }[];
432
+ name: string;
433
+ type: string;
434
+ outputs?: undefined;
435
+ stateMutability?: undefined;
436
+ } | {
437
+ inputs: {
438
+ internalType: string;
439
+ name: string;
440
+ type: string;
441
+ }[];
442
+ name: string;
443
+ outputs: {
444
+ internalType: string;
445
+ name: string;
446
+ type: string;
447
+ }[];
448
+ stateMutability: string;
449
+ type: string;
450
+ anonymous?: undefined;
451
+ })[];
452
+ vaultAddress: string;
453
+ vaultAbi: ({
454
+ inputs: never[];
455
+ stateMutability: string;
456
+ type: string;
457
+ name?: undefined;
458
+ anonymous?: undefined;
459
+ outputs?: undefined;
460
+ } | {
461
+ inputs: {
462
+ internalType: string;
463
+ name: string;
464
+ type: string;
465
+ }[];
466
+ name: string;
467
+ type: string;
468
+ stateMutability?: undefined;
469
+ anonymous?: undefined;
470
+ outputs?: undefined;
471
+ } | {
472
+ anonymous: boolean;
473
+ inputs: {
474
+ indexed: boolean;
475
+ internalType: string;
476
+ name: string;
477
+ type: string;
478
+ }[];
479
+ name: string;
480
+ type: string;
481
+ stateMutability?: undefined;
482
+ outputs?: undefined;
483
+ } | {
484
+ inputs: ({
485
+ internalType: string;
486
+ name: string;
487
+ type: string;
488
+ components?: undefined;
489
+ } | {
490
+ components: {
491
+ internalType: string;
492
+ name: string;
493
+ type: string;
494
+ }[];
495
+ internalType: string;
496
+ name: string;
497
+ type: string;
498
+ })[];
499
+ name: string;
500
+ outputs: {
501
+ internalType: string;
502
+ name: string;
503
+ type: string;
504
+ }[];
505
+ stateMutability: string;
506
+ type: string;
507
+ anonymous?: undefined;
508
+ })[];
509
+ verifyContractAddress: string;
510
+ erc20Abi: ({
511
+ anonymous: boolean;
512
+ inputs: {
513
+ indexed: boolean;
514
+ internalType: string;
515
+ name: string;
516
+ type: string;
517
+ }[];
518
+ name: string;
519
+ type: string;
520
+ outputs?: undefined;
521
+ stateMutability?: undefined;
522
+ } | {
523
+ inputs: {
524
+ internalType: string;
525
+ name: string;
526
+ type: string;
527
+ }[];
528
+ name: string;
529
+ outputs: {
530
+ internalType: string;
531
+ name: string;
532
+ type: string;
533
+ }[];
534
+ stateMutability: string;
535
+ type: string;
536
+ anonymous?: undefined;
537
+ })[];
538
+ solanaUSDCAddress: string;
539
+ solanaVaultAddress: string;
540
+ storyTestnetVaultAddress?: undefined;
541
+ } | {
422
542
  usdcAddress: string;
423
543
  usdcAbi: ({
424
544
  inputs: {
@@ -558,6 +678,7 @@ declare class BaseContract implements IContract {
558
678
  type: string;
559
679
  anonymous?: undefined;
560
680
  })[];
681
+ storyTestnetVaultAddress: string;
561
682
  };
562
683
  }
563
684
 
package/dist/index.d.ts CHANGED
@@ -410,6 +410,7 @@ type OrderlyContracts = {
410
410
  verifyContractAddress: string;
411
411
  solanaUSDCAddress: string;
412
412
  solanaVaultAddress: string;
413
+ storyTestnetVaultAddress?: string;
413
414
  };
414
415
  interface IContract {
415
416
  getContractInfoByEnv(): OrderlyContracts;
@@ -419,6 +420,125 @@ declare class BaseContract implements IContract {
419
420
  private readonly configStore;
420
421
  constructor(configStore: ConfigStore);
421
422
  getContractInfoByEnv(): {
423
+ usdcAddress: string;
424
+ usdcAbi: ({
425
+ anonymous: boolean;
426
+ inputs: {
427
+ indexed: boolean;
428
+ internalType: string;
429
+ name: string;
430
+ type: string;
431
+ }[];
432
+ name: string;
433
+ type: string;
434
+ outputs?: undefined;
435
+ stateMutability?: undefined;
436
+ } | {
437
+ inputs: {
438
+ internalType: string;
439
+ name: string;
440
+ type: string;
441
+ }[];
442
+ name: string;
443
+ outputs: {
444
+ internalType: string;
445
+ name: string;
446
+ type: string;
447
+ }[];
448
+ stateMutability: string;
449
+ type: string;
450
+ anonymous?: undefined;
451
+ })[];
452
+ vaultAddress: string;
453
+ vaultAbi: ({
454
+ inputs: never[];
455
+ stateMutability: string;
456
+ type: string;
457
+ name?: undefined;
458
+ anonymous?: undefined;
459
+ outputs?: undefined;
460
+ } | {
461
+ inputs: {
462
+ internalType: string;
463
+ name: string;
464
+ type: string;
465
+ }[];
466
+ name: string;
467
+ type: string;
468
+ stateMutability?: undefined;
469
+ anonymous?: undefined;
470
+ outputs?: undefined;
471
+ } | {
472
+ anonymous: boolean;
473
+ inputs: {
474
+ indexed: boolean;
475
+ internalType: string;
476
+ name: string;
477
+ type: string;
478
+ }[];
479
+ name: string;
480
+ type: string;
481
+ stateMutability?: undefined;
482
+ outputs?: undefined;
483
+ } | {
484
+ inputs: ({
485
+ internalType: string;
486
+ name: string;
487
+ type: string;
488
+ components?: undefined;
489
+ } | {
490
+ components: {
491
+ internalType: string;
492
+ name: string;
493
+ type: string;
494
+ }[];
495
+ internalType: string;
496
+ name: string;
497
+ type: string;
498
+ })[];
499
+ name: string;
500
+ outputs: {
501
+ internalType: string;
502
+ name: string;
503
+ type: string;
504
+ }[];
505
+ stateMutability: string;
506
+ type: string;
507
+ anonymous?: undefined;
508
+ })[];
509
+ verifyContractAddress: string;
510
+ erc20Abi: ({
511
+ anonymous: boolean;
512
+ inputs: {
513
+ indexed: boolean;
514
+ internalType: string;
515
+ name: string;
516
+ type: string;
517
+ }[];
518
+ name: string;
519
+ type: string;
520
+ outputs?: undefined;
521
+ stateMutability?: undefined;
522
+ } | {
523
+ inputs: {
524
+ internalType: string;
525
+ name: string;
526
+ type: string;
527
+ }[];
528
+ name: string;
529
+ outputs: {
530
+ internalType: string;
531
+ name: string;
532
+ type: string;
533
+ }[];
534
+ stateMutability: string;
535
+ type: string;
536
+ anonymous?: undefined;
537
+ })[];
538
+ solanaUSDCAddress: string;
539
+ solanaVaultAddress: string;
540
+ storyTestnetVaultAddress?: undefined;
541
+ } | {
422
542
  usdcAddress: string;
423
543
  usdcAbi: ({
424
544
  inputs: {
@@ -558,6 +678,7 @@ declare class BaseContract implements IContract {
558
678
  type: string;
559
679
  anonymous?: undefined;
560
680
  })[];
681
+ storyTestnetVaultAddress: string;
561
682
  };
562
683
  }
563
684