@keep-network/tbtc-v2 0.1.1-dev.101 → 0.1.1-dev.102

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.
Files changed (76) hide show
  1. package/artifacts/Bank.json +6 -6
  2. package/artifacts/Bridge.json +11 -11
  3. package/artifacts/BridgeGovernance.json +6 -6
  4. package/artifacts/BridgeGovernanceParameters.json +4 -4
  5. package/artifacts/Deposit.json +4 -4
  6. package/artifacts/DepositSweep.json +4 -4
  7. package/artifacts/EcdsaDkgValidator.json +3 -3
  8. package/artifacts/EcdsaInactivity.json +3 -3
  9. package/artifacts/EcdsaSortitionPool.json +5 -5
  10. package/artifacts/Fraud.json +4 -4
  11. package/artifacts/KeepRegistry.json +3 -3
  12. package/artifacts/KeepStake.json +5 -5
  13. package/artifacts/KeepToken.json +5 -5
  14. package/artifacts/KeepTokenStaking.json +3 -3
  15. package/artifacts/MaintainerProxy.json +1522 -0
  16. package/artifacts/MovingFunds.json +4 -4
  17. package/artifacts/NuCypherStakingEscrow.json +3 -3
  18. package/artifacts/NuCypherToken.json +5 -5
  19. package/artifacts/RandomBeaconStub.json +3 -3
  20. package/artifacts/Redemption.json +4 -4
  21. package/artifacts/ReimbursementPool.json +5 -5
  22. package/artifacts/Relay.json +6 -6
  23. package/artifacts/T.json +5 -5
  24. package/artifacts/TBTC.json +6 -6
  25. package/artifacts/TBTCToken.json +6 -6
  26. package/artifacts/TBTCVault.json +12 -12
  27. package/artifacts/TokenStaking.json +3 -3
  28. package/artifacts/TokenholderGovernor.json +19 -19
  29. package/artifacts/TokenholderTimelock.json +17 -17
  30. package/artifacts/VendingMachine.json +6 -6
  31. package/artifacts/VendingMachineKeep.json +3 -3
  32. package/artifacts/VendingMachineNuCypher.json +3 -3
  33. package/artifacts/WalletRegistry.json +11 -11
  34. package/artifacts/WalletRegistryGovernance.json +5 -5
  35. package/artifacts/Wallets.json +4 -4
  36. package/artifacts/solcInputs/{af641e0b3597cdfa29d6ad42d1cd8742.json → f53bc10568b6d3c32d2989742aa1c456.json} +25 -22
  37. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  38. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  39. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  40. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  41. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  42. package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.dbg.json +1 -1
  43. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  44. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  45. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  46. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  47. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  48. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  49. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  50. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  51. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  52. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  53. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  54. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  55. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  56. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +4 -0
  57. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +1111 -0
  58. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  59. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  60. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  61. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  62. package/contracts/maintainer/MaintainerProxy.sol +512 -0
  63. package/deploy/08_deploy_maintainer_proxy.ts +30 -0
  64. package/deploy/{08_bank_update_bridge.ts → 09_bank_update_bridge.ts} +0 -0
  65. package/deploy/{09_transfer_bank_ownership.ts → 10_transfer_bank_ownership.ts} +0 -0
  66. package/deploy/{12_transfer_bridge_governance.ts → 11_transfer_bridge_governance.ts} +0 -0
  67. package/deploy/{11_transfer_bridge_governance_ownership.ts → 12_transfer_bridge_governance_ownership.ts} +0 -0
  68. package/deploy/{10_transfer_tbtc_vault_ownership.ts → 13_transfer_tbtc_vault_ownership.ts} +0 -0
  69. package/deploy/14_transfer_maintainer_proxy_ownership.ts +19 -0
  70. package/deploy/{13_initialize_wallet_owner.ts → 15_initialize_wallet_owner.ts} +0 -0
  71. package/deploy/{15_transfer_proxy_admin_ownership.ts → 16_transfer_proxy_admin_ownership.ts} +0 -0
  72. package/deploy/17_authorize_maintainer_proxy.ts +22 -0
  73. package/deploy/18_transfer_reimbursement_pool_ownership.ts +19 -0
  74. package/deploy/{14_deploy_proxy_admin_with_deputy.ts → 19_deploy_proxy_admin_with_deputy.ts} +0 -0
  75. package/export.json +1105 -0
  76. package/package.json +1 -1
package/export.json CHANGED
@@ -19577,6 +19577,1111 @@
19577
19577
  "type": "function"
19578
19578
  }
19579
19579
  ]
