@keep-network/tbtc-v2 1.5.0-dev.2 → 1.5.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/BLS.json +1 -1
- package/artifacts/Bank.json +2 -2
- package/artifacts/BeaconAuthorization.json +1 -1
- package/artifacts/BeaconDkg.json +6 -6
- package/artifacts/BeaconDkgValidator.json +8 -8
- package/artifacts/BeaconInactivity.json +8 -8
- package/artifacts/BeaconSortitionPool.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/BridgeGovernance.json +2 -2
- package/artifacts/BridgeGovernanceParameters.json +1 -1
- package/artifacts/Deposit.json +1 -1
- package/artifacts/DepositSweep.json +1 -1
- package/artifacts/DonationVault.json +1 -1
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/EcdsaSortitionPool.json +3 -3
- package/artifacts/Fraud.json +1 -1
- 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/LightRelay.json +2 -2
- package/artifacts/LightRelayMaintainerProxy.json +2 -2
- package/artifacts/MaintainerProxy.json +2 -2
- package/artifacts/MovingFunds.json +1 -1
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeacon.json +109 -109
- package/artifacts/RandomBeaconChaosnet.json +4 -4
- package/artifacts/RandomBeaconGovernance.json +61 -61
- package/artifacts/Redemption.json +1 -1
- package/artifacts/ReimbursementPool.json +13 -13
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +2 -2
- package/artifacts/TBTCToken.json +2 -2
- package/artifacts/TBTCVault.json +2 -2
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +2 -2
- package/artifacts/VendingMachineKeep.json +1 -1
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/VendingMachineV2.json +2 -2
- package/artifacts/VendingMachineV3.json +2 -2
- package/artifacts/WalletCoordinator.json +5 -5
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +1 -1
- package/package.json +3 -3
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"transactionIndex": 0,
|
|
92
92
|
"gasUsed": "3521941",
|
|
93
93
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
94
|
-
"blockHash": "
|
|
94
|
+
"blockHash": "0xa4f3c4c86272225f8d664657ebb1f9cf4027b7a6697f08c58e6916e045bc5647",
|
|
95
95
|
"transactionHash": "0x588622f185d3e99543beed437bbbbeb77c6e3beee6e894538cc20f17b580cf27",
|
|
96
96
|
"logs": [],
|
|
97
97
|
"blockNumber": 61,
|
|
@@ -310,21 +310,21 @@
|
|
|
310
310
|
"type": "receive"
|
|
311
311
|
}
|
|
312
312
|
],
|
|
313
|
-
"transactionHash": "
|
|
313
|
+
"transactionHash": "0x44c2bb755adcc39910d45e3d8d954c4e60773feb8d44ea8bf76499c0adc2f7e1",
|
|
314
314
|
"receipt": {
|
|
315
315
|
"to": null,
|
|
316
316
|
"from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
317
317
|
"contractAddress": "0xAfe1b5bdEbD4ae65AF2024738bf0735fbb65d44b",
|
|
318
318
|
"transactionIndex": 0,
|
|
319
|
-
"gasUsed": "
|
|
319
|
+
"gasUsed": "670722",
|
|
320
320
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000002000000000001000000000000000000000000000000",
|
|
321
|
-
"blockHash": "
|
|
322
|
-
"transactionHash": "
|
|
321
|
+
"blockHash": "0x0116406594d6becb38e492ce3cfc78f6c4f5d7224e1e06a575fd933c4499568f",
|
|
322
|
+
"transactionHash": "0x44c2bb755adcc39910d45e3d8d954c4e60773feb8d44ea8bf76499c0adc2f7e1",
|
|
323
323
|
"logs": [
|
|
324
324
|
{
|
|
325
325
|
"transactionIndex": 0,
|
|
326
326
|
"blockNumber": 22,
|
|
327
|
-
"transactionHash": "
|
|
327
|
+
"transactionHash": "0x44c2bb755adcc39910d45e3d8d954c4e60773feb8d44ea8bf76499c0adc2f7e1",
|
|
328
328
|
"address": "0xAfe1b5bdEbD4ae65AF2024738bf0735fbb65d44b",
|
|
329
329
|
"topics": [
|
|
330
330
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
@@ -333,11 +333,11 @@
|
|
|
333
333
|
],
|
|
334
334
|
"data": "0x",
|
|
335
335
|
"logIndex": 0,
|
|
336
|
-
"blockHash": "
|
|
336
|
+
"blockHash": "0x0116406594d6becb38e492ce3cfc78f6c4f5d7224e1e06a575fd933c4499568f"
|
|
337
337
|
}
|
|
338
338
|
],
|
|
339
339
|
"blockNumber": 22,
|
|
340
|
-
"cumulativeGasUsed": "
|
|
340
|
+
"cumulativeGasUsed": "670722",
|
|
341
341
|
"status": 1,
|
|
342
342
|
"byzantium": true
|
|
343
343
|
},
|
|
@@ -346,9 +346,9 @@
|
|
|
346
346
|
500000000000
|
|
347
347
|
],
|
|
348
348
|
"numDeployments": 1,
|
|
349
|
-
"metadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_staticGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxGasPrice\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"thirdPartyContract\",\"type\":\"address\"}],\"name\":\"AuthorizedContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawnAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"FundsWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newMaxGasPrice\",\"type\":\"uint256\"}],\"name\":\"MaxGasPriceUpdated\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"refundAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"SendingEtherFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newStaticGas\",\"type\":\"uint256\"}],\"name\":\"StaticGasUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"thirdPartyContract\",\"type\":\"address\"}],\"name\":\"UnauthorizedContract\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"authorize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isAuthorized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxGasPrice\",\"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\":\"uint256\",\"name\":\"gasSpent\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxGasPrice\",\"type\":\"uint256\"}],\"name\":\"setMaxGasPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_staticGas\",\"type\":\"uint256\"}],\"name\":\"setStaticGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"staticGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"unauthorize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"withdrawAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"authorize(address)\":{\"params\":{\"_contract\":\"Authorized contract.\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"refund(uint256,address)\":{\"details\":\"Ignoring the result of sending ETH to a receiver is made on purpose. For EOA receiving ETH should always work. If a receiver is a smart contract, then we do not want to fail a transaction, because in some cases the refund is done at the very end of multiple calls where all the previous calls were already paid off. It is a receiver's smart contract resposibility to make sure it can receive ETH.Only authorized contracts are allowed calling this function.\",\"params\":{\"gasSpent\":\"Gas spent on a transaction that needs to be reimbursed.\",\"receiver\":\"Address where the reimbursment is sent.\"}},\"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.\"},\"setMaxGasPrice(uint256)\":{\"params\":{\"_maxGasPrice\":\"Max gas price used to reimburse tx submitters.\"}},\"setStaticGas(uint256)\":{\"params\":{\"_staticGas\":\"Static gas cost.\"}},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"unauthorize(address)\":{\"params\":{\"_contract\":\"Authorized contract.\"}},\"withdraw(uint256,address)\":{\"params\":{\"amount\":\"Amount to withdraw from the pool.\",\"receiver\":\"An address where ETH is sent.\"}},\"withdrawAll(address)\":{\"params\":{\"receiver\":\"An address where ETH is sent.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"authorize(address)\":{\"notice\":\"Authorize a contract that can interact with this reimbursment pool. Can be authorized by the owner only.\"},\"isAuthorized(address)\":{\"notice\":\"Authorized contracts that can interact with the reimbursment pool. Authorization can be granted and removed by the owner.\"},\"maxGasPrice()\":{\"notice\":\"Max gas price used to reimburse a transaction submitter. Protects against malicious operator-miners.\"},\"refund(uint256,address)\":{\"notice\":\"Refunds ETH to a spender for executing specific transactions.\"},\"setMaxGasPrice(uint256)\":{\"notice\":\"Setting a max gas price for transactions. Can be set by the owner only.\"},\"setStaticGas(uint256)\":{\"notice\":\"Setting a static gas cost for executing a transaction. Can be set by the owner only.\"},\"staticGas()\":{\"notice\":\"Static gas includes: - cost of the refund function - base transaction cost\"},\"unauthorize(address)\":{\"notice\":\"Unauthorize a contract that was previously authorized to interact with this reimbursment pool. Can be unauthorized by the owner only.\"},\"withdraw(uint256,address)\":{\"notice\":\"Withdraws ETH amount from this pool which are sent to a given address. Can be set by the owner only.\"},\"withdrawAll(address)\":{\"notice\":\"Withdraws all ETH from this pool which are sent to a given address. Can be set by the owner only.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ReimbursementPool.sol\":\"ReimbursementPool\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"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/security/ReentrancyGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor() {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and making it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n _nonReentrantBefore();\\n _;\\n _nonReentrantAfter();\\n }\\n\\n function _nonReentrantBefore() private {\\n // On the first call to nonReentrant, _status will be _NOT_ENTERED\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n }\\n\\n function _nonReentrantAfter() private {\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\",\"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/ReimbursementPool.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0-only\\n//\\n// \\u2593\\u2593\\u258c \\u2593\\u2593 \\u2590\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c\\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c\\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584\\u2584\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584\\u2584\\u2584\\u2584 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584\\u2584\\u2584\\u2584 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580\\u2580\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580\\u2580\\u2580\\u2580 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580\\u2580\\u2580\\u2580 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2580\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2588\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n//\\n// Trust math, not hardware.\\n\\npragma solidity 0.8.17;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\n\\ncontract ReimbursementPool is Ownable, ReentrancyGuard {\\n /// @notice Authorized contracts that can interact with the reimbursment pool.\\n /// Authorization can be granted and removed by the owner.\\n mapping(address => bool) public isAuthorized;\\n\\n /// @notice Static gas includes:\\n /// - cost of the refund function\\n /// - base transaction cost\\n uint256 public staticGas;\\n\\n /// @notice Max gas price used to reimburse a transaction submitter. Protects\\n /// against malicious operator-miners.\\n uint256 public maxGasPrice;\\n\\n event StaticGasUpdated(uint256 newStaticGas);\\n\\n event MaxGasPriceUpdated(uint256 newMaxGasPrice);\\n\\n event SendingEtherFailed(uint256 refundAmount, address receiver);\\n\\n event AuthorizedContract(address thirdPartyContract);\\n\\n event UnauthorizedContract(address thirdPartyContract);\\n\\n event FundsWithdrawn(uint256 withdrawnAmount, address receiver);\\n\\n constructor(uint256 _staticGas, uint256 _maxGasPrice) {\\n staticGas = _staticGas;\\n maxGasPrice = _maxGasPrice;\\n }\\n\\n /// @notice Receive ETH\\n receive() external payable {}\\n\\n /// @notice Refunds ETH to a spender for executing specific transactions.\\n /// @dev Ignoring the result of sending ETH to a receiver is made on purpose.\\n /// For EOA receiving ETH should always work. If a receiver is a smart\\n /// contract, then we do not want to fail a transaction, because in some\\n /// cases the refund is done at the very end of multiple calls where all\\n /// the previous calls were already paid off. It is a receiver's smart\\n /// contract resposibility to make sure it can receive ETH.\\n /// @dev Only authorized contracts are allowed calling this function.\\n /// @param gasSpent Gas spent on a transaction that needs to be reimbursed.\\n /// @param receiver Address where the reimbursment is sent.\\n function refund(uint256 gasSpent, address receiver) external nonReentrant {\\n require(\\n isAuthorized[msg.sender],\\n \\\"Contract is not authorized for a refund\\\"\\n );\\n require(receiver != address(0), \\\"Receiver's address cannot be zero\\\");\\n\\n uint256 gasPrice = tx.gasprice < maxGasPrice\\n ? tx.gasprice\\n : maxGasPrice;\\n\\n uint256 refundAmount = (gasSpent + staticGas) * gasPrice;\\n\\n /* solhint-disable avoid-low-level-calls */\\n // slither-disable-next-line low-level-calls,unchecked-lowlevel\\n (bool sent, ) = receiver.call{value: refundAmount}(\\\"\\\");\\n /* solhint-enable avoid-low-level-calls */\\n if (!sent) {\\n // slither-disable-next-line reentrancy-events\\n emit SendingEtherFailed(refundAmount, receiver);\\n }\\n }\\n\\n /// @notice Authorize a contract that can interact with this reimbursment pool.\\n /// Can be authorized by the owner only.\\n /// @param _contract Authorized contract.\\n function authorize(address _contract) external onlyOwner {\\n isAuthorized[_contract] = true;\\n\\n emit AuthorizedContract(_contract);\\n }\\n\\n /// @notice Unauthorize a contract that was previously authorized to interact\\n /// with this reimbursment pool. Can be unauthorized by the\\n /// owner only.\\n /// @param _contract Authorized contract.\\n function unauthorize(address _contract) external onlyOwner {\\n delete isAuthorized[_contract];\\n\\n emit UnauthorizedContract(_contract);\\n }\\n\\n /// @notice Setting a static gas cost for executing a transaction. Can be set\\n /// by the owner only.\\n /// @param _staticGas Static gas cost.\\n function setStaticGas(uint256 _staticGas) external onlyOwner {\\n staticGas = _staticGas;\\n\\n emit StaticGasUpdated(_staticGas);\\n }\\n\\n /// @notice Setting a max gas price for transactions. Can be set by the\\n /// owner only.\\n /// @param _maxGasPrice Max gas price used to reimburse tx submitters.\\n function setMaxGasPrice(uint256 _maxGasPrice) external onlyOwner {\\n maxGasPrice = _maxGasPrice;\\n\\n emit MaxGasPriceUpdated(_maxGasPrice);\\n }\\n\\n /// @notice Withdraws all ETH from this pool which are sent to a given\\n /// address. Can be set by the owner only.\\n /// @param receiver An address where ETH is sent.\\n function withdrawAll(address receiver) external onlyOwner {\\n withdraw(address(this).balance, receiver);\\n }\\n\\n /// @notice Withdraws ETH amount from this pool which are sent to a given\\n /// address. Can be set by the owner only.\\n /// @param amount Amount to withdraw from the pool.\\n /// @param receiver An address where ETH is sent.\\n function withdraw(uint256 amount, address receiver) public onlyOwner {\\n require(\\n address(this).balance >= amount,\\n \\\"Insufficient contract balance\\\"\\n );\\n require(receiver != address(0), \\\"Receiver's address cannot be zero\\\");\\n\\n emit FundsWithdrawn(amount, receiver);\\n\\n /* solhint-disable avoid-low-level-calls */\\n // slither-disable-next-line low-level-calls,arbitrary-send\\n (bool sent, ) = receiver.call{value: amount}(\\\"\\\");\\n /* solhint-enable avoid-low-level-calls */\\n require(sent, \\\"Failed to send Ether\\\");\\n }\\n}\\n\",\"keccak256\":\"0xd6c24368cc4c6349b8b614e878ca961cad8254b8e8db1cc0abe452a70022ce50\",\"license\":\"GPL-3.0-only\"}},\"version\":1}",
|
|
350
|
-
"bytecode": "
|
|
351
|
-
"deployedBytecode": "
|
|
349
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_staticGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxGasPrice\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"thirdPartyContract\",\"type\":\"address\"}],\"name\":\"AuthorizedContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawnAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"FundsWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newMaxGasPrice\",\"type\":\"uint256\"}],\"name\":\"MaxGasPriceUpdated\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"refundAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"SendingEtherFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newStaticGas\",\"type\":\"uint256\"}],\"name\":\"StaticGasUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"thirdPartyContract\",\"type\":\"address\"}],\"name\":\"UnauthorizedContract\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"authorize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isAuthorized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxGasPrice\",\"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\":\"uint256\",\"name\":\"gasSpent\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxGasPrice\",\"type\":\"uint256\"}],\"name\":\"setMaxGasPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_staticGas\",\"type\":\"uint256\"}],\"name\":\"setStaticGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"staticGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"unauthorize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"withdrawAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"authorize(address)\":{\"params\":{\"_contract\":\"Authorized contract.\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"refund(uint256,address)\":{\"details\":\"Ignoring the result of sending ETH to a receiver is made on purpose. For EOA receiving ETH should always work. If a receiver is a smart contract, then we do not want to fail a transaction, because in some cases the refund is done at the very end of multiple calls where all the previous calls were already paid off. It is a receiver's smart contract resposibility to make sure it can receive ETH.Only authorized contracts are allowed calling this function.\",\"params\":{\"gasSpent\":\"Gas spent on a transaction that needs to be reimbursed.\",\"receiver\":\"Address where the reimbursment is sent.\"}},\"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.\"},\"setMaxGasPrice(uint256)\":{\"params\":{\"_maxGasPrice\":\"Max gas price used to reimburse tx submitters.\"}},\"setStaticGas(uint256)\":{\"params\":{\"_staticGas\":\"Static gas cost.\"}},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"unauthorize(address)\":{\"params\":{\"_contract\":\"Authorized contract.\"}},\"withdraw(uint256,address)\":{\"params\":{\"amount\":\"Amount to withdraw from the pool.\",\"receiver\":\"An address where ETH is sent.\"}},\"withdrawAll(address)\":{\"params\":{\"receiver\":\"An address where ETH is sent.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"authorize(address)\":{\"notice\":\"Authorize a contract that can interact with this reimbursment pool. Can be authorized by the owner only.\"},\"isAuthorized(address)\":{\"notice\":\"Authorized contracts that can interact with the reimbursment pool. Authorization can be granted and removed by the owner.\"},\"maxGasPrice()\":{\"notice\":\"Max gas price used to reimburse a transaction submitter. Protects against malicious operator-miners.\"},\"refund(uint256,address)\":{\"notice\":\"Refunds ETH to a spender for executing specific transactions.\"},\"setMaxGasPrice(uint256)\":{\"notice\":\"Setting a max gas price for transactions. Can be set by the owner only.\"},\"setStaticGas(uint256)\":{\"notice\":\"Setting a static gas cost for executing a transaction. Can be set by the owner only.\"},\"staticGas()\":{\"notice\":\"Static gas includes: - cost of the refund function - base transaction cost\"},\"unauthorize(address)\":{\"notice\":\"Unauthorize a contract that was previously authorized to interact with this reimbursment pool. Can be unauthorized by the owner only.\"},\"withdraw(uint256,address)\":{\"notice\":\"Withdraws ETH amount from this pool which are sent to a given address. Can be set by the owner only.\"},\"withdrawAll(address)\":{\"notice\":\"Withdraws all ETH from this pool which are sent to a given address. Can be set by the owner only.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ReimbursementPool.sol\":\"ReimbursementPool\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"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/security/ReentrancyGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor() {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and making it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n // On the first call to nonReentrant, _notEntered will be true\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n\\n _;\\n\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"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/ReimbursementPool.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0-only\\n//\\n// \\u2593\\u2593\\u258c \\u2593\\u2593 \\u2590\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c\\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c\\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584\\u2584\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584\\u2584\\u2584\\u2584 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584\\u2584\\u2584\\u2584 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580\\u2580\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580\\u2580\\u2580\\u2580 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580\\u2580\\u2580\\u2580 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2580\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2580\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2584 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u258c\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2588\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n// \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2590\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593 \\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\u2593\\n//\\n// Trust math, not hardware.\\n\\npragma solidity 0.8.17;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\n\\ncontract ReimbursementPool is Ownable, ReentrancyGuard {\\n /// @notice Authorized contracts that can interact with the reimbursment pool.\\n /// Authorization can be granted and removed by the owner.\\n mapping(address => bool) public isAuthorized;\\n\\n /// @notice Static gas includes:\\n /// - cost of the refund function\\n /// - base transaction cost\\n uint256 public staticGas;\\n\\n /// @notice Max gas price used to reimburse a transaction submitter. Protects\\n /// against malicious operator-miners.\\n uint256 public maxGasPrice;\\n\\n event StaticGasUpdated(uint256 newStaticGas);\\n\\n event MaxGasPriceUpdated(uint256 newMaxGasPrice);\\n\\n event SendingEtherFailed(uint256 refundAmount, address receiver);\\n\\n event AuthorizedContract(address thirdPartyContract);\\n\\n event UnauthorizedContract(address thirdPartyContract);\\n\\n event FundsWithdrawn(uint256 withdrawnAmount, address receiver);\\n\\n constructor(uint256 _staticGas, uint256 _maxGasPrice) {\\n staticGas = _staticGas;\\n maxGasPrice = _maxGasPrice;\\n }\\n\\n /// @notice Receive ETH\\n receive() external payable {}\\n\\n /// @notice Refunds ETH to a spender for executing specific transactions.\\n /// @dev Ignoring the result of sending ETH to a receiver is made on purpose.\\n /// For EOA receiving ETH should always work. If a receiver is a smart\\n /// contract, then we do not want to fail a transaction, because in some\\n /// cases the refund is done at the very end of multiple calls where all\\n /// the previous calls were already paid off. It is a receiver's smart\\n /// contract resposibility to make sure it can receive ETH.\\n /// @dev Only authorized contracts are allowed calling this function.\\n /// @param gasSpent Gas spent on a transaction that needs to be reimbursed.\\n /// @param receiver Address where the reimbursment is sent.\\n function refund(uint256 gasSpent, address receiver) external nonReentrant {\\n require(\\n isAuthorized[msg.sender],\\n \\\"Contract is not authorized for a refund\\\"\\n );\\n require(receiver != address(0), \\\"Receiver's address cannot be zero\\\");\\n\\n uint256 gasPrice = tx.gasprice < maxGasPrice\\n ? tx.gasprice\\n : maxGasPrice;\\n\\n uint256 refundAmount = (gasSpent + staticGas) * gasPrice;\\n\\n /* solhint-disable avoid-low-level-calls */\\n // slither-disable-next-line low-level-calls,unchecked-lowlevel\\n (bool sent, ) = receiver.call{value: refundAmount}(\\\"\\\");\\n /* solhint-enable avoid-low-level-calls */\\n if (!sent) {\\n // slither-disable-next-line reentrancy-events\\n emit SendingEtherFailed(refundAmount, receiver);\\n }\\n }\\n\\n /// @notice Authorize a contract that can interact with this reimbursment pool.\\n /// Can be authorized by the owner only.\\n /// @param _contract Authorized contract.\\n function authorize(address _contract) external onlyOwner {\\n isAuthorized[_contract] = true;\\n\\n emit AuthorizedContract(_contract);\\n }\\n\\n /// @notice Unauthorize a contract that was previously authorized to interact\\n /// with this reimbursment pool. Can be unauthorized by the\\n /// owner only.\\n /// @param _contract Authorized contract.\\n function unauthorize(address _contract) external onlyOwner {\\n delete isAuthorized[_contract];\\n\\n emit UnauthorizedContract(_contract);\\n }\\n\\n /// @notice Setting a static gas cost for executing a transaction. Can be set\\n /// by the owner only.\\n /// @param _staticGas Static gas cost.\\n function setStaticGas(uint256 _staticGas) external onlyOwner {\\n staticGas = _staticGas;\\n\\n emit StaticGasUpdated(_staticGas);\\n }\\n\\n /// @notice Setting a max gas price for transactions. Can be set by the\\n /// owner only.\\n /// @param _maxGasPrice Max gas price used to reimburse tx submitters.\\n function setMaxGasPrice(uint256 _maxGasPrice) external onlyOwner {\\n maxGasPrice = _maxGasPrice;\\n\\n emit MaxGasPriceUpdated(_maxGasPrice);\\n }\\n\\n /// @notice Withdraws all ETH from this pool which are sent to a given\\n /// address. Can be set by the owner only.\\n /// @param receiver An address where ETH is sent.\\n function withdrawAll(address receiver) external onlyOwner {\\n withdraw(address(this).balance, receiver);\\n }\\n\\n /// @notice Withdraws ETH amount from this pool which are sent to a given\\n /// address. Can be set by the owner only.\\n /// @param amount Amount to withdraw from the pool.\\n /// @param receiver An address where ETH is sent.\\n function withdraw(uint256 amount, address receiver) public onlyOwner {\\n require(\\n address(this).balance >= amount,\\n \\\"Insufficient contract balance\\\"\\n );\\n require(receiver != address(0), \\\"Receiver's address cannot be zero\\\");\\n\\n emit FundsWithdrawn(amount, receiver);\\n\\n /* solhint-disable avoid-low-level-calls */\\n // slither-disable-next-line low-level-calls,arbitrary-send\\n (bool sent, ) = receiver.call{value: amount}(\\\"\\\");\\n /* solhint-enable avoid-low-level-calls */\\n require(sent, \\\"Failed to send Ether\\\");\\n }\\n}\\n\",\"keccak256\":\"0xd6c24368cc4c6349b8b614e878ca961cad8254b8e8db1cc0abe452a70022ce50\",\"license\":\"GPL-3.0-only\"}},\"version\":1}",
|
|
350
|
+
"bytecode": "0x608060405234801561001057600080fd5b50604051610a49380380610a4983398101604081905261002f9161009a565b6100383361004a565b600180556003919091556004556100be565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100ad57600080fd5b505080516020909101519092909150565b61097c806100cd6000396000f3fe6080604052600436106100c55760003560e01c8063b6a5d7de1161007f578063f0b37c0411610059578063f0b37c04146101ef578063f2fde38b1461020f578063fa09e6301461022f578063fe9fbb801461024f57600080fd5b8063b6a5d7de14610199578063d2fa635e146101b9578063e25b5345146101d957600080fd5b8062f714ce146100d15780633de39c11146100f35780633e2174041461011c578063715018a61461013c5780637ad226dc146101515780638da5cb5b1461017157600080fd5b366100cc57005b600080fd5b3480156100dd57600080fd5b506100f16100ec366004610858565b61028f565b005b3480156100ff57600080fd5b5061010960045481565b6040519081526020015b60405180910390f35b34801561012857600080fd5b506100f1610137366004610884565b6103f2565b34801561014857600080fd5b506100f1610436565b34801561015d57600080fd5b506100f161016c366004610858565b61044a565b34801561017d57600080fd5b506000546040516001600160a01b039091168152602001610113565b3480156101a557600080fd5b506100f16101b436600461089d565b610615565b3480156101c557600080fd5b506100f16101d4366004610884565b610671565b3480156101e557600080fd5b5061010960035481565b3480156101fb57600080fd5b506100f161020a36600461089d565b6106ae565b34801561021b57600080fd5b506100f161022a36600461089d565b610707565b34801561023b57600080fd5b506100f161024a36600461089d565b610780565b34801561025b57600080fd5b5061027f61026a36600461089d565b60026020526000908152604090205460ff1681565b6040519015158152602001610113565b610297610792565b814710156102ec5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e636500000060448201526064015b60405180910390fd5b6001600160a01b0381166103125760405162461bcd60e51b81526004016102e3906108bf565b604080518381526001600160a01b03831660208201527f6141b54b56b8a52a8c6f5cd2a857f6117b18ffbf4d46bd3106f300a839cbf5ea910160405180910390a16000816001600160a01b03168360405160006040518083038185875af1925050503d80600081146103a0576040519150601f19603f3d011682016040523d82523d6000602084013e6103a5565b606091505b50509050806103ed5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016102e3565b505050565b6103fa610792565b60038190556040518181527fa86b6e9a406df021f05f513a796a1d5bea0bd3e18fe1d3f6082a3cccfc898d14906020015b60405180910390a150565b61043e610792565b61044860006107ec565b565b60026001540361049c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102e3565b60026001819055336000908152602091909152604090205460ff166105135760405162461bcd60e51b815260206004820152602760248201527f436f6e7472616374206973206e6f7420617574686f72697a656420666f722061604482015266081c99599d5b9960ca1b60648201526084016102e3565b6001600160a01b0381166105395760405162461bcd60e51b81526004016102e3906108bf565b60006004543a1061054c5760045461054e565b3a5b9050600081600354856105619190610916565b61056b919061092f565b90506000836001600160a01b03168260405160006040518083038185875af1925050503d80600081146105ba576040519150601f19603f3d011682016040523d82523d6000602084013e6105bf565b606091505b505090508061060a57604080518381526001600160a01b03861660208201527fd955712c3ae4c3c40451db84ea0c4531c61cc0ea75c13fe9168ae0e07d71e050910160405180910390a15b505060018055505050565b61061d610792565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f2c74592fddad593c2c4403101ce9b30930711ab87571268ddd1e1989ee1d7917910161042b565b610679610792565b60048190556040518181527fa7a07f821dfdfca8e4baa9ccc4bbe7b782baac5946918bd19f1c9c761db414109060200161042b565b6106b6610792565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527fe195aa139c7c69ba98f719c94aecd784e12fabc0789ef81335150078bc087317910161042b565b61070f610792565b6001600160a01b0381166107745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102e3565b61077d816107ec565b50565b610788610792565b61077d478261028f565b6000546001600160a01b031633146104485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102e3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461085357600080fd5b919050565b6000806040838503121561086b57600080fd5b8235915061087b6020840161083c565b90509250929050565b60006020828403121561089657600080fd5b5035919050565b6000602082840312156108af57600080fd5b6108b88261083c565b9392505050565b60208082526021908201527f5265636569766572277320616464726573732063616e6e6f74206265207a65726040820152606f60f81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561092957610929610900565b92915050565b80820281158282048414176109295761092961090056fea2646970667358221220578df9772b15d4ba1bc520679b4729538fcffa2275405fa7f9472c205cf79f2764736f6c63430008110033",
|
|
351
|
+
"deployedBytecode": "0x6080604052600436106100c55760003560e01c8063b6a5d7de1161007f578063f0b37c0411610059578063f0b37c04146101ef578063f2fde38b1461020f578063fa09e6301461022f578063fe9fbb801461024f57600080fd5b8063b6a5d7de14610199578063d2fa635e146101b9578063e25b5345146101d957600080fd5b8062f714ce146100d15780633de39c11146100f35780633e2174041461011c578063715018a61461013c5780637ad226dc146101515780638da5cb5b1461017157600080fd5b366100cc57005b600080fd5b3480156100dd57600080fd5b506100f16100ec366004610858565b61028f565b005b3480156100ff57600080fd5b5061010960045481565b6040519081526020015b60405180910390f35b34801561012857600080fd5b506100f1610137366004610884565b6103f2565b34801561014857600080fd5b506100f1610436565b34801561015d57600080fd5b506100f161016c366004610858565b61044a565b34801561017d57600080fd5b506000546040516001600160a01b039091168152602001610113565b3480156101a557600080fd5b506100f16101b436600461089d565b610615565b3480156101c557600080fd5b506100f16101d4366004610884565b610671565b3480156101e557600080fd5b5061010960035481565b3480156101fb57600080fd5b506100f161020a36600461089d565b6106ae565b34801561021b57600080fd5b506100f161022a36600461089d565b610707565b34801561023b57600080fd5b506100f161024a36600461089d565b610780565b34801561025b57600080fd5b5061027f61026a36600461089d565b60026020526000908152604090205460ff1681565b6040519015158152602001610113565b610297610792565b814710156102ec5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e636500000060448201526064015b60405180910390fd5b6001600160a01b0381166103125760405162461bcd60e51b81526004016102e3906108bf565b604080518381526001600160a01b03831660208201527f6141b54b56b8a52a8c6f5cd2a857f6117b18ffbf4d46bd3106f300a839cbf5ea910160405180910390a16000816001600160a01b03168360405160006040518083038185875af1925050503d80600081146103a0576040519150601f19603f3d011682016040523d82523d6000602084013e6103a5565b606091505b50509050806103ed5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016102e3565b505050565b6103fa610792565b60038190556040518181527fa86b6e9a406df021f05f513a796a1d5bea0bd3e18fe1d3f6082a3cccfc898d14906020015b60405180910390a150565b61043e610792565b61044860006107ec565b565b60026001540361049c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102e3565b60026001819055336000908152602091909152604090205460ff166105135760405162461bcd60e51b815260206004820152602760248201527f436f6e7472616374206973206e6f7420617574686f72697a656420666f722061604482015266081c99599d5b9960ca1b60648201526084016102e3565b6001600160a01b0381166105395760405162461bcd60e51b81526004016102e3906108bf565b60006004543a1061054c5760045461054e565b3a5b9050600081600354856105619190610916565b61056b919061092f565b90506000836001600160a01b03168260405160006040518083038185875af1925050503d80600081146105ba576040519150601f19603f3d011682016040523d82523d6000602084013e6105bf565b606091505b505090508061060a57604080518381526001600160a01b03861660208201527fd955712c3ae4c3c40451db84ea0c4531c61cc0ea75c13fe9168ae0e07d71e050910160405180910390a15b505060018055505050565b61061d610792565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f2c74592fddad593c2c4403101ce9b30930711ab87571268ddd1e1989ee1d7917910161042b565b610679610792565b60048190556040518181527fa7a07f821dfdfca8e4baa9ccc4bbe7b782baac5946918bd19f1c9c761db414109060200161042b565b6106b6610792565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527fe195aa139c7c69ba98f719c94aecd784e12fabc0789ef81335150078bc087317910161042b565b61070f610792565b6001600160a01b0381166107745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102e3565b61077d816107ec565b50565b610788610792565b61077d478261028f565b6000546001600160a01b031633146104485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102e3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461085357600080fd5b919050565b6000806040838503121561086b57600080fd5b8235915061087b6020840161083c565b90509250929050565b60006020828403121561089657600080fd5b5035919050565b6000602082840312156108af57600080fd5b6108b88261083c565b9392505050565b60208082526021908201527f5265636569766572277320616464726573732063616e6e6f74206265207a65726040820152606f60f81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561092957610929610900565b92915050565b80820281158282048414176109295761092961090056fea2646970667358221220578df9772b15d4ba1bc520679b4729538fcffa2275405fa7f9472c205cf79f2764736f6c63430008110033",
|
|
352
352
|
"devdoc": {
|
|
353
353
|
"kind": "dev",
|
|
354
354
|
"methods": {
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
"type": "t_uint256"
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
|
-
"astId":
|
|
460
|
+
"astId": 14771,
|
|
461
461
|
"contract": "contracts/ReimbursementPool.sol:ReimbursementPool",
|
|
462
462
|
"label": "isAuthorized",
|
|
463
463
|
"offset": 0,
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
"type": "t_mapping(t_address,t_bool)"
|
|
466
466
|
},
|
|
467
467
|
{
|
|
468
|
-
"astId":
|
|
468
|
+
"astId": 14774,
|
|
469
469
|
"contract": "contracts/ReimbursementPool.sol:ReimbursementPool",
|
|
470
470
|
"label": "staticGas",
|
|
471
471
|
"offset": 0,
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
"type": "t_uint256"
|
|
474
474
|
},
|
|
475
475
|
{
|
|
476
|
-
"astId":
|
|
476
|
+
"astId": 14777,
|
|
477
477
|
"contract": "contracts/ReimbursementPool.sol:ReimbursementPool",
|
|
478
478
|
"label": "maxGasPrice",
|
|
479
479
|
"offset": 0,
|
package/artifacts/T.json
CHANGED
|
@@ -782,7 +782,7 @@
|
|
|
782
782
|
"transactionIndex": 0,
|
|
783
783
|
"gasUsed": "2233156",
|
|
784
784
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000808020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000040000000000000000000000020000000000000000000000000000000000001000000000000000000000000000000",
|
|
785
|
-
"blockHash": "
|
|
785
|
+
"blockHash": "0x8a848457df0e20449addbf7966c77f21b24e9bdff127b6df9250c2c871401588",
|
|
786
786
|
"transactionHash": "0x9587210e09b700720245220026e4819fbc763ef079760461f88f778b20065feb",
|
|
787
787
|
"logs": [
|
|
788
788
|
{
|
|
@@ -797,7 +797,7 @@
|
|
|
797
797
|
],
|
|
798
798
|
"data": "0x",
|
|
799
799
|
"logIndex": 0,
|
|
800
|
-
"blockHash": "
|
|
800
|
+
"blockHash": "0x8a848457df0e20449addbf7966c77f21b24e9bdff127b6df9250c2c871401588"
|
|
801
801
|
}
|
|
802
802
|
],
|
|
803
803
|
"blockNumber": 8,
|
package/artifacts/TBTC.json
CHANGED
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
"transactionIndex": 0,
|
|
533
533
|
"gasUsed": "1590261",
|
|
534
534
|
"logsBloom": "0x00000000000000000002000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000000000800000000000000000000",
|
|
535
|
-
"blockHash": "
|
|
535
|
+
"blockHash": "0xbe7648f4ea243b504f686ed03f5d8f545286c6bd2346721e5041a5ac4ac12e8a",
|
|
536
536
|
"transactionHash": "0xfaceb50f3bbbbdf0b5574b75b11ac2db99125131567cd39772de12d8f55870d6",
|
|
537
537
|
"logs": [
|
|
538
538
|
{
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
],
|
|
548
548
|
"data": "0x",
|
|
549
549
|
"logIndex": 0,
|
|
550
|
-
"blockHash": "
|
|
550
|
+
"blockHash": "0xbe7648f4ea243b504f686ed03f5d8f545286c6bd2346721e5041a5ac4ac12e8a"
|
|
551
551
|
}
|
|
552
552
|
],
|
|
553
553
|
"blockNumber": 56,
|
package/artifacts/TBTCToken.json
CHANGED
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
"transactionIndex": 0,
|
|
508
508
|
"gasUsed": "1334985",
|
|
509
509
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000001000400000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000080000000000001000000000000000000000000000000",
|
|
510
|
-
"blockHash": "
|
|
510
|
+
"blockHash": "0xb84422bdd001728e0a66382c3e3e80664ba8a0134fbad0285f27d138d64c100b",
|
|
511
511
|
"transactionHash": "0x1e04c3f0ace733178d7af49f4b24b8a9f370df60072c9aa411d4c176bc16d50f",
|
|
512
512
|
"logs": [
|
|
513
513
|
{
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
],
|
|
523
523
|
"data": "0x",
|
|
524
524
|
"logIndex": 0,
|
|
525
|
-
"blockHash": "
|
|
525
|
+
"blockHash": "0xb84422bdd001728e0a66382c3e3e80664ba8a0134fbad0285f27d138d64c100b"
|
|
526
526
|
}
|
|
527
527
|
],
|
|
528
528
|
"blockNumber": 54,
|
package/artifacts/TBTCVault.json
CHANGED
|
@@ -1124,7 +1124,7 @@
|
|
|
1124
1124
|
"transactionIndex": 0,
|
|
1125
1125
|
"gasUsed": "3122779",
|
|
1126
1126
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000000000000000000000000000000",
|
|
1127
|
-
"blockHash": "
|
|
1127
|
+
"blockHash": "0x6533a0eaa6041428e59352a9aaa0ce52fefcfe27a34f7fc29012b756ee412eb1",
|
|
1128
1128
|
"transactionHash": "0x17f4dc002e074fb0f86cf06197b18ee56e4fc758f93e552342ef6ee0004d670f",
|
|
1129
1129
|
"logs": [
|
|
1130
1130
|
{
|
|
@@ -1139,7 +1139,7 @@
|
|
|
1139
1139
|
],
|
|
1140
1140
|
"data": "0x",
|
|
1141
1141
|
"logIndex": 0,
|
|
1142
|
-
"blockHash": "
|
|
1142
|
+
"blockHash": "0x6533a0eaa6041428e59352a9aaa0ce52fefcfe27a34f7fc29012b756ee412eb1"
|
|
1143
1143
|
}
|
|
1144
1144
|
],
|
|
1145
1145
|
"blockNumber": 67,
|
|
@@ -1583,7 +1583,7 @@
|
|
|
1583
1583
|
"transactionIndex": 0,
|
|
1584
1584
|
"gasUsed": "5191767",
|
|
1585
1585
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
1586
|
-
"blockHash": "
|
|
1586
|
+
"blockHash": "0xb3ecd339136b6a92d0da0d4e12e9e8e35562e96e1cb0d565e41cc300c6bca80f",
|
|
1587
1587
|
"transactionHash": "0x2a2aa36db36ec541cd86a9f045fe7351561a68867b35b056e310126c18e951ab",
|
|
1588
1588
|
"logs": [],
|
|
1589
1589
|
"blockNumber": 15,
|
|
@@ -1269,7 +1269,7 @@
|
|
|
1269
1269
|
"transactionIndex": 0,
|
|
1270
1270
|
"gasUsed": "3456607",
|
|
1271
1271
|
"logsBloom": "0x00002004000000000102000000001000000040000000000000000000000008000000000020000000000000000000000000000000000000000000000400400000000000000000000000000000000000000000000000000000000010000000000010000800020000000002000000000800000000000000000000000000000000001000002000000000200002000040000000000000000008000000000000000202000000001040000000000000000000000000000004000000001000000000000000000000000000000000000040000000000000001000000100080000800020000000000000000000000000000000000001000000000000000000000000002000",
|
|
1272
|
-
"blockHash": "
|
|
1272
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c",
|
|
1273
1273
|
"transactionHash": "0xcb02a40eb220a8d0cb30392196f3c3bf58a283a200727b0b3c79983870bddab5",
|
|
1274
1274
|
"logs": [
|
|
1275
1275
|
{
|
|
@@ -1282,7 +1282,7 @@
|
|
|
1282
1282
|
],
|
|
1283
1283
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000096",
|
|
1284
1284
|
"logIndex": 0,
|
|
1285
|
-
"blockHash": "
|
|
1285
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c"
|
|
1286
1286
|
},
|
|
1287
1287
|
{
|
|
1288
1288
|
"transactionIndex": 0,
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
],
|
|
1295
1295
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019",
|
|
1296
1296
|
"logIndex": 1,
|
|
1297
|
-
"blockHash": "
|
|
1297
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c"
|
|
1298
1298
|
},
|
|
1299
1299
|
{
|
|
1300
1300
|
"transactionIndex": 0,
|
|
@@ -1306,7 +1306,7 @@
|
|
|
1306
1306
|
],
|
|
1307
1307
|
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033ec",
|
|
1308
1308
|
"logIndex": 2,
|
|
1309
|
-
"blockHash": "
|
|
1309
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c"
|
|
1310
1310
|
},
|
|
1311
1311
|
{
|
|
1312
1312
|
"transactionIndex": 0,
|
|
@@ -1318,7 +1318,7 @@
|
|
|
1318
1318
|
],
|
|
1319
1319
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001039d",
|
|
1320
1320
|
"logIndex": 3,
|
|
1321
|
-
"blockHash": "
|
|
1321
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c"
|
|
1322
1322
|
},
|
|
1323
1323
|
{
|
|
1324
1324
|
"transactionIndex": 0,
|
|
@@ -1330,7 +1330,7 @@
|
|
|
1330
1330
|
],
|
|
1331
1331
|
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033ec",
|
|
1332
1332
|
"logIndex": 4,
|
|
1333
|
-
"blockHash": "
|
|
1333
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c"
|
|
1334
1334
|
},
|
|
1335
1335
|
{
|
|
1336
1336
|
"transactionIndex": 0,
|
|
@@ -1342,7 +1342,7 @@
|
|
|
1342
1342
|
],
|
|
1343
1343
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c7c905b505f0cf40ab6600d05e677f717916f6b",
|
|
1344
1344
|
"logIndex": 5,
|
|
1345
|
-
"blockHash": "
|
|
1345
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c"
|
|
1346
1346
|
},
|
|
1347
1347
|
{
|
|
1348
1348
|
"transactionIndex": 0,
|
|
@@ -1357,7 +1357,7 @@
|
|
|
1357
1357
|
],
|
|
1358
1358
|
"data": "0x",
|
|
1359
1359
|
"logIndex": 6,
|
|
1360
|
-
"blockHash": "
|
|
1360
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c"
|
|
1361
1361
|
},
|
|
1362
1362
|
{
|
|
1363
1363
|
"transactionIndex": 0,
|
|
@@ -1372,7 +1372,7 @@
|
|
|
1372
1372
|
],
|
|
1373
1373
|
"data": "0x",
|
|
1374
1374
|
"logIndex": 7,
|
|
1375
|
-
"blockHash": "
|
|
1375
|
+
"blockHash": "0x1c3889d706756b586b7edd7114a33b2ef69dc978bb31816e2d0736cde101bf0c"
|
|
1376
1376
|
}
|
|
1377
1377
|
],
|
|
1378
1378
|
"blockNumber": 19,
|
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
"transactionIndex": 0,
|
|
751
751
|
"gasUsed": "1617384",
|
|
752
752
|
"logsBloom": "0x000000040000000008020000000000000a0000000000000080000000000000000000000000000000000000000001000000000000000000000200000010600000000000000000000000000000000000000010000000000000000000000001000000000800020000400000000000000800000000000000000000020000000000000000000000000000000000000000000000000000000008080000000000000000000000000020000000000000000000000000000004000000001000000000000000000000000000004000000000000000000200000000000100000000000020000000000000001000000000000000000001400000000000000000000000000000",
|
|
753
|
-
"blockHash": "
|
|
753
|
+
"blockHash": "0x006341772dffe8a3c0c99ecb6132f565dbd7c9317aee46719dd89524999e9e64",
|
|
754
754
|
"transactionHash": "0xebcda2c70b5e49631d4a83bd96710fd1541e6dcd4236db8bb70b69e3fee9addc",
|
|
755
755
|
"logs": [
|
|
756
756
|
{
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
],
|
|
767
767
|
"data": "0x",
|
|
768
768
|
"logIndex": 0,
|
|
769
|
-
"blockHash": "
|
|
769
|
+
"blockHash": "0x006341772dffe8a3c0c99ecb6132f565dbd7c9317aee46719dd89524999e9e64"
|
|
770
770
|
},
|
|
771
771
|
{
|
|
772
772
|
"transactionIndex": 0,
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
],
|
|
782
782
|
"data": "0x",
|
|
783
783
|
"logIndex": 1,
|
|
784
|
-
"blockHash": "
|
|
784
|
+
"blockHash": "0x006341772dffe8a3c0c99ecb6132f565dbd7c9317aee46719dd89524999e9e64"
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
787
|
"transactionIndex": 0,
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
],
|
|
797
797
|
"data": "0x",
|
|
798
798
|
"logIndex": 2,
|
|
799
|
-
"blockHash": "
|
|
799
|
+
"blockHash": "0x006341772dffe8a3c0c99ecb6132f565dbd7c9317aee46719dd89524999e9e64"
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
802
|
"transactionIndex": 0,
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
],
|
|
812
812
|
"data": "0x",
|
|
813
813
|
"logIndex": 3,
|
|
814
|
-
"blockHash": "
|
|
814
|
+
"blockHash": "0x006341772dffe8a3c0c99ecb6132f565dbd7c9317aee46719dd89524999e9e64"
|
|
815
815
|
},
|
|
816
816
|
{
|
|
817
817
|
"transactionIndex": 0,
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
],
|
|
827
827
|
"data": "0x",
|
|
828
828
|
"logIndex": 4,
|
|
829
|
-
"blockHash": "
|
|
829
|
+
"blockHash": "0x006341772dffe8a3c0c99ecb6132f565dbd7c9317aee46719dd89524999e9e64"
|
|
830
830
|
},
|
|
831
831
|
{
|
|
832
832
|
"transactionIndex": 0,
|
|
@@ -841,7 +841,7 @@
|
|
|
841
841
|
],
|
|
842
842
|
"data": "0x",
|
|
843
843
|
"logIndex": 5,
|
|
844
|
-
"blockHash": "
|
|
844
|
+
"blockHash": "0x006341772dffe8a3c0c99ecb6132f565dbd7c9317aee46719dd89524999e9e64"
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
847
|
"transactionIndex": 0,
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
],
|
|
854
854
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a300",
|
|
855
855
|
"logIndex": 6,
|
|
856
|
-
"blockHash": "
|
|
856
|
+
"blockHash": "0x006341772dffe8a3c0c99ecb6132f565dbd7c9317aee46719dd89524999e9e64"
|
|
857
857
|
}
|
|
858
858
|
],
|
|
859
859
|
"blockNumber": 18,
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
"transactionIndex": 0,
|
|
518
518
|
"gasUsed": "1363281",
|
|
519
519
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002010000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000000000000000000000000000000",
|
|
520
|
-
"blockHash": "
|
|
520
|
+
"blockHash": "0x53c270ea0e2dc6180933395143da6c1aeb33617d7f609e3be008064104b802b1",
|
|
521
521
|
"transactionHash": "0x7261f6259dea7e4b722bfaf681cbb84dbee6c8e82794527fc05f76d6fda94246",
|
|
522
522
|
"logs": [
|
|
523
523
|
{
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
],
|
|
533
533
|
"data": "0x",
|
|
534
534
|
"logIndex": 0,
|
|
535
|
-
"blockHash": "
|
|
535
|
+
"blockHash": "0x53c270ea0e2dc6180933395143da6c1aeb33617d7f609e3be008064104b802b1"
|
|
536
536
|
}
|
|
537
537
|
],
|
|
538
538
|
"blockNumber": 57,
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"transactionIndex": 0,
|
|
273
273
|
"gasUsed": "804148",
|
|
274
274
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
275
|
-
"blockHash": "
|
|
275
|
+
"blockHash": "0xa95994c2fa1433dffce08eff09bb4cf224fb4ae3272ff98a86149e1c7ec6ba1a",
|
|
276
276
|
"transactionHash": "0x1fa2edd54ffe85f0c76ff2a5c2242c208fe52f4144b5a916cf7be8efa5dc44d4",
|
|
277
277
|
"logs": [],
|
|
278
278
|
"blockNumber": 10,
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"transactionIndex": 0,
|
|
273
273
|
"gasUsed": "804160",
|
|
274
274
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
275
|
-
"blockHash": "
|
|
275
|
+
"blockHash": "0x09e0ddf32d489056c19995a47c17e348f6a738208d566850ef04b1b1ecac19a6",
|
|
276
276
|
"transactionHash": "0xdc9a0b9fe0ff91fb7ccf6bc9f4d48430e56764f684f2d527e5ba8e327ade9260",
|
|
277
277
|
"logs": [],
|
|
278
278
|
"blockNumber": 11,
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"transactionIndex": 0,
|
|
245
245
|
"gasUsed": "757154",
|
|
246
246
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000004000000000000000000020000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000000000000000000000000000000",
|
|
247
|
-
"blockHash": "
|
|
247
|
+
"blockHash": "0xf8dc4d27daac9933d078b3da94667293043370d5aef5ffd9a88def2bc56d7878",
|
|
248
248
|
"transactionHash": "0xb6e494cd014c6aff65856e003f70bea26d82e39b8637fe4e7d6be34dacb787e8",
|
|
249
249
|
"logs": [
|
|
250
250
|
{
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
],
|
|
260
260
|
"data": "0x",
|
|
261
261
|
"logIndex": 0,
|
|
262
|
-
"blockHash": "
|
|
262
|
+
"blockHash": "0xf8dc4d27daac9933d078b3da94667293043370d5aef5ffd9a88def2bc56d7878"
|
|
263
263
|
}
|
|
264
264
|
],
|
|
265
265
|
"blockNumber": 78,
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"transactionIndex": 0,
|
|
282
282
|
"gasUsed": "932147",
|
|
283
283
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000020000000000000000000000000000000000001004000000000000000000000000000",
|
|
284
|
-
"blockHash": "
|
|
284
|
+
"blockHash": "0x0caa1753c81a588692397967e533da18b36307efcfc8e43269e719f6e12692d8",
|
|
285
285
|
"transactionHash": "0xca9bfa5b8c4660211ef75e174db1f40065cb96021494ae822542b87d40be6c74",
|
|
286
286
|
"logs": [
|
|
287
287
|
{
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
],
|
|
297
297
|
"data": "0x",
|
|
298
298
|
"logIndex": 0,
|
|
299
|
-
"blockHash": "
|
|
299
|
+
"blockHash": "0x0caa1753c81a588692397967e533da18b36307efcfc8e43269e719f6e12692d8"
|
|
300
300
|
}
|
|
301
301
|
],
|
|
302
302
|
"blockNumber": 79,
|