Skip to content

Commit

Permalink
Update contract artifacts in the SDK (#809)
Browse files Browse the repository at this point in the history
Some smart contract upgrades landed recently. Here we update contract
artifacts in the SDK to reflect that.
  • Loading branch information
tomaszslabon authored Apr 12, 2024
2 parents 3b862da + 57627ef commit 5a8492c
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 31 deletions.
195 changes: 187 additions & 8 deletions typescript/src/lib/ethereum/artifacts/mainnet/Bridge.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,19 @@
"name": "RedemptionTimedOut",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "redemptionWatchtower",
"type": "address"
}
],
"name": "RedemptionWatchtowerSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -983,6 +996,11 @@
"internalType": "uint32",
"name": "sweptAt",
"type": "uint32"
},
{
"internalType": "bytes32",
"name": "extraData",
"type": "bytes32"
}
],
"internalType": "struct Deposit.DepositRequest",
Expand Down Expand Up @@ -1062,6 +1080,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getRedemptionWatchtower",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "governance",
Expand Down Expand Up @@ -1371,6 +1402,24 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes20",
"name": "walletPubKeyHash",
"type": "bytes20"
},
{
"internalType": "bytes",
"name": "redeemerOutputScript",
"type": "bytes"
}
],
"name": "notifyRedemptionVeto",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -1691,6 +1740,96 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "bytes4",
"name": "version",
"type": "bytes4"
},
{
"internalType": "bytes",
"name": "inputVector",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "outputVector",
"type": "bytes"
},
{
"internalType": "bytes4",
"name": "locktime",
"type": "bytes4"
}
],
"internalType": "struct BitcoinTx.Info",
"name": "fundingTx",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint32",
"name": "fundingOutputIndex",
"type": "uint32"
},
{
"internalType": "bytes8",
"name": "blindingFactor",
"type": "bytes8"
},
{
"internalType": "bytes20",
"name": "walletPubKeyHash",
"type": "bytes20"
},
{
"internalType": "bytes20",
"name": "refundPubKeyHash",
"type": "bytes20"
},
{
"internalType": "bytes4",
"name": "refundLocktime",
"type": "bytes4"
},
{
"internalType": "address",
"name": "vault",
"type": "address"
}
],
"internalType": "struct Deposit.DepositRevealInfo",
"name": "reveal",
"type": "tuple"
},
{
"internalType": "bytes32",
"name": "extraData",
"type": "bytes32"
}
],
"name": "revealDepositWithExtraData",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "redemptionWatchtower",
"type": "address"
}
],
"name": "setRedemptionWatchtower",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -1791,6 +1930,16 @@
"internalType": "bytes",
"name": "bitcoinHeaders",
"type": "bytes"
},
{
"internalType": "bytes32",
"name": "coinbasePreimage",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "coinbaseProof",
"type": "bytes"
}
],
"internalType": "struct BitcoinTx.Proof",
Expand Down Expand Up @@ -1915,6 +2064,16 @@
"internalType": "bytes",
"name": "bitcoinHeaders",
"type": "bytes"
},
{
"internalType": "bytes32",
"name": "coinbasePreimage",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "coinbaseProof",
"type": "bytes"
}
],
"internalType": "struct BitcoinTx.Proof",
Expand Down Expand Up @@ -2044,6 +2203,16 @@
"internalType": "bytes",
"name": "bitcoinHeaders",
"type": "bytes"
},
{
"internalType": "bytes32",
"name": "coinbasePreimage",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "coinbaseProof",
"type": "bytes"
}
],
"internalType": "struct BitcoinTx.Proof",
Expand Down Expand Up @@ -2128,6 +2297,16 @@
"internalType": "bytes",
"name": "bitcoinHeaders",
"type": "bytes"
},
{
"internalType": "bytes32",
"name": "coinbasePreimage",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "coinbaseProof",
"type": "bytes"
}
],
"internalType": "struct BitcoinTx.Proof",
Expand Down Expand Up @@ -2610,15 +2789,15 @@
"status": 1,
"byzantium": true
},
"numDeployments": 2,
"numDeployments": 4,
"libraries": {
"Deposit": "0x1Ac1841a47054E070236F1664991e52c30C04dC5",
"DepositSweep": "0xE6F919e62c370Ef04EDF4cA5E2a901Ea1aa87085",
"Redemption": "0xfa4FC53BEB5B7721d173342FfC24058e9D47a1Ff",
"Wallets": "0xC67913137429985416DbCe28D9fa9ec960BA47BF",
"Fraud": "0xd040Def4bC6372Cd27b433288008aDCe7c9de71C",
"MovingFunds": "0xB857117ae7639255d7305DdbC7346b4a644CA432"
"Deposit": "0xCD2EbDA2beA80484C55675e1965149054dCcD137",
"DepositSweep": "0x392635646Bc22FC13C86859d1f02B27974aC9b95",
"Redemption": "0x8EF1BEDA734E696CC055269b46BB5a0EC7Ac9f5E",
"Wallets": "0xc989d3E486AAe6355F65281B4d0bde08c8e32fBC",
"Fraud": "0x51bBeF1c7cC3a1D3bC5E64CE6C3BA6E66fbA3559",
"MovingFunds": "0x3E0407765FaC663d391aE738f3Aa0c98EAb67a90"
},
"implementation": "0x8D014903BF7867260584d714e11809fea5293234",
"implementation": "0xA4996De73682BDF9CF514fbf238ee387C1a21A26",
"devdoc": "Contract deployed as upgradable proxy"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1953,10 +1953,10 @@
"0xc2731fb2823af3Efc2694c9bC86F444d5c5bb4Dc",
"0x01B67b1194C75264d06F808A921228a95C765dd7"
],
"numDeployments": 1,
"numDeployments": 2,
"libraries": {
"EcdsaInactivity": "0x8263eFCb8F28246697585c89Fed0501Cd946F764"
},
"implementation": "0xFbaE130e06Bbc8CA198861BEeCae6e2B830398fb",
"implementation": "0x08D7e8ce124921CAaFd7670502379Ced0065c832",
"devdoc": "Contract deployed as upgradable proxy"
}
Loading

0 comments on commit 5a8492c

Please sign in to comment.