@keep-network/tbtc-v2 1.6.0-dev.7 → 1.6.0-dev.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/artifacts/BLS.json +1 -1
  2. package/artifacts/Bank.json +3 -3
  3. package/artifacts/BeaconAuthorization.json +1 -1
  4. package/artifacts/BeaconDkg.json +1 -1
  5. package/artifacts/BeaconDkgValidator.json +1 -1
  6. package/artifacts/BeaconInactivity.json +1 -1
  7. package/artifacts/BeaconSortitionPool.json +3 -3
  8. package/artifacts/Bridge.json +5 -5
  9. package/artifacts/BridgeGovernance.json +2 -2
  10. package/artifacts/BridgeGovernanceParameters.json +2 -2
  11. package/artifacts/Deposit.json +2 -2
  12. package/artifacts/DepositSweep.json +2 -2
  13. package/artifacts/DonationVault.json +3 -3
  14. package/artifacts/EcdsaDkgValidator.json +1 -1
  15. package/artifacts/EcdsaInactivity.json +1 -1
  16. package/artifacts/EcdsaSortitionPool.json +3 -3
  17. package/artifacts/Fraud.json +2 -2
  18. package/artifacts/LightRelay.json +18 -18
  19. package/artifacts/LightRelayMaintainerProxy.json +8 -8
  20. package/artifacts/MaintainerProxy.json +19 -19
  21. package/artifacts/MovingFunds.json +2 -2
  22. package/artifacts/NuCypherToken.json +2 -2
  23. package/artifacts/RandomBeacon.json +2 -2
  24. package/artifacts/RandomBeaconChaosnet.json +2 -2
  25. package/artifacts/RandomBeaconGovernance.json +2 -2
  26. package/artifacts/Redemption.json +2 -2
  27. package/artifacts/ReimbursementPool.json +2 -2
  28. package/artifacts/T.json +2 -2
  29. package/artifacts/TBTC.json +3 -3
  30. package/artifacts/TBTCToken.json +3 -3
  31. package/artifacts/TBTCVault.json +23 -23
  32. package/artifacts/TokenStaking.json +1 -1
  33. package/artifacts/TokenholderGovernor.json +9 -9
  34. package/artifacts/TokenholderTimelock.json +8 -8
  35. package/artifacts/VendingMachine.json +3 -3
  36. package/artifacts/VendingMachineNuCypher.json +1 -1
  37. package/artifacts/VendingMachineV2.json +3 -3
  38. package/artifacts/VendingMachineV3.json +3 -3
  39. package/artifacts/WalletProposalValidator.json +36 -13
  40. package/artifacts/WalletRegistry.json +5 -5
  41. package/artifacts/WalletRegistryGovernance.json +2 -2
  42. package/artifacts/Wallets.json +2 -2
  43. package/artifacts/solcInputs/{b4e1c442421284b256fcad9f86102ecc.json → e2337fbc33ddf79d3229147ce15c40b6.json} +1 -1
  44. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  45. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  46. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  47. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  48. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  49. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  50. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  51. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  52. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  53. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  54. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  55. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  56. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  57. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  58. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  59. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  60. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  61. package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
  62. package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
  63. package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +1 -1
  64. package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +24 -2
  65. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  66. package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
  67. package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
  68. package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
  69. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  70. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  71. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  72. package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
  73. package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
  74. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  75. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  76. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  77. package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  78. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  79. package/contracts/bridge/WalletProposalValidator.sol +62 -8
  80. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +22 -22
  81. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +6 -6
  82. package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +6 -6
  83. package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +6 -6
  84. package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +10972 -9231
  85. package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +40 -40
  86. package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +47 -47
  87. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +88 -88
  88. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
  89. package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +31 -31
  90. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
  91. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +58 -58
  92. package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +59 -59
  93. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +2 -2
  94. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
  95. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
  96. package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +59 -59
  97. package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
  98. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
  99. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
  100. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +2 -2
  101. package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
  102. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
  103. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
  104. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +135 -135
  105. package/export/typechain/factories/WalletProposalValidator__factory.js +23 -1
  106. package/package.json +1 -1
@@ -181,7 +181,7 @@
181
181
  "transactionIndex": 0,
182
182
  "gasUsed": "709678",
183
183
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
184
- "blockHash": "0x0d770e3fad57a842f9e37080abb74a14762f8b10d5c31bf868e8290ad5a5a576",
184
+ "blockHash": "0x01c9271b1e81947d96e85f45730af65a5beeea1a62bd0b0d2a920b4162fdb778",
185
185
  "transactionHash": "0x34b71c16b8b6efa9edfd50da14004b79b03bb9eafbf562cab963150c9bfeeaaa",
186
186
  "logs": [],
187
187
  "blockNumber": 17,
@@ -554,7 +554,7 @@
554
554
  "transactionIndex": 0,
555
555
  "gasUsed": "1454871",
556
556
  "logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000002000800020000000000000000000800000000000000000000000000000000400000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000002000000000000000000000000",
557
- "blockHash": "0x30b2c0e31f421ca165a1f64e2650f0cb23d8313fff6ba16ddb6881f11449ba4d",
557
+ "blockHash": "0x3027fb9ea41bb8d84fc69f0357f63c310891b28f1ad78aac25d3ed76c1199af9",
558
558
  "transactionHash": "0xa356827add9cc85ce655c6d2aa265f2e0556a68d840f8b65022e19d992f402cd",
559
559
  "logs": [
560
560
  {
@@ -569,7 +569,7 @@
569
569
  ],
570
570
  "data": "0x",
571
571
  "logIndex": 0,
572
- "blockHash": "0x30b2c0e31f421ca165a1f64e2650f0cb23d8313fff6ba16ddb6881f11449ba4d"
572
+ "blockHash": "0x3027fb9ea41bb8d84fc69f0357f63c310891b28f1ad78aac25d3ed76c1199af9"
573
573
  }
574
574
  ],
