@keep-network/tbtc-v2 0.1.1-dev.69 → 0.1.1-dev.71
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/Bank.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/DefaultProxyAdmin.json +2 -2
- package/artifacts/Deposit.json +7 -7
- package/artifacts/DepositSweep.json +9 -9
- package/artifacts/EcdsaDkgValidator.json +2 -2
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/Fraud.json +18 -18
- package/artifacts/KeepRegistry.json +1 -1
- package/artifacts/KeepStake.json +2 -2
- package/artifacts/KeepToken.json +2 -2
- package/artifacts/KeepTokenStaking.json +1 -1
- package/artifacts/MovingFunds.json +7 -7
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeaconStub.json +1 -1
- package/artifacts/Redemption.json +7 -7
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/Relay.json +9 -9
- package/artifacts/SortitionPool.json +3 -3
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +3 -3
- package/artifacts/TBTCToken.json +3 -3
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +10 -10
- package/artifacts/VendingMachineKeep.json +1 -1
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/WalletRegistry.json +6 -6
- package/artifacts/WalletRegistry_Implementation.json +1 -1
- package/artifacts/WalletRegistry_Proxy.json +6 -6
- package/artifacts/Wallets.json +9 -9
- package/artifacts/solcInputs/{eb507899925af50d85171e90b51ddf5f.json → 55619e5b15411ce6622d6da869c273a1.json} +6 -6
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +2 -2
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.json +18 -18
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.json +2 -2
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.json +2 -2
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.json +2 -2
- 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/Fraud.sol/Fraud.json +2 -2
- 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/MovingFunds.sol/MovingFunds.json +2 -2
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.json +2 -2
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.json +2 -2
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.json +2 -2
- 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/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +98 -2
- package/contracts/bridge/Bridge.sol +23 -18
- package/contracts/bridge/Fraud.sol +32 -19
- package/contracts/vault/TBTCVault.sol +33 -1
- package/export.json +4 -4
- package/package.json +1 -1
package/artifacts/Bank.json
CHANGED
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
"transactionIndex": 0,
|
|
550
550
|
"gasUsed": "1411738",
|
|
551
551
|
"logsBloom": "0x00000000000000000002000000080000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008020020000000000000000000000000000000000001000000000000000000000000000000",
|
|
552
|
-
"blockHash": "
|
|
552
|
+
"blockHash": "0xe01958fabe5d96938b10e4a31a835979196baa008673c15165fdd396408419a6",
|
|
553
553
|
"transactionHash": "0x338e3a461a905d24b3be4660d73ed0fc974a7e4f8c7ba611aaf0934ab4773aab",
|
|
554
554
|
"logs": [
|
|
555
555
|
{
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
],
|
|
565
565
|
"data": "0x",
|
|
566
566
|
"logIndex": 0,
|
|
567
|
-
"blockHash": "
|
|
567
|
+
"blockHash": "0xe01958fabe5d96938b10e4a31a835979196baa008673c15165fdd396408419a6"
|
|
568
568
|
}
|
|
569
569
|
],
|
|
570
570
|
"blockNumber": 35,
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
},
|
|
575
575
|
"args": [],
|
|
576
576
|
"numDeployments": 1,
|
|
577
|
-
"solcInputHash": "
|
|
577
|
+
"solcInputHash": "55619e5b15411ce6622d6da869c273a1",
|
|
578
578
|
"metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BalanceApproved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BalanceDecreased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BalanceIncreased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BalanceTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newBridge\",\"type\":\"address\"}],\"name\":\"BridgeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approveBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approveBalanceAndCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cachedChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cachedDomainSeparator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"decreaseBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseBalanceAllowance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"increaseBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseBalanceAllowance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"depositors\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"depositedAmounts\",\"type\":\"uint256[]\"}],\"name\":\"increaseBalanceAndCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"increaseBalances\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"setBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bridge\",\"type\":\"address\"}],\"name\":\"updateBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approveBalance(address,uint256)\":{\"details\":\"If the `amount` is set to `type(uint256).max` then `transferBalanceFrom` will not reduce an allowance. Beware that changing an allowance with this function brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. Please use `increaseBalanceAllowance` and `decreaseBalanceAllowance` to eliminate the risk.\"},\"approveBalanceAndCall(address,uint256)\":{\"details\":\"If the `amount` is set to `type(uint256).max` then the logic in `receiveBalanceApproval` or later call to `transferBalanceFrom` by the vault will not reduce an allowance. Beware that changing an allowance with this function brings the risk that vault may use both the old and the new allowance by unfortunate transaction ordering. Please use `increaseBalanceAllowance` and `decreaseBalanceAllowance` to eliminate the risk.\"},\"increaseBalanceAndCall(address,address[],uint256[])\":{\"details\":\"Requirements: - `vault` must implement `IVault` interface, - length of `depositors` and `depositedAmounts` must be the same.\",\"params\":{\"depositedAmounts\":\"Amounts deposited by individual depositors and swept. The `vault`'s balance in the Bank will be increased by the sum of all elements in this array.\",\"depositors\":\"Addresses of depositors whose deposits have been swept\",\"vault\":\"Address of `IVault` recipient contract\"}},\"increaseBalances(address[],uint256[])\":{\"details\":\"Requirements: - length of `recipients` and `amounts` must be the same.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"The deadline argument can be set to `type(uint256).max to create permits that effectively never expire. If the `amount` is set to `type(uint256).max` then `transferBalanceFrom` will not reduce an allowance. Beware that changing an allowance with this function brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. Please use `increaseBalanceAllowance` and `decreaseBalanceAllowance` to eliminate the risk.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferBalance(address,uint256)\":{\"details\":\"Requirements: - `recipient` cannot be the zero address, - the caller must have a balance of at least `amount`.\"},\"transferBalanceFrom(address,address,uint256)\":{\"details\":\"Requirements: - `recipient` cannot be the zero address, - `spender` must have a balance of at least `amount`, - the caller must have allowance for `spender`'s balance of at least `amount`.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"updateBridge(address)\":{\"details\":\"The function does not implement any governance delay and does not check the status of the Bridge. The Governance implementation needs to ensure all requirements for the upgrade are satisfied before executing this function.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns hash of EIP712 Domain struct with `TBTC Bank` as a signing domain and Bank contract as a verifying contract. Used to construct EIP2612 signature provided to `permit` function.\"},\"PERMIT_TYPEHASH()\":{\"notice\":\"Returns EIP2612 Permit message hash. Used to construct EIP2612 signature provided to `permit` function.\"},\"allowance(address,address)\":{\"notice\":\"The remaining amount of balance a spender will be allowed to transfer on behalf of an owner using `transferBalanceFrom`. Zero by default.\"},\"approveBalance(address,uint256)\":{\"notice\":\"Sets `amount` as the allowance of `spender` over the caller's balance.\"},\"approveBalanceAndCall(address,uint256)\":{\"notice\":\"Sets `amount` as the allowance of a smart contract `vault` over the caller's balance and calls the vault via `receiveBalanceApproval`.\"},\"balanceOf(address)\":{\"notice\":\"The balance of a given account in the Bank. Zero by default.\"},\"decreaseBalance(uint256)\":{\"notice\":\"Decreases caller's balance by the provided `amount`. There is no way to restore the balance so do not call this function unless you really know what you are doing!\"},\"decreaseBalanceAllowance(address,uint256)\":{\"notice\":\"Atomically decreases the balance allowance granted to `spender` by the caller by the given `subtractedValue`.\"},\"increaseBalance(address,uint256)\":{\"notice\":\"Increases balance of the provided `recipient` by the provided `amount`. Can only be called by the Bridge.\"},\"increaseBalanceAllowance(address,uint256)\":{\"notice\":\"Atomically increases the balance allowance granted to `spender` by the caller by the given `addedValue`.\"},\"increaseBalanceAndCall(address,address[],uint256[])\":{\"notice\":\"Increases the given smart contract `vault`'s balance and notifies the `vault` contract. Called by the Bridge after the deposits routed by depositors to that `vault` have been swept by the Bridge. This way, the depositor does not have to issue a separate transaction to the `vault` contract. Can be called only by the Bridge.\"},\"increaseBalances(address[],uint256[])\":{\"notice\":\"Increases balances of the provided `recipients` by the provided `amounts`. Can only be called by the Bridge.\"},\"nonce(address)\":{\"notice\":\"Returns the current nonce for EIP2612 permission for the provided balance owner for a replay protection. Used to construct EIP2612 signature provided to `permit` function.\"},\"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)\":{\"notice\":\"EIP2612 approval made with secp256k1 signature. Users can authorize a transfer of their balance with a signature conforming EIP712 standard, rather than an on-chain transaction from their address. Anyone can submit this signature on the user's behalf by calling the permit function, paying gas fees, and possibly performing other actions in the same transaction.\"},\"transferBalance(address,uint256)\":{\"notice\":\"Moves the given `amount` of balance from the caller to `recipient`.\"},\"transferBalanceFrom(address,address,uint256)\":{\"notice\":\"Moves `amount` of balance from `spender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance unless the allowance was made for `type(uint256).max`.\"},\"updateBridge(address)\":{\"notice\":\"Allows the Governance to upgrade the Bridge address.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/BankStub.sol\":\"BankStub\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n constructor() {\\n _setOwner(_msgSender());\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n _;\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _setOwner(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n _setOwner(newOwner);\\n }\\n\\n function _setOwner(address newOwner) private {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n}\\n\",\"keccak256\":\"0x6bb804a310218875e89d12c053e94a13a4607cdf7cc2052f3e52bd32a0dc50a1\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Context.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\n/*\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n}\\n\",\"keccak256\":\"0x95098bd1d9c8dec4d80d3dedb88a0d949fa0d740ee99f2aa466bc308216ca6d5\",\"license\":\"MIT\"},\"contracts/bank/Bank.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n\\npragma solidity ^0.8.9;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\n\\nimport \\\"../vault/IVault.sol\\\";\\n\\n/// @title Bitcoin Bank\\n/// @notice Bank is a central component tracking Bitcoin balances. Balances can\\n/// be transferred between holders and holders can approve their\\n/// balances to be spent by others. Balances in the Bank are updated for\\n/// depositors who deposit their Bitcoin into the Bridge and only the\\n/// Bridge can increase balances.\\n/// @dev Bank is a governable contract and the Governance can upgrade the Bridge\\n/// address.\\ncontract Bank is Ownable {\\n address public bridge;\\n\\n /// @notice The balance of a given account in the Bank. Zero by default.\\n mapping(address => uint256) public balanceOf;\\n\\n /// @notice The remaining amount of balance a spender will be\\n /// allowed to transfer on behalf of an owner using\\n /// `transferBalanceFrom`. Zero by default.\\n mapping(address => mapping(address => uint256)) public allowance;\\n\\n /// @notice Returns the current nonce for EIP2612 permission for the\\n /// provided balance owner for a replay protection. Used to\\n /// construct EIP2612 signature provided to `permit` function.\\n mapping(address => uint256) public nonce;\\n\\n uint256 public immutable cachedChainId;\\n bytes32 public immutable cachedDomainSeparator;\\n\\n /// @notice Returns EIP2612 Permit message hash. Used to construct EIP2612\\n /// signature provided to `permit` function.\\n bytes32 public constant PERMIT_TYPEHASH =\\n keccak256(\\n \\\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\\\"\\n );\\n\\n event BalanceTransferred(\\n address indexed from,\\n address indexed to,\\n uint256 amount\\n );\\n\\n event BalanceApproved(\\n address indexed owner,\\n address indexed spender,\\n uint256 amount\\n );\\n\\n event BalanceIncreased(address indexed owner, uint256 amount);\\n\\n event BalanceDecreased(address indexed owner, uint256 amount);\\n\\n event BridgeUpdated(address newBridge);\\n\\n modifier onlyBridge() {\\n require(msg.sender == address(bridge), \\\"Caller is not the bridge\\\");\\n _;\\n }\\n\\n constructor() {\\n cachedChainId = block.chainid;\\n cachedDomainSeparator = buildDomainSeparator();\\n }\\n\\n /// @notice Allows the Governance to upgrade the Bridge address.\\n /// @dev The function does not implement any governance delay and does not\\n /// check the status of the Bridge. The Governance implementation needs\\n /// to ensure all requirements for the upgrade are satisfied before\\n /// executing this function.\\n function updateBridge(address _bridge) external onlyOwner {\\n require(_bridge != address(0), \\\"Bridge address must not be 0x0\\\");\\n bridge = _bridge;\\n emit BridgeUpdated(_bridge);\\n }\\n\\n /// @notice Moves the given `amount` of balance from the caller to\\n /// `recipient`.\\n /// @dev Requirements:\\n /// - `recipient` cannot be the zero address,\\n /// - the caller must have a balance of at least `amount`.\\n function transferBalance(address recipient, uint256 amount) external {\\n _transferBalance(msg.sender, recipient, amount);\\n }\\n\\n /// @notice Sets `amount` as the allowance of `spender` over the caller's\\n /// balance.\\n /// @dev If the `amount` is set to `type(uint256).max` then\\n /// `transferBalanceFrom` will not reduce an allowance.\\n /// Beware that changing an allowance with this function brings the\\n /// risk that someone may use both the old and the new allowance by\\n /// unfortunate transaction ordering. Please use\\n /// `increaseBalanceAllowance` and `decreaseBalanceAllowance` to\\n /// eliminate the risk.\\n function approveBalance(address spender, uint256 amount) external {\\n _approveBalance(msg.sender, spender, amount);\\n }\\n\\n /// @notice Sets `amount` as the allowance of a smart contract `vault` over\\n /// the caller's balance and calls the vault via\\n /// `receiveBalanceApproval`.\\n /// @dev If the `amount` is set to `type(uint256).max` then the logic in\\n /// `receiveBalanceApproval` or later call to `transferBalanceFrom` by\\n /// the vault will not reduce an allowance. Beware that changing an\\n /// allowance with this function brings the risk that vault may use\\n /// both the old and the new allowance by unfortunate transaction\\n /// ordering. Please use `increaseBalanceAllowance` and\\n /// `decreaseBalanceAllowance` to eliminate the risk.\\n function approveBalanceAndCall(address vault, uint256 amount) external {\\n _approveBalance(msg.sender, vault, amount);\\n IVault(vault).receiveBalanceApproval(msg.sender, amount);\\n }\\n\\n /// @notice Atomically increases the balance allowance granted to `spender`\\n /// by the caller by the given `addedValue`.\\n function increaseBalanceAllowance(address spender, uint256 addedValue)\\n external\\n {\\n _approveBalance(\\n msg.sender,\\n spender,\\n allowance[msg.sender][spender] + addedValue\\n );\\n }\\n\\n /// @notice Atomically decreases the balance allowance granted to `spender`\\n /// by the caller by the given `subtractedValue`.\\n function decreaseBalanceAllowance(address spender, uint256 subtractedValue)\\n external\\n {\\n uint256 currentAllowance = allowance[msg.sender][spender];\\n require(\\n currentAllowance >= subtractedValue,\\n \\\"Can not decrease balance allowance below zero\\\"\\n );\\n unchecked {\\n _approveBalance(\\n msg.sender,\\n spender,\\n currentAllowance - subtractedValue\\n );\\n }\\n }\\n\\n /// @notice Moves `amount` of balance from `spender` to `recipient` using the\\n /// allowance mechanism. `amount` is then deducted from the caller's\\n /// allowance unless the allowance was made for `type(uint256).max`.\\n /// @dev Requirements:\\n /// - `recipient` cannot be the zero address,\\n /// - `spender` must have a balance of at least `amount`,\\n /// - the caller must have allowance for `spender`'s balance of at\\n /// least `amount`.\\n function transferBalanceFrom(\\n address spender,\\n address recipient,\\n uint256 amount\\n ) external {\\n uint256 currentAllowance = allowance[spender][msg.sender];\\n if (currentAllowance != type(uint256).max) {\\n require(\\n currentAllowance >= amount,\\n \\\"Transfer amount exceeds allowance\\\"\\n );\\n unchecked {\\n _approveBalance(spender, msg.sender, currentAllowance - amount);\\n }\\n }\\n _transferBalance(spender, recipient, amount);\\n }\\n\\n /// @notice EIP2612 approval made with secp256k1 signature.\\n /// Users can authorize a transfer of their balance with a signature\\n /// conforming EIP712 standard, rather than an on-chain transaction\\n /// from their address. Anyone can submit this signature on the\\n /// user's behalf by calling the permit function, paying gas fees,\\n /// and possibly performing other actions in the same transaction.\\n /// @dev The deadline argument can be set to `type(uint256).max to create\\n /// permits that effectively never expire. If the `amount` is set\\n /// to `type(uint256).max` then `transferBalanceFrom` will not\\n /// reduce an allowance. Beware that changing an allowance with this\\n /// function brings the risk that someone may use both the old and the\\n /// new allowance by unfortunate transaction ordering. Please use\\n /// `increaseBalanceAllowance` and `decreaseBalanceAllowance` to\\n /// eliminate the risk.\\n function permit(\\n address owner,\\n address spender,\\n uint256 amount,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external {\\n /* solhint-disable-next-line not-rely-on-time */\\n require(deadline >= block.timestamp, \\\"Permission expired\\\");\\n\\n // Validate `s` and `v` values for a malleability concern described in EIP2.\\n // Only signatures with `s` value in the lower half of the secp256k1\\n // curve's order and `v` value of 27 or 28 are considered valid.\\n require(\\n uint256(s) <=\\n 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,\\n \\\"Invalid signature 's' value\\\"\\n );\\n require(v == 27 || v == 28, \\\"Invalid signature 'v' value\\\");\\n\\n bytes32 digest = keccak256(\\n abi.encodePacked(\\n \\\"\\\\x19\\\\x01\\\",\\n DOMAIN_SEPARATOR(),\\n keccak256(\\n abi.encode(\\n PERMIT_TYPEHASH,\\n owner,\\n spender,\\n amount,\\n nonce[owner]++,\\n deadline\\n )\\n )\\n )\\n );\\n address recoveredAddress = ecrecover(digest, v, r, s);\\n require(\\n recoveredAddress != address(0) && recoveredAddress == owner,\\n \\\"Invalid signature\\\"\\n );\\n _approveBalance(owner, spender, amount);\\n }\\n\\n /// @notice Increases balances of the provided `recipients` by the provided\\n /// `amounts`. Can only be called by the Bridge.\\n /// @dev Requirements:\\n /// - length of `recipients` and `amounts` must be the same.\\n function increaseBalances(\\n address[] calldata recipients,\\n uint256[] calldata amounts\\n ) external onlyBridge {\\n require(\\n recipients.length == amounts.length,\\n \\\"Arrays must have the same length\\\"\\n );\\n for (uint256 i = 0; i < recipients.length; i++) {\\n _increaseBalance(recipients[i], amounts[i]);\\n }\\n }\\n\\n /// @notice Increases balance of the provided `recipient` by the provided\\n /// `amount`. Can only be called by the Bridge.\\n function increaseBalance(address recipient, uint256 amount)\\n external\\n onlyBridge\\n {\\n _increaseBalance(recipient, amount);\\n }\\n\\n /// @notice Increases the given smart contract `vault`'s balance and\\n /// notifies the `vault` contract. Called by the Bridge after\\n /// the deposits routed by depositors to that `vault` have been\\n /// swept by the Bridge. This way, the depositor does not have to\\n /// issue a separate transaction to the `vault` contract.\\n /// Can be called only by the Bridge.\\n /// @dev Requirements:\\n /// - `vault` must implement `IVault` interface,\\n /// - length of `depositors` and `depositedAmounts` must be the same.\\n /// @param vault Address of `IVault` recipient contract\\n /// @param depositors Addresses of depositors whose deposits have been swept\\n /// @param depositedAmounts Amounts deposited by individual depositors and\\n /// swept. The `vault`'s balance in the Bank will be increased by the\\n /// sum of all elements in this array.\\n function increaseBalanceAndCall(\\n address vault,\\n address[] calldata depositors,\\n uint256[] calldata depositedAmounts\\n ) external onlyBridge {\\n require(\\n depositors.length == depositedAmounts.length,\\n \\\"Arrays must have the same length\\\"\\n );\\n uint256 totalAmount = 0;\\n for (uint256 i = 0; i < depositedAmounts.length; i++) {\\n totalAmount += depositedAmounts[i];\\n }\\n _increaseBalance(vault, totalAmount);\\n IVault(vault).receiveBalanceIncrease(depositors, depositedAmounts);\\n }\\n\\n /// @notice Decreases caller's balance by the provided `amount`. There is no\\n /// way to restore the balance so do not call this function unless\\n /// you really know what you are doing!\\n function decreaseBalance(uint256 amount) external {\\n balanceOf[msg.sender] -= amount;\\n emit BalanceDecreased(msg.sender, amount);\\n }\\n\\n /// @notice Returns hash of EIP712 Domain struct with `TBTC Bank` as\\n /// a signing domain and Bank contract as a verifying contract.\\n /// Used to construct EIP2612 signature provided to `permit`\\n /// function.\\n /* solhint-disable-next-line func-name-mixedcase */\\n function DOMAIN_SEPARATOR() public view returns (bytes32) {\\n // As explained in EIP-2612, if the DOMAIN_SEPARATOR contains the\\n // chainId and is defined at contract deployment instead of\\n // reconstructed for every signature, there is a risk of possible replay\\n // attacks between chains in the event of a future chain split.\\n // To address this issue, we check the cached chain ID against the\\n // current one and in case they are different, we build domain separator\\n // from scratch.\\n if (block.chainid == cachedChainId) {\\n return cachedDomainSeparator;\\n } else {\\n return buildDomainSeparator();\\n }\\n }\\n\\n function _increaseBalance(address recipient, uint256 amount) internal {\\n require(\\n recipient != address(this),\\n \\\"Can not increase balance for Bank\\\"\\n );\\n balanceOf[recipient] += amount;\\n emit BalanceIncreased(recipient, amount);\\n }\\n\\n function _transferBalance(\\n address spender,\\n address recipient,\\n uint256 amount\\n ) private {\\n require(\\n recipient != address(0),\\n \\\"Can not transfer to the zero address\\\"\\n );\\n require(\\n recipient != address(this),\\n \\\"Can not transfer to the Bank address\\\"\\n );\\n\\n uint256 spenderBalance = balanceOf[spender];\\n require(spenderBalance >= amount, \\\"Transfer amount exceeds balance\\\");\\n unchecked {\\n balanceOf[spender] = spenderBalance - amount;\\n }\\n balanceOf[recipient] += amount;\\n emit BalanceTransferred(spender, recipient, amount);\\n }\\n\\n function _approveBalance(\\n address owner,\\n address spender,\\n uint256 amount\\n ) private {\\n require(spender != address(0), \\\"Can not approve to the zero address\\\");\\n allowance[owner][spender] = amount;\\n emit BalanceApproved(owner, spender, amount);\\n }\\n\\n function buildDomainSeparator() private view returns (bytes32) {\\n return\\n keccak256(\\n abi.encode(\\n keccak256(\\n \\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\"\\n ),\\n keccak256(bytes(\\\"TBTC Bank\\\")),\\n keccak256(bytes(\\\"1\\\")),\\n block.chainid,\\n address(this)\\n )\\n );\\n }\\n}\\n\",\"keccak256\":\"0x8c19af6dbb1974dcbf6bb623c6d3de6b28493b5f44e5fb1e36f47cdebf500453\",\"license\":\"MIT\"},\"contracts/test/BankStub.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.9;\\n\\nimport \\\"../bank/Bank.sol\\\";\\n\\ncontract BankStub is Bank {\\n function setBalance(address addr, uint256 amount) external {\\n balanceOf[addr] = amount;\\n }\\n}\\n\",\"keccak256\":\"0x1bd09fd911a8626f1c74509fc80148e8e9266cdca860a29a7e48a63bfaf161b2\",\"license\":\"MIT\"},\"contracts/vault/IVault.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n// \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c \\u2590\\u2588\\u2588\\u2588\\u2588\\u258c\\n\\npragma solidity ^0.8.9;\\n\\n/// @title Bank Vault interface\\n/// @notice `IVault` is an interface for a smart contract consuming Bank\\n/// balances of other contracts or externally owned accounts (EOA).\\ninterface IVault {\\n /// @notice Called by the Bank in `approveBalanceAndCall` function after\\n /// the balance `owner` approved `amount` of their balance in the\\n /// Bank for the vault. This way, the depositor can approve balance\\n /// and call the vault to use the approved balance in a single\\n /// transaction.\\n /// @param owner Address of the Bank balance owner who approved their\\n /// balance to be used by the vault\\n /// @param amount The amount of the Bank balance approved by the owner\\n /// to be used by the vault\\n // @dev The implementation must ensure this function can only be called\\n /// by the Bank. The Bank does _not_ guarantee that the `amount`\\n /// approved by the `owner` currently exists on their balance. That is,\\n /// the `owner` could approve more balance than they currently have.\\n /// This works the same as `Bank.approve` function. The vault must\\n /// ensure the actual balance is checked before performing any action\\n /// based on it.\\n function receiveBalanceApproval(address owner, uint256 amount) external;\\n\\n /// @notice Called by the Bank in `increaseBalanceAndCall` function after\\n /// increasing the balance in the Bank for the vault. It happens in\\n /// the same transaction in which deposits were swept by the Bridge.\\n /// This allows the depositor to route their deposit revealed to the\\n /// Bridge to the particular smart contract (vault) in the same\\n /// transaction in which the deposit is revealed. This way, the\\n /// depositor does not have to execute additional transaction after\\n /// the deposit gets swept by the Bridge to approve and transfer\\n /// their balance to the vault.\\n /// @param depositors Addresses of depositors whose deposits have been swept\\n /// @param depositedAmounts Amounts deposited by individual depositors and\\n /// swept\\n /// @dev The implementation must ensure this function can only be called\\n /// by the Bank. The Bank guarantees that the vault's balance was\\n /// increased by the sum of all deposited amounts before this function\\n /// is called, in the same transaction.\\n function receiveBalanceIncrease(\\n address[] calldata depositors,\\n uint256[] calldata depositedAmounts\\n ) external;\\n}\\n\",\"keccak256\":\"0x48d596548f2e6a69e31825f49882998789ea43ff5bcaeb5eea2d9b910577a5e9\",\"license\":\"MIT\"}},\"version\":1}",
|
|
579
579
|
"bytecode": "0x60c060405234801561001057600080fd5b5061001a336100f9565b466080526100f16040805180820182526009815268544254432042616e6b60b81b6020918201528151808301835260018152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b60a052610149565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805160a05161182161017c6000396000818161033801526106760152600081816102d9015261064d01526118216000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c806370ae92d2116100e3578063bb7e61bc1161008c578063e30443bc11610066578063e30443bc146103ab578063e78cea92146103d5578063f2fde38b146103e857600080fd5b8063bb7e61bc1461035a578063d505accf1461036d578063dd62ed3e1461038057600080fd5b80637c6db49c116100bd5780637c6db49c146102fb5780638da5cb5b1461030e578063b4f94b2e1461033357600080fd5b806370ae92d2146102ac578063715018a6146102cc578063771da5c5146102d457600080fd5b806346b05e09116101455780635bfd99b91161011f5780635bfd99b9146102665780636eb382121461027957806370a082311461028c57600080fd5b806346b05e091461022d57806356a6d9ef146102405780635b86f5991461025357600080fd5b806330adf81f1161017657806330adf81f146101d85780633644e51514610212578063392aee431461021a57600080fd5b80630b6d324c1461019d57806315b9b92a146101b2578063266a123a146101c5575b600080fd5b6101b06101ab36600461145a565b6103fb565b005b6101b06101c036600461145a565b6104ac565b6101b06101d33660046114d0565b610534565b6101ff7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6040519081526020015b60405180910390f35b6101ff610649565b6101b061022836600461153c565b610799565b6101b061023b36600461145a565b6107f5565b6101b061024e36600461145a565b610804565b6101b061026136600461145a565b61080f565b6101b061027436600461145a565b610873565b6101b0610287366004611555565b6108ae565b6101ff61029a366004611555565b60026020526000908152604090205481565b6101ff6102ba366004611555565b60046020526000908152604090205481565b6101b06109bf565b6101ff7f000000000000000000000000000000000000000000000000000000000000000081565b6101b0610309366004611577565b610a25565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610209565b6101ff7f000000000000000000000000000000000000000000000000000000000000000081565b6101b06103683660046115b3565b610ae6565b6101b061037b366004611634565b610c63565b6101ff61038e3660046116a7565b600360209081526000928352604080842090915290825290205481565b6101b06103b936600461145a565b6001600160a01b03909116600090815260026020526040902055565b60015461031b906001600160a01b031681565b6101b06103f6366004611555565b610f73565b3360009081526003602090815260408083206001600160a01b03861684529091529020548181101561049a5760405162461bcd60e51b815260206004820152602d60248201527f43616e206e6f742064656372656173652062616c616e636520616c6c6f77616e60448201527f63652062656c6f77207a65726f0000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a73384848403611055565b505050565b6104b7338383611055565b6040517f53794137000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b03831690635379413790604401600060405180830381600087803b15801561051857600080fd5b505af115801561052c573d6000803e3d6000fd5b505050505050565b6001546001600160a01b0316331461058e5760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b8281146105dd5760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e6774686044820152606401610491565b60005b83811015610642576106308585838181106105fd576105fd6116da565b90506020020160208101906106129190611555565b848484818110610624576106246116da565b90506020020135611132565b8061063a81611706565b9150506105e0565b5050505050565b60007f000000000000000000000000000000000000000000000000000000000000000046141561069857507f000000000000000000000000000000000000000000000000000000000000000090565b50604080518082018252600981527f544254432042616e6b000000000000000000000000000000000000000000000060209182015281518083018352600181527f31000000000000000000000000000000000000000000000000000000000000009082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b33600090815260026020526040812080548392906107b8908490611721565b909155505060405181815233907f9c6be7c4260e52ea2e41d7f17932147ab78756f1bb2247a2554796d969741aff9060200160405180910390a250565b610800338383611055565b5050565b610800338383611220565b6001546001600160a01b031633146108695760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b6108008282611132565b3360008181526003602090815260408083206001600160a01b0387168452909152902054610800919084906108a9908590611738565b611055565b6000546001600160a01b031633146109085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b6001600160a01b03811661095e5760405162461bcd60e51b815260206004820152601e60248201527f4272696467652061646472657373206d757374206e6f742062652030783000006044820152606401610491565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527fe1694c0b21fdceff6411daed547c7463c2341b9695387bc82595b5b9b1851d4a9060200160405180910390a150565b6000546001600160a01b03163314610a195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b610a2360006113e1565b565b6001600160a01b03831660009081526003602090815260408083203384529091529020546000198114610ad55781811015610ac85760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6360448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610491565b610ad58433848403611055565b610ae0848484611220565b50505050565b6001546001600160a01b03163314610b405760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b828114610b8f5760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e6774686044820152606401610491565b6000805b82811015610bd357838382818110610bad57610bad6116da565b9050602002013582610bbf9190611738565b915080610bcb81611706565b915050610b93565b50610bde8682611132565b6040517f461c63730000000000000000000000000000000000000000000000000000000081526001600160a01b0387169063461c637390610c29908890889088908890600401611750565b600060405180830381600087803b158015610c4357600080fd5b505af1158015610c57573d6000803e3d6000fd5b50505050505050505050565b42841015610cb35760405162461bcd60e51b815260206004820152601260248201527f5065726d697373696f6e206578706972656400000000000000000000000000006044820152606401610491565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0811115610d235760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202773272076616c756500000000006044820152606401610491565b8260ff16601b1480610d3857508260ff16601c145b610d845760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202776272076616c756500000000006044820152606401610491565b6000610d8e610649565b6001600160a01b038916600090815260046020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c92909190610ddc83611706565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001610e709291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610edb573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f115750886001600160a01b0316816001600160a01b0316145b610f5d5760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207369676e61747572650000000000000000000000000000006044820152606401610491565b610f68898989611055565b505050505050505050565b6000546001600160a01b03163314610fcd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b6001600160a01b0381166110495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610491565b611052816113e1565b50565b6001600160a01b0382166110d15760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f7420617070726f766520746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610491565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f2fe5e8e7796010737e636f63b35a0383dc160b68483984f2df987c78e842b405910160405180910390a3505050565b6001600160a01b0382163014156111b15760405162461bcd60e51b815260206004820152602160248201527f43616e206e6f7420696e6372656173652062616c616e636520666f722042616e60448201527f6b000000000000000000000000000000000000000000000000000000000000006064820152608401610491565b6001600160a01b038216600090815260026020526040812080548392906111d9908490611738565b90915550506040518181526001600160a01b038316907f7a702e80a9c183a6ce9d6732991df2e914555ba35a364a70aed2433984e7544b9060200160405180910390a25050565b6001600160a01b0382166112825760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610491565b6001600160a01b0382163014156112e75760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f207468652042616e6b206164646044820152637265737360e01b6064820152608401610491565b6001600160a01b038316600090815260026020526040902054818110156113505760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610491565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290611387908490611738565b92505081905550826001600160a01b0316846001600160a01b03167f4163d0b06696468b3d7903f482bcd0097bd38a9a9086157479fd6c6561d24261846040516113d391815260200190565b60405180910390a350505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461145557600080fd5b919050565b6000806040838503121561146d57600080fd5b6114768361143e565b946020939093013593505050565b60008083601f84011261149657600080fd5b50813567ffffffffffffffff8111156114ae57600080fd5b6020830191508360208260051b85010111156114c957600080fd5b9250929050565b600080600080604085870312156114e657600080fd5b843567ffffffffffffffff808211156114fe57600080fd5b61150a88838901611484565b9096509450602087013591508082111561152357600080fd5b5061153087828801611484565b95989497509550505050565b60006020828403121561154e57600080fd5b5035919050565b60006020828403121561156757600080fd5b6115708261143e565b9392505050565b60008060006060848603121561158c57600080fd5b6115958461143e565b92506115a36020850161143e565b9150604084013590509250925092565b6000806000806000606086880312156115cb57600080fd5b6115d48661143e565b9450602086013567ffffffffffffffff808211156115f157600080fd5b6115fd89838a01611484565b9096509450604088013591508082111561161657600080fd5b5061162388828901611484565b969995985093965092949392505050565b600080600080600080600060e0888a03121561164f57600080fd5b6116588861143e565b96506116666020890161143e565b95506040880135945060608801359350608088013560ff8116811461168a57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156116ba57600080fd5b6116c38361143e565b91506116d16020840161143e565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561171a5761171a6116f0565b5060010190565b600082821015611733576117336116f0565b500390565b6000821982111561174b5761174b6116f0565b500190565b6040808252810184905260008560608301825b87811015611791576001600160a01b0361177c8461143e565b16825260209283019290910190600101611763565b5083810360208501528481527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8511156117ca57600080fd5b8460051b91508186602083013760009101602001908152969550505050505056fea2646970667358221220a8fc418c2a3fc204c4f998acb7e2e2e8e19ca2430f0ed737750a64d9074ec35a64736f6c63430008090033",
|
|
580
580
|
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101985760003560e01c806370ae92d2116100e3578063bb7e61bc1161008c578063e30443bc11610066578063e30443bc146103ab578063e78cea92146103d5578063f2fde38b146103e857600080fd5b8063bb7e61bc1461035a578063d505accf1461036d578063dd62ed3e1461038057600080fd5b80637c6db49c116100bd5780637c6db49c146102fb5780638da5cb5b1461030e578063b4f94b2e1461033357600080fd5b806370ae92d2146102ac578063715018a6146102cc578063771da5c5146102d457600080fd5b806346b05e09116101455780635bfd99b91161011f5780635bfd99b9146102665780636eb382121461027957806370a082311461028c57600080fd5b806346b05e091461022d57806356a6d9ef146102405780635b86f5991461025357600080fd5b806330adf81f1161017657806330adf81f146101d85780633644e51514610212578063392aee431461021a57600080fd5b80630b6d324c1461019d57806315b9b92a146101b2578063266a123a146101c5575b600080fd5b6101b06101ab36600461145a565b6103fb565b005b6101b06101c036600461145a565b6104ac565b6101b06101d33660046114d0565b610534565b6101ff7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6040519081526020015b60405180910390f35b6101ff610649565b6101b061022836600461153c565b610799565b6101b061023b36600461145a565b6107f5565b6101b061024e36600461145a565b610804565b6101b061026136600461145a565b61080f565b6101b061027436600461145a565b610873565b6101b0610287366004611555565b6108ae565b6101ff61029a366004611555565b60026020526000908152604090205481565b6101ff6102ba366004611555565b60046020526000908152604090205481565b6101b06109bf565b6101ff7f000000000000000000000000000000000000000000000000000000000000000081565b6101b0610309366004611577565b610a25565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610209565b6101ff7f000000000000000000000000000000000000000000000000000000000000000081565b6101b06103683660046115b3565b610ae6565b6101b061037b366004611634565b610c63565b6101ff61038e3660046116a7565b600360209081526000928352604080842090915290825290205481565b6101b06103b936600461145a565b6001600160a01b03909116600090815260026020526040902055565b60015461031b906001600160a01b031681565b6101b06103f6366004611555565b610f73565b3360009081526003602090815260408083206001600160a01b03861684529091529020548181101561049a5760405162461bcd60e51b815260206004820152602d60248201527f43616e206e6f742064656372656173652062616c616e636520616c6c6f77616e60448201527f63652062656c6f77207a65726f0000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a73384848403611055565b505050565b6104b7338383611055565b6040517f53794137000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b03831690635379413790604401600060405180830381600087803b15801561051857600080fd5b505af115801561052c573d6000803e3d6000fd5b505050505050565b6001546001600160a01b0316331461058e5760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b8281146105dd5760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e6774686044820152606401610491565b60005b83811015610642576106308585838181106105fd576105fd6116da565b90506020020160208101906106129190611555565b848484818110610624576106246116da565b90506020020135611132565b8061063a81611706565b9150506105e0565b5050505050565b60007f000000000000000000000000000000000000000000000000000000000000000046141561069857507f000000000000000000000000000000000000000000000000000000000000000090565b50604080518082018252600981527f544254432042616e6b000000000000000000000000000000000000000000000060209182015281518083018352600181527f31000000000000000000000000000000000000000000000000000000000000009082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b33600090815260026020526040812080548392906107b8908490611721565b909155505060405181815233907f9c6be7c4260e52ea2e41d7f17932147ab78756f1bb2247a2554796d969741aff9060200160405180910390a250565b610800338383611055565b5050565b610800338383611220565b6001546001600160a01b031633146108695760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b6108008282611132565b3360008181526003602090815260408083206001600160a01b0387168452909152902054610800919084906108a9908590611738565b611055565b6000546001600160a01b031633146109085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b6001600160a01b03811661095e5760405162461bcd60e51b815260206004820152601e60248201527f4272696467652061646472657373206d757374206e6f742062652030783000006044820152606401610491565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527fe1694c0b21fdceff6411daed547c7463c2341b9695387bc82595b5b9b1851d4a9060200160405180910390a150565b6000546001600160a01b03163314610a195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b610a2360006113e1565b565b6001600160a01b03831660009081526003602090815260408083203384529091529020546000198114610ad55781811015610ac85760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6360448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610491565b610ad58433848403611055565b610ae0848484611220565b50505050565b6001546001600160a01b03163314610b405760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b828114610b8f5760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e6774686044820152606401610491565b6000805b82811015610bd357838382818110610bad57610bad6116da565b9050602002013582610bbf9190611738565b915080610bcb81611706565b915050610b93565b50610bde8682611132565b6040517f461c63730000000000000000000000000000000000000000000000000000000081526001600160a01b0387169063461c637390610c29908890889088908890600401611750565b600060405180830381600087803b158015610c4357600080fd5b505af1158015610c57573d6000803e3d6000fd5b50505050505050505050565b42841015610cb35760405162461bcd60e51b815260206004820152601260248201527f5065726d697373696f6e206578706972656400000000000000000000000000006044820152606401610491565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0811115610d235760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202773272076616c756500000000006044820152606401610491565b8260ff16601b1480610d3857508260ff16601c145b610d845760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202776272076616c756500000000006044820152606401610491565b6000610d8e610649565b6001600160a01b038916600090815260046020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c92909190610ddc83611706565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001610e709291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610edb573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f115750886001600160a01b0316816001600160a01b0316145b610f5d5760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207369676e61747572650000000000000000000000000000006044820152606401610491565b610f68898989611055565b505050505050505050565b6000546001600160a01b03163314610fcd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b6001600160a01b0381166110495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610491565b611052816113e1565b50565b6001600160a01b0382166110d15760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f7420617070726f766520746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610491565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f2fe5e8e7796010737e636f63b35a0383dc160b68483984f2df987c78e842b405910160405180910390a3505050565b6001600160a01b0382163014156111b15760405162461bcd60e51b815260206004820152602160248201527f43616e206e6f7420696e6372656173652062616c616e636520666f722042616e60448201527f6b000000000000000000000000000000000000000000000000000000000000006064820152608401610491565b6001600160a01b038216600090815260026020526040812080548392906111d9908490611738565b90915550506040518181526001600160a01b038316907f7a702e80a9c183a6ce9d6732991df2e914555ba35a364a70aed2433984e7544b9060200160405180910390a25050565b6001600160a01b0382166112825760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610491565b6001600160a01b0382163014156112e75760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f207468652042616e6b206164646044820152637265737360e01b6064820152608401610491565b6001600160a01b038316600090815260026020526040902054818110156113505760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610491565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290611387908490611738565b92505081905550826001600160a01b0316846001600160a01b03167f4163d0b06696468b3d7903f482bcd0097bd38a9a9086157479fd6c6561d24261846040516113d391815260200190565b60405180910390a350505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461145557600080fd5b919050565b6000806040838503121561146d57600080fd5b6114768361143e565b946020939093013593505050565b60008083601f84011261149657600080fd5b50813567ffffffffffffffff8111156114ae57600080fd5b6020830191508360208260051b85010111156114c957600080fd5b9250929050565b600080600080604085870312156114e657600080fd5b843567ffffffffffffffff808211156114fe57600080fd5b61150a88838901611484565b9096509450602087013591508082111561152357600080fd5b5061153087828801611484565b95989497509550505050565b60006020828403121561154e57600080fd5b5035919050565b60006020828403121561156757600080fd5b6115708261143e565b9392505050565b60008060006060848603121561158c57600080fd5b6115958461143e565b92506115a36020850161143e565b9150604084013590509250925092565b6000806000806000606086880312156115cb57600080fd5b6115d48661143e565b9450602086013567ffffffffffffffff808211156115f157600080fd5b6115fd89838a01611484565b9096509450604088013591508082111561161657600080fd5b5061162388828901611484565b969995985093965092949392505050565b600080600080600080600060e0888a03121561164f57600080fd5b6116588861143e565b96506116666020890161143e565b95506040880135945060608801359350608088013560ff8116811461168a57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156116ba57600080fd5b6116c38361143e565b91506116d16020840161143e565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561171a5761171a6116f0565b5060010190565b600082821015611733576117336116f0565b500390565b6000821982111561174b5761174b6116f0565b500190565b6040808252810184905260008560608301825b87811015611791576001600160a01b0361177c8461143e565b16825260209283019290910190600101611763565b5083810360208501528481527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8511156117ca57600080fd5b8460051b91508186602083013760009101602001908152969550505050505056fea2646970667358221220a8fc418c2a3fc204c4f998acb7e2e2e8e19ca2430f0ed737750a64d9074ec35a64736f6c63430008090033",
|
package/artifacts/Bridge.json
CHANGED
|
@@ -1099,8 +1099,8 @@
|
|
|
1099
1099
|
"name": "walletMembersIDs"
|
|
1100
1100
|
},
|
|
1101
1101
|
{
|
|
1102
|
-
"type": "
|
|
1103
|
-
"name": "
|
|
1102
|
+
"type": "bytes",
|
|
1103
|
+
"name": "preimageSha256"
|
|
1104
1104
|
}
|
|
1105
1105
|
],
|
|
1106
1106
|
"outputs": []
|
|
@@ -1893,8 +1893,8 @@
|
|
|
1893
1893
|
"name": "walletPublicKey"
|
|
1894
1894
|
},
|
|
1895
1895
|
{
|
|
1896
|
-
"type": "
|
|
1897
|
-
"name": "
|
|
1896
|
+
"type": "bytes",
|
|
1897
|
+
"name": "preimageSha256"
|
|
1898
1898
|
},
|
|
1899
1899
|
{
|
|
1900
1900
|
"type": "tuple",
|
|
@@ -2551,6 +2551,6 @@
|
|
|
2551
2551
|
]
|
|
2552
2552
|
}
|
|
2553
2553
|
],
|
|
2554
|
-
"transactionHash": "
|
|
2554
|
+
"transactionHash": "0x97f36e440ec6e7792075a4e3d7d88c87ebb13c872b8bc4259c4cf835ef58cd71",
|
|
2555
2555
|
"numDeployments": 1
|
|
2556
2556
|
}
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"transactionIndex": 0,
|
|
171
171
|
"gasUsed": "671461",
|
|
172
172
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000020000000000000000000000000000000000001000000000000000000000000000000",
|
|
173
|
-
"blockHash": "
|
|
173
|
+
"blockHash": "0x309b7daba29c95c4306543c66e4cfc27bfc7410ea320821c6326967731e7bffd",
|
|
174
174
|
"transactionHash": "0xf4af570fe4a2e00d7ae1bdc5f8724e635b74492c50f305c29e6efc485caf79da",
|
|
175
175
|
"logs": [
|
|
176
176
|
{
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
],
|
|
186
186
|
"data": "0x",
|
|
187
187
|
"logIndex": 0,
|
|
188
|
-
"blockHash": "
|
|
188
|
+
"blockHash": "0x309b7daba29c95c4306543c66e4cfc27bfc7410ea320821c6326967731e7bffd"
|
|
189
189
|
}
|
|
190
190
|
],
|
|
191
191
|
"blockNumber": 29,
|