@keep-network/tbtc-v2 1.6.0-dev.15 → 1.6.0-dev.17
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/artifacts/BLS.json +1 -1
- package/artifacts/Bank.json +3 -3
- package/artifacts/BeaconAuthorization.json +1 -1
- package/artifacts/BeaconDkg.json +1 -1
- package/artifacts/BeaconDkgValidator.json +1 -1
- package/artifacts/BeaconInactivity.json +1 -1
- package/artifacts/BeaconSortitionPool.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/BridgeGovernance.json +2 -2
- package/artifacts/BridgeGovernanceParameters.json +2 -2
- package/artifacts/Deposit.json +2 -2
- package/artifacts/DepositSweep.json +2 -2
- package/artifacts/DonationVault.json +3 -3
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/EcdsaSortitionPool.json +3 -3
- package/artifacts/Fraud.json +2 -2
- package/artifacts/LightRelay.json +18 -18
- package/artifacts/LightRelayMaintainerProxy.json +8 -8
- package/artifacts/MaintainerProxy.json +19 -19
- package/artifacts/MovingFunds.json +2 -2
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeacon.json +2 -2
- package/artifacts/RandomBeaconChaosnet.json +2 -2
- package/artifacts/RandomBeaconGovernance.json +2 -2
- package/artifacts/Redemption.json +2 -2
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +3 -3
- package/artifacts/TBTCToken.json +3 -3
- package/artifacts/TBTCVault.json +23 -23
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +3 -3
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/VendingMachineV2.json +3 -3
- package/artifacts/VendingMachineV3.json +3 -3
- package/artifacts/WalletProposalValidator.json +2 -2
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +2 -2
- package/artifacts/solcInputs/{1788e81ec23cfa014c2c13441f296723.json → d86f3b9c8cafe2e77604a4fc30b88b09.json} +12 -0
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
- package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
- package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
- package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
- package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/integrator/AbstractTBTCDepositor.sol/AbstractTBTCDepositor.dbg.json +4 -0
- package/build/contracts/integrator/AbstractTBTCDepositor.sol/AbstractTBTCDepositor.json +113 -0
- package/build/contracts/integrator/IBridge.sol/IBridge.dbg.json +4 -0
- package/build/contracts/integrator/IBridge.sol/IBridge.json +172 -0
- package/build/contracts/integrator/IBridge.sol/IBridgeTypes.dbg.json +4 -0
- package/build/contracts/integrator/IBridge.sol/IBridgeTypes.json +10 -0
- package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.dbg.json +4 -0
- package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.json +48 -0
- package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
- package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/integrator/AbstractTBTCDepositor.sol +321 -0
- package/contracts/integrator/IBridge.sol +80 -0
- package/contracts/integrator/ITBTCVault.sol +28 -0
- package/export/artifacts/@keep-network/bitcoin-spv-sol/contracts/BTCUtils.sol/BTCUtils.json +20 -20
- package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +1986 -1986
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +20 -20
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +1836 -1836
- package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +545 -545
- package/export/artifacts/@keep-network/sortition-pools/contracts/Chaosnet.sol/Chaosnet.json +506 -506
- package/export/artifacts/@keep-network/sortition-pools/contracts/Rewards.sol/Rewards.json +23 -23
- package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionPool.sol/SortitionPool.json +2456 -2456
- package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionTree.sol/SortitionTree.json +465 -465
- package/export/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +568 -568
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +603 -603
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +1001 -1001
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +1877 -1877
- package/export/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol/ERC20Upgradeable.json +654 -654
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +2534 -2534
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +736 -736
- package/export/artifacts/contracts/bank/Bank.sol/Bank.json +1872 -1872
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +7234 -7234
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +1257 -1257
- package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +972 -972
- package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +1122 -1122
- package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +5028 -5028
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +3002 -3002
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +2490 -2490
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +2456 -2456
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +1922 -1922
- package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +1013 -1013
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +1874 -1874
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +8259 -8259
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +130 -130
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +2047 -2047
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +354 -354
- package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +1924 -1924
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +568 -568
- package/export/artifacts/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.json +1249 -1249
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +2291 -2291
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +1698 -1698
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +189 -189
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockBridge.json +6631 -0
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.json +1523 -0
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.json +11156 -0
- package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +1447 -1447
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2847 -2847
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +858 -858
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +3489 -3489
- package/export/typechain/AbstractTBTCDepositor.js +2 -0
- package/export/typechain/IBridge.js +2 -0
- package/export/typechain/ITBTCVault.js +2 -0
- package/export/typechain/MockBridge.js +2 -0
- package/export/typechain/MockTBTCVault.js +2 -0
- package/export/typechain/TestTBTCDepositor.js +2 -0
- package/export/typechain/factories/AbstractTBTCDepositor__factory.js +124 -0
- package/export/typechain/factories/IBridge__factory.js +183 -0
- package/export/typechain/factories/ITBTCVault__factory.js +59 -0
- package/export/typechain/factories/MockBridge__factory.js +303 -0
- package/export/typechain/factories/MockTBTCVault__factory.js +166 -0
- package/export/typechain/factories/TestTBTCDepositor__factory.js +362 -0
- package/export/typechain/index.js +14 -1
- package/package.json +1 -1
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AbstractTBTCDepositor__factory = void 0;
|
|
7
|
+
var ethers_1 = require("ethers");
|
|
8
|
+
var _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "uint256",
|
|
15
|
+
name: "depositKey",
|
|
16
|
+
type: "uint256",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: false,
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "tbtcAmount",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: false,
|
|
26
|
+
internalType: "uint32",
|
|
27
|
+
name: "finalizedAt",
|
|
28
|
+
type: "uint32",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "DepositFinalized",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "depositKey",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "uint32",
|
|
46
|
+
name: "initializedAt",
|
|
47
|
+
type: "uint32",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "DepositInitialized",
|
|
51
|
+
type: "event",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
inputs: [],
|
|
55
|
+
name: "SATOSHI_MULTIPLIER",
|
|
56
|
+
outputs: [
|
|
57
|
+
{
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
stateMutability: "view",
|
|
64
|
+
type: "function",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
inputs: [],
|
|
68
|
+
name: "bridge",
|
|
69
|
+
outputs: [
|
|
70
|
+
{
|
|
71
|
+
internalType: "contract IBridge",
|
|
72
|
+
name: "",
|
|
73
|
+
type: "address",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
stateMutability: "view",
|
|
77
|
+
type: "function",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
internalType: "uint256",
|
|
83
|
+
name: "",
|
|
84
|
+
type: "uint256",
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
name: "pendingDeposits",
|
|
88
|
+
outputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "bool",
|
|
91
|
+
name: "",
|
|
92
|
+
type: "bool",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
stateMutability: "view",
|
|
96
|
+
type: "function",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
inputs: [],
|
|
100
|
+
name: "tbtcVault",
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "contract ITBTCVault",
|
|
104
|
+
name: "",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
stateMutability: "view",
|
|
109
|
+
type: "function",
|
|
110
|
+
},
|
|
111
|
+
];
|
|
112
|
+
var AbstractTBTCDepositor__factory = /** @class */ (function () {
|
|
113
|
+
function AbstractTBTCDepositor__factory() {
|
|
114
|
+
}
|
|
115
|
+
AbstractTBTCDepositor__factory.createInterface = function () {
|
|
116
|
+
return new ethers_1.utils.Interface(_abi);
|
|
117
|
+
};
|
|
118
|
+
AbstractTBTCDepositor__factory.connect = function (address, signerOrProvider) {
|
|
119
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
120
|
+
};
|
|
121
|
+
AbstractTBTCDepositor__factory.abi = _abi;
|
|
122
|
+
return AbstractTBTCDepositor__factory;
|
|
123
|
+
}());
|
|
124
|
+
exports.AbstractTBTCDepositor__factory = AbstractTBTCDepositor__factory;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IBridge__factory = void 0;
|
|
7
|
+
var ethers_1 = require("ethers");
|
|
8
|
+
var _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "depositParameters",
|
|
12
|
+
outputs: [
|
|
13
|
+
{
|
|
14
|
+
internalType: "uint64",
|
|
15
|
+
name: "depositDustThreshold",
|
|
16
|
+
type: "uint64",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
internalType: "uint64",
|
|
20
|
+
name: "depositTreasuryFeeDivisor",
|
|
21
|
+
type: "uint64",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
internalType: "uint64",
|
|
25
|
+
name: "depositTxMaxFee",
|
|
26
|
+
type: "uint64",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
internalType: "uint32",
|
|
30
|
+
name: "depositRevealAheadPeriod",
|
|
31
|
+
type: "uint32",
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
stateMutability: "view",
|
|
35
|
+
type: "function",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
inputs: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "uint256",
|
|
41
|
+
name: "depositKey",
|
|
42
|
+
type: "uint256",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
name: "deposits",
|
|
46
|
+
outputs: [
|
|
47
|
+
{
|
|
48
|
+
components: [
|
|
49
|
+
{
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "depositor",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
internalType: "uint64",
|
|
56
|
+
name: "amount",
|
|
57
|
+
type: "uint64",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
internalType: "uint32",
|
|
61
|
+
name: "revealedAt",
|
|
62
|
+
type: "uint32",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "vault",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint64",
|
|
71
|
+
name: "treasuryFee",
|
|
72
|
+
type: "uint64",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint32",
|
|
76
|
+
name: "sweptAt",
|
|
77
|
+
type: "uint32",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
internalType: "bytes32",
|
|
81
|
+
name: "extraData",
|
|
82
|
+
type: "bytes32",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
internalType: "struct IBridgeTypes.DepositRequest",
|
|
86
|
+
name: "",
|
|
87
|
+
type: "tuple",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
stateMutability: "view",
|
|
91
|
+
type: "function",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
inputs: [
|
|
95
|
+
{
|
|
96
|
+
components: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "bytes4",
|
|
99
|
+
name: "version",
|
|
100
|
+
type: "bytes4",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
internalType: "bytes",
|
|
104
|
+
name: "inputVector",
|
|
105
|
+
type: "bytes",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
internalType: "bytes",
|
|
109
|
+
name: "outputVector",
|
|
110
|
+
type: "bytes",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
internalType: "bytes4",
|
|
114
|
+
name: "locktime",
|
|
115
|
+
type: "bytes4",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
internalType: "struct IBridgeTypes.BitcoinTxInfo",
|
|
119
|
+
name: "fundingTx",
|
|
120
|
+
type: "tuple",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
components: [
|
|
124
|
+
{
|
|
125
|
+
internalType: "uint32",
|
|
126
|
+
name: "fundingOutputIndex",
|
|
127
|
+
type: "uint32",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
internalType: "bytes8",
|
|
131
|
+
name: "blindingFactor",
|
|
132
|
+
type: "bytes8",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
internalType: "bytes20",
|
|
136
|
+
name: "walletPubKeyHash",
|
|
137
|
+
type: "bytes20",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
internalType: "bytes20",
|
|
141
|
+
name: "refundPubKeyHash",
|
|
142
|
+
type: "bytes20",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
internalType: "bytes4",
|
|
146
|
+
name: "refundLocktime",
|
|
147
|
+
type: "bytes4",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
internalType: "address",
|
|
151
|
+
name: "vault",
|
|
152
|
+
type: "address",
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
internalType: "struct IBridgeTypes.DepositRevealInfo",
|
|
156
|
+
name: "reveal",
|
|
157
|
+
type: "tuple",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
internalType: "bytes32",
|
|
161
|
+
name: "extraData",
|
|
162
|
+
type: "bytes32",
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
name: "revealDepositWithExtraData",
|
|
166
|
+
outputs: [],
|
|
167
|
+
stateMutability: "nonpayable",
|
|
168
|
+
type: "function",
|
|
169
|
+
},
|
|
170
|
+
];
|
|
171
|
+
var IBridge__factory = /** @class */ (function () {
|
|
172
|
+
function IBridge__factory() {
|
|
173
|
+
}
|
|
174
|
+
IBridge__factory.createInterface = function () {
|
|
175
|
+
return new ethers_1.utils.Interface(_abi);
|
|
176
|
+
};
|
|
177
|
+
IBridge__factory.connect = function (address, signerOrProvider) {
|
|
178
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
179
|
+
};
|
|
180
|
+
IBridge__factory.abi = _abi;
|
|
181
|
+
return IBridge__factory;
|
|
182
|
+
}());
|
|
183
|
+
exports.IBridge__factory = IBridge__factory;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ITBTCVault__factory = void 0;
|
|
7
|
+
var ethers_1 = require("ethers");
|
|
8
|
+
var _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "optimisticMintingFeeDivisor",
|
|
12
|
+
outputs: [
|
|
13
|
+
{
|
|
14
|
+
internalType: "uint32",
|
|
15
|
+
name: "",
|
|
16
|
+
type: "uint32",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
stateMutability: "view",
|
|
20
|
+
type: "function",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "uint256",
|
|
26
|
+
name: "depositKey",
|
|
27
|
+
type: "uint256",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
name: "optimisticMintingRequests",
|
|
31
|
+
outputs: [
|
|
32
|
+
{
|
|
33
|
+
internalType: "uint64",
|
|
34
|
+
name: "requestedAt",
|
|
35
|
+
type: "uint64",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
internalType: "uint64",
|
|
39
|
+
name: "finalizedAt",
|
|
40
|
+
type: "uint64",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
stateMutability: "nonpayable",
|
|
44
|
+
type: "function",
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
var ITBTCVault__factory = /** @class */ (function () {
|
|
48
|
+
function ITBTCVault__factory() {
|
|
49
|
+
}
|
|
50
|
+
ITBTCVault__factory.createInterface = function () {
|
|
51
|
+
return new ethers_1.utils.Interface(_abi);
|
|
52
|
+
};
|
|
53
|
+
ITBTCVault__factory.connect = function (address, signerOrProvider) {
|
|
54
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
55
|
+
};
|
|
56
|
+
ITBTCVault__factory.abi = _abi;
|
|
57
|
+
return ITBTCVault__factory;
|
|
58
|
+
}());
|
|
59
|
+
exports.ITBTCVault__factory = ITBTCVault__factory;
|