575
575
  "blockNumber": 49,
@@ -579,7 +579,7 @@
579
579
  },
580
580
  "args": [],
581
581
  "numDeployments": 1,
582
- "solcInputHash": "b4e1c442421284b256fcad9f86102ecc",
582
+ "solcInputHash": "e2337fbc33ddf79d3229147ce15c40b6",
583
583
  "metadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"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\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"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\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"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\":\"nonces\",\"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`, `transferBalanceFrom` will not reduce an allowance.\",\"params\":{\"amount\":\"The amount the spender is allowed to spend.\",\"spender\":\"The address that will be allowed to spend the balance.\"}},\"approveBalanceAndCall(address,uint256,bytes)\":{\"details\":\"If the `amount` is set to `type(uint256).max`, the potential `transferBalanceFrom` executed in `receiveBalanceApproval` of `spender` will not reduce an allowance. Beware that changing an allowance with this function brings the risk that `spender` may use both the old and the new allowance by unfortunate transaction ordering. Please use `increaseBalanceAllowance` and `decreaseBalanceAllowance` to eliminate the risk.\",\"params\":{\"amount\":\"The amount the spender contract is allowed to spend.\",\"extraData\":\"Extra data passed to the `spender` contract via `receiveBalanceApproval` call.\",\"spender\":\"The smart contract that will be allowed to spend the balance.\"}},\"decreaseBalance(uint256)\":{\"details\":\"Requirements: - The caller must have a balance of at least `amount`.\",\"params\":{\"amount\":\"The amount by which the balance is decreased.\"}},\"decreaseBalanceAllowance(address,uint256)\":{\"details\":\"Requirements: - `spender` must not be the zero address, - the current allowance for `spender` must not be lower than the `subtractedValue`.\",\"params\":{\"spender\":\"The spender address for which the allowance is decreased.\",\"subtractedValue\":\"The amount by which the allowance is decreased.\"}},\"increaseBalance(address,uint256)\":{\"details\":\"Requirements: - `recipient` address must not point to the Bank.\",\"params\":{\"amount\":\"Amount by which the balance is increased.\",\"recipient\":\"Balance increase recipient.\"}},\"increaseBalanceAllowance(address,uint256)\":{\"params\":{\"addedValue\":\"The amount by which the allowance is increased.\",\"spender\":\"The spender address for which the allowance is increased.\"}},\"increaseBalanceAndCall(address,address[],uint256[])\":{\"details\":\"Requirements: - `vault` must implement `IVault` interface, - length of `recipients` and `amounts` must be the same.\",\"params\":{\"amounts\":\"Amounts by which balances are increased.\",\"recipients\":\"Balance increase recipients.\",\"vault\":\"Address of `IVault` recipient contract.\"}},\"increaseBalances(address[],uint256[])\":{\"details\":\"Requirements: - length of `recipients` and `amounts` must be the same, - none of `recipients` addresses must point to the Bank.\",\"params\":{\"amounts\":\"Amounts by which balances are increased.\",\"recipients\":\"Balance increase recipients.\"}},\"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.\",\"params\":{\"amount\":\"The amount the spender is allowed to spend.\",\"deadline\":\"The UNIX time until which the permit is valid.\",\"owner\":\"The balance owner who signed the permission.\",\"r\":\"R part of the permit signature.\",\"s\":\"S part of the permit signature.\",\"spender\":\"The address that will be allowed to spend the balance.\",\"v\":\"V part of the permit signature.\"}},\"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`.\",\"params\":{\"amount\":\"The amount of the balance transferred.\",\"recipient\":\"The recipient of the balance.\"}},\"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 an allowance for `spender`'s balance of at least `amount`.\",\"params\":{\"amount\":\"The amount of balance that is transferred.\",\"recipient\":\"The address to which the balance is transferred.\",\"spender\":\"The address from which the balance is transferred.\"}},\"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. Requirements: - The new Bridge address must not be zero.\",\"params\":{\"_bridge\":\"The new Bridge address.\"}}},\"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 an EIP2612 signature provided to the `permit` function.\"},\"PERMIT_TYPEHASH()\":{\"notice\":\"Returns an EIP2612 Permit message hash. Used to construct an EIP2612 signature provided to the `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. Does not allow updating an existing allowance to a value that is non-zero to avoid someone using both the old and the new allowance by unfortunate transaction ordering. To update an allowance to a non-zero value please set it to zero first or use `increaseBalanceAllowance` or `decreaseBalanceAllowance` for an atomic update.\"},\"approveBalanceAndCall(address,uint256,bytes)\":{\"notice\":\"Sets the `amount` as an allowance of a smart contract `spender` over the caller's balance and calls the `spender` via `receiveBalanceApproval`.\"},\"balanceOf(address)\":{\"notice\":\"The balance of the 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 caller's balance allowance granted to `spender` 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 caller's balance allowance granted to `spender` by the given `addedValue`.\"},\"increaseBalanceAndCall(address,address[],uint256[])\":{\"notice\":\"Increases the given smart contract `vault`'s balance and notifies the `vault` contract about it. 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.\"},\"nonces(address)\":{\"notice\":\"Returns the current nonce for an EIP2612 permission for the provided balance owner to protect against replay attacks. Used to construct an EIP2612 signature provided to the `permit` function.\"},\"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)\":{\"notice\":\"An EIP2612 approval made with secp256k1 signature. Users can authorize a transfer of their balance with a signature conforming to the 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// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\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 _transferOwnership(_msgSender());\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\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 the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\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 _transferOwnership(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 _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n}\\n\",\"keccak256\":\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Context.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\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\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\"},\"contracts/bank/Bank.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0-only\\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.17;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\n\\nimport \\\"./IReceiveBalanceApproval.sol\\\";\\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 balance owners, and balance owners can\\n/// approve their balances to be spent by others. Balances in the Bank\\n/// are updated for depositors who deposited their Bitcoin into the\\n/// Bridge and only the 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 the 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 an EIP2612 permission for the\\n /// provided balance owner to protect against replay attacks. Used\\n /// to construct an EIP2612 signature provided to the `permit`\\n /// function.\\n mapping(address => uint256) public nonces;\\n\\n uint256 public immutable cachedChainId;\\n bytes32 public immutable cachedDomainSeparator;\\n\\n /// @notice Returns an EIP2612 Permit message hash. Used to construct\\n /// an EIP2612 signature provided to the `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 /// Requirements:\\n /// - The new Bridge address must not be zero.\\n /// @param _bridge The new Bridge address.\\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 /// @param recipient The recipient of the balance.\\n /// @param amount The amount of the balance transferred.\\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. Does not allow updating an existing allowance to\\n /// a value that is non-zero to avoid someone using both the old and\\n /// the new allowance by unfortunate transaction ordering. To update\\n /// an allowance to a non-zero value please set it to zero first or\\n /// use `increaseBalanceAllowance` or `decreaseBalanceAllowance` for\\n /// an atomic update.\\n /// @dev If the `amount` is set to `type(uint256).max`,\\n /// `transferBalanceFrom` will not reduce an allowance.\\n /// @param spender The address that will be allowed to spend the balance.\\n /// @param amount The amount the spender is allowed to spend.\\n function approveBalance(address spender, uint256 amount) external {\\n require(\\n amount == 0 || allowance[msg.sender][spender] == 0,\\n \\\"Non-atomic allowance change not allowed\\\"\\n );\\n _approveBalance(msg.sender, spender, amount);\\n }\\n\\n /// @notice Sets the `amount` as an allowance of a smart contract `spender`\\n /// over the caller's balance and calls the `spender` via\\n /// `receiveBalanceApproval`.\\n /// @dev If the `amount` is set to `type(uint256).max`, the potential\\n /// `transferBalanceFrom` executed in `receiveBalanceApproval` of\\n /// `spender` will not reduce an allowance. Beware that changing an\\n /// allowance with this function brings the risk that `spender` 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 /// @param spender The smart contract that will be allowed to spend the\\n /// balance.\\n /// @param amount The amount the spender contract is allowed to spend.\\n /// @param extraData Extra data passed to the `spender` contract via\\n /// `receiveBalanceApproval` call.\\n function approveBalanceAndCall(\\n address spender,\\n uint256 amount,\\n bytes calldata extraData\\n ) external {\\n _approveBalance(msg.sender, spender, amount);\\n IReceiveBalanceApproval(spender).receiveBalanceApproval(\\n msg.sender,\\n amount,\\n extraData\\n );\\n }\\n\\n /// @notice Atomically increases the caller's balance allowance granted to\\n /// `spender` by the given `addedValue`.\\n /// @param spender The spender address for which the allowance is increased.\\n /// @param addedValue The amount by which the allowance is increased.\\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 caller's balance allowance granted to\\n /// `spender` by the given `subtractedValue`.\\n /// @dev Requirements:\\n /// - `spender` must not be the zero address,\\n /// - the current allowance for `spender` must not be lower than\\n /// the `subtractedValue`.\\n /// @param spender The spender address for which the allowance is decreased.\\n /// @param subtractedValue The amount by which the allowance is decreased.\\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 an allowance for `spender`'s balance of at\\n /// least `amount`.\\n /// @param spender The address from which the balance is transferred.\\n /// @param recipient The address to which the balance is transferred.\\n /// @param amount The amount of balance that is transferred.\\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 An EIP2612 approval made with secp256k1 signature. Users can\\n /// authorize a transfer of their balance with a signature\\n /// conforming to the EIP712 standard, rather than an on-chain\\n /// transaction from their address. Anyone can submit this signature\\n /// on the user's behalf by calling the `permit` function, paying\\n /// gas fees, and possibly performing other actions in the same\\n /// 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 /// @param owner The balance owner who signed the permission.\\n /// @param spender The address that will be allowed to spend the balance.\\n /// @param amount The amount the spender is allowed to spend.\\n /// @param deadline The UNIX time until which the permit is valid.\\n /// @param v V part of the permit signature.\\n /// @param r R part of the permit signature.\\n /// @param s S part of the permit signature.\\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 nonces[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 /// - none of `recipients` addresses must point to the Bank.\\n /// @param recipients Balance increase recipients.\\n /// @param amounts Amounts by which balances are increased.\\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 /// @dev Requirements:\\n /// - `recipient` address must not point to the Bank.\\n /// @param recipient Balance increase recipient.\\n /// @param amount Amount by which the balance is increased.\\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 about it.\\n /// Can be called only by the Bridge.\\n /// @dev Requirements:\\n /// - `vault` must implement `IVault` interface,\\n /// - length of `recipients` and `amounts` must be the same.\\n /// @param vault Address of `IVault` recipient contract.\\n /// @param recipients Balance increase recipients.\\n /// @param amounts Amounts by which balances are increased.\\n function increaseBalanceAndCall(\\n address vault,\\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 uint256 totalAmount = 0;\\n for (uint256 i = 0; i < amounts.length; i++) {\\n totalAmount += amounts[i];\\n }\\n _increaseBalance(vault, totalAmount);\\n IVault(vault).receiveBalanceIncrease(recipients, amounts);\\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 /// @dev Requirements:\\n /// - The caller must have a balance of at least `amount`.\\n /// @param amount The amount by which the balance is decreased.\\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 an EIP2612 signature provided to the `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\":\"0x318005485bc8fb8a8fb6091bc4a3ca0e304693d8b372b61835bed2f1f735faf7\",\"license\":\"GPL-3.0-only\"},\"contracts/bank/IReceiveBalanceApproval.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0-only\\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.17;\\n\\n/// @title IReceiveBalanceApproval\\n/// @notice `IReceiveBalanceApproval` is an interface for a smart contract\\n/// consuming Bank balances approved to them in the same transaction by\\n/// other contracts or externally owned accounts (EOA).\\ninterface IReceiveBalanceApproval {\\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 contract. This way, the depositor can approve\\n /// balance and call the contract to use the approved balance in\\n /// a single transaction.\\n /// @param owner Address of the Bank balance owner who approved their\\n /// balance to be used by the contract.\\n /// @param amount The amount of the Bank balance approved by the owner\\n /// to be used by the contract.\\n /// @param extraData The `extraData` passed to `Bank.approveBalanceAndCall`.\\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 contract must\\n /// ensure the actual balance is checked before performing any action\\n /// based on it.\\n function receiveBalanceApproval(\\n address owner,\\n uint256 amount,\\n bytes calldata extraData\\n ) external;\\n}\\n\",\"keccak256\":\"0x864f29d54d9d672348520b1f46bbce786994e07d86032987e4374a267a345c2b\",\"license\":\"GPL-3.0-only\"},\"contracts/test/BankStub.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0-only\\n\\npragma solidity 0.8.17;\\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\":\"0x7a04fd21109d78a2b849d3bdc68d5f859859b3fa35d81308b1a89165b6cdda04\",\"license\":\"GPL-3.0-only\"},\"contracts/vault/IVault.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0-only\\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.17;\\n\\nimport \\\"../bank/IReceiveBalanceApproval.sol\\\";\\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 is IReceiveBalanceApproval {\\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\":\"0x12866d625abab349324ee28c6f6ec0114eaa7069ea0c5f7c7b23f6a0f833ae60\",\"license\":\"GPL-3.0-only\"}},\"version\":1}",
