@ercworldio/blockchain-shared 1.0.5-dev.7-PROJ-1469.3 → 1.0.5-dev.7-PROJ-1469.4

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.
@@ -3507,394 +3507,6 @@ export type Escrow = {
3507
3507
  }
3508
3508
  ];
3509
3509
  },
3510
- {
3511
- "name": "scheduleWithdrawalSol";
3512
- "discriminator": [
3513
- 41,
3514
- 253,
3515
- 139,
3516
- 251,
3517
- 39,
3518
- 160,
3519
- 13,
3520
- 135
3521
- ];
3522
- "accounts": [
3523
- {
3524
- "name": "escrowConfig";
3525
- "pda": {
3526
- "seeds": [
3527
- {
3528
- "kind": "const";
3529
- "value": [
3530
- 101,
3531
- 115,
3532
- 99,
3533
- 114,
3534
- 111,
3535
- 119,
3536
- 45,
3537
- 99,
3538
- 111,
3539
- 110,
3540
- 102,
3541
- 105,
3542
- 103,
3543
- 45,
3544
- 118,
3545
- 50
3546
- ];
3547
- }
3548
- ];
3549
- };
3550
- },
3551
- {
3552
- "name": "treasuryConfig";
3553
- "pda": {
3554
- "seeds": [
3555
- {
3556
- "kind": "const";
3557
- "value": [
3558
- 116,
3559
- 114,
3560
- 101,
3561
- 97,
3562
- 115,
3563
- 117,
3564
- 114,
3565
- 121,
3566
- 45,
3567
- 99,
3568
- 111,
3569
- 110,
3570
- 102,
3571
- 105,
3572
- 103
3573
- ];
3574
- }
3575
- ];
3576
- };
3577
- },
3578
- {
3579
- "name": "commitment";
3580
- "writable": true;
3581
- "pda": {
3582
- "seeds": [
3583
- {
3584
- "kind": "const";
3585
- "value": [
3586
- 119,
3587
- 105,
3588
- 116,
3589
- 104,
3590
- 100,
3591
- 114,
3592
- 97,
3593
- 119,
3594
- 97,
3595
- 108
3596
- ];
3597
- },
3598
- {
3599
- "kind": "arg";
3600
- "path": "requestId";
3601
- }
3602
- ];
3603
- };
3604
- },
3605
- {
3606
- "name": "timelockConfig";
3607
- "pda": {
3608
- "seeds": [
3609
- {
3610
- "kind": "const";
3611
- "value": [
3612
- 116,
3613
- 105,
3614
- 109,
3615
- 101,
3616
- 108,
3617
- 111,
3618
- 99,
3619
- 107,
3620
- 45,
3621
- 99,
3622
- 111,
3623
- 110,
3624
- 102,
3625
- 105,
3626
- 103
3627
- ];
3628
- }
3629
- ];
3630
- };
3631
- },
3632
- {
3633
- "name": "receiverTimelockConfig";
3634
- "pda": {
3635
- "seeds": [
3636
- {
3637
- "kind": "const";
3638
- "value": [
3639
- 114,
3640
- 101,
3641
- 99,
3642
- 101,
3643
- 105,
3644
- 118,
3645
- 101,
3646
- 114,
3647
- 45,
3648
- 116,
3649
- 105,
3650
- 109,
3651
- 101,
3652
- 108,
3653
- 111,
3654
- 99,
3655
- 107
3656
- ];
3657
- },
3658
- {
3659
- "kind": "account";
3660
- "path": "recipient";
3661
- }
3662
- ];
3663
- };
3664
- },
3665
- {
3666
- "name": "recipient";
3667
- },
3668
- {
3669
- "name": "caller";
3670
- "writable": true;
3671
- "signer": true;
3672
- },
3673
- {
3674
- "name": "systemProgram";
3675
- "address": "11111111111111111111111111111111";
3676
- },
3677
- {
3678
- "name": "instructions";
3679
- "address": "Sysvar1nstructions1111111111111111111111111";
3680
- }
3681
- ];
3682
- "args": [
3683
- {
3684
- "name": "requestId";
3685
- "type": "u64";
3686
- },
3687
- {
3688
- "name": "committedAmount";
3689
- "type": "u64";
3690
- },
3691
- {
3692
- "name": "netAmount";
3693
- "type": "u64";
3694
- },
3695
- {
3696
- "name": "chainId";
3697
- "type": "u64";
3698
- }
3699
- ];
3700
- },
3701
- {
3702
- "name": "scheduleWithdrawalSpl";
3703
- "discriminator": [
3704
- 95,
3705
- 68,
3706
- 202,
3707
- 149,
3708
- 66,
3709
- 113,
3710
- 28,
3711
- 201
3712
- ];
3713
- "accounts": [
3714
- {
3715
- "name": "escrowConfig";
3716
- "pda": {
3717
- "seeds": [
3718
- {
3719
- "kind": "const";
3720
- "value": [
3721
- 101,
3722
- 115,
3723
- 99,
3724
- 114,
3725
- 111,
3726
- 119,
3727
- 45,
3728
- 99,
3729
- 111,
3730
- 110,
3731
- 102,
3732
- 105,
3733
- 103,
3734
- 45,
3735
- 118,
3736
- 50
3737
- ];
3738
- }
3739
- ];
3740
- };
3741
- },
3742
- {
3743
- "name": "treasuryConfig";
3744
- "pda": {
3745
- "seeds": [
3746
- {
3747
- "kind": "const";
3748
- "value": [
3749
- 116,
3750
- 114,
3751
- 101,
3752
- 97,
3753
- 115,
3754
- 117,
3755
- 114,
3756
- 121,
3757
- 45,
3758
- 99,
3759
- 111,
3760
- 110,
3761
- 102,
3762
- 105,
3763
- 103
3764
- ];
3765
- }
3766
- ];
3767
- };
3768
- },
3769
- {
3770
- "name": "commitment";
3771
- "writable": true;
3772
- "pda": {
3773
- "seeds": [
3774
- {
3775
- "kind": "const";
3776
- "value": [
3777
- 119,
3778
- 105,
3779
- 116,
3780
- 104,
3781
- 100,
3782
- 114,
3783
- 97,
3784
- 119,
3785
- 97,
3786
- 108
3787
- ];
3788
- },
3789
- {
3790
- "kind": "arg";
3791
- "path": "requestId";
3792
- }
3793
- ];
3794
- };
3795
- },
3796
- {
3797
- "name": "timelockConfig";
3798
- "pda": {
3799
- "seeds": [
3800
- {
3801
- "kind": "const";
3802
- "value": [
3803
- 116,
3804
- 105,
3805
- 109,
3806
- 101,
3807
- 108,
3808
- 111,
3809
- 99,
3810
- 107,
3811
- 45,
3812
- 99,
3813
- 111,
3814
- 110,
3815
- 102,
3816
- 105,
3817
- 103
3818
- ];
3819
- }
3820
- ];
3821
- };
3822
- },
3823
- {
3824
- "name": "receiverTimelockConfig";
3825
- "pda": {
3826
- "seeds": [
3827
- {
3828
- "kind": "const";
3829
- "value": [
3830
- 114,
3831
- 101,
3832
- 99,
3833
- 101,
3834
- 105,
3835
- 118,
3836
- 101,
3837
- 114,
3838
- 45,
3839
- 116,
3840
- 105,
3841
- 109,
3842
- 101,
3843
- 108,
3844
- 111,
3845
- 99,
3846
- 107
3847
- ];
3848
- },
3849
- {
3850
- "kind": "account";
3851
- "path": "recipient";
3852
- }
3853
- ];
3854
- };
3855
- },
3856
- {
3857
- "name": "mint";
3858
- "docs": [
3859
- "The SPL token mint — determines which token is being withdrawn"
3860
- ];
3861
- },
3862
- {
3863
- "name": "recipient";
3864
- },
3865
- {
3866
- "name": "caller";
3867
- "writable": true;
3868
- "signer": true;
3869
- },
3870
- {
3871
- "name": "systemProgram";
3872
- "address": "11111111111111111111111111111111";
3873
- },
3874
- {
3875
- "name": "instructions";
3876
- "address": "Sysvar1nstructions1111111111111111111111111";
3877
- }
3878
- ];
3879
- "args": [
3880
- {
3881
- "name": "requestId";
3882
- "type": "u64";
3883
- },
3884
- {
3885
- "name": "committedAmount";
3886
- "type": "u64";
3887
- },
3888
- {
3889
- "name": "netAmount";
3890
- "type": "u64";
3891
- },
3892
- {
3893
- "name": "chainId";
3894
- "type": "u64";
3895
- }
3896
- ];
3897
- },
3898
3510
  {
3899
3511
  "name": "setAdmin";
3900
3512
  "discriminator": [
@@ -4534,92 +4146,6 @@ export type Escrow = {
4534
4146
  }
4535
4147
  ];
4536
4148
  },