19580
+ },
19581
+ "MaintainerProxy": {
19582
+ "address": "0x49FcbCC4E425add3a45AFC82F4dD0E5c227A0Ff8",
19583
+ "abi": [
19584
+ {
19585
+ "inputs": [
19586
+ {
19587
+ "internalType": "contract Bridge",
19588
+ "name": "_bridge",
19589
+ "type": "address"
19590
+ },
19591
+ {
19592
+ "internalType": "contract ReimbursementPool",
19593
+ "name": "_reimbursementPool",
19594
+ "type": "address"
19595
+ }
19596
+ ],
19597
+ "stateMutability": "nonpayable",
19598
+ "type": "constructor"
19599
+ },
19600
+ {
19601
+ "anonymous": false,
19602
+ "inputs": [
19603
+ {
19604
+ "indexed": false,
19605
+ "internalType": "address",
19606
+ "name": "newBridge",
19607
+ "type": "address"
19608
+ }
19609
+ ],
19610
+ "name": "BridgeUpdated",
19611
+ "type": "event"
19612
+ },
19613
+ {
19614
+ "anonymous": false,
19615
+ "inputs": [
19616
+ {
19617
+ "indexed": false,
19618
+ "internalType": "uint256",
19619
+ "name": "submitDepositSweepProofGasOffset",
19620
+ "type": "uint256"
19621
+ },
19622
+ {
19623
+ "indexed": false,
19624
+ "internalType": "uint256",
19625
+ "name": "submitRedemptionProofGasOffset",
19626
+ "type": "uint256"
19627
+ },
19628
+ {
19629
+ "indexed": false,
19630
+ "internalType": "uint256",
19631
+ "name": "submitMovingFundsCommitmentGasOffset",
19632
+ "type": "uint256"
19633
+ },
19634
+ {
19635
+ "indexed": false,
19636
+ "internalType": "uint256",
19637
+ "name": "resetMovingFundsTimeoutGasOffset",
19638
+ "type": "uint256"
19639
+ },
19640
+ {
19641
+ "indexed": false,
19642
+ "internalType": "uint256",
19643
+ "name": "submitMovingFundsProofGasOffset",
19644
+ "type": "uint256"
19645
+ },
19646
+ {
19647
+ "indexed": false,
19648
+ "internalType": "uint256",
19649
+ "name": "notifyMovingFundsBelowDustGasOffset",
19650
+ "type": "uint256"
19651
+ },
19652
+ {
19653
+ "indexed": false,
19654
+ "internalType": "uint256",
19655
+ "name": "submitMovedFundsSweepProofGasOffset",
19656
+ "type": "uint256"
19657
+ },
19658
+ {
19659
+ "indexed": false,
19660
+ "internalType": "uint256",
19661
+ "name": "requestNewWalletGasOffset",
19662
+ "type": "uint256"
19663
+ },
19664
+ {
19665
+ "indexed": false,
19666
+ "internalType": "uint256",
19667
+ "name": "notifyWalletCloseableGasOffset",
19668
+ "type": "uint256"
19669
+ },
19670
+ {
19671
+ "indexed": false,
19672
+ "internalType": "uint256",
19673
+ "name": "notifyWalletClosingPeriodElapsedGasOffset",
19674
+ "type": "uint256"
19675
+ },
19676
+ {
19677
+ "indexed": false,
19678
+ "internalType": "uint256",
19679
+ "name": "defeatFraudChallengeGasOffset",
19680
+ "type": "uint256"
19681
+ },
19682
+ {
19683
+ "indexed": false,
19684
+ "internalType": "uint256",
19685
+ "name": "defeatFraudChallengeWithHeartbeatGasOffset",
19686
+ "type": "uint256"
19687
+ }
19688
+ ],
19689
+ "name": "GasOffsetParametersUpdated",
19690
+ "type": "event"
19691
+ },
19692
+ {
19693
+ "anonymous": false,
19694
+ "inputs": [
19695
+ {
19696
+ "indexed": true,
19697
+ "internalType": "address",
19698
+ "name": "maintainer",
19699
+ "type": "address"
19700
+ }
19701
+ ],
19702
+ "name": "MaintainerAuthorized",
19703
+ "type": "event"
19704
+ },
19705
+ {
19706
+ "anonymous": false,
19707
+ "inputs": [
19708
+ {
19709
+ "indexed": true,
19710
+ "internalType": "address",
19711
+ "name": "maintainer",
19712
+ "type": "address"
19713
+ }
19714
+ ],
19715
+ "name": "MaintainerUnauthorized",
19716
+ "type": "event"
19717
+ },
19718
+ {
19719
+ "anonymous": false,
19720
+ "inputs": [
19721
+ {
19722
+ "indexed": true,
19723
+ "internalType": "address",
19724
+ "name": "previousOwner",
19725
+ "type": "address"
19726
+ },
19727
+ {
19728
+ "indexed": true,
19729
+ "internalType": "address",
19730
+ "name": "newOwner",
19731
+ "type": "address"
19732
+ }
19733
+ ],
19734
+ "name": "OwnershipTransferred",
19735
+ "type": "event"
19736
+ },
19737
+ {
19738
+ "anonymous": false,
19739
+ "inputs": [
19740
+ {
19741
+ "indexed": false,
19742
+ "internalType": "address",
19743
+ "name": "newReimbursementPool",
19744
+ "type": "address"
19745
+ }
19746
+ ],
19747
+ "name": "ReimbursementPoolUpdated",
19748
+ "type": "event"
19749
+ },
19750
+ {
19751
+ "inputs": [],
19752
+ "name": "allMaintainers",
19753
+ "outputs": [
19754
+ {
19755
+ "internalType": "address[]",
19756
+ "name": "",
19757
+ "type": "address[]"
19758
+ }
19759
+ ],
19760
+ "stateMutability": "view",
19761
+ "type": "function"
19762
+ },
19763
+ {
19764
+ "inputs": [
19765
+ {
19766
+ "internalType": "address",
19767
+ "name": "maintainer",
19768
+ "type": "address"
19769
+ }
19770
+ ],
19771
+ "name": "authorize",
19772
+ "outputs": [],
19773
+ "stateMutability": "nonpayable",
19774
+ "type": "function"
19775
+ },
19776
+ {
19777
+ "inputs": [],
19778
+ "name": "bridge",
19779
+ "outputs": [
19780
+ {
19781
+ "internalType": "contract Bridge",
19782
+ "name": "",
19783
+ "type": "address"
19784
+ }
19785
+ ],
19786
+ "stateMutability": "view",
19787
+ "type": "function"
19788
+ },
19789
+ {
19790
+ "inputs": [
19791
+ {
19792
+ "internalType": "bytes",
19793
+ "name": "walletPublicKey",
19794
+ "type": "bytes"
19795
+ },
19796
+ {
19797
+ "internalType": "bytes",
19798
+ "name": "preimage",
19799
+ "type": "bytes"
19800
+ },
19801
+ {
19802
+ "internalType": "bool",
19803
+ "name": "witness",
19804
+ "type": "bool"
19805
+ }
19806
+ ],
19807
+ "name": "defeatFraudChallenge",
19808
+ "outputs": [],
19809
+ "stateMutability": "nonpayable",
19810
+ "type": "function"
19811
+ },
19812
+ {
19813
+ "inputs": [],
19814
+ "name": "defeatFraudChallengeGasOffset",
19815
+ "outputs": [
19816
+ {
19817
+ "internalType": "uint256",
19818
+ "name": "",
19819
+ "type": "uint256"
19820
+ }
19821
+ ],
19822
+ "stateMutability": "view",
19823
+ "type": "function"
19824
+ },
19825
+ {
19826
+ "inputs": [
19827
+ {
19828
+ "internalType": "bytes",
19829
+ "name": "walletPublicKey",
19830
+ "type": "bytes"
19831
+ },
19832
+ {
19833
+ "internalType": "bytes",
19834
+ "name": "heartbeatMessage",
19835
+ "type": "bytes"
19836
+ }
19837
+ ],
19838
+ "name": "defeatFraudChallengeWithHeartbeat",
19839
+ "outputs": [],
19840
+ "stateMutability": "nonpayable",
19841
+ "type": "function"
19842
+ },
19843
+ {
19844
+ "inputs": [],
19845
+ "name": "defeatFraudChallengeWithHeartbeatGasOffset",
19846
+ "outputs": [
19847
+ {
19848
+ "internalType": "uint256",
19849
+ "name": "",
19850
+ "type": "uint256"
19851
+ }
19852
+ ],
19853
+ "stateMutability": "view",
19854
+ "type": "function"
19855
+ },
19856
+ {
19857
+ "inputs": [
19858
+ {
19859
+ "internalType": "address",
19860
+ "name": "",
19861
+ "type": "address"
19862
+ }
19863
+ ],
19864
+ "name": "isAuthorized",
19865
+ "outputs": [
19866
+ {
19867
+ "internalType": "uint256",
19868
+ "name": "",
19869
+ "type": "uint256"
19870
+ }
19871
+ ],
19872
+ "stateMutability": "view",
19873
+ "type": "function"
19874
+ },
19875
+ {
19876
+ "inputs": [
19877
+ {
19878
+ "internalType": "uint256",
19879
+ "name": "",
19880
+ "type": "uint256"
19881
+ }
19882
+ ],
19883
+ "name": "maintainers",
19884
+ "outputs": [
19885
+ {
19886
+ "internalType": "address",
19887
+ "name": "",
19888
+ "type": "address"
19889
+ }
19890
+ ],
19891
+ "stateMutability": "view",
19892
+ "type": "function"
19893
+ },
19894
+ {
19895
+ "inputs": [
19896
+ {
19897
+ "internalType": "bytes20",
19898
+ "name": "walletPubKeyHash",
19899
+ "type": "bytes20"
19900
+ },
19901
+ {
19902
+ "components": [
19903
+ {
19904
+ "internalType": "bytes32",
19905
+ "name": "txHash",
19906
+ "type": "bytes32"
19907
+ },
19908
+ {
19909
+ "internalType": "uint32",
19910
+ "name": "txOutputIndex",
19911
+ "type": "uint32"
19912
+ },
19913
+ {
19914
+ "internalType": "uint64",
19915
+ "name": "txOutputValue",
19916
+ "type": "uint64"
19917
+ }
19918
+ ],
19919
+ "internalType": "struct BitcoinTx.UTXO",
19920
+ "name": "mainUtxo",
19921
+ "type": "tuple"
19922
+ }
19923
+ ],
19924
+ "name": "notifyMovingFundsBelowDust",
19925
+ "outputs": [],
19926
+ "stateMutability": "nonpayable",
19927
+ "type": "function"
19928
+ },
19929
+ {
19930
+ "inputs": [],
19931
+ "name": "notifyMovingFundsBelowDustGasOffset",
19932
+ "outputs": [
19933
+ {
19934
+ "internalType": "uint256",
19935
+ "name": "",
19936
+ "type": "uint256"
19937
+ }
19938
+ ],
19939
+ "stateMutability": "view",
19940
+ "type": "function"
19941
+ },
19942
+ {
19943
+ "inputs": [
19944
+ {
19945
+ "internalType": "bytes20",
19946
+ "name": "walletPubKeyHash",
19947
+ "type": "bytes20"
19948
+ },
19949
+ {
19950
+ "components": [
19951
+ {
19952
+ "internalType": "bytes32",
19953
+ "name": "txHash",
19954
+ "type": "bytes32"
19955
+ },
19956
+ {
19957
+ "internalType": "uint32",
19958
+ "name": "txOutputIndex",
19959
+ "type": "uint32"
19960
+ },
19961
+ {
19962
+ "internalType": "uint64",
19963
+ "name": "txOutputValue",
19964
+ "type": "uint64"
19965
+ }
19966
+ ],
19967
+ "internalType": "struct BitcoinTx.UTXO",
19968
+ "name": "walletMainUtxo",
19969
+ "type": "tuple"
19970
+ }
19971
+ ],
19972
+ "name": "notifyWalletCloseable",
19973
+ "outputs": [],
19974
+ "stateMutability": "nonpayable",
19975
+ "type": "function"
19976
+ },
19977
+ {
19978
+ "inputs": [],
19979
+ "name": "notifyWalletCloseableGasOffset",
19980
+ "outputs": [
19981
+ {
19982
+ "internalType": "uint256",
19983
+ "name": "",
19984
+ "type": "uint256"
19985
+ }
19986
+ ],
19987
+ "stateMutability": "view",
19988
+ "type": "function"
19989
+ },
19990
+ {
19991
+ "inputs": [
19992
+ {
19993
+ "internalType": "bytes20",
19994
+ "name": "walletPubKeyHash",
19995
+ "type": "bytes20"
19996
+ }
19997
+ ],
19998
+ "name": "notifyWalletClosingPeriodElapsed",
19999
+ "outputs": [],
20000
+ "stateMutability": "nonpayable",
20001
+ "type": "function"
20002
+ },
20003
+ {
20004
+ "inputs": [],
20005
+ "name": "notifyWalletClosingPeriodElapsedGasOffset",
20006
+ "outputs": [
20007
+ {
20008
+ "internalType": "uint256",
20009
+ "name": "",
20010
+ "type": "uint256"
20011
+ }
20012
+ ],
20013
+ "stateMutability": "view",
20014
+ "type": "function"
20015
+ },
20016
+ {
20017
+ "inputs": [],
20018
+ "name": "owner",
20019
+ "outputs": [
20020
+ {
20021
+ "internalType": "address",
20022
+ "name": "",
20023
+ "type": "address"
20024
+ }
20025
+ ],
20026
+ "stateMutability": "view",
20027
+ "type": "function"
20028
+ },
20029
+ {
20030
+ "inputs": [],
20031
+ "name": "reimbursementPool",
20032
+ "outputs": [
20033
+ {
20034
+ "internalType": "contract ReimbursementPool",
20035
+ "name": "",
20036
+ "type": "address"
20037
+ }
20038
+ ],
20039
+ "stateMutability": "view",
20040
+ "type": "function"
20041
+ },
20042
+ {
20043
+ "inputs": [],
20044
+ "name": "renounceOwnership",
20045
+ "outputs": [],
20046
+ "stateMutability": "nonpayable",
20047
+ "type": "function"
20048
+ },
20049
+ {
20050
+ "inputs": [
20051
+ {
20052
+ "components": [
20053
+ {
20054
+ "internalType": "bytes32",
20055
+ "name": "txHash",
20056
+ "type": "bytes32"
20057
+ },
20058
+ {
20059
+ "internalType": "uint32",
20060
+ "name": "txOutputIndex",
20061
+ "type": "uint32"
20062
+ },
20063
+ {
20064
+ "internalType": "uint64",
20065
+ "name": "txOutputValue",
20066
+ "type": "uint64"
20067
+ }
20068
+ ],
20069
+ "internalType": "struct BitcoinTx.UTXO",
20070
+ "name": "activeWalletMainUtxo",
20071
+ "type": "tuple"
20072
+ }
20073
+ ],
20074
+ "name": "requestNewWallet",
20075
+ "outputs": [],
20076
+ "stateMutability": "nonpayable",
20077
+ "type": "function"
20078
+ },
20079
+ {
20080
+ "inputs": [],
20081
+ "name": "requestNewWalletGasOffset",
20082
+ "outputs": [
20083
+ {
20084
+ "internalType": "uint256",
20085
+ "name": "",
20086
+ "type": "uint256"
20087
+ }
20088
+ ],
20089
+ "stateMutability": "view",
20090
+ "type": "function"
20091
+ },
20092
+ {
20093
+ "inputs": [
20094
+ {
20095
+ "internalType": "bytes20",
20096
+ "name": "walletPubKeyHash",
20097
+ "type": "bytes20"
20098
+ }
20099
+ ],
20100
+ "name": "resetMovingFundsTimeout",
20101
+ "outputs": [],
20102
+ "stateMutability": "nonpayable",
20103
+ "type": "function"
20104
+ },
20105
+ {
20106
+ "inputs": [],
20107
+ "name": "resetMovingFundsTimeoutGasOffset",
20108
+ "outputs": [
20109
+ {
20110
+ "internalType": "uint256",
20111
+ "name": "",
20112
+ "type": "uint256"
20113
+ }
20114
+ ],
20115
+ "stateMutability": "view",
20116
+ "type": "function"
20117
+ },
20118
+ {
20119
+ "inputs": [
20120
+ {
20121
+ "components": [
20122
+ {
20123
+ "internalType": "bytes4",
20124
+ "name": "version",
20125
+ "type": "bytes4"
20126
+ },
20127
+ {
20128
+ "internalType": "bytes",
20129
+ "name": "inputVector",
20130
+ "type": "bytes"
20131
+ },
20132
+ {
20133
+ "internalType": "bytes",
20134
+ "name": "outputVector",
20135
+ "type": "bytes"
20136
+ },
20137
+ {
20138
+ "internalType": "bytes4",
20139
+ "name": "locktime",
20140
+ "type": "bytes4"
20141
+ }
20142
+ ],
20143
+ "internalType": "struct BitcoinTx.Info",
20144
+ "name": "sweepTx",
20145
+ "type": "tuple"
20146
+ },
20147
+ {
20148
+ "components": [
20149
+ {
20150
+ "internalType": "bytes",
20151
+ "name": "merkleProof",
20152
+ "type": "bytes"
20153
+ },
20154
+ {
20155
+ "internalType": "uint256",
20156
+ "name": "txIndexInBlock",
20157
+ "type": "uint256"
20158
+ },
20159
+ {
20160
+ "internalType": "bytes",
20161
+ "name": "bitcoinHeaders",
20162
+ "type": "bytes"
20163
+ }
20164
+ ],
20165
+ "internalType": "struct BitcoinTx.Proof",
20166
+ "name": "sweepProof",
20167
+ "type": "tuple"
20168
+ },
20169
+ {
20170
+ "components": [
20171
+ {
20172
+ "internalType": "bytes32",
20173
+ "name": "txHash",
20174
+ "type": "bytes32"
20175
+ },
20176
+ {
20177
+ "internalType": "uint32",
20178
+ "name": "txOutputIndex",
20179
+ "type": "uint32"
20180
+ },
20181
+ {
20182
+ "internalType": "uint64",
20183
+ "name": "txOutputValue",
20184
+ "type": "uint64"
20185
+ }
20186
+ ],
20187
+ "internalType": "struct BitcoinTx.UTXO",
20188
+ "name": "mainUtxo",
20189
+ "type": "tuple"
20190
+ },
20191
+ {
20192
+ "internalType": "address",
20193
+ "name": "vault",
20194
+ "type": "address"
20195
+ }
20196
+ ],
20197
+ "name": "submitDepositSweepProof",
20198
+ "outputs": [],
20199
+ "stateMutability": "nonpayable",
20200
+ "type": "function"
20201
+ },
20202
+ {
20203
+ "inputs": [],
20204
+ "name": "submitDepositSweepProofGasOffset",
20205
+ "outputs": [
20206
+ {
20207
+ "internalType": "uint256",
20208
+ "name": "",
20209
+ "type": "uint256"
20210
+ }
20211
+ ],
20212
+ "stateMutability": "view",
20213
+ "type": "function"
20214
+ },
20215
+ {
20216
+ "inputs": [
20217
+ {
20218
+ "components": [
20219
+ {
20220
+ "internalType": "bytes4",
20221
+ "name": "version",
20222
+ "type": "bytes4"
20223
+ },
20224
+ {
20225
+ "internalType": "bytes",
20226
+ "name": "inputVector",
20227
+ "type": "bytes"
20228
+ },
20229
+ {
20230
+ "internalType": "bytes",
20231
+ "name": "outputVector",
20232
+ "type": "bytes"
20233
+ },
20234
+ {
20235
+ "internalType": "bytes4",
20236
+ "name": "locktime",
20237
+ "type": "bytes4"
20238
+ }
20239
+ ],
20240
+ "internalType": "struct BitcoinTx.Info",
20241
+ "name": "sweepTx",
20242
+ "type": "tuple"
20243
+ },
20244
+ {
20245
+ "components": [
20246
+ {
20247
+ "internalType": "bytes",
20248
+ "name": "merkleProof",
20249
+ "type": "bytes"
20250
+ },
20251
+ {
20252
+ "internalType": "uint256",
20253
+ "name": "txIndexInBlock",
20254
+ "type": "uint256"
20255
+ },
20256
+ {
20257
+ "internalType": "bytes",
20258
+ "name": "bitcoinHeaders",
20259
+ "type": "bytes"
20260
+ }
20261
+ ],
20262
+ "internalType": "struct BitcoinTx.Proof",
20263
+ "name": "sweepProof",
20264
+ "type": "tuple"
20265
+ },
20266
+ {
20267
+ "components": [
20268
+ {
20269
+ "internalType": "bytes32",
20270
+ "name": "txHash",
20271
+ "type": "bytes32"
20272
+ },
20273
+ {
20274
+ "internalType": "uint32",
20275
+ "name": "txOutputIndex",
20276
+ "type": "uint32"
20277
+ },
20278
+ {
20279
+ "internalType": "uint64",
20280
+ "name": "txOutputValue",
20281
+ "type": "uint64"
20282
+ }
20283
+ ],
20284
+ "internalType": "struct BitcoinTx.UTXO",
20285
+ "name": "mainUtxo",
20286
+ "type": "tuple"
20287
+ }
20288
+ ],
20289
+ "name": "submitMovedFundsSweepProof",
20290
+ "outputs": [],
20291
+ "stateMutability": "nonpayable",
20292
+ "type": "function"
20293
+ },
20294
+ {
20295
+ "inputs": [],
20296
+ "name": "submitMovedFundsSweepProofGasOffset",
20297
+ "outputs": [
20298
+ {
20299
+ "internalType": "uint256",
20300
+ "name": "",
20301
+ "type": "uint256"
20302
+ }
20303
+ ],
20304
+ "stateMutability": "view",
20305
+ "type": "function"
20306
+ },
20307
+ {
20308
+ "inputs": [
20309
+ {
20310
+ "internalType": "bytes20",
20311
+ "name": "walletPubKeyHash",
20312
+ "type": "bytes20"
20313
+ },
20314
+ {
20315
+ "components": [
20316
+ {
20317
+ "internalType": "bytes32",
20318
+ "name": "txHash",
20319
+ "type": "bytes32"
20320
+ },
20321
+ {
20322
+ "internalType": "uint32",
20323
+ "name": "txOutputIndex",
20324
+ "type": "uint32"
20325
+ },
20326
+ {
20327
+ "internalType": "uint64",
20328
+ "name": "txOutputValue",
20329
+ "type": "uint64"
20330
+ }
20331
+ ],
20332
+ "internalType": "struct BitcoinTx.UTXO",
20333
+ "name": "walletMainUtxo",
20334
+ "type": "tuple"
20335
+ },
20336
+ {
20337
+ "internalType": "uint32[]",
20338
+ "name": "walletMembersIDs",
20339
+ "type": "uint32[]"
20340
+ },
20341
+ {
20342
+ "internalType": "uint256",
20343
+ "name": "walletMemberIndex",
20344
+ "type": "uint256"
20345
+ },
20346
+ {
20347
+ "internalType": "bytes20[]",
20348
+ "name": "targetWallets",
20349
+ "type": "bytes20[]"
20350
+ }
20351
+ ],
20352
+ "name": "submitMovingFundsCommitment",
20353
+ "outputs": [],
20354
+ "stateMutability": "nonpayable",
20355
+ "type": "function"
20356
+ },
20357
+ {
20358
+ "inputs": [],
20359
+ "name": "submitMovingFundsCommitmentGasOffset",
20360
+ "outputs": [
20361
+ {
20362
+ "internalType": "uint256",
20363
+ "name": "",
20364
+ "type": "uint256"
20365
+ }
20366
+ ],
20367
+ "stateMutability": "view",
20368
+ "type": "function"
20369
+ },
20370
+ {
20371
+ "inputs": [
20372
+ {
20373
+ "components": [
20374
+ {
20375
+ "internalType": "bytes4",
20376
+ "name": "version",
20377
+ "type": "bytes4"
20378
+ },
20379
+ {
20380
+ "internalType": "bytes",
20381
+ "name": "inputVector",
20382
+ "type": "bytes"
20383
+ },
20384
+ {
20385
+ "internalType": "bytes",
20386
+ "name": "outputVector",
20387
+ "type": "bytes"
20388
+ },
20389
+ {
20390
+ "internalType": "bytes4",
20391
+ "name": "locktime",
20392
+ "type": "bytes4"
20393
+ }
20394
+ ],
20395
+ "internalType": "struct BitcoinTx.Info",
20396
+ "name": "movingFundsTx",
20397
+ "type": "tuple"
20398
+ },
20399
+ {
20400
+ "components": [
20401
+ {
20402
+ "internalType": "bytes",
20403
+ "name": "merkleProof",
20404
+ "type": "bytes"
20405
+ },
20406
+ {
20407
+ "internalType": "uint256",
20408
+ "name": "txIndexInBlock",
20409
+ "type": "uint256"
20410
+ },
20411
+ {
20412
+ "internalType": "bytes",
20413
+ "name": "bitcoinHeaders",
20414
+ "type": "bytes"
20415
+ }
20416
+ ],
20417
+ "internalType": "struct BitcoinTx.Proof",
20418
+ "name": "movingFundsProof",
20419
+ "type": "tuple"
20420
+ },
20421
+ {
20422
+ "components": [
20423
+ {
20424
+ "internalType": "bytes32",
20425
+ "name": "txHash",
20426
+ "type": "bytes32"
20427
+ },
20428
+ {
20429
+ "internalType": "uint32",
20430
+ "name": "txOutputIndex",
20431
+ "type": "uint32"
20432
+ },
20433
+ {
20434
+ "internalType": "uint64",
20435
+ "name": "txOutputValue",
20436
+ "type": "uint64"
20437
+ }
20438
+ ],
20439
+ "internalType": "struct BitcoinTx.UTXO",
20440
+ "name": "mainUtxo",
20441
+ "type": "tuple"
20442
+ },
20443
+ {
20444
+ "internalType": "bytes20",
20445
+ "name": "walletPubKeyHash",
20446
+ "type": "bytes20"
20447
+ }
20448
+ ],
20449
+ "name": "submitMovingFundsProof",
20450
+ "outputs": [],
20451
+ "stateMutability": "nonpayable",
20452
+ "type": "function"
20453
+ },
20454
+ {
20455
+ "inputs": [],
20456
+ "name": "submitMovingFundsProofGasOffset",
20457
+ "outputs": [
20458
+ {
20459
+ "internalType": "uint256",
20460
+ "name": "",
20461
+ "type": "uint256"
20462
+ }
20463
+ ],
20464
+ "stateMutability": "view",
20465
+ "type": "function"
20466
+ },
20467
+ {
20468
+ "inputs": [
20469
+ {
20470
+ "components": [
20471
+ {
20472
+ "internalType": "bytes4",
20473
+ "name": "version",
20474
+ "type": "bytes4"
20475
+ },
20476
+ {
20477
+ "internalType": "bytes",
20478
+ "name": "inputVector",
20479
+ "type": "bytes"
20480
+ },
20481
+ {
20482
+ "internalType": "bytes",
20483
+ "name": "outputVector",
20484
+ "type": "bytes"
20485
+ },
20486
+ {
20487
+ "internalType": "bytes4",
20488
+ "name": "locktime",
20489
+ "type": "bytes4"
20490
+ }
20491
+ ],
20492
+ "internalType": "struct BitcoinTx.Info",
20493
+ "name": "redemptionTx",
20494
+ "type": "tuple"
20495
+ },
20496
+ {
20497
+ "components": [
20498
+ {
20499
+ "internalType": "bytes",
20500
+ "name": "merkleProof",
20501
+ "type": "bytes"
20502
+ },
20503
+ {
20504
+ "internalType": "uint256",
20505
+ "name": "txIndexInBlock",
20506
+ "type": "uint256"
20507
+ },
20508
+ {
20509
+ "internalType": "bytes",
20510
+ "name": "bitcoinHeaders",
20511
+ "type": "bytes"
20512
+ }
20513
+ ],
20514
+ "internalType": "struct BitcoinTx.Proof",
20515
+ "name": "redemptionProof",
20516
+ "type": "tuple"
20517
+ },
20518
+ {
20519
+ "components": [
20520
+ {
20521
+ "internalType": "bytes32",
20522
+ "name": "txHash",
20523
+ "type": "bytes32"
20524
+ },
20525
+ {
20526
+ "internalType": "uint32",
20527
+ "name": "txOutputIndex",
20528
+ "type": "uint32"
20529
+ },
20530
+ {
20531
+ "internalType": "uint64",
20532
+ "name": "txOutputValue",
20533
+ "type": "uint64"
20534
+ }
20535
+ ],
20536
+ "internalType": "struct BitcoinTx.UTXO",
20537
+ "name": "mainUtxo",
20538
+ "type": "tuple"
20539
+ },
20540
+ {
20541
+ "internalType": "bytes20",
20542
+ "name": "walletPubKeyHash",
20543
+ "type": "bytes20"
20544
+ }
20545
+ ],
20546
+ "name": "submitRedemptionProof",
20547
+ "outputs": [],
20548
+ "stateMutability": "nonpayable",
20549
+ "type": "function"
20550
+ },
20551
+ {
20552
+ "inputs": [],
20553
+ "name": "submitRedemptionProofGasOffset",
20554
+ "outputs": [
20555
+ {
20556
+ "internalType": "uint256",
20557
+ "name": "",
20558
+ "type": "uint256"
20559
+ }
20560
+ ],
20561
+ "stateMutability": "view",
20562
+ "type": "function"
20563
+ },
20564
+ {
20565
+ "inputs": [
20566
+ {
20567
+ "internalType": "address",
20568
+ "name": "newOwner",
20569
+ "type": "address"
20570
+ }
20571
+ ],
20572
+ "name": "transferOwnership",
20573
+ "outputs": [],
20574
+ "stateMutability": "nonpayable",
20575
+ "type": "function"
20576
+ },
20577
+ {
20578
+ "inputs": [
20579
+ {
20580
+ "internalType": "address",
20581
+ "name": "maintainerToUnauthorize",
20582
+ "type": "address"
20583
+ }
20584
+ ],
20585
+ "name": "unauthorize",
20586
+ "outputs": [],
20587
+ "stateMutability": "nonpayable",
20588
+ "type": "function"
20589
+ },
20590
+ {
20591
+ "inputs": [
20592
+ {
20593
+ "internalType": "contract Bridge",
20594
+ "name": "_bridge",
20595
+ "type": "address"
20596
+ }
20597
+ ],
20598
+ "name": "updateBridge",
20599
+ "outputs": [],
20600
+ "stateMutability": "nonpayable",
20601
+ "type": "function"
20602
+ },
20603
+ {
20604
+ "inputs": [
20605
+ {
20606
+ "internalType": "uint256",
20607
+ "name": "newSubmitDepositSweepProofGasOffset",
20608
+ "type": "uint256"
20609
+ },
20610
+ {
20611
+ "internalType": "uint256",
20612
+ "name": "newSubmitRedemptionProofGasOffset",
20613
+ "type": "uint256"
20614
+ },
20615
+ {
20616
+ "internalType": "uint256",
20617
+ "name": "newSubmitMovingFundsCommitmentGasOffset",
20618
+ "type": "uint256"
20619
+ },
20620
+ {
20621
+ "internalType": "uint256",
20622
+ "name": "newResetMovingFundsTimeoutGasOffset",
20623
+ "type": "uint256"
20624
+ },
20625
+ {
20626
+ "internalType": "uint256",
20627
+ "name": "newSubmitMovingFundsProofGasOffset",
20628
+ "type": "uint256"
20629
+ },
20630
+ {
20631
+ "internalType": "uint256",
20632
+ "name": "newNotifyMovingFundsBelowDustGasOffset",
20633
+ "type": "uint256"
20634
+ },
20635
+ {
20636
+ "internalType": "uint256",
20637
+ "name": "newSubmitMovedFundsSweepProofGasOffset",
20638
+ "type": "uint256"
20639
+ },
20640
+ {
20641
+ "internalType": "uint256",
20642
+ "name": "newRequestNewWalletGasOffset",
20643
+ "type": "uint256"
20644
+ },
20645
+ {
20646
+ "internalType": "uint256",
20647
+ "name": "newNotifyWalletCloseableGasOffset",
20648
+ "type": "uint256"
20649
+ },
20650
+ {
20651
+ "internalType": "uint256",
20652
+ "name": "newNotifyWalletClosingPeriodElapsedGasOffset",
20653
+ "type": "uint256"
20654
+ },
20655
+ {
20656
+ "internalType": "uint256",
20657
+ "name": "newDefeatFraudChallengeGasOffset",
20658
+ "type": "uint256"
20659
+ },
20660
+ {
20661
+ "internalType": "uint256",
20662
+ "name": "newDefeatFraudChallengeWithHeartbeatGasOffset",
20663
+ "type": "uint256"
20664
+ }
20665
+ ],
20666
+ "name": "updateGasOffsetParameters",
20667
+ "outputs": [],
20668
+ "stateMutability": "nonpayable",
20669
+ "type": "function"
20670
+ },
20671
+ {
20672
+ "inputs": [
20673
+ {
20674
+ "internalType": "contract ReimbursementPool",
20675
+ "name": "_reimbursementPool",
20676
+ "type": "address"
20677
+ }
20678
+ ],
20679
+ "name": "updateReimbursementPool",
20680
+ "outputs": [],
20681
+ "stateMutability": "nonpayable",
20682
+ "type": "function"
20683
+ }
20684
+ ]
19580
20685
  }
19581
20686
  }
19582
20687
  }