584
584
  "bytecode": "0x60c060405234801561001057600080fd5b5061001a336100f9565b466080526100f16040805180820182526009815268544254432042616e6b60b81b6020918201528151808301835260018152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b60a052610149565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805160a0516118ea61017c6000396000818161033801526105ed0152600081816102b901526105c501526118ea6000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c8063715018a6116100e3578063bb7e61bc1161008c578063e30443bc11610066578063e30443bc146103ab578063e78cea92146103d5578063f2fde38b146103e857600080fd5b8063bb7e61bc1461035a578063d505accf1461036d578063dd62ed3e1461038057600080fd5b80637ecebe00116100bd5780637ecebe00146102ee5780638da5cb5b1461030e578063b4f94b2e1461033357600080fd5b8063715018a6146102ac578063771da5c5146102b45780637c6db49c146102db57600080fd5b80634a38757e116101455780635bfd99b91161011f5780635bfd99b9146102665780636eb382121461027957806370a082311461028c57600080fd5b80634a38757e1461022d57806356a6d9ef146102405780635b86f5991461025357600080fd5b80633644e515116101765780633644e515146101ff578063392aee431461020757806346b05e091461021a57600080fd5b80630b6d324c1461019d578063266a123a146101b257806330adf81f146101c5575b600080fd5b6101b06101ab366004611461565b6103fb565b005b6101b06101c03660046114d7565b6104ac565b6101ec7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6040519081526020015b60405180910390f35b6101ec6105c1565b6101b0610215366004611543565b610710565b6101b0610228366004611461565b61076c565b6101b061023b36600461155c565b61081b565b6101b061024e366004611461565b6108a9565b6101b0610261366004611461565b6108b4565b6101b0610274366004611461565b610918565b6101b06102873660046115e3565b610953565b6101ec61029a3660046115e3565b60026020526000908152604090205481565b6101b0610a12565b6101ec7f000000000000000000000000000000000000000000000000000000000000000081565b6101b06102e9366004611605565b610a26565b6101ec6102fc3660046115e3565b60046020526000908152604090205481565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016101f6565b6101ec7f000000000000000000000000000000000000000000000000000000000000000081565b6101b0610368366004611641565b610ae7565b6101b061037b3660046116c2565b610c64565b6101ec61038e366004611735565b600360209081526000928352604080842090915290825290205481565b6101b06103b9366004611461565b6001600160a01b03909116600090815260026020526040902055565b60015461031b906001600160a01b031681565b6101b06103f63660046115e3565b610f74565b3360009081526003602090815260408083206001600160a01b03861684529091529020548181101561049a5760405162461bcd60e51b815260206004820152602d60248201527f43616e206e6f742064656372656173652062616c616e636520616c6c6f77616e60448201527f63652062656c6f77207a65726f0000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a73384848403611004565b505050565b6001546001600160a01b031633146105065760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b8281146105555760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e6774686044820152606401610491565b60005b838110156105ba576105a885858381811061057557610575611768565b905060200201602081019061058a91906115e3565b84848481811061059c5761059c611768565b905060200201356110e1565b806105b281611794565b915050610558565b5050505050565b60007f0000000000000000000000000000000000000000000000000000000000000000460361060f57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080518082018252600981527f544254432042616e6b000000000000000000000000000000000000000000000060209182015281518083018352600181527f31000000000000000000000000000000000000000000000000000000000000009082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b336000908152600260205260408120805483929061072f9084906117ad565b909155505060405181815233907f9c6be7c4260e52ea2e41d7f17932147ab78756f1bb2247a2554796d969741aff9060200160405180910390a250565b80158061079a57503360009081526003602090815260408083206001600160a01b0386168452909152902054155b61080c5760405162461bcd60e51b815260206004820152602760248201527f4e6f6e2d61746f6d696320616c6c6f77616e6365206368616e6765206e6f742060448201527f616c6c6f776564000000000000000000000000000000000000000000000000006064820152608401610491565b610817338383611004565b5050565b610826338585611004565b6040517f475d05700000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063475d0570906108719033908790879087906004016117c6565b600060405180830381600087803b15801561088b57600080fd5b505af115801561089f573d6000803e3d6000fd5b5050505050505050565b6108173383836111ce565b6001546001600160a01b0316331461090e5760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b61081782826110e1565b3360008181526003602090815260408083206001600160a01b03871684529091529020546108179190849061094e90859061180c565b611004565b61095b61138e565b6001600160a01b0381166109b15760405162461bcd60e51b815260206004820152601e60248201527f4272696467652061646472657373206d757374206e6f742062652030783000006044820152606401610491565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527fe1694c0b21fdceff6411daed547c7463c2341b9695387bc82595b5b9b1851d4a9060200160405180910390a150565b610a1a61138e565b610a2460006113e8565b565b6001600160a01b03831660009081526003602090815260408083203384529091529020546000198114610ad65781811015610ac95760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6360448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610491565b610ad68433848403611004565b610ae18484846111ce565b50505050565b6001546001600160a01b03163314610b415760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b828114610b905760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e6774686044820152606401610491565b6000805b82811015610bd457838382818110610bae57610bae611768565b9050602002013582610bc0919061180c565b915080610bcc81611794565b915050610b94565b50610bdf86826110e1565b6040517f461c63730000000000000000000000000000000000000000000000000000000081526001600160a01b0387169063461c637390610c2a90889088908890889060040161181f565b600060405180830381600087803b158015610c4457600080fd5b505af1158015610c58573d6000803e3d6000fd5b50505050505050505050565b42841015610cb45760405162461bcd60e51b815260206004820152601260248201527f5065726d697373696f6e206578706972656400000000000000000000000000006044820152606401610491565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0811115610d245760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202773272076616c756500000000006044820152606401610491565b8260ff16601b1480610d3957508260ff16601c145b610d855760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202776272076616c756500000000006044820152606401610491565b6000610d8f6105c1565b6001600160a01b038916600090815260046020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c92909190610ddd83611794565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001610e719291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610edc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f125750886001600160a01b0316816001600160a01b0316145b610f5e5760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207369676e61747572650000000000000000000000000000006044820152606401610491565b610f69898989611004565b505050505050505050565b610f7c61138e565b6001600160a01b038116610ff85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610491565b611001816113e8565b50565b6001600160a01b0382166110805760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f7420617070726f766520746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610491565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f2fe5e8e7796010737e636f63b35a0383dc160b68483984f2df987c78e842b405910160405180910390a3505050565b306001600160a01b0383160361115f5760405162461bcd60e51b815260206004820152602160248201527f43616e206e6f7420696e6372656173652062616c616e636520666f722042616e60448201527f6b000000000000000000000000000000000000000000000000000000000000006064820152608401610491565b6001600160a01b0382166000908152600260205260408120805483929061118790849061180c565b90915550506040518181526001600160a01b038316907f7a702e80a9c183a6ce9d6732991df2e914555ba35a364a70aed2433984e7544b9060200160405180910390a25050565b6001600160a01b0382166112305760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610491565b306001600160a01b038316036112945760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f207468652042616e6b206164646044820152637265737360e01b6064820152608401610491565b6001600160a01b038316600090815260026020526040902054818110156112fd5760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610491565b6001600160a01b0380851660009081526002602052604080822085850390559185168152908120805484929061133490849061180c565b92505081905550826001600160a01b0316846001600160a01b03167f4163d0b06696468b3d7903f482bcd0097bd38a9a9086157479fd6c6561d242618460405161138091815260200190565b60405180910390a350505050565b6000546001600160a01b03163314610a245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461145c57600080fd5b919050565b6000806040838503121561147457600080fd5b61147d83611445565b946020939093013593505050565b60008083601f84011261149d57600080fd5b50813567ffffffffffffffff8111156114b557600080fd5b6020830191508360208260051b85010111156114d057600080fd5b9250929050565b600080600080604085870312156114ed57600080fd5b843567ffffffffffffffff8082111561150557600080fd5b6115118883890161148b565b9096509450602087013591508082111561152a57600080fd5b506115378782880161148b565b95989497509550505050565b60006020828403121561155557600080fd5b5035919050565b6000806000806060858703121561157257600080fd5b61157b85611445565b935060208501359250604085013567ffffffffffffffff8082111561159f57600080fd5b818701915087601f8301126115b357600080fd5b8135818111156115c257600080fd5b8860208285010111156115d457600080fd5b95989497505060200194505050565b6000602082840312156115f557600080fd5b6115fe82611445565b9392505050565b60008060006060848603121561161a57600080fd5b61162384611445565b925061163160208501611445565b9150604084013590509250925092565b60008060008060006060868803121561165957600080fd5b61166286611445565b9450602086013567ffffffffffffffff8082111561167f57600080fd5b61168b89838a0161148b565b909650945060408801359150808211156116a457600080fd5b506116b18882890161148b565b969995985093965092949392505050565b600080600080600080600060e0888a0312156116dd57600080fd5b6116e688611445565b96506116f460208901611445565b95506040880135945060608801359350608088013560ff8116811461171857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561174857600080fd5b61175183611445565b915061175f60208401611445565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016117a6576117a661177e565b5060010190565b818103818111156117c0576117c061177e565b92915050565b6001600160a01b038516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f909201601f191601019392505050565b808201808211156117c0576117c061177e565b6040808252810184905260008560608301825b87811015611860576001600160a01b0361184b84611445565b16825260209283019290910190600101611832565b5083810360208501528481527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85111561189957600080fd5b8460051b91508186602083013701602001969550505050505056fea2646970667358221220259329008347ed62d57a7974c037eae9d0bb206760f55aac9a36514b4346368164736f6c63430008110033",