4537
- {
4538
- "name": "setWithdrawalThresholds";
4539
- "discriminator": [
4540
- 210,
4541
- 174,
4542
- 130,
4543
- 94,
4544
- 94,
4545
- 180,
4546
- 181,
4547
- 165
4548
- ];
4549
- "accounts": [
4550
- {
4551
- "name": "escrowConfig";
4552
- "pda": {
4553
- "seeds": [
4554
- {
4555
- "kind": "const";
4556
- "value": [
4557
- 101,
4558
- 115,
4559
- 99,
4560
- 114,
4561
- 111,
4562
- 119,
4563
- 45,
4564
- 99,
4565
- 111,
4566
- 110,
4567
- 102,
4568
- 105,
4569
- 103,
4570
- 45,
4571
- 118,
4572
- 50
4573
- ];
4574
- }
4575
- ];
4576
- };
4577
- },
4578
- {
4579
- "name": "treasuryConfig";
4580
- "writable": true;
4581
- "pda": {
4582
- "seeds": [
4583
- {
4584
- "kind": "const";
4585
- "value": [
4586
- 116,
4587
- 114,
4588
- 101,
4589
- 97,
4590
- 115,
4591
- 117,
4592
- 114,
4593
- 121,
4594
- 45,
4595
- 99,
4596
- 111,
4597
- 110,
4598
- 102,
4599
- 105,
4600
- 103
4601
- ];
4602
- }
4603
- ];
4604
- };
4605
- },
4606
- {
4607
- "name": "admin";
4608
- "writable": true;
4609
- "signer": true;
4610
- }
4611
- ];
4612
- "args": [
4613
- {
4614
- "name": "managerThreshold";
4615
- "type": "u8";
4616
- },
4617
- {
4618
- "name": "executiveThreshold";
4619
- "type": "u8";
4620
- }
4621
- ];
4622
- },
4623
4149
  {
4624
4150
  "name": "withdrawSolWithSig";
4625
4151
  "discriminator": [
@@ -5721,19 +5247,6 @@ export type Escrow = {
5721
5247
  247,
5722
5248
  68
5723
5249
  ];
5724
- },
5725
- {
5726
- "name": "withdrawalThresholdsConfiguredEvent";
5727
- "discriminator": [
5728
- 233,
5729
- 231,
5730
- 110,
5731
- 102,
5732
- 162,
5733
- 86,
5734
- 78,
5735
- 118
5736
- ];
5737
5250
  }
5738
5251
  ];
