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