585
585
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101985760003560e01c8063715018a6116100e3578063bb7e61bc1161008c578063e30443bc11610066578063e30443bc146103ab578063e78cea92146103d5578063f2fde38b146103e857600080fd5b8063bb7e61bc1461035a578063d505accf1461036d578063dd62ed3e1461038057600080fd5b80637ecebe00116100bd5780637ecebe00146102ee5780638da5cb5b1461030e578063b4f94b2e1461033357600080fd5b8063715018a6146102ac578063771da5c5146102b45780637c6db49c146102db57600080fd5b80634a38757e116101455780635bfd99b91161011f5780635bfd99b9146102665780636eb382121461027957806370a082311461028c57600080fd5b80634a38757e1461022d57806356a6d9ef146102405780635b86f5991461025357600080fd5b80633644e515116101765780633644e515146101ff578063392aee431461020757806346b05e091461021a57600080fd5b80630b6d324c1461019d578063266a123a146101b257806330adf81f146101c5575b600080fd5b6101b06101ab366004611461565b6103fb565b005b6101b06101c03660046114d7565b6104ac565b6101ec7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6040519081526020015b60405180910390f35b6101ec6105c1565b6101b0610215366004611543565b610710565b6101b0610228366004611461565b61076c565b6101b061023b36600461155c565b61081b565b6101b061024e366004611461565b6108a9565b6101b0610261366004611461565b6108b4565b6101b0610274366004611461565b610918565b6101b06102873660046115e3565b610953565b6101ec61029a3660046115e3565b60026020526000908152604090205481565b6101b0610a12565b6101ec7f000000000000000000000000000000000000000000000000000000000000000081565b6101b06102e9366004611605565b610a26565b6101ec6102fc3660046115e3565b60046020526000908152604090205481565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016101f6565b6101ec7f000000000000000000000000000000000000000000000000000000000000000081565b6101b0610368366004611641565b610ae7565b6101b061037b3660046116c2565b610c64565b6101ec61038e366004611735565b600360209081526000928352604080842090915290825290205481565b6101b06103b9366004611461565b6001600160a01b03909116600090815260026020526040902055565b60015461031b906001600160a01b031681565b6101b06103f63660046115e3565b610f74565b3360009081526003602090815260408083206001600160a01b03861684529091529020548181101561049a5760405162461bcd60e51b815260206004820152602d60248201527f43616e206e6f742064656372656173652062616c616e636520616c6c6f77616e60448201527f63652062656c6f77207a65726f0000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a73384848403611004565b505050565b6001546001600160a01b031633146105065760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b8281146105555760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e6774686044820152606401610491565b60005b838110156105ba576105a885858381811061057557610575611768565b905060200201602081019061058a91906115e3565b84848481811061059c5761059c611768565b905060200201356110e1565b806105b281611794565b915050610558565b5050505050565b60007f0000000000000000000000000000000000000000000000000000000000000000460361060f57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080518082018252600981527f544254432042616e6b000000000000000000000000000000000000000000000060209182015281518083018352600181527f31000000000000000000000000000000000000000000000000000000000000009082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b336000908152600260205260408120805483929061072f9084906117ad565b909155505060405181815233907f9c6be7c4260e52ea2e41d7f17932147ab78756f1bb2247a2554796d969741aff9060200160405180910390a250565b80158061079a57503360009081526003602090815260408083206001600160a01b0386168452909152902054155b61080c5760405162461bcd60e51b815260206004820152602760248201527f4e6f6e2d61746f6d696320616c6c6f77616e6365206368616e6765206e6f742060448201527f616c6c6f776564000000000000000000000000000000000000000000000000006064820152608401610491565b610817338383611004565b5050565b610826338585611004565b6040517f475d05700000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063475d0570906108719033908790879087906004016117c6565b600060405180830381600087803b15801561088b57600080fd5b505af115801561089f573d6000803e3d6000fd5b5050505050505050565b6108173383836111ce565b6001546001600160a01b0316331461090e5760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b61081782826110e1565b3360008181526003602090815260408083206001600160a01b03871684529091529020546108179190849061094e90859061180c565b611004565b61095b61138e565b6001600160a01b0381166109b15760405162461bcd60e51b815260206004820152601e60248201527f4272696467652061646472657373206d757374206e6f742062652030783000006044820152606401610491565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527fe1694c0b21fdceff6411daed547c7463c2341b9695387bc82595b5b9b1851d4a9060200160405180910390a150565b610a1a61138e565b610a2460006113e8565b565b6001600160a01b03831660009081526003602090815260408083203384529091529020546000198114610ad65781811015610ac95760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6360448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610491565b610ad68433848403611004565b610ae18484846111ce565b50505050565b6001546001600160a01b03163314610b415760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652062726964676500000000000000006044820152606401610491565b828114610b905760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e6774686044820152606401610491565b6000805b82811015610bd457838382818110610bae57610bae611768565b9050602002013582610bc0919061180c565b915080610bcc81611794565b915050610b94565b50610bdf86826110e1565b6040517f461c63730000000000000000000000000000000000000000000000000000000081526001600160a01b0387169063461c637390610c2a90889088908890889060040161181f565b600060405180830381600087803b158015610c4457600080fd5b505af1158015610c58573d6000803e3d6000fd5b50505050505050505050565b42841015610cb45760405162461bcd60e51b815260206004820152601260248201527f5065726d697373696f6e206578706972656400000000000000000000000000006044820152606401610491565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0811115610d245760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202773272076616c756500000000006044820152606401610491565b8260ff16601b1480610d3957508260ff16601c145b610d855760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202776272076616c756500000000006044820152606401610491565b6000610d8f6105c1565b6001600160a01b038916600090815260046020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c92909190610ddd83611794565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001610e719291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610edc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f125750886001600160a01b0316816001600160a01b0316145b610f5e5760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207369676e61747572650000000000000000000000000000006044820152606401610491565b610f69898989611004565b505050505050505050565b610f7c61138e565b6001600160a01b038116610ff85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610491565b611001816113e8565b50565b6001600160a01b0382166110805760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f7420617070726f766520746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610491565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f2fe5e8e7796010737e636f63b35a0383dc160b68483984f2df987c78e842b405910160405180910390a3505050565b306001600160a01b0383160361115f5760405162461bcd60e51b815260206004820152602160248201527f43616e206e6f7420696e6372656173652062616c616e636520666f722042616e60448201527f6b000000000000000000000000000000000000000000000000000000000000006064820152608401610491565b6001600160a01b0382166000908152600260205260408120805483929061118790849061180c565b90915550506040518181526001600160a01b038316907f7a702e80a9c183a6ce9d6732991df2e914555ba35a364a70aed2433984e7544b9060200160405180910390a25050565b6001600160a01b0382166112305760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610491565b306001600160a01b038316036112945760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f207468652042616e6b206164646044820152637265737360e01b6064820152608401610491565b6001600160a01b038316600090815260026020526040902054818110156112fd5760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610491565b6001600160a01b0380851660009081526002602052604080822085850390559185168152908120805484929061133490849061180c565b92505081905550826001600160a01b0316846001600160a01b03167f4163d0b06696468b3d7903f482bcd0097bd38a9a9086157479fd6c6561d242618460405161138091815260200190565b60405180910390a350505050565b6000546001600160a01b03163314610a245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461145c57600080fd5b919050565b6000806040838503121561147457600080fd5b61147d83611445565b946020939093013593505050565b60008083601f84011261149d57600080fd5b50813567ffffffffffffffff8111156114b557600080fd5b6020830191508360208260051b85010111156114d057600080fd5b9250929050565b600080600080604085870312156114ed57600080fd5b843567ffffffffffffffff8082111561150557600080fd5b6115118883890161148b565b9096509450602087013591508082111561152a57600080fd5b506115378782880161148b565b95989497509550505050565b60006020828403121561155557600080fd5b5035919050565b6000806000806060858703121561157257600080fd5b61157b85611445565b935060208501359250604085013567ffffffffffffffff8082111561159f57600080fd5b818701915087601f8301126115b357600080fd5b8135818111156115c257600080fd5b8860208285010111156115d457600080fd5b95989497505060200194505050565b6000602082840312156115f557600080fd5b6115fe82611445565b9392505050565b60008060006060848603121561161a57600080fd5b61162384611445565b925061163160208501611445565b9150604084013590509250925092565b60008060008060006060868803121561165957600080fd5b61166286611445565b9450602086013567ffffffffffffffff8082111561167f57600080fd5b61168b89838a0161148b565b909650945060408801359150808211156116a457600080fd5b506116b18882890161148b565b969995985093965092949392505050565b600080600080600080600060e0888a0312156116dd57600080fd5b6116e688611445565b96506116f460208901611445565b95506040880135945060608801359350608088013560ff8116811461171857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561174857600080fd5b61175183611445565b915061175f60208401611445565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016117a6576117a661177e565b5060010190565b818103818111156117c0576117c061177e565b92915050565b6001600160a01b038516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f909201601f191601019392505050565b808201808211156117c0576117c061177e565b6040808252810184905260008560608301825b87811015611860576001600160a01b0361184b84611445565b16825260209283019290910190600101611832565b5083810360208501528481527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85111561189957600080fd5b8460051b91508186602083013701602001969550505050505056fea2646970667358221220259329008347ed62d57a7974c037eae9d0bb206760f55aac9a36514b4346368164736f6c63430008110033",
@@ -179,7 +179,7 @@
179
179
  "transactionIndex": 0,