5739
5252
  "errors": [
@@ -6466,6 +5979,12 @@ export type Escrow = {
6466
5979
  },
6467
5980
  {
6468
5981
  "name": "treasuryConfig";
5982
+ "docs": [
5983
+ "Treasury roster + fee cap.",
5984
+ "",
5985
+ "Holds *who* may sign withdrawals; *how many* signatures are required is decided per token by",
5986
+ "TokenThresholdConfig (amount-banded), not here."
5987
+ ];
6469
5988
  "type": {
6470
5989
  "kind": "struct";
6471
5990
  "fields": [
@@ -6481,14 +6000,6 @@ export type Escrow = {
6481
6000
  "vec": "pubkey";
6482
6001
  };
6483
6002
  },
6484
- {
6485
- "name": "managerThreshold";
6486
- "type": "u8";
6487
- },
6488
- {
6489
- "name": "executiveThreshold";
6490
- "type": "u8";
6491
- },
6492
6003
  {
6493
6004
  "name": "maxFeeDelta";
6494
6005
  "docs": [
@@ -6758,37 +6269,6 @@ export type Escrow = {
6758
6269
  }
6759
6270
  ];
6760
6271
  };
6761
- },
6762
- {
6763
- "name": "withdrawalThresholdsConfiguredEvent";
6764
- "docs": [
6765
- "Emitted when the manager/executive withdrawal thresholds are updated."
6766
- ];
6767
- "type": {
6768
- "kind": "struct";
6769
- "fields": [
6770
- {
6771
- "name": "managerThreshold";
6772
- "type": "u8";
6773
- },
6774
- {
6775
- "name": "executiveThreshold";
6776
- "type": "u8";
6777
- },
6778
- {
6779
- "name": "sender";
6780
- "type": "pubkey";
6781
- },
6782
- {
6783
- "name": "slot";
6784
- "type": "u64";
6785
- },
6786
- {
6787
- "name": "timestamp";
6788
- "type": "i64";
6789
- }
6790
- ];
6791
- };
6792
6272
  }
6793
6273
  ];
6794
6274
  };