@keep-network/tbtc-v2 0.1.0-ropsten.1 → 0.1.1-dev.10
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/.chainId +1 -1
- package/artifacts/TBTC.json +35 -35
- package/artifacts/TBTCToken.json +737 -0
- package/artifacts/VendingMachine.json +32 -32
- package/artifacts/solcInputs/524094faac10a04084fcc411e06dab84.json +128 -0
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +4 -0
- package/build/contracts/bank/Bank.sol/Bank.json +537 -0
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +4 -0
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +10 -0
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +4 -0
- package/build/contracts/bridge/Bridge.sol/Bridge.json +335 -0
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.json +2 -2
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/token/TBTC.sol/TBTC.json +4 -4
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +4 -0
- package/build/contracts/vault/IVault.sol/IVault.json +47 -0
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +4 -0
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +181 -0
- package/contracts/bank/Bank.sol +389 -0
- package/contracts/bridge/BitcoinTx.sol +104 -0
- package/contracts/bridge/Bridge.sol +346 -0
- package/contracts/vault/IVault.sol +60 -0
- package/contracts/vault/TBTCVault.sol +146 -0
- package/deploy/00_resolve_tbtc_v1_token.ts +1 -1
- package/deploy/01_deploy_tbtc_v2_token.ts +8 -1
- package/deploy/02_deploy_vending_machine.ts +7 -0
- package/export.json +1547 -0
- package/package.json +27 -16
- package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +0 -104
|
@@ -6,10 +6,17 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
|
6
6
|
const { deploy } = deployments
|
|
7
7
|
const { deployer } = await getNamedAccounts()
|
|
8
8
|
|
|
9
|
-
await deploy("TBTC", {
|
|
9
|
+
const TBTC = await deploy("TBTC", {
|
|
10
10
|
from: deployer,
|
|
11
11
|
log: true,
|
|
12
12
|
})
|
|
13
|
+
|
|
14
|
+
if (hre.network.tags.tenderly) {
|
|
15
|
+
await hre.tenderly.verify({
|
|
16
|
+
name: "TBTC",
|
|
17
|
+
address: TBTC.address,
|
|
18
|
+
})
|
|
19
|
+
}
|
|
13
20
|
}
|
|
14
21
|
|
|
15
22
|
export default func
|
|
@@ -22,6 +22,13 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
|
22
22
|
VendingMachine.address,
|
|
23
23
|
deployer
|
|
24
24
|
)
|
|
25
|
+
|
|
26
|
+
if (hre.network.tags.tenderly) {
|
|
27
|
+
await hre.tenderly.verify({
|
|
28
|
+
name: "VendingMachine",
|
|
29
|
+
address: VendingMachine.address,
|
|
30
|
+
})
|
|
31
|
+
}
|
|
25
32
|
}
|
|
26
33
|
|
|
27
34
|
export default func
|