180
180
  "gasUsed": "1295311",
181
181
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
182
- "blockHash": "0x130542027b70c156a2b5f9ecce3239203aa13896ab7e5a616b2211de38d9ae35",
182
+ "blockHash": "0x9dcbadccec836598b975c0667280353412a7ffa93459ac927b439d350ebcc2af",
183
183
  "transactionHash": "0xad38de98b81fc51ff282bac7a707946c87bad83217be8363d451086adc7aeec8",
184
184
  "logs": [],
185
185
  "blockNumber": 18,
@@ -173,7 +173,7 @@
173
173
  "transactionIndex": 0,
174
174
  "gasUsed": "1092054",
175
175
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
176
- "blockHash": "0x691843e7f744b26bf25396ecb63a14a033c1a04b79d7a9c00e38c7b0a57e1e26",
176
+ "blockHash": "0x3a5a73aa0f3b38f13258de67db47985d07509a0a010387a3cf039f84d31d3b0f",
177
177
  "transactionHash": "0xbea4756fa4825d9fd227148fc8942cfa32d80092769c8d7aa329ace9490ebf73",
178
178
  "logs": [],
179
179
  "blockNumber": 19,
@@ -396,7 +396,7 @@
396
396
  "transactionIndex": 0,
397
397
  "gasUsed": "1402838",
398
398
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
399
- "blockHash": "0xa54f9a0788133dad39aaa5fa413bb1a95a9c93b5ddc587cce03e2f06191bd9fa",
399
+ "blockHash": "0x9422ac7bf80a873db9c552fea0479111bd9e8bdb6baf09f6561c5823df01c3dd",
400
400
  "transactionHash": "0x3997e8a6745d0969dc094675c60ca737c788e31b3723271d75f9b50cb4a59bb7",
401
401
  "logs": [],
402
402
  "blockNumber": 16,
@@ -97,7 +97,7 @@
97
97
  "transactionIndex": 0,
98
98
  "gasUsed": "970416",
99
99
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
100
- "blockHash": "0x5f8fe3377cd3718423f7cf3d9e40220e50aa91ddd742ac84c6052f6a752c7aba",
100
+ "blockHash": "0x01ab57159a3bfbfd0b6cf8120860135b8704a644d6adda25578a51c9ed1f6283",
101
101
  "transactionHash": "0xb57cb15b604fd8678338635f72ebd05cfafc099429b53e32a036ba0098e19200",
102
102
  "logs": [],
103
103
  "blockNumber": 20,
@@ -694,7 +694,7 @@
694
694
  "transactionIndex": 0,
695
695
  "gasUsed": "2486733",
696
696
  "logsBloom": "0x00000000000000000002000000000000040000000000000000800000000000000000000080000000000000080000000000000000000000000000000000000000000000000000000000000000800800000001000000000000000000000000000000000900020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000000000000000000000000000000",
697
- "blockHash": "0x661cec7ce2c12e525c35885d3f1cda501c2e174e24d3f29a2b1324e8dcf35963",
697
+ "blockHash": "0x97c4f9b33977fb3ab126587cce9af7e4d90d98368ed6d9c437bfba2696ab0058",
698
698
  "transactionHash": "0x77f4543f0f0a31a2c9e74b8e66bba451fd52f111b3102a3bc02295890b088e42",
699
699
  "logs": [
700
700
  {
@@ -709,7 +709,7 @@
709
709
  ],
710
710
  "data": "0x",
711
711
  "logIndex": 0,
712
- "blockHash": "0x661cec7ce2c12e525c35885d3f1cda501c2e174e24d3f29a2b1324e8dcf35963"
712
+ "blockHash": "0x97c4f9b33977fb3ab126587cce9af7e4d90d98368ed6d9c437bfba2696ab0058"
713
713
  },
714
714
  {
715
715
  "transactionIndex": 0,
@@ -721,7 +721,7 @@
721
721
  ],
722
722
  "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
723
723
  "logIndex": 1,
724
- "blockHash": "0x661cec7ce2c12e525c35885d3f1cda501c2e174e24d3f29a2b1324e8dcf35963"
724
+ "blockHash": "0x97c4f9b33977fb3ab126587cce9af7e4d90d98368ed6d9c437bfba2696ab0058"
725
725
  }
726
726
  ],
727
727
  "blockNumber": 14,
@@ -2969,7 +2969,7 @@
2969
2969
  "transactionIndex": 0,
2970
2970
  "gasUsed": "972117",
2971
2971
  "logsBloom": "0x00000000000000000000000000000000400000004000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000800000000000000000000000000000000000000000000000000000200800000000000000000000000000080000000000000000000000000000000000000000080000000000000800000000000000080000000000000000400000000000000000000002010000000000000000020000000000000000000040000000000000400000000000000000000000000000000000000000800000000000000000000000000000000000000000000",
2972
- "blockHash": "0x4632bf7140d1ab1d1da957f95e8c091d8e01f91d8ebd51ab62e4b6aaae40b58e",
2972
+ "blockHash": "0x5236c1e9c186e0a56454d8c4f9d25f4657a60623fac53e2bfec9585dc0cd316f",
2973
2973
  "transactionHash": "0x3f8abf509e49af979dcfde2afd9f0930562b1a5ac21b07078356809c78055993",
2974
2974
  "logs": [
2975
2975
  {
@@ -2983,7 +2983,7 @@
2983
2983
  ],
2984
2984
  "data": "0x",
2985
2985
  "logIndex": 0,
2986
- "blockHash": "0x4632bf7140d1ab1d1da957f95e8c091d8e01f91d8ebd51ab62e4b6aaae40b58e"
2986
+ "blockHash": "0x5236c1e9c186e0a56454d8c4f9d25f4657a60623fac53e2bfec9585dc0cd316f"
2987
2987
  },
2988
2988
  {
2989
2989
  "transactionIndex": 0,
@@ -2995,7 +2995,7 @@
2995
2995
  ],
2996
2996
  "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
2997
2997
  "logIndex": 1,
2998
- "blockHash": "0x4632bf7140d1ab1d1da957f95e8c091d8e01f91d8ebd51ab62e4b6aaae40b58e"
2998
+ "blockHash": "0x5236c1e9c186e0a56454d8c4f9d25f4657a60623fac53e2bfec9585dc0cd316f"
2999
2999
  },
3000
3000
  {
3001
3001
  "transactionIndex": 0,
@@ -3007,7 +3007,7 @@
3007
3007
  ],
3008
3008
  "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
3009
3009
  "logIndex": 2,
3010
- "blockHash": "0x4632bf7140d1ab1d1da957f95e8c091d8e01f91d8ebd51ab62e4b6aaae40b58e"
3010
+ "blockHash": "0x5236c1e9c186e0a56454d8c4f9d25f4657a60623fac53e2bfec9585dc0cd316f"
3011
3011
  },
3012
3012
  {
3013
3013
  "transactionIndex": 0,
@@ -3019,7 +3019,7 @@
3019
3019
  ],
3020
3020
  "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f818a7c2afc45cf4b9ddc48933c9a1edd624e46f",
3021
3021
  "logIndex": 3,
3022
- "blockHash": "0x4632bf7140d1ab1d1da957f95e8c091d8e01f91d8ebd51ab62e4b6aaae40b58e"
3022
+ "blockHash": "0x5236c1e9c186e0a56454d8c4f9d25f4657a60623fac53e2bfec9585dc0cd316f"
3023
3023
  }
3024
3024
  ],
3025
3025
  "blockNumber": 57,
@@ -1973,7 +1973,7 @@
1973
1973
  "transactionIndex": 0,
1974
1974
  "gasUsed": "4367283",
1975
1975
  "logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000080000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000000000000000000000000000000",
1976
- "blockHash": "0x9a4b0c1b1b136aba02affb440fa53f558a70586d08fe9b2eb99891a17f17c922",
1976
+ "blockHash": "0xd59cb3d808fdb3c6dd8185855c5c6447cbef1c0b55bd30d804e753de1178ebe6",
1977
1977
  "transactionHash": "0xc555281d59a5954d4aa24153876b56ac26e988fcbdb3630222c798290d67828e",
1978
1978
  "logs": [
1979
1979
  {
@@ -1988,7 +1988,7 @@
1988
1988
  ],
1989
1989
  "data": "0x",
1990
1990
  "logIndex": 0,
1991
- "blockHash": "0x9a4b0c1b1b136aba02affb440fa53f558a70586d08fe9b2eb99891a17f17c922"
1991
+ "blockHash": "0xd59cb3d808fdb3c6dd8185855c5c6447cbef1c0b55bd30d804e753de1178ebe6"
1992
1992
  }
1993
1993
  ],
1994
1994
  "blockNumber